/linux/drivers/pci/pcie/ |
H A D | aer_inject.c | 115 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/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | bus.h | 57 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()
|
H A D | core.c | 749 bus->bus_ops->data_tx_use_meta_set) in qtnf_core_attach() 750 bus->bus_ops->data_tx_use_meta_set(bus, true); in qtnf_core_attach()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | pci.c | 56 dev->bus_ops->wr(&dev->mt76, MT_HIF_REMAP_L1, dev->backup_l1); in mt7925_reg_remap_restore() 61 dev->bus_ops->wr(&dev->mt76, MT_HIF_REMAP_L2, dev->backup_l2); in mt7925_reg_remap_restore() 71 dev->backup_l1 = dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in mt7925_reg_map_l1() 73 dev->bus_ops->rmw(&dev->mt76, MT_HIF_REMAP_L1, in mt7925_reg_map_l1() 78 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in mt7925_reg_map_l1() 87 dev->backup_l2 = dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in mt7925_reg_map_l2() 89 dev->bus_ops->rmw(&dev->mt76, MT_HIF_REMAP_L1, in mt7925_reg_map_l2() 93 dev->bus_ops->wr(&dev->mt76, MT_HIF_REMAP_L2, addr); in mt7925_reg_map_l2() 95 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in mt7925_reg_map_l2() 189 return dev->bus_ops->rr(mdev, addr); in mt7925_rr() [all …]
|
H A D | usb.c | 154 static struct mt76_bus_ops bus_ops = { in mt7925u_probe() local 190 ret = __mt76u_init(mdev, usb_intf, &bus_ops); in mt7925u_probe()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mmio.c | 147 return dev->bus_ops->rr(mdev, addr); in mt7615_rr() 155 dev->bus_ops->wr(mdev, addr, val); in mt7615_wr() 163 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7615_rmw() 187 struct mt76_bus_ops *bus_ops; in mt7615_mmio_probe() local 211 dev->bus_ops = dev->mt76.bus; in mt7615_mmio_probe() 212 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7615_mmio_probe() 214 if (!bus_ops) { in mt7615_mmio_probe() 219 bus_ops->rr = mt7615_rr; in mt7615_mmio_probe() 220 bus_ops->wr = mt7615_wr; in mt7615_mmio_probe() 221 bus_ops->rmw = mt7615_rmw; in mt7615_mmio_probe() [all …]
|
H A D | usb.c | 128 static struct mt76_bus_ops bus_ops = { in mt7663u_probe() local 162 ret = __mt76u_init(mdev, usb_intf, &bus_ops); in mt7663u_probe()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mmio.c | 143 dev->bus_ops->rmw(&dev->mt76, MT_HIF_REMAP_L1, in mt7996_reg_map_l1() 147 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in mt7996_reg_map_l1() 157 dev->bus_ops->rmw(&dev->mt76, MT_HIF_REMAP_L2, in mt7996_reg_map_l2() 161 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L2); in mt7996_reg_map_l2() 232 return dev->bus_ops->rr(mdev, addr); in mt7996_rr() 235 val = dev->bus_ops->rr(mdev, __mt7996_reg_remap_addr(dev, offset)); in mt7996_rr() 247 dev->bus_ops->wr(mdev, addr, val); in mt7996_wr() 252 dev->bus_ops->wr(mdev, __mt7996_reg_remap_addr(dev, offset), val); in mt7996_wr() 262 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7996_rmw() 265 val = dev->bus_ops->rmw(mdev, __mt7996_reg_remap_addr(dev, offset), mask, val); in mt7996_rmw() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mmio.c | 426 dev->bus_ops->rmw(&dev->mt76, l1_remap, in mt7915_reg_map_l1() 430 dev->bus_ops->rr(&dev->mt76, l1_remap); in mt7915_reg_map_l1() 443 dev->bus_ops->rmw(&dev->mt76, MT_HIF_REMAP_L2, in mt7915_reg_map_l2() 448 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L2); in mt7915_reg_map_l2() 455 dev->bus_ops->rmw(&dev->mt76, MT_HIF_REMAP_L2_MT7916 + ofs, in mt7915_reg_map_l2() 460 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L2_MT7916 + ofs); in mt7915_reg_map_l2() 539 return dev->bus_ops->rr(mdev, addr); in mt7915_rr() 542 val = dev->bus_ops->rr(mdev, __mt7915_reg_remap_addr(dev, offset)); in mt7915_rr() 554 dev->bus_ops->wr(mdev, addr, val); in mt7915_wr() 559 dev->bus_ops->wr(mdev, __mt7915_reg_remap_addr(dev, offset), val); in mt7915_wr() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | pci.c | 145 return dev->bus_ops->rr(mdev, addr); in mt7921_rr() 153 dev->bus_ops->wr(mdev, addr, val); in mt7921_wr() 161 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7921_rmw() 272 struct mt76_bus_ops *bus_ops; in mt7921_pci_probe() local 330 dev->bus_ops = dev->mt76.bus; in mt7921_pci_probe() 331 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7921_pci_probe() 333 if (!bus_ops) { in mt7921_pci_probe() 338 bus_ops->rr = mt7921_rr; in mt7921_pci_probe() 339 bus_ops->wr = mt7921_wr; in mt7921_pci_probe() 340 bus_ops->rmw = mt7921_rmw; in mt7921_pci_probe() [all …]
|
H A D | usb.c | 164 static struct mt76_bus_ops bus_ops = { in mt7921u_probe() local 199 ret = __mt76u_init(mdev, usb_intf, &bus_ops); in mt7921u_probe()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | init.c | 405 return dev->bus_ops->rr(mdev, addr); in mt7603_rr() 413 dev->bus_ops->wr(mdev, addr, val); in mt7603_wr() 421 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7603_rmw() 497 struct mt76_bus_ops *bus_ops; in mt7603_register_device() local 502 dev->bus_ops = dev->mt76.bus; in mt7603_register_device() 503 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7603_register_device() 505 if (!bus_ops) in mt7603_register_device() 508 bus_ops->rr = mt7603_rr; in mt7603_register_device() 509 bus_ops->wr = mt7603_wr; in mt7603_register_device() 510 bus_ops->rmw = mt7603_rmw; in mt7603_register_device() [all …]
|
H A D | core.c | 64 dev->bus_ops->wr(&dev->mt76, MT_MCU_PCIE_REMAP_2, base); in mt7603_reg_map()
|
H A D | mt7603.h | 108 const struct mt76_bus_ops *bus_ops; member
|
/linux/drivers/input/misc/ |
H A D | cma3000_d0x.c | 56 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() 296 data->bus_ops = bops; in cma3000_init()
|
/linux/drivers/input/touchscreen/ |
H A D | cyttsp_core.c | 84 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, in ttsp_read_block_data() 102 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, in ttsp_write_block_data() 617 struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops, in cyttsp_probe() argument 639 ts->bus_ops = bus_ops; in cyttsp_probe() 663 input_dev->id.bustype = bus_ops->bustype; in cyttsp_probe()
|
H A D | cyttsp_core.h | 117 const struct cyttsp_bus_ops *bus_ops; member 136 struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops,
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | ce.h | 150 const struct ath10k_bus_ops *bus_ops; member 381 ce->bus_ops->read32((ar), CE_WRAPPER_BASE_ADDRESS + in ath10k_ce_interrupt_summary()
|
/linux/drivers/mmc/core/ |
H A D | host.c | 46 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()
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | base.h | 112 int ath5k_init_ah(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops);
|
H A D | ath5k.h | 1688 return ath5k_hw_common(ah)->bus_ops->ath_bus_type; in ath5k_get_bus_type() 1693 common->bus_ops->read_cachesize(common, csz); in ath5k_read_cachesize() 1699 return common->bus_ops->eeprom_read(common, off, data); in ath5k_hw_nvram_read()
|
/linux/drivers/net/wireless/ath/ |
H A D | ath.h | 182 const struct ath_bus_ops *bus_ops; member
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | sdio.c | 636 const struct mt76_bus_ops *bus_ops) in mt76s_init() argument 662 dev->bus = bus_ops; in mt76s_init()
|
/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
H A D | pearl_pcie.c | 834 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/drivers/net/wireless/ath/ath9k/ |
H A D | ath9k.h | 1120 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize() 1131 const struct ath_bus_ops *bus_ops);
|