Searched refs:drv (Results 151 - 175 of 1040) sorted by relevance

1234567891011>>

/linux-master/net/ethtool/
H A Dlinkstate.c38 if (!phydev->drv || !phydev->drv->get_sqi)
41 ret = phydev->drv->get_sqi(phydev);
56 if (!phydev->drv || !phydev->drv->get_sqi_max)
59 ret = phydev->drv->get_sqi_max(phydev);
/linux-master/drivers/thermal/
H A Dcpuidle_cooling.c160 * @drv: a cpuidle driver structure pointer
171 struct cpuidle_driver *drv)
188 ii_dev = idle_inject_register(drv->cpumask);
202 dev = get_cpu_device(cpumask_first(drv->cpumask));
236 * @drv: a cpuidle driver structure pointer
241 void cpuidle_cooling_register(struct cpuidle_driver *drv) argument
247 for_each_cpu(cpu, drv->cpumask) {
260 ret = __cpuidle_cooling_register(cooling_node, drv);
170 __cpuidle_cooling_register(struct device_node *np, struct cpuidle_driver *drv) argument
/linux-master/drivers/usb/serial/
H A Dbus.c17 struct device_driver *drv)
20 struct usb_serial_driver *driver = to_usb_serial_driver(drv);
135 static void free_dynids(struct usb_serial_driver *drv) argument
139 spin_lock(&drv->dynids.lock);
140 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) {
144 spin_unlock(&drv->dynids.lock);
16 usb_serial_device_match(struct device *dev, struct device_driver *drv) argument
/linux-master/drivers/macintosh/
H A Dmacio_asic.c39 static int macio_bus_match(struct device *dev, struct device_driver *drv) argument
41 const struct of_device_id * matches = drv->of_match_table;
72 struct macio_driver *drv; local
76 drv = to_macio_driver(dev->driver);
79 if (!drv->probe)
84 match = of_match_device(drv->driver.of_match_table, dev);
86 error = drv->probe(macio_dev, match);
96 struct macio_driver * drv = to_macio_driver(dev->driver); local
98 if (dev->driver && drv->remove)
99 drv
106 struct macio_driver * drv = to_macio_driver(dev->driver); local
115 struct macio_driver * drv = to_macio_driver(dev->driver); local
125 struct macio_driver * drv = to_macio_driver(dev->driver); local
528 macio_register_driver(struct macio_driver *drv) argument
541 macio_unregister_driver(struct macio_driver *drv) argument
[all...]
/linux-master/include/linux/
H A Dmoxtet.h65 to_moxtet_driver(struct device_driver *drv) argument
67 if (!drv)
69 return container_of(drv, struct moxtet_driver, driver);
H A Dslimbus.h148 #define slim_driver_register(drv) \
149 __slim_driver_register(drv, THIS_MODULE)
150 int __slim_driver_register(struct slim_driver *drv, struct module *owner);
151 void slim_driver_unregister(struct slim_driver *drv);
H A Deisa.h63 #define to_eisa_driver(drv) container_of(drv,struct eisa_driver, driver)
/linux-master/drivers/cpuidle/governors/
H A Dhaltpoll.c45 * @drv: cpuidle driver containing state data
49 static int haltpoll_select(struct cpuidle_driver *drv, argument
55 if (!drv->state_count || latency_req == 0) {
130 * @drv: cpuidle driver
133 static int haltpoll_enable_device(struct cpuidle_driver *drv, argument
/linux-master/drivers/cpuidle/
H A Dcpuidle-zynq.c26 struct cpuidle_driver *drv, int index)
25 zynq_enter_idle(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument
H A Dcpuidle-big_little.c27 struct cpuidle_driver *drv, int idx);
119 * @drv: The target state to be programmed
126 struct cpuidle_driver *drv, int idx)
142 static int __init bl_idle_driver_init(struct cpuidle_driver *drv, int part_id) argument
155 drv->cpumask = cpumask;
125 bl_enter_powerdown(struct cpuidle_device *dev, struct cpuidle_driver *drv, int idx) argument
/linux-master/arch/arm/mach-imx/
H A Dcpuidle-imx6sl.c15 struct cpuidle_driver *drv, int index)
14 imx6sl_enter_wait(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument
H A Dcpuidle-imx7ulp.c16 struct cpuidle_driver *drv, int index)
15 imx7ulp_enter_wait(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument
/linux-master/drivers/pps/clients/
H A Dpps-ldisc.c44 struct tty_driver *drv = tty->driver; local
45 int index = tty->index + drv->name_base;
51 snprintf(info.name, PPS_MAX_NAME_LEN, "%s%d", drv->driver_name, index);
52 snprintf(info.path, PPS_MAX_NAME_LEN, "/dev/%s%d", drv->name, index);
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Drtw8723ds.c32 .drv = {
/linux-master/sound/aoa/soundbus/
H A Dsoundbus.h194 #define to_soundbus_driver(drv) container_of(drv,struct soundbus_driver, driver)
196 extern int soundbus_register_driver(struct soundbus_driver *drv);
197 extern void soundbus_unregister_driver(struct soundbus_driver *drv);
/linux-master/drivers/net/phy/
H A Dxilinx_gmii2rgmii.c106 if (!priv->phy_dev->drv) {
113 priv->phy_drv = priv->phy_dev->drv;
114 memcpy(&priv->conv_phy_drv, priv->phy_dev->drv,
119 priv->phy_dev->drv = &priv->conv_phy_drv;
/linux-master/arch/powerpc/include/asm/
H A Dvio.h126 extern int __vio_register_driver(struct vio_driver *drv, struct module *owner,
133 extern void vio_unregister_driver(struct vio_driver *drv);
159 static inline struct vio_driver *to_vio_driver(struct device_driver *drv) argument
161 return container_of(drv, struct vio_driver, driver);
/linux-master/include/xen/
H A Dxenbus.h127 static inline struct xenbus_driver *to_xenbus_driver(struct device_driver *drv) argument
129 return container_of(drv, struct xenbus_driver, driver);
132 int __must_check __xenbus_register_frontend(struct xenbus_driver *drv,
135 int __must_check __xenbus_register_backend(struct xenbus_driver *drv,
139 #define xenbus_register_frontend(drv) \
140 __xenbus_register_frontend(drv, THIS_MODULE, KBUILD_MODNAME)
141 #define xenbus_register_backend(drv) \
142 __xenbus_register_backend(drv, THIS_MODULE, KBUILD_MODNAME)
144 void xenbus_unregister_driver(struct xenbus_driver *drv);
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_mac.c481 struct mac_driver *drv = hns_mac_get_drv(mac_cb); local
483 if (drv->wait_fifo_clean)
484 return drv->wait_fifo_clean(drv);
491 struct mac_driver *drv = hns_mac_get_drv(mac_cb); local
494 drv->mac_init(drv);
496 if (drv->config_max_frame_length)
497 drv->config_max_frame_length(drv, mac_c
515 struct mac_driver *drv = hns_mac_get_drv(mac_cb); local
662 struct mac_driver *drv; local
1172 struct mac_driver *drv = hns_mac_get_drv(mac_cb); local
[all...]
/linux-master/drivers/parport/
H A Dshare.c115 struct parport_driver *drv; local
120 drv = to_parport_driver(dev->driver);
121 if (!drv->probe) {
125 if (strcmp(par_dev->name, drv->name))
130 return drv->probe(to_pardevice(dev));
157 struct parport_driver *drv = to_parport_driver(dev_drv); local
159 if (drv->match_port)
160 drv->match_port(port);
168 struct parport_driver *drv; local
170 list_for_each_entry(drv,
184 struct parport_driver *drv = to_parport_driver(_drv); local
194 struct parport_driver *drv; local
225 struct parport_driver *drv = dev_drv; local
278 __parport_register_driver(struct parport_driver *drv, struct module *owner, const char *mod_name) argument
314 struct parport_driver *drv = _drv; local
339 parport_unregister_driver(struct parport_driver *drv) argument
[all...]
/linux-master/sound/soc/intel/boards/
H A Dcht_bsw_max98090_ti.c534 struct cht_mc_private *drv; local
540 drv = devm_kzalloc(dev, sizeof(*drv), GFP_KERNEL);
541 if (!drv)
546 drv->quirks = (unsigned long)dmi_id->driver_data;
548 drv->ts3a227e_present = acpi_dev_found("104C227E");
549 if (!drv->ts3a227e_present) {
571 snd_soc_card_set_drvdata(&snd_soc_card_cht, drv);
573 if (drv->quirks & QUIRK_PMC_PLT_CLK_0)
578 drv
[all...]
/linux-master/drivers/firmware/psci/
H A Dpsci_checker.c234 struct cpuidle_driver *drv, int index)
236 struct cpuidle_state *state = &drv->states[index];
262 ret = state->enter(dev, drv, index);
278 struct cpuidle_driver *drv; local
289 drv = cpuidle_get_cpu_driver(dev);
292 cpu, drv->state_count - 1);
301 for (index = 1; index < drv->state_count; ++index) {
303 struct cpuidle_state *state = &drv->states[index];
318 ret = suspend_cpu(dev, drv, index);
391 struct cpuidle_driver *drv local
233 suspend_cpu(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument
[all...]
/linux-master/drivers/mfd/
H A Ducb1x00-core.c390 static int ucb1x00_add_dev(struct ucb1x00 *ucb, struct ucb1x00_driver *drv) argument
400 dev->drv = drv;
402 ret = drv->add(dev);
409 list_add_tail(&dev->drv_node, &drv->devs);
416 dev->drv->remove(dev);
495 struct ucb1x00_driver *drv; local
589 list_for_each_entry(drv, &ucb1x00_drivers, node) {
590 ucb1x00_add_dev(ucb, drv);
636 int ucb1x00_register_driver(struct ucb1x00_driver *drv) argument
650 ucb1x00_unregister_driver(struct ucb1x00_driver *drv) argument
[all...]
/linux-master/drivers/hid/
H A Dhid-generic.c26 static int __check_hid_generic(struct device_driver *drv, void *data) argument
28 struct hid_driver *hdrv = to_hid_driver(drv);
/linux-master/drivers/ps3/
H A Dvuart.h45 int ps3_vuart_port_driver_register(struct ps3_vuart_port_driver *drv);
46 void ps3_vuart_port_driver_unregister(struct ps3_vuart_port_driver *drv);

Completed in 589 milliseconds

1234567891011>>