Searched refs:csz (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/net/wireless/ath/ath5k/ |
D | pci.c | 56 static void ath5k_pci_read_cachesize(struct ath_common *common, int *csz) in ath5k_pci_read_cachesize() argument 62 *csz = (int)u8tmp; in ath5k_pci_read_cachesize() 70 if (*csz == 0) in ath5k_pci_read_cachesize() 71 *csz = L1_CACHE_BYTES >> 2; /* Use the default size */ in ath5k_pci_read_cachesize() 166 u8 csz; in ath5k_pci_probe() local 205 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &csz); in ath5k_pci_probe() 206 if (csz == 0) { in ath5k_pci_probe() 214 csz = L1_CACHE_BYTES >> 2; in ath5k_pci_probe() 215 pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, csz); in ath5k_pci_probe()
|
D | ahb.c | 30 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()
|
D | ath5k.h | 1465 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()
|
D | base.c | 2536 int csz; in ath5k_init_ah() local 2602 ath5k_read_cachesize(common, &csz); in ath5k_init_ah() 2603 common->cachelsz = csz << 2; /* convert to bytes */ in ath5k_init_ah()
|
/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
D | pci.c | 782 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() 889 u8 csz; in ath_pci_probe() local 914 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &csz); in ath_pci_probe() 915 if (csz == 0) { in ath_pci_probe() 923 csz = L1_CACHE_BYTES / sizeof(u32); in ath_pci_probe() 924 pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, csz); in ath_pci_probe()
|
D | ahb.c | 54 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()
|
D | htc_drv_init.c | 516 static void ath_usb_read_cachesize(struct ath_common *common, int *csz) in ath_usb_read_cachesize() argument 518 *csz = L1_CACHE_BYTES >> 2; in ath_usb_read_cachesize() 614 int i, ret = 0, csz = 0; in ath9k_init_priv() local 663 ath_read_cachesize(common, &csz); in ath9k_init_priv() 664 common->cachelsz = csz << 2; /* convert to bytes */ in ath9k_init_priv()
|
D | htc.h | 537 static inline void ath_read_cachesize(struct ath_common *common, int *csz) in ath_read_cachesize() argument 539 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
|
D | init.c | 658 int csz = 0; in ath9k_init_softc() local 749 ath_read_cachesize(common, &csz); in ath9k_init_softc() 750 common->cachelsz = csz << 2; /* convert to bytes */ in ath9k_init_softc()
|
D | ath9k.h | 1129 static inline void ath_read_cachesize(struct ath_common *common, int *csz) in ath_read_cachesize() argument 1131 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
|
D | hw.h | 989 void (*read_cachesize)(struct ath_common *common, int *csz);
|