Searched refs:csz (Results 1 – 11 of 11) sorted by relevance
| /drivers/net/wireless/ath/ath5k/ |
| A D | pci.c | 57 static void ath5k_pci_read_cachesize(struct ath_common *common, int *csz) in ath5k_pci_read_cachesize() argument 63 *csz = (int)u8tmp; in ath5k_pci_read_cachesize() 71 if (*csz == 0) in ath5k_pci_read_cachesize() 72 *csz = L1_CACHE_BYTES >> 2; /* Use the default size */ in ath5k_pci_read_cachesize() 167 u8 csz; in ath5k_pci_probe() local 206 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &csz); in ath5k_pci_probe() 207 if (csz == 0) { in ath5k_pci_probe() 215 csz = L1_CACHE_BYTES >> 2; in ath5k_pci_probe() 216 pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, csz); in ath5k_pci_probe()
|
| A 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()
|
| A D | ath5k.h | 1461 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()
|
| A D | base.c | 2579 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()
|
| /drivers/net/wireless/ath/ath9k/ |
| A D | pci.c | 780 static void ath_pci_read_cachesize(struct ath_common *common, int *csz) in ath_pci_read_cachesize() argument 786 *csz = (int)u8tmp; in ath_pci_read_cachesize() 794 if (*csz == 0) in ath_pci_read_cachesize() 795 *csz = DEFAULT_CACHELINE >> 2; /* Use the default size */ in ath_pci_read_cachesize() 888 u8 csz; in ath_pci_probe() local 907 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &csz); in ath_pci_probe() 908 if (csz == 0) { in ath_pci_probe() 916 csz = L1_CACHE_BYTES / sizeof(u32); in ath_pci_probe() 917 pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, csz); in ath_pci_probe()
|
| A D | ahb.c | 38 static void ath_ahb_read_cachesize(struct ath_common *common, int *csz) in ath_ahb_read_cachesize() argument 40 *csz = L1_CACHE_BYTES >> 2; in ath_ahb_read_cachesize()
|
| A D | htc_drv_init.c | 514 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()
|
| A D | htc.h | 543 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()
|
| A D | init.c | 664 int csz = 0; in ath9k_init_softc() local 752 ath_read_cachesize(common, &csz); in ath9k_init_softc() 753 common->cachelsz = csz << 2; /* convert to bytes */ in ath9k_init_softc()
|
| A D | ath9k.h | 1119 static inline void ath_read_cachesize(struct ath_common *common, int *csz) in ath_read_cachesize() argument 1121 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
|
| A D | hw.h | 995 void (*read_cachesize)(struct ath_common *common, int *csz);
|
Completed in 45 milliseconds