/linux-4.1.27/drivers/pci/pcie/aer/ |
H A D | aer_inject.c | 115 struct pci_bus_ops *bus_ops; __find_pci_bus_ops() local 117 list_for_each_entry(bus_ops, &pci_bus_ops_list, list) { __find_pci_bus_ops() 118 if (bus_ops->bus == bus) __find_pci_bus_ops() 119 return bus_ops->ops; __find_pci_bus_ops() 127 struct pci_bus_ops *bus_ops = NULL; pci_bus_ops_pop() local 131 bus_ops = NULL; pci_bus_ops_pop() 135 bus_ops = list_entry(lh, struct pci_bus_ops, list); pci_bus_ops_pop() 138 return bus_ops; pci_bus_ops_pop() 255 static void pci_bus_ops_init(struct pci_bus_ops *bus_ops, pci_bus_ops_init() argument 259 INIT_LIST_HEAD(&bus_ops->list); pci_bus_ops_init() 260 bus_ops->bus = bus; pci_bus_ops_init() 261 bus_ops->ops = ops; pci_bus_ops_init() 267 struct pci_bus_ops *bus_ops; pci_bus_set_aer_ops() local 270 bus_ops = kmalloc(sizeof(*bus_ops), GFP_KERNEL); pci_bus_set_aer_ops() 271 if (!bus_ops) pci_bus_set_aer_ops() 277 pci_bus_ops_init(bus_ops, bus, ops); pci_bus_set_aer_ops() 278 list_add(&bus_ops->list, &pci_bus_ops_list); pci_bus_set_aer_ops() 279 bus_ops = NULL; pci_bus_set_aer_ops() 282 kfree(bus_ops); pci_bus_set_aer_ops() 515 struct pci_bus_ops *bus_ops; aer_inject_exit() local 519 while ((bus_ops = pci_bus_ops_pop())) { aer_inject_exit() 520 pci_bus_set_ops(bus_ops->bus, bus_ops->ops); aer_inject_exit() 521 kfree(bus_ops); aer_inject_exit()
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | bus.c | 138 if (host->bus_ops->shutdown) { mmc_bus_shutdown() 139 ret = host->bus_ops->shutdown(host); mmc_bus_shutdown() 157 ret = host->bus_ops->suspend(host); mmc_bus_suspend() 167 ret = host->bus_ops->resume(host); mmc_bus_resume() 183 return host->bus_ops->runtime_suspend(host); mmc_runtime_suspend() 191 return host->bus_ops->runtime_resume(host); mmc_runtime_resume()
|
H A D | core.c | 1704 host->bus_ops = NULL; __mmc_release_bus() 1729 if ((host->bus_refs == 0) && host->bus_ops) mmc_bus_put() 1749 BUG_ON(host->bus_ops); mmc_attach_bus() 1752 host->bus_ops = ops; mmc_attach_bus() 1769 WARN_ON(!host->bus_ops); mmc_detach_bus() 2328 if (!host->bus_ops || host->bus_dead || !host->bus_ops->reset) { mmc_hw_reset() 2333 ret = host->bus_ops->reset(host); mmc_hw_reset() 2390 ret = host->bus_ops->alive(host); _mmc_detect_card_removed() 2472 if (host->bus_ops && !host->bus_dead mmc_rescan() 2474 host->bus_ops->detect(host); mmc_rescan() 2479 * Let mmc_bus_put() free the bus/bus_ops if we've found that mmc_rescan() 2486 if (host->bus_ops != NULL) { mmc_rescan() 2551 if (host->bus_ops && !host->bus_dead) { mmc_stop_host() 2552 /* Calling bus_ops->remove() with a claimed host can deadlock */ mmc_stop_host() 2553 host->bus_ops->remove(host); mmc_stop_host() 2578 if (!host->bus_ops || host->bus_dead) { mmc_power_save_host() 2583 if (host->bus_ops->power_save) mmc_power_save_host() 2584 ret = host->bus_ops->power_save(host); mmc_power_save_host() 2604 if (!host->bus_ops || host->bus_dead) { mmc_power_restore_host() 2610 ret = host->bus_ops->power_restore(host); mmc_power_restore_host() 2662 if (!host->bus_ops) mmc_pm_notify() 2666 if (host->bus_ops->pre_suspend) mmc_pm_notify() 2667 err = host->bus_ops->pre_suspend(host); mmc_pm_notify() 2671 /* Calling bus_ops->remove() with a claimed host can deadlock */ mmc_pm_notify() 2672 host->bus_ops->remove(host); mmc_pm_notify()
|
/linux-4.1.27/drivers/input/misc/ |
H A D | cma3000_d0x.c | 67 const struct cma3000_bus_ops *bus_ops; member in struct:cma3000_accl_data 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; cma3000_poweron() 315 data->bus_ops = bops; cma3000_init()
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | cyttsp_core.h | 133 const struct cyttsp_bus_ops *bus_ops; member in struct:cyttsp 144 struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops,
|
H A D | cyttsp_core.c | 87 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, ttsp_read_block_data() 105 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, ttsp_write_block_data() 531 struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops, cyttsp_probe() argument 554 ts->bus_ops = bus_ops; cyttsp_probe() 571 input_dev->id.bustype = bus_ops->bustype; cyttsp_probe()
|
H A D | cyttsp4_core.h | 363 const struct cyttsp4_bus_ops *bus_ops; member in struct:cyttsp4 454 return ts->bus_ops->read(ts->dev, ts->xfer_buf, addr, size, buf); cyttsp4_adap_read() 460 return ts->bus_ops->write(ts->dev, ts->xfer_buf, addr, size, buf); cyttsp4_adap_write()
|
H A D | cyttsp4_core.c | 1970 md->input->id.bustype = cd->bus_ops->bustype; cyttsp4_mt_probe() 2031 cd->bus_ops = ops; cyttsp4_probe()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
H A D | init.c | 401 if (common->bus_ops->ath_bus_type != ATH_PCI) ath9k_init_pcoem_platform() 537 const struct ath_bus_ops *bus_ops) ath9k_init_softc() 589 common->bus_ops = bus_ops; ath9k_init_softc() 674 if (common->bus_ops->aspm_init) ath9k_init_softc() 675 common->bus_ops->aspm_init(common); ath9k_init_softc() 913 const struct ath_bus_ops *bus_ops) ath9k_init_device() 922 error = ath9k_init_softc(devid, sc, bus_ops); ath9k_init_device() 536 ath9k_init_softc(u16 devid, struct ath_softc *sc, const struct ath_bus_ops *bus_ops) ath9k_init_softc() argument 912 ath9k_init_device(u16 devid, struct ath_softc *sc, const struct ath_bus_ops *bus_ops) ath9k_init_device() argument
|
H A D | eeprom.c | 132 ret = common->bus_ops->eeprom_read(common, off, data); ath9k_hw_nvram_read()
|
H A D | htc.h | 538 common->bus_ops->read_cachesize(common, csz); ath_read_cachesize()
|
H A D | ar5008_phy.c | 740 && (common->bus_ops->ath_bus_type != ATH_USB)) { ar5008_hw_process_ini() 772 && (common->bus_ops->ath_bus_type != ATH_USB)) { ar5008_hw_process_ini()
|
H A D | ath9k.h | 1068 common->bus_ops->read_cachesize(common, csz); ath_read_cachesize() 1079 const struct ath_bus_ops *bus_ops);
|
H A D | eeprom_def.c | 123 if (common->bus_ops->ath_bus_type == ATH_USB) ath9k_hw_def_fill_eeprom() 372 if ((common->bus_ops->ath_bus_type == ATH_USB) && ath9k_hw_def_check_eeprom()
|
H A D | eeprom_9287.c | 67 if (common->bus_ops->ath_bus_type == ATH_USB) ath9k_hw_ar9287_fill_eeprom()
|
H A D | hw.c | 507 if (common->bus_ops->ath_bus_type != ATH_USB) { ath9k_hw_post_init() 681 if (common->bus_ops->ath_bus_type == ATH_USB) ath9k_hw_init() 1712 if (common->bus_ops->ath_bus_type == ATH_USB) { ath9k_hw_init_desc() 1740 if (AR_SREV_9280(ah) && common->bus_ops->ath_bus_type == ATH_PCI) ath9k_hw_do_fastcc()
|
H A D | eeprom_4k.c | 64 if (common->bus_ops->ath_bus_type == ATH_USB) ath9k_hw_4k_fill_eeprom()
|
H A D | htc_drv_init.c | 634 common->bus_ops = &ath9k_usb_bus_ops; ath9k_init_priv()
|
H A D | hw.h | 134 (ath9k_hw_common(ah)->bus_ops->ath_bus_type \
|
/linux-4.1.27/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 | 1691 return ath5k_hw_common(ah)->bus_ops->ath_bus_type; ath5k_get_bus_type() 1696 common->bus_ops->read_cachesize(common, csz); ath5k_read_cachesize() 1702 return common->bus_ops->eeprom_read(common, off, data); ath5k_hw_nvram_read()
|
H A D | base.c | 2531 ath5k_init_ah(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops) ath5k_init_ah() argument 2590 common->bus_ops = bus_ops; ath5k_init_ah() 3083 ret = ath5k_hw_common(ah)->bus_ops->eeprom_read_mac(ah, mac); ath5k_init()
|
/linux-4.1.27/drivers/net/wireless/ath/ |
H A D | ath.h | 180 const struct ath_bus_ops *bus_ops; member in struct:ath_common
|
/linux-4.1.27/include/linux/mmc/ |
H A D | host.h | 340 const struct mmc_bus_ops *bus_ops; /* current bus driver */ member in struct:mmc_host
|
/linux-4.1.27/sound/pci/hda/ |
H A D | hda_controller.c | 1812 static struct hda_bus_ops bus_ops = { variable in typeref:struct:hda_bus_ops 1838 bus->ops = bus_ops; azx_bus_create()
|
H A D | hda_codec.c | 527 static const struct hdac_bus_ops bus_ops = { variable in typeref:struct:hdac_bus_ops 556 err = snd_hdac_bus_init(&bus->core, card->dev, &bus_ops); snd_hda_bus_new()
|