Home
last modified time | relevance | path

Searched refs:bus_ops (Results 1 – 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/pci/pcie/
Daer_inject.c116 struct pci_bus_ops *bus_ops; in __find_pci_bus_ops() local
118 list_for_each_entry(bus_ops, &pci_bus_ops_list, list) { in __find_pci_bus_ops()
119 if (bus_ops->bus == bus) in __find_pci_bus_ops()
120 return bus_ops->ops; in __find_pci_bus_ops()
128 struct pci_bus_ops *bus_ops; in pci_bus_ops_pop() local
131 bus_ops = list_first_entry_or_null(&pci_bus_ops_list, in pci_bus_ops_pop()
133 if (bus_ops) in pci_bus_ops_pop()
134 list_del(&bus_ops->list); in pci_bus_ops_pop()
136 return bus_ops; in pci_bus_ops_pop()
289 static void pci_bus_ops_init(struct pci_bus_ops *bus_ops, in pci_bus_ops_init() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dbus.h57 struct qtnf_bus_ops *bus_ops; member
104 if (!bus->bus_ops->preinit) in qtnf_bus_preinit()
106 return bus->bus_ops->preinit(bus); in qtnf_bus_preinit()
111 if (!bus->bus_ops->stop) in qtnf_bus_stop()
113 bus->bus_ops->stop(bus); in qtnf_bus_stop()
119 return bus->bus_ops->data_tx(bus, skb, macid, vifid); in qtnf_bus_data_tx()
125 return bus->bus_ops->data_tx_timeout(bus, ndev); in qtnf_bus_data_tx_timeout()
130 return bus->bus_ops->control_tx(bus, skb); in qtnf_bus_control_tx()
135 return bus->bus_ops->data_rx_start(bus); in qtnf_bus_data_rx_start()
140 return bus->bus_ops->data_rx_stop(bus); in qtnf_bus_data_rx_stop()
Dcore.c768 bus->bus_ops->data_tx_use_meta_set) in qtnf_core_attach()
769 bus->bus_ops->data_tx_use_meta_set(bus, true); in qtnf_core_attach()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmmio.c152 return dev->bus_ops->rr(mdev, addr); in mt7615_rr()
160 dev->bus_ops->wr(mdev, addr, val); in mt7615_wr()
168 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7615_rmw()
190 struct mt76_bus_ops *bus_ops; in mt7615_mmio_probe() local
214 dev->bus_ops = dev->mt76.bus; in mt7615_mmio_probe()
215 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7615_mmio_probe()
217 if (!bus_ops) { in mt7615_mmio_probe()
222 bus_ops->rr = mt7615_rr; in mt7615_mmio_probe()
223 bus_ops->wr = mt7615_wr; in mt7615_mmio_probe()
224 bus_ops->rmw = mt7615_rmw; in mt7615_mmio_probe()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Ddma.c204 return dev->bus_ops->rr(mdev, addr); in mt7915_rr()
212 dev->bus_ops->wr(mdev, addr, val); in mt7915_wr()
220 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7915_rmw()
226 struct mt76_bus_ops *bus_ops; in mt7915_dma_init() local
230 dev->bus_ops = dev->mt76.bus; in mt7915_dma_init()
231 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7915_dma_init()
233 if (!bus_ops) in mt7915_dma_init()
236 bus_ops->rr = mt7915_rr; in mt7915_dma_init()
237 bus_ops->wr = mt7915_wr; in mt7915_dma_init()
238 bus_ops->rmw = mt7915_rmw; in mt7915_dma_init()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dinit.c425 return dev->bus_ops->rr(mdev, addr); in mt7603_rr()
433 dev->bus_ops->wr(mdev, addr, val); in mt7603_wr()
441 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7603_rmw()
515 struct mt76_bus_ops *bus_ops; in mt7603_register_device() local
520 dev->bus_ops = dev->mt76.bus; in mt7603_register_device()
521 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7603_register_device()
523 if (!bus_ops) in mt7603_register_device()
526 bus_ops->rr = mt7603_rr; in mt7603_register_device()
527 bus_ops->wr = mt7603_wr; in mt7603_register_device()
528 bus_ops->rmw = mt7603_rmw; in mt7603_register_device()
[all …]
Dcore.c62 dev->bus_ops->wr(&dev->mt76, MT_MCU_PCIE_REMAP_2, base); in mt7603_reg_map()
Dmt7603.h109 const struct mt76_bus_ops *bus_ops; member
/kernel/linux/linux-5.10/drivers/mmc/core/
Dbus.c163 if (host->bus_ops->shutdown) { in mmc_bus_shutdown()
164 ret = host->bus_ops->shutdown(host); in mmc_bus_shutdown()
182 ret = host->bus_ops->suspend(host); in mmc_bus_suspend()
195 ret = host->bus_ops->resume(host); in mmc_bus_resume()
211 return host->bus_ops->runtime_suspend(host); in mmc_runtime_suspend()
219 return host->bus_ops->runtime_resume(host); in mmc_runtime_resume()
Dcore.c1393 host->bus_ops = NULL; in __mmc_release_bus()
1418 if ((host->bus_refs == 0) && host->bus_ops) in mmc_bus_put()
1435 WARN_ON(host->bus_ops); in mmc_attach_bus()
1438 host->bus_ops = ops; in mmc_attach_bus()
1453 WARN_ON(!host->bus_ops); in mmc_detach_bus()
2098 if (!host->bus_ops || host->bus_dead || !host->bus_ops->hw_reset) { in mmc_hw_reset()
2103 ret = host->bus_ops->hw_reset(host); in mmc_hw_reset()
2122 if (!host->bus_ops || host->bus_dead || !host->bus_ops->sw_reset) { in mmc_sw_reset()
2127 ret = host->bus_ops->sw_reset(host); in mmc_sw_reset()
2191 ret = host->bus_ops->alive(host); in _mmc_detect_card_removed()
[all …]
Dcore.h170 if (host->bus_ops->cache_enabled) in mmc_cache_enabled()
171 return host->bus_ops->cache_enabled(host); in mmc_cache_enabled()
Dhost.c46 if (!host->bus_ops) in mmc_host_class_prepare()
50 if (host->bus_ops->pre_suspend) in mmc_host_class_prepare()
51 return host->bus_ops->pre_suspend(host); in mmc_host_class_prepare()
/kernel/linux/linux-5.10/drivers/input/misc/
Dcma3000_d0x.c56 const struct cma3000_bus_ops *bus_ops; member
74 (data->bus_ops->read(data->dev, reg, msg))
76 ((data)->bus_ops->write(data->dev, reg, val, msg))
189 ctrl |= data->bus_ops->ctrl_mod; in cma3000_poweron()
304 data->bus_ops = bops; in cma3000_init()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dcyttsp_core.c77 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, in ttsp_read_block_data()
95 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, in ttsp_write_block_data()
600 struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops, in cyttsp_probe() argument
617 ts->bus_ops = bus_ops; in cyttsp_probe()
636 input_dev->id.bustype = bus_ops->bustype; in cyttsp_probe()
Dcyttsp_core.h118 const struct cyttsp_bus_ops *bus_ops; member
137 struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops,
Dcyttsp4_core.h353 const struct cyttsp4_bus_ops *bus_ops; member
444 return ts->bus_ops->read(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_read()
450 return ts->bus_ops->write(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_write()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dinit.c458 if (common->bus_ops->ath_bus_type != ATH_PCI) in ath9k_init_pcoem_platform()
620 enum ath_bus_type bus_type = common->bus_ops->ath_bus_type; in ath9k_of_init()
652 const struct ath_bus_ops *bus_ops) in ath9k_init_softc() argument
689 common->bus_ops = bus_ops; in ath9k_init_softc()
775 if (common->bus_ops->aspm_init) in ath9k_init_softc()
776 common->bus_ops->aspm_init(common); in ath9k_init_softc()
1020 const struct ath_bus_ops *bus_ops) in ath9k_init_device() argument
1029 error = ath9k_init_softc(devid, sc, bus_ops); in ath9k_init_device()
Dath9k.h1118 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
1129 const struct ath_bus_ops *bus_ops);
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dce.h150 const struct ath10k_bus_ops *bus_ops; member
381 ce->bus_ops->read32((ar), CE_WRAPPER_BASE_ADDRESS + in ath10k_ce_interrupt_summary()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Dbase.h112 int ath5k_init_ah(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops);
Dath5k.h1692 return ath5k_hw_common(ah)->bus_ops->ath_bus_type; in ath5k_get_bus_type()
1697 common->bus_ops->read_cachesize(common, csz); in ath5k_read_cachesize()
1703 return common->bus_ops->eeprom_read(common, off, data); in ath5k_hw_nvram_read()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dsdio.c338 const struct mt76_bus_ops *bus_ops) in mt76s_init() argument
354 dev->bus = bus_ops; in mt76s_init()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/
Dath.h178 const struct ath_bus_ops *bus_ops; member
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpearl_pcie.c834 bus->bus_ops->data_tx = qtnf_pcie_data_tx_meta; in qtnf_pearl_tx_use_meta_info_set()
836 bus->bus_ops->data_tx = qtnf_pcie_data_tx; in qtnf_pearl_tx_use_meta_info_set()
1119 bus->bus_ops = &qtnf_pcie_pearl_bus_ops; in qtnf_pcie_pearl_probe()
/kernel/linux/linux-5.10/include/linux/mmc/
Dhost.h430 const struct mmc_bus_ops *bus_ops; /* current bus driver */ member

12