Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/
Dmmio.c107 return dev->bus_ops->rr(mdev, addr); in mt7915_rr()
115 dev->bus_ops->wr(mdev, addr, val); in mt7915_wr()
123 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7915_rmw()
128 struct mt76_bus_ops *bus_ops; in mt7915_mmio_init() local
134 dev->bus_ops = dev->mt76.bus; in mt7915_mmio_init()
135 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7915_mmio_init()
137 if (!bus_ops) in mt7915_mmio_init()
140 bus_ops->rr = mt7915_rr; in mt7915_mmio_init()
141 bus_ops->wr = mt7915_wr; in mt7915_mmio_init()
142 bus_ops->rmw = mt7915_rmw; in mt7915_mmio_init()
[all …]
/Linux-v5.15/drivers/pci/pcie/
Daer_inject.c115 struct pci_bus_ops *bus_ops; in __find_pci_bus_ops() local
117 list_for_each_entry(bus_ops, &pci_bus_ops_list, list) { in __find_pci_bus_ops()
118 if (bus_ops->bus == bus) in __find_pci_bus_ops()
119 return bus_ops->ops; in __find_pci_bus_ops()
127 struct pci_bus_ops *bus_ops; in pci_bus_ops_pop() local
130 bus_ops = list_first_entry_or_null(&pci_bus_ops_list, in pci_bus_ops_pop()
132 if (bus_ops) in pci_bus_ops_pop()
133 list_del(&bus_ops->list); in pci_bus_ops_pop()
135 return bus_ops; in pci_bus_ops_pop()
288 static void pci_bus_ops_init(struct pci_bus_ops *bus_ops, in pci_bus_ops_init() argument
[all …]
/Linux-v5.15/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.c763 bus->bus_ops->data_tx_use_meta_set) in qtnf_core_attach()
764 bus->bus_ops->data_tx_use_meta_set(bus, true); in qtnf_core_attach()
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7615/
Dmmio.c164 return dev->bus_ops->rr(mdev, addr); in mt7615_rr()
172 dev->bus_ops->wr(mdev, addr, val); in mt7615_wr()
180 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7615_rmw()
203 struct mt76_bus_ops *bus_ops; in mt7615_mmio_probe() local
227 dev->bus_ops = dev->mt76.bus; in mt7615_mmio_probe()
228 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7615_mmio_probe()
230 if (!bus_ops) { in mt7615_mmio_probe()
235 bus_ops->rr = mt7615_rr; in mt7615_mmio_probe()
236 bus_ops->wr = mt7615_wr; in mt7615_mmio_probe()
237 bus_ops->rmw = mt7615_rmw; in mt7615_mmio_probe()
[all …]
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7921/
Ddma.c205 return dev->bus_ops->rr(mdev, addr); in mt7921_rr()
213 dev->bus_ops->wr(mdev, addr, val); in mt7921_wr()
221 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7921_rmw()
383 struct mt76_bus_ops *bus_ops; in mt7921_dma_init() local
386 dev->bus_ops = dev->mt76.bus; in mt7921_dma_init()
387 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7921_dma_init()
389 if (!bus_ops) in mt7921_dma_init()
392 bus_ops->rr = mt7921_rr; in mt7921_dma_init()
393 bus_ops->wr = mt7921_wr; in mt7921_dma_init()
394 bus_ops->rmw = mt7921_rmw; in mt7921_dma_init()
[all …]
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7603/
Dinit.c397 return dev->bus_ops->rr(mdev, addr); in mt7603_rr()
405 dev->bus_ops->wr(mdev, addr, val); in mt7603_wr()
413 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7603_rmw()
487 struct mt76_bus_ops *bus_ops; in mt7603_register_device() local
492 dev->bus_ops = dev->mt76.bus; in mt7603_register_device()
493 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7603_register_device()
495 if (!bus_ops) in mt7603_register_device()
498 bus_ops->rr = mt7603_rr; in mt7603_register_device()
499 bus_ops->wr = mt7603_wr; in mt7603_register_device()
500 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
/Linux-v5.15/drivers/mmc/core/
Dbus.c161 if (host->bus_ops->shutdown) { in mmc_bus_shutdown()
162 ret = host->bus_ops->shutdown(host); in mmc_bus_shutdown()
180 ret = host->bus_ops->suspend(host); in mmc_bus_suspend()
193 ret = host->bus_ops->resume(host); in mmc_bus_resume()
209 return host->bus_ops->runtime_suspend(host); in mmc_runtime_suspend()
217 return host->bus_ops->runtime_resume(host); in mmc_runtime_resume()
Dcore.h172 if (host->bus_ops->cache_enabled) in mmc_cache_enabled()
173 return host->bus_ops->cache_enabled(host); in mmc_cache_enabled()
180 if (host->bus_ops->flush_cache) in mmc_flush_cache()
181 return host->bus_ops->flush_cache(host); in mmc_flush_cache()
Dcore.c1390 host->bus_ops = ops; in mmc_attach_bus()
1398 host->bus_ops = NULL; in mmc_detach_bus()
2010 ret = host->bus_ops->hw_reset(host); in mmc_hw_reset()
2023 if (!host->bus_ops->sw_reset) in mmc_sw_reset()
2026 ret = host->bus_ops->sw_reset(host); in mmc_sw_reset()
2093 ret = host->bus_ops->alive(host); in _mmc_detect_card_removed()
2210 if (host->bus_ops) in mmc_rescan()
2211 host->bus_ops->detect(host); in mmc_rescan()
2216 if (host->bus_ops != NULL) in mmc_rescan()
2280 if (host->bus_ops) { in mmc_stop_host()
[all …]
Dhost.c47 if (!host->bus_ops) in mmc_host_class_prepare()
51 if (host->bus_ops->pre_suspend) in mmc_host_class_prepare()
52 return host->bus_ops->pre_suspend(host); in mmc_host_class_prepare()
/Linux-v5.15/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()
/Linux-v5.15/drivers/input/touchscreen/
Dcyttsp_core.c85 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, in ttsp_read_block_data()
103 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, in ttsp_write_block_data()
627 struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops, in cyttsp_probe() argument
644 ts->bus_ops = bus_ops; in cyttsp_probe()
687 input_dev->id.bustype = bus_ops->bustype; in cyttsp_probe()
Dcyttsp_core.h117 const struct cyttsp_bus_ops *bus_ops; member
137 struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops,
Dcyttsp4_core.h339 const struct cyttsp4_bus_ops *bus_ops; member
430 return ts->bus_ops->read(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_read()
436 return ts->bus_ops->write(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_write()
/Linux-v5.15/drivers/net/wireless/ath/ath9k/
Dinit.c457 if (common->bus_ops->ath_bus_type != ATH_PCI) in ath9k_init_pcoem_platform()
619 enum ath_bus_type bus_type = common->bus_ops->ath_bus_type; in ath9k_of_init()
648 const struct ath_bus_ops *bus_ops) in ath9k_init_softc() argument
685 common->bus_ops = bus_ops; in ath9k_init_softc()
771 if (common->bus_ops->aspm_init) in ath9k_init_softc()
772 common->bus_ops->aspm_init(common); in ath9k_init_softc()
997 const struct ath_bus_ops *bus_ops) in ath9k_init_device() argument
1006 error = ath9k_init_softc(devid, sc, bus_ops); in ath9k_init_device()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/
Dsdio.c355 const struct mt76_bus_ops *bus_ops) in mt76s_init() argument
376 dev->bus = bus_ops; in mt76s_init()
/Linux-v5.15/drivers/net/wireless/ath/
Dath.h178 const struct ath_bus_ops *bus_ops; member
/Linux-v5.15/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()
/Linux-v5.15/include/linux/mmc/
Dhost.h453 const struct mmc_bus_ops *bus_ops; /* current bus driver */ member

12