Home
last modified time | relevance | path

Searched refs:csz (Results 1 – 12 of 12) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Dpci.c56 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()
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()
Dath5k.h1464 void (*read_cachesize)(struct ath_common *common, int *csz);
1694 static inline void ath5k_read_cachesize(struct ath_common *common, int *csz) in ath5k_read_cachesize() argument
1696 common->bus_ops->read_cachesize(common, csz); in ath5k_read_cachesize()
Dbase.c2536 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()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dpci.c769 static void ath_pci_read_cachesize(struct ath_common *common, int *csz) in ath_pci_read_cachesize() argument
775 *csz = (int)u8tmp; in ath_pci_read_cachesize()
783 if (*csz == 0) in ath_pci_read_cachesize()
784 *csz = DEFAULT_CACHELINE >> 2; /* Use the default size */ in ath_pci_read_cachesize()
890 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()
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()
Dhtc_drv_init.c512 static void ath_usb_read_cachesize(struct ath_common *common, int *csz) in ath_usb_read_cachesize() argument
514 *csz = L1_CACHE_BYTES >> 2; in ath_usb_read_cachesize()
610 int i, ret = 0, csz = 0; in ath9k_init_priv() local
660 ath_read_cachesize(common, &csz); in ath9k_init_priv()
661 common->cachelsz = csz << 2; /* convert to bytes */ in ath9k_init_priv()
Dhtc.h536 static inline void ath_read_cachesize(struct ath_common *common, int *csz) in ath_read_cachesize() argument
538 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
Dinit.c544 int csz = 0; in ath9k_init_softc() local
641 ath_read_cachesize(common, &csz); in ath9k_init_softc()
642 common->cachelsz = csz << 2; /* convert to bytes */ in ath9k_init_softc()
Dath9k.h1066 static inline void ath_read_cachesize(struct ath_common *common, int *csz) in ath_read_cachesize() argument
1068 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
Dhw.h982 void (*read_cachesize)(struct ath_common *common, int *csz);
/linux-4.1.27/drivers/usb/host/
Dxhci-dbg.c463 int csz = HCC_64BYTE_CONTEXT(xhci->hcc_params); in xhci_dbg_slot_ctx() local
489 if (csz) in xhci_dbg_slot_ctx()
501 int csz = HCC_64BYTE_CONTEXT(xhci->hcc_params); in xhci_dbg_ep_ctx() local
538 if (csz) in xhci_dbg_ep_ctx()
551 int csz = HCC_64BYTE_CONTEXT(xhci->hcc_params); in xhci_dbg_ctx() local
576 if (csz) in xhci_dbg_ctx()