Home
last modified time | relevance | path

Searched refs:csz (Results 1 - 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
H A Dpci.c55 static void ath5k_pci_read_cachesize(struct ath_common *common, int *csz) in ath5k_pci_read_cachesize() argument
61 *csz = (int)u8tmp; in ath5k_pci_read_cachesize()
69 if (*csz == 0) in ath5k_pci_read_cachesize()
70 *csz = L1_CACHE_BYTES >> 2; /* Use the default size */ in ath5k_pci_read_cachesize()
165 u8 csz; in ath5k_pci_probe() local
204 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &csz); in ath5k_pci_probe()
205 if (csz == 0) { in ath5k_pci_probe()
213 csz = L1_CACHE_BYTES >> 2; in ath5k_pci_probe()
214 pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, csz); in ath5k_pci_probe()
H A Dahb.c30 static void ath5k_ahb_read_cachesize(struct ath_common *common, int *csz) in ath5k_ahb_read_cachesize() argument
32 *csz = L1_CACHE_BYTES >> 2; in ath5k_ahb_read_cachesize()
H A Dath5k.h1465 void (*read_cachesize)(struct ath_common *common, int *csz);
1695 static inline void ath5k_read_cachesize(struct ath_common *common, int *csz) in ath5k_read_cachesize() argument
1697 common->bus_ops->read_cachesize(common, csz); in ath5k_read_cachesize()
H A Dbase.c2534 int csz; in ath5k_init_ah() local
2600 ath5k_read_cachesize(common, &csz); in ath5k_init_ah()
2601 common->cachelsz = csz << 2; /* convert to bytes */ in ath5k_init_ah()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/
H A Dpci.c55 static void ath5k_pci_read_cachesize(struct ath_common *common, int *csz) in ath5k_pci_read_cachesize() argument
61 *csz = (int)u8tmp; in ath5k_pci_read_cachesize()
69 if (*csz == 0) in ath5k_pci_read_cachesize()
70 *csz = L1_CACHE_BYTES >> 2; /* Use the default size */ in ath5k_pci_read_cachesize()
165 u8 csz; in ath5k_pci_probe() local
204 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &csz); in ath5k_pci_probe()
205 if (csz == 0) { in ath5k_pci_probe()
213 csz = L1_CACHE_BYTES >> 2; in ath5k_pci_probe()
214 pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, csz); in ath5k_pci_probe()
H A Dahb.c30 static void ath5k_ahb_read_cachesize(struct ath_common *common, int *csz) in ath5k_ahb_read_cachesize() argument
32 *csz = L1_CACHE_BYTES >> 2; in ath5k_ahb_read_cachesize()
H A Dath5k.h1461 void (*read_cachesize)(struct ath_common *common, int *csz);
1691 static inline void ath5k_read_cachesize(struct ath_common *common, int *csz) in ath5k_read_cachesize() argument
1693 common->bus_ops->read_cachesize(common, csz); in ath5k_read_cachesize()
H A Dbase.c2579 int csz; in ath5k_init_ah() local
2645 ath5k_read_cachesize(common, &csz); in ath5k_init_ah()
2646 common->cachelsz = csz << 2; /* convert to bytes */ in ath5k_init_ah()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dpci.c782 static void ath_pci_read_cachesize(struct ath_common *common, int *csz) in ath_pci_read_cachesize() argument
788 *csz = (int)u8tmp; in ath_pci_read_cachesize()
796 if (*csz == 0) in ath_pci_read_cachesize()
797 *csz = DEFAULT_CACHELINE >> 2; /* Use the default size */ in ath_pci_read_cachesize()
890 u8 csz; in ath_pci_probe() local
915 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &csz); in ath_pci_probe()
916 if (csz == 0) { in ath_pci_probe()
924 csz = L1_CACHE_BYTES / sizeof(u32); in ath_pci_probe()
925 pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, csz); in ath_pci_probe()
H A Dahb.c54 static void ath_ahb_read_cachesize(struct ath_common *common, int *csz) in ath_ahb_read_cachesize() argument
56 *csz = L1_CACHE_BYTES >> 2; in ath_ahb_read_cachesize()
H A Dhtc_drv_init.c514 static void ath_usb_read_cachesize(struct ath_common *common, int *csz) in ath_usb_read_cachesize() argument
516 *csz = L1_CACHE_BYTES >> 2; in ath_usb_read_cachesize()
612 int i, ret = 0, csz = 0; in ath9k_init_priv() local
659 ath_read_cachesize(common, &csz); in ath9k_init_priv()
660 common->cachelsz = csz << 2; /* convert to bytes */ in ath9k_init_priv()
H A Dhtc.h543 static inline void ath_read_cachesize(struct ath_common *common, int *csz) in ath_read_cachesize() argument
545 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
H A Dinit.c658 int csz = 0; in ath9k_init_softc() local
746 ath_read_cachesize(common, &csz); in ath9k_init_softc()
747 common->cachelsz = csz << 2; /* convert to bytes */ in ath9k_init_softc()
H A Dath9k.h1116 static inline void ath_read_cachesize(struct ath_common *common, int *csz) in ath_read_cachesize() argument
1118 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
H A Dhw.h993 void (*read_cachesize)(struct ath_common *common, int *csz);
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dpci.c782 static void ath_pci_read_cachesize(struct ath_common *common, int *csz) in ath_pci_read_cachesize() argument
788 *csz = (int)u8tmp; in ath_pci_read_cachesize()
796 if (*csz == 0) in ath_pci_read_cachesize()
797 *csz = DEFAULT_CACHELINE >> 2; /* Use the default size */ in ath_pci_read_cachesize()
890 u8 csz; in ath_pci_probe() local
909 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &csz); in ath_pci_probe()
910 if (csz == 0) { in ath_pci_probe()
918 csz = L1_CACHE_BYTES / sizeof(u32); in ath_pci_probe()
919 pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, csz); in ath_pci_probe()
H A Dahb.c54 static void ath_ahb_read_cachesize(struct ath_common *common, int *csz) in ath_ahb_read_cachesize() argument
56 *csz = L1_CACHE_BYTES >> 2; in ath_ahb_read_cachesize()
H A Dhtc_drv_init.c514 static void ath_usb_read_cachesize(struct ath_common *common, int *csz) in ath_usb_read_cachesize() argument
516 *csz = L1_CACHE_BYTES >> 2; in ath_usb_read_cachesize()
612 int i, ret = 0, csz = 0; in ath9k_init_priv() local
659 ath_read_cachesize(common, &csz); in ath9k_init_priv()
660 common->cachelsz = csz << 2; /* convert to bytes */ in ath9k_init_priv()
H A Dhtc.h543 static inline void ath_read_cachesize(struct ath_common *common, int *csz) in ath_read_cachesize() argument
545 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
H A Dinit.c706 int csz = 0; in ath9k_init_softc() local
798 ath_read_cachesize(common, &csz); in ath9k_init_softc()
799 common->cachelsz = csz << 2; /* convert to bytes */ in ath9k_init_softc()
H A Dath9k.h1117 static inline void ath_read_cachesize(struct ath_common *common, int *csz) in ath_read_cachesize() argument
1119 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
H A Dhw.h995 void (*read_cachesize)(struct ath_common *common, int *csz);
/kernel/liteos_m/components/fs/fatfs/
H A Dfatfs.c855 DWORD csz; in DoTruncate() local
858 csz = (DWORD)(fp->obj.fs)->csize * SS(fp->obj.fs); /* Cluster size */ in DoTruncate()
859 if (length > csz * count) { in DoTruncate()
866 } else if (length < csz * count) { in DoTruncate()

Completed in 48 milliseconds