Home
last modified time | relevance | path

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

12

/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 …]
/drivers/net/wireless/quantenna/qtnfmac/
Dbus.h45 const struct qtnf_bus_ops *bus_ops; member
90 if (!bus->bus_ops->preinit) in qtnf_bus_preinit()
92 return bus->bus_ops->preinit(bus); in qtnf_bus_preinit()
97 if (!bus->bus_ops->stop) in qtnf_bus_stop()
99 bus->bus_ops->stop(bus); in qtnf_bus_stop()
104 return bus->bus_ops->data_tx(bus, skb); in qtnf_bus_data_tx()
110 return bus->bus_ops->data_tx_timeout(bus, ndev); in qtnf_bus_data_tx_timeout()
115 return bus->bus_ops->control_tx(bus, skb); in qtnf_bus_control_tx()
120 return bus->bus_ops->data_rx_start(bus); in qtnf_bus_data_rx_start()
125 return bus->bus_ops->data_rx_stop(bus); in qtnf_bus_data_rx_stop()
/drivers/net/wireless/mediatek/mt76/mt7603/
Dinit.c421 return dev->bus_ops->rr(mdev, addr); in mt7603_rr()
429 dev->bus_ops->wr(mdev, addr, val); in mt7603_wr()
437 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7603_rmw()
511 struct mt76_bus_ops *bus_ops; in mt7603_register_device() local
516 dev->bus_ops = dev->mt76.bus; in mt7603_register_device()
517 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7603_register_device()
519 if (!bus_ops) in mt7603_register_device()
522 bus_ops->rr = mt7603_rr; in mt7603_register_device()
523 bus_ops->wr = mt7603_wr; in mt7603_register_device()
524 bus_ops->rmw = mt7603_rmw; in mt7603_register_device()
[all …]
Dcore.c59 dev->bus_ops->wr(&dev->mt76, MT_MCU_PCIE_REMAP_2, base); in mt7603_reg_map()
Dmt7603.h100 const struct mt76_bus_ops *bus_ops; member
/drivers/mmc/core/
Dbus.c137 if (host->bus_ops->shutdown) { in mmc_bus_shutdown()
138 ret = host->bus_ops->shutdown(host); in mmc_bus_shutdown()
156 ret = host->bus_ops->suspend(host); in mmc_bus_suspend()
169 ret = host->bus_ops->resume(host); in mmc_bus_resume()
185 return host->bus_ops->runtime_suspend(host); in mmc_runtime_suspend()
193 return host->bus_ops->runtime_resume(host); in mmc_runtime_resume()
Dcore.c1401 host->bus_ops = NULL; in __mmc_release_bus()
1426 if ((host->bus_refs == 0) && host->bus_ops) in mmc_bus_put()
1443 WARN_ON(host->bus_ops); in mmc_attach_bus()
1446 host->bus_ops = ops; in mmc_attach_bus()
1461 WARN_ON(!host->bus_ops); in mmc_detach_bus()
2123 if (!host->bus_ops || host->bus_dead || !host->bus_ops->hw_reset) { in mmc_hw_reset()
2128 ret = host->bus_ops->hw_reset(host); in mmc_hw_reset()
2147 if (!host->bus_ops || host->bus_dead || !host->bus_ops->sw_reset) { in mmc_sw_reset()
2152 ret = host->bus_ops->sw_reset(host); in mmc_sw_reset()
2216 ret = host->bus_ops->alive(host); in _mmc_detect_card_removed()
[all …]
/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()
/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()
/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()
776 if (common->bus_ops->aspm_init) in ath9k_init_softc()
777 common->bus_ops->aspm_init(common); in ath9k_init_softc()
1018 const struct ath_bus_ops *bus_ops) in ath9k_init_device() argument
1027 error = ath9k_init_softc(devid, sc, bus_ops); in ath9k_init_device()
Dath9k.h1117 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
1128 const struct ath_bus_ops *bus_ops);
Dhtc.h539 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
Dar5008_phy.c744 && (common->bus_ops->ath_bus_type != ATH_USB)) { in ar5008_hw_process_ini()
776 && (common->bus_ops->ath_bus_type != ATH_USB)) { in ar5008_hw_process_ini()
Deeprom_def.c128 if (common->bus_ops->ath_bus_type == ATH_USB) in ath9k_hw_def_fill_eeprom()
324 if ((common->bus_ops->ath_bus_type == ATH_USB) && in ath9k_hw_def_check_eeprom()
Dhw.c522 if (common->bus_ops->ath_bus_type != ATH_USB) { in ath9k_hw_post_init()
694 if (common->bus_ops->ath_bus_type == ATH_USB) in ath9k_hw_init()
1767 if (common->bus_ops->ath_bus_type == ATH_USB) { in ath9k_hw_init_desc()
1795 if (AR_SREV_9280(ah) && common->bus_ops->ath_bus_type == ATH_PCI) in ath9k_hw_do_fastcc()
Deeprom.c149 ret = common->bus_ops->eeprom_read(common, off, data); in ath9k_hw_nvram_read()
/drivers/net/wireless/ath/ath10k/
Dce.h150 const struct ath10k_bus_ops *bus_ops; member
380 ce->bus_ops->read32((ar), CE_WRAPPER_BASE_ADDRESS + in ath10k_ce_interrupt_summary()
Dpci.c680 ce->bus_ops->write32(ar, offset, value); in ath10k_pci_write32()
687 return ce->bus_ops->read32(ar, offset); in ath10k_pci_read32()
2298 return ce->bus_ops->get_num_banks(ar); in ath10k_bus_get_num_banks()
3573 ar_pci->ce.bus_ops = &ath10k_pci_bus_ops; in ath10k_pci_probe()
Dahb.c777 ar_pci->ce.bus_ops = &ath10k_ahb_bus_ops; in ath10k_ahb_probe()
/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()
Dbase.c2529 ath5k_init_ah(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops) in ath5k_init_ah() argument
2590 common->bus_ops = bus_ops; in ath5k_init_ah()
3081 ret = ath5k_hw_common(ah)->bus_ops->eeprom_read_mac(ah, mac); in ath5k_init()
/drivers/net/wireless/ath/
Dath.h178 const struct ath_bus_ops *bus_ops; member

12