Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/pci/pcie/aer/
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 = NULL; in pci_bus_ops_pop() local
131 bus_ops = NULL; in pci_bus_ops_pop()
135 bus_ops = list_entry(lh, struct pci_bus_ops, list); in pci_bus_ops_pop()
138 return bus_ops; in pci_bus_ops_pop()
255 static void pci_bus_ops_init(struct pci_bus_ops *bus_ops, in pci_bus_ops_init() argument
259 INIT_LIST_HEAD(&bus_ops->list); in pci_bus_ops_init()
[all …]
/linux-4.1.27/drivers/mmc/core/
Dbus.c138 if (host->bus_ops->shutdown) { in mmc_bus_shutdown()
139 ret = host->bus_ops->shutdown(host); in mmc_bus_shutdown()
157 ret = host->bus_ops->suspend(host); in mmc_bus_suspend()
167 ret = host->bus_ops->resume(host); in mmc_bus_resume()
183 return host->bus_ops->runtime_suspend(host); in mmc_runtime_suspend()
191 return host->bus_ops->runtime_resume(host); in mmc_runtime_resume()
Dcore.c1704 host->bus_ops = NULL; in __mmc_release_bus()
1729 if ((host->bus_refs == 0) && host->bus_ops) in mmc_bus_put()
1749 BUG_ON(host->bus_ops); in mmc_attach_bus()
1752 host->bus_ops = ops; in mmc_attach_bus()
1769 WARN_ON(!host->bus_ops); in mmc_detach_bus()
2328 if (!host->bus_ops || host->bus_dead || !host->bus_ops->reset) { in mmc_hw_reset()
2333 ret = host->bus_ops->reset(host); in mmc_hw_reset()
2390 ret = host->bus_ops->alive(host); in _mmc_detect_card_removed()
2472 if (host->bus_ops && !host->bus_dead in mmc_rescan()
2474 host->bus_ops->detect(host); in mmc_rescan()
[all …]
/linux-4.1.27/drivers/input/misc/
Dcma3000_d0x.c67 const struct cma3000_bus_ops *bus_ops; member
85 (data->bus_ops->read(data->dev, reg, msg))
87 ((data)->bus_ops->write(data->dev, reg, val, msg))
200 ctrl |= data->bus_ops->ctrl_mod; in cma3000_poweron()
315 data->bus_ops = bops; in cma3000_init()
/linux-4.1.27/drivers/input/touchscreen/
Dcyttsp_core.c87 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, in ttsp_read_block_data()
105 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, in ttsp_write_block_data()
531 struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops, in cyttsp_probe() argument
554 ts->bus_ops = bus_ops; in cyttsp_probe()
571 input_dev->id.bustype = bus_ops->bustype; in cyttsp_probe()
Dcyttsp_core.h133 const struct cyttsp_bus_ops *bus_ops; member
144 struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops,
Dcyttsp4_core.h363 const struct cyttsp4_bus_ops *bus_ops; member
454 return ts->bus_ops->read(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_read()
460 return ts->bus_ops->write(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_write()
Dcyttsp4_core.c1970 md->input->id.bustype = cd->bus_ops->bustype; in cyttsp4_mt_probe()
2031 cd->bus_ops = ops; in cyttsp4_probe()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dinit.c401 if (common->bus_ops->ath_bus_type != ATH_PCI) in ath9k_init_pcoem_platform()
537 const struct ath_bus_ops *bus_ops) in ath9k_init_softc() argument
589 common->bus_ops = bus_ops; in ath9k_init_softc()
674 if (common->bus_ops->aspm_init) in ath9k_init_softc()
675 common->bus_ops->aspm_init(common); in ath9k_init_softc()
913 const struct ath_bus_ops *bus_ops) in ath9k_init_device() argument
922 error = ath9k_init_softc(devid, sc, bus_ops); in ath9k_init_device()
Dath9k.h1068 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
1079 const struct ath_bus_ops *bus_ops);
Dhtc.h538 common->bus_ops->read_cachesize(common, csz); in ath_read_cachesize()
Dar5008_phy.c740 && (common->bus_ops->ath_bus_type != ATH_USB)) { in ar5008_hw_process_ini()
772 && (common->bus_ops->ath_bus_type != ATH_USB)) { in ar5008_hw_process_ini()
Dhw.c507 if (common->bus_ops->ath_bus_type != ATH_USB) { in ath9k_hw_post_init()
681 if (common->bus_ops->ath_bus_type == ATH_USB) in ath9k_hw_init()
1712 if (common->bus_ops->ath_bus_type == ATH_USB) { in ath9k_hw_init_desc()
1740 if (AR_SREV_9280(ah) && common->bus_ops->ath_bus_type == ATH_PCI) in ath9k_hw_do_fastcc()
Deeprom.c132 ret = common->bus_ops->eeprom_read(common, off, data); in ath9k_hw_nvram_read()
Deeprom_def.c123 if (common->bus_ops->ath_bus_type == ATH_USB) in ath9k_hw_def_fill_eeprom()
372 if ((common->bus_ops->ath_bus_type == ATH_USB) && in ath9k_hw_def_check_eeprom()
Dhtc_drv_init.c634 common->bus_ops = &ath9k_usb_bus_ops; in ath9k_init_priv()
Dhw.h134 (ath9k_hw_common(ah)->bus_ops->ath_bus_type \
Deeprom_9287.c67 if (common->bus_ops->ath_bus_type == ATH_USB) in ath9k_hw_ar9287_fill_eeprom()
Deeprom_4k.c64 if (common->bus_ops->ath_bus_type == ATH_USB) in ath9k_hw_4k_fill_eeprom()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Dbase.h112 int ath5k_init_ah(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops);
Dath5k.h1691 return ath5k_hw_common(ah)->bus_ops->ath_bus_type; in ath5k_get_bus_type()
1696 common->bus_ops->read_cachesize(common, csz); in ath5k_read_cachesize()
1702 return common->bus_ops->eeprom_read(common, off, data); in ath5k_hw_nvram_read()
Dbase.c2531 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()
3083 ret = ath5k_hw_common(ah)->bus_ops->eeprom_read_mac(ah, mac); in ath5k_init()
/linux-4.1.27/drivers/net/wireless/ath/
Dath.h180 const struct ath_bus_ops *bus_ops; member
/linux-4.1.27/include/linux/mmc/
Dhost.h340 const struct mmc_bus_ops *bus_ops; /* current bus driver */ member
/linux-4.1.27/sound/pci/hda/
Dhda_controller.c1812 static struct hda_bus_ops bus_ops = { variable
1838 bus->ops = bus_ops; in azx_bus_create()
Dhda_codec.c527 static const struct hdac_bus_ops bus_ops = { variable
556 err = snd_hdac_bus_init(&bus->core, card->dev, &bus_ops); in snd_hda_bus_new()