Home
last modified time | relevance | path

Searched refs:drv (Results 76 – 100 of 1331) sorted by relevance

12345678910>>...54

/openbmc/linux/sound/core/seq/
H A Dseq_midi_emul.c77 void *drv; in snd_midi_process_event() local
97 drv = chanset->private_data; in snd_midi_process_event()
137 do_control(ops, drv, chanset, chan, in snd_midi_process_event()
178 nrpn(ops, drv, chan, chanset); in snd_midi_process_event()
191 rpn(ops, drv, chan, chanset); in snd_midi_process_event()
315 rpn(ops, drv, chan, chset); in do_control()
317 nrpn(ops, drv, chan, chset); in do_control()
329 all_sounds_off(ops, drv, chan); in do_control()
333 all_notes_off(ops, drv, chan); in do_control()
455 ops->nrpn(drv, chan, chset); in nrpn()
[all …]
/openbmc/linux/arch/arm64/boot/dts/exynos/
H A Dexynos7-pinctrl.dtsi191 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
198 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
205 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
212 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
219 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
226 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
233 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
240 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
247 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
254 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
[all …]
H A Dexynos5433-pinctrl.dtsi19 samsung,pin-drv = <EXYNOS5433_PIN_DRV_ ##_drv>; \
145 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>;
152 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>;
159 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>;
196 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>;
203 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>;
260 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>;
267 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>;
274 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>;
281 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>;
[all …]
/openbmc/linux/drivers/tty/serial/
H A Dsuncore.c28 int sunserial_register_minors(struct uart_driver *drv, int count) in sunserial_register_minors() argument
32 drv->minor = sunserial_current_minor; in sunserial_register_minors()
33 drv->nr += count; in sunserial_register_minors()
35 if (drv->nr == count) in sunserial_register_minors()
36 err = uart_register_driver(drv); in sunserial_register_minors()
39 drv->tty_driver->name_base = drv->minor - 64; in sunserial_register_minors()
47 drv->nr -= count; in sunserial_unregister_minors()
50 if (drv->nr == 0) in sunserial_unregister_minors()
51 uart_unregister_driver(drv); in sunserial_unregister_minors()
56 struct uart_driver *drv, int line, bool ignore_line) in sunserial_console_match() argument
[all …]
/openbmc/qemu/block/
H A Dio.c172 BlockDriver *drv = bs->drv; in bdrv_refresh_limits() local
1007 BlockDriver *drv = bs->drv; in bdrv_driver_preadv() local
1077 BlockDriver *drv = bs->drv; in bdrv_driver_pwritev() local
1159 BlockDriver *drv = bs->drv; in bdrv_driver_pwritev_compressed() local
1203 BlockDriver *drv = bs->drv; in bdrv_co_do_copy_on_readv() local
1858 BlockDriver *drv = bs->drv; in bdrv_co_do_pwrite_zeroes() local
2083 BlockDriver *drv = bs->drv; in bdrv_aligned_pwritev() local
2859 BlockDriver *drv = bs->drv; in bdrv_co_readv_vmstate() local
2892 BlockDriver *drv = bs->drv; in bdrv_co_writev_vmstate() local
3222 BlockDriver *drv = bs->drv; in bdrv_co_ioctl() local
[all …]
/openbmc/u-boot/cmd/
H A Dbind.c19 struct driver *drv; in bind_by_class_index() local
21 drv = lists_driver_lookup_name(drv_name); in bind_by_class_index()
22 if (!drv) { in bind_by_class_index()
39 ret = device_bind_with_driver_data(parent, drv, drv->name, 0, in bind_by_class_index()
98 struct driver *drv; in unbind_child_by_class_index() local
100 drv = lists_driver_lookup_name(drv_name); in unbind_child_by_class_index()
101 if (!drv) { in unbind_child_by_class_index()
114 ret = device_chld_unbind(parent, drv); in unbind_child_by_class_index()
127 struct driver *drv; in bind_by_node_path() local
129 drv = lists_driver_lookup_name(drv_name); in bind_by_node_path()
[all …]
/openbmc/linux/drivers/base/
H A Dbase.h156 int bus_add_driver(struct device_driver *drv);
157 void bus_remove_driver(struct device_driver *drv);
158 void device_release_driver_internal(struct device *dev, struct device_driver *drv,
161 void driver_detach(struct device_driver *drv);
164 static inline int driver_match_device(struct device_driver *drv, in driver_match_device() argument
167 return drv->bus->match ? drv->bus->match(dev, drv) : 1; in driver_match_device()
178 int driver_add_groups(struct device_driver *drv, const struct attribute_group **groups);
195 int module_add_driver(struct module *mod, struct device_driver *drv);
196 void module_remove_driver(struct device_driver *drv);
199 struct device_driver *drv) in module_add_driver() argument
[all …]
/openbmc/linux/include/linux/
H A Dserio.h51 struct serio_driver *drv; member
75 int (*connect)(struct serio *, struct serio_driver *drv);
85 int serio_open(struct serio *serio, struct serio_driver *drv);
100 int __must_check __serio_register_driver(struct serio_driver *drv,
104 #define serio_register_driver(drv) \ argument
105 __serio_register_driver(drv, THIS_MODULE, KBUILD_MODNAME)
107 void serio_unregister_driver(struct serio_driver *drv);
132 if (serio->drv && serio->drv->write_wakeup) in serio_drv_write_wakeup()
133 serio->drv->write_wakeup(serio); in serio_drv_write_wakeup()
/openbmc/qemu/crypto/
H A Dakcipher.c53 const QCryptoAkCipherDriver *drv = akcipher->driver; in qcrypto_akcipher_encrypt() local
55 return drv->encrypt(akcipher, in, in_len, out, out_len, errp); in qcrypto_akcipher_encrypt()
62 const QCryptoAkCipherDriver *drv = akcipher->driver; in qcrypto_akcipher_decrypt() local
64 return drv->decrypt(akcipher, in, in_len, out, out_len, errp); in qcrypto_akcipher_decrypt()
71 const QCryptoAkCipherDriver *drv = akcipher->driver; in qcrypto_akcipher_sign() local
73 return drv->sign(akcipher, in, in_len, out, out_len, errp); in qcrypto_akcipher_sign()
80 const QCryptoAkCipherDriver *drv = akcipher->driver; in qcrypto_akcipher_verify() local
82 return drv->verify(akcipher, in, in_len, in2, in2_len, errp); in qcrypto_akcipher_verify()
107 const QCryptoAkCipherDriver *drv = akcipher->driver; in qcrypto_akcipher_free() local
109 drv->free(akcipher); in qcrypto_akcipher_free()
/openbmc/linux/drivers/sh/superhyway/
H A Dsuperhyway.c170 int superhyway_register_driver(struct superhyway_driver *drv) in superhyway_register_driver() argument
172 drv->drv.name = drv->name; in superhyway_register_driver()
173 drv->drv.bus = &superhyway_bus_type; in superhyway_register_driver()
175 return driver_register(&drv->drv); in superhyway_register_driver()
185 void superhyway_unregister_driver(struct superhyway_driver *drv) in superhyway_unregister_driver() argument
187 driver_unregister(&drv->drv); in superhyway_unregister_driver()
190 static int superhyway_bus_match(struct device *dev, struct device_driver *drv) in superhyway_bus_match() argument
193 struct superhyway_driver *shyway_drv = to_superhyway_driver(drv); in superhyway_bus_match()
/openbmc/linux/drivers/net/phy/
H A Dmdio_device.c41 struct mdio_driver *mdiodrv = to_mdio_driver(drv); in mdio_device_bus_match()
46 return strcmp(mdiodev->modalias, drv->name) == 0; in mdio_device_bus_match()
151 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe() local
152 struct mdio_driver *mdiodrv = to_mdio_driver(drv); in mdio_probe()
172 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove() local
173 struct mdio_driver *mdiodrv = to_mdio_driver(drv); in mdio_remove()
187 struct device_driver *drv = mdiodev->dev.driver; in mdio_shutdown() local
188 struct mdio_driver *mdiodrv = to_mdio_driver(drv); in mdio_shutdown()
198 int mdio_driver_register(struct mdio_driver *drv) in mdio_driver_register() argument
200 struct mdio_driver_common *mdiodrv = &drv->mdiodrv; in mdio_driver_register()
[all …]
H A Dphy.c68 if (phydev->drv && phydev->drv->link_change_notify) in phy_process_state_change()
204 if (phydev->drv && phydev->drv->aneg_done) in phy_aneg_done()
535 if (!phydev->drv) in phy_ethtool_get_strings()
555 if (!phydev->drv) in phy_ethtool_get_sset_count()
582 if (!phydev->drv) in phy_ethtool_get_stats()
990 if (!phydev->drv) in _phy_start_aneg()
1274 struct phy_driver *drv = phydev->drv; in phy_interrupt() local
1553 if (!phydev->drv) in phy_init_eee()
1584 if (!phydev->drv) in phy_get_eee_err()
1650 if (phydev->drv && phydev->drv->set_wol) { in phy_ethtool_set_wol()
[all …]
/openbmc/u-boot/drivers/core/
H A Ddevice.c68 dev->driver = drv; in device_bind_common()
151 if (drv->bind) { in device_bind_common()
152 ret = drv->bind(dev); in device_bind_common()
180 if (drv->unbind && drv->unbind(dev)) { in device_bind_common()
247 struct driver *drv; in device_bind_by_name() local
251 if (!drv) in device_bind_by_name()
322 drv = dev->driver; in device_probe()
323 assert(drv); in device_probe()
327 dev->priv = alloc_priv(drv->priv_auto_alloc_size, drv->flags); in device_probe()
417 if (drv->probe) { in device_probe()
[all …]
/openbmc/linux/drivers/cpuidle/governors/
H A Dmenu.c274 menu_update(drv, dev); in menu_select()
316 latency_req < drv->states[1].exit_latency_ns) && in menu_select()
354 for (i = 0; i < drv->state_count; i++) { in menu_select()
355 struct cpuidle_state *s = &drv->states[i]; in menu_select()
368 if ((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) && in menu_select()
385 predicted_ns = drv->states[idx].target_residency_ns; in menu_select()
395 if (drv->states[idx].target_residency_ns < TICK_NSEC && in menu_select()
414 if (((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) || in menu_select()
430 if (drv->states[i].target_residency_ns <= delta_tick) in menu_select()
465 struct cpuidle_state *target = &drv->states[last_idx]; in menu_update()
[all …]
H A Dladder.c66 static int ladder_select_state(struct cpuidle_driver *drv, in ladder_select_state() argument
72 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_select_state()
87 if (last_idx < drv->state_count - 1 && in ladder_select_state()
90 drv->states[last_idx + 1].exit_latency_ns <= latency_req) { in ladder_select_state()
102 drv->states[last_idx].exit_latency_ns > latency_req)) { in ladder_select_state()
106 if (drv->states[i].exit_latency_ns <= latency_req) in ladder_select_state()
132 static int ladder_enable_device(struct cpuidle_driver *drv, in ladder_enable_device() argument
136 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_enable_device()
143 for (i = first_idx; i < drv->state_count; i++) { in ladder_enable_device()
144 state = &drv->states[i]; in ladder_enable_device()
[all …]
/openbmc/linux/drivers/staging/qlge/
H A Dqlge_mpi.c214 netif_err(qdev, drv, qdev->ndev, in qlge_idc_req_aen()
239 netif_err(qdev, drv, qdev->ndev, in qlge_idc_cmplt_aen()
259 netif_err(qdev, drv, qdev->ndev, in qlge_link_up()
399 netif_err(qdev, drv, qdev->ndev, in qlge_mpi_handler()
488 netif_err(qdev, drv, qdev->ndev, in qlge_mpi_handler()
508 netif_err(qdev, drv, qdev->ndev, in qlge_mpi_handler()
583 netif_err(qdev, drv, qdev->ndev, in qlge_mailbox_command()
630 netif_err(qdev, drv, qdev->ndev, in qlge_mb_about_fw()
662 netif_err(qdev, drv, qdev->ndev, in qlge_mb_get_fw_state()
672 netif_err(qdev, drv, qdev->ndev, in qlge_mb_get_fw_state()
[all …]
/openbmc/linux/drivers/video/fbdev/via/
H A Dvia_aux.h32 void (*cleanup)(struct via_aux_drv *drv);
34 (struct via_aux_drv *drv);
43 static inline bool via_aux_add(struct via_aux_drv *drv) in via_aux_add() argument
50 *data = *drv; in via_aux_add()
55 static inline bool via_aux_read(struct via_aux_drv *drv, u8 start, u8 *buf, in via_aux_read() argument
59 {.addr = drv->addr, .flags = 0, .len = 1, .buf = &start}, in via_aux_read()
60 {.addr = drv->addr, .flags = I2C_M_RD, .len = len, .buf = buf} }; in via_aux_read()
62 return i2c_transfer(drv->bus->adap, msg, 2) == 2; in via_aux_read()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtc_conntrack.c35 netif_err(efx, drv, efx->net_dev, in efx_tc_ct_zone_free()
48 netif_err(efx, drv, efx->net_dev, in efx_tc_ct_free()
118 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
131 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
142 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
150 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
156 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
169 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
175 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
217 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
[all …]
/openbmc/linux/drivers/xen/xenbus/
H A Dxenbus_probe.c101 if (!drv->ids) in xenbus_match()
209 if (drv->otherend_changed) in xenbus_otherend_changed()
281 if (!drv->probe) { in xenbus_dev_probe()
301 drv->driver.name); in xenbus_dev_probe()
307 err = drv->probe(dev, id); in xenbus_dev_probe()
344 if (drv->remove) { in xenbus_dev_remove()
346 drv->remove(dev); in xenbus_dev_remove()
360 if (!drv->allow_rebind || in xenbus_dev_remove()
370 drv->driver.name = drv->name ? drv->name : drv->ids[0].devicetype; in xenbus_register_driver_common()
677 if (drv->suspend) in xenbus_dev_suspend()
[all …]
/openbmc/linux/drivers/misc/
H A Dtifm_core.c76 if (dev->driver && drv->probe) { in tifm_device_probe()
77 rc = drv->probe(sock); in tifm_device_probe()
96 if (dev->driver && drv->remove) { in tifm_device_remove()
99 drv->remove(sock); in tifm_device_remove()
114 if (dev->driver && drv->suspend) in tifm_device_suspend()
115 return drv->suspend(sock, state); in tifm_device_suspend()
125 if (dev->driver && drv->resume) in tifm_device_resume()
126 return drv->resume(sock); in tifm_device_resume()
315 drv->driver.bus = &tifm_bus_type; in tifm_register_driver()
317 return driver_register(&drv->driver); in tifm_register_driver()
[all …]
/openbmc/linux/drivers/mmc/core/
H A Dbus.c128 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_probe() local
131 return drv->probe(card); in mmc_bus_probe()
139 drv->remove(card); in mmc_bus_remove()
149 if (dev->driver && drv->shutdown) in mmc_bus_shutdown()
150 drv->shutdown(card); in mmc_bus_shutdown()
241 int mmc_register_driver(struct mmc_driver *drv) in mmc_register_driver() argument
243 drv->drv.bus = &mmc_bus_type; in mmc_register_driver()
244 return driver_register(&drv->drv); in mmc_register_driver()
253 void mmc_unregister_driver(struct mmc_driver *drv) in mmc_unregister_driver() argument
255 drv->drv.bus = &mmc_bus_type; in mmc_unregister_driver()
[all …]
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos5410-pinctrl.dtsi284 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
291 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
298 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
305 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
312 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
319 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
326 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
333 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
340 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
347 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
[all …]
/openbmc/qemu/hw/block/
H A Dfdc.c197 #define NUM_SIDES(drv) ((drv)->flags & FDISK_DBL_SIDES ? 2 : 1) argument
208 return fd_sector_calc(drv->head, drv->track, drv->sect, drv->last_sect, in fd_sector()
237 drv->max_track, drv->last_sect); in fd_seek()
244 drv->max_track, drv->last_sect); in fd_seek()
261 if (drv->blk != NULL && blk_is_inserted(drv->blk)) { in fd_seek()
270 if (drv->blk == NULL || !blk_is_inserted(drv->blk)) { in fd_seek()
300 if (!drv->blk || !blk_is_inserted(drv->blk) || in pick_geometry()
381 drv->drive = drv->disk; in pick_drive_type()
383 drv->drive = get_fallback_drive_type(drv); in pick_drive_type()
396 drv->ro = !blk_is_writable(drv->blk); in fd_revalidate()
[all …]
/openbmc/linux/drivers/cpuidle/
H A Dcpuidle.h19 struct cpuidle_driver *drv, int next_state);
41 bool cpuidle_state_is_coupled(struct cpuidle_driver *drv, int state);
42 int cpuidle_coupled_state_verify(struct cpuidle_driver *drv);
44 struct cpuidle_driver *drv, int next_state);
49 bool cpuidle_state_is_coupled(struct cpuidle_driver *drv, int state) in cpuidle_state_is_coupled() argument
54 static inline int cpuidle_coupled_state_verify(struct cpuidle_driver *drv) in cpuidle_coupled_state_verify() argument
60 struct cpuidle_driver *drv, int next_state) in cpuidle_enter_state_coupled() argument
/openbmc/u-boot/drivers/net/phy/
H A Dphy.c543 if (drv->probe) in phy_register()
545 if (drv->config) in phy_register()
547 if (drv->startup) in phy_register()
549 if (drv->shutdown) in phy_register()
551 if (drv->readext) in phy_register()
553 if (drv->writeext) in phy_register()
592 if (phydev->drv->probe) in phy_probe()
617 if ((drv->uid & drv->mask) == (phy_id & drv->mask)) in get_phy_driver()
618 return drv; in get_phy_driver()
954 if (phydev->drv->startup) in phy_startup()
[all …]

12345678910>>...54