Searched refs:rdrv (Results 1 – 5 of 5) sorted by relevance
/drivers/rapidio/ |
D | rio-driver.c | 88 struct rio_driver *rdrv = to_rio_driver(dev->driver); in rio_device_probe() local 93 if (!rdev->driver && rdrv->probe) { in rio_device_probe() 94 if (!rdrv->id_table) in rio_device_probe() 96 id = rio_match_device(rdrv->id_table, rdev); in rio_device_probe() 99 error = rdrv->probe(rdev, id); in rio_device_probe() 101 rdev->driver = rdrv; in rio_device_probe() 121 struct rio_driver *rdrv = rdev->driver; in rio_device_remove() local 123 if (rdrv) { in rio_device_remove() 124 if (rdrv->remove) in rio_device_remove() 125 rdrv->remove(rdev); in rio_device_remove() [all …]
|
/drivers/usb/chipidea/ |
D | host.c | 247 struct ci_role_driver *rdrv; in ci_hdrc_host_init() local 252 rdrv = devm_kzalloc(ci->dev, sizeof(struct ci_role_driver), GFP_KERNEL); in ci_hdrc_host_init() 253 if (!rdrv) in ci_hdrc_host_init() 256 rdrv->start = host_start; in ci_hdrc_host_init() 257 rdrv->stop = host_stop; in ci_hdrc_host_init() 258 rdrv->irq = host_irq; in ci_hdrc_host_init() 259 rdrv->name = "host"; in ci_hdrc_host_init() 260 ci->roles[CI_ROLE_HOST] = rdrv; in ci_hdrc_host_init()
|
D | udc.c | 2004 struct ci_role_driver *rdrv; in ci_hdrc_gadget_init() local 2010 rdrv = devm_kzalloc(ci->dev, sizeof(struct ci_role_driver), GFP_KERNEL); in ci_hdrc_gadget_init() 2011 if (!rdrv) in ci_hdrc_gadget_init() 2014 rdrv->start = udc_id_switch_for_device; in ci_hdrc_gadget_init() 2015 rdrv->stop = udc_id_switch_for_host; in ci_hdrc_gadget_init() 2016 rdrv->irq = udc_irq; in ci_hdrc_gadget_init() 2017 rdrv->name = "gadget"; in ci_hdrc_gadget_init() 2021 ci->roles[CI_ROLE_GADGET] = rdrv; in ci_hdrc_gadget_init()
|
/drivers/bus/ |
D | sunxi-rsb.c | 259 int sunxi_rsb_driver_register(struct sunxi_rsb_driver *rdrv) in sunxi_rsb_driver_register() argument 261 rdrv->driver.bus = &sunxi_rsb_bus; in sunxi_rsb_driver_register() 262 return driver_register(&rdrv->driver); in sunxi_rsb_driver_register()
|
/drivers/pinctrl/ |
D | pinctrl-tegra210.c | 1287 rdrv, drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b, \ argument 1316 .drv_reg = DRV_PINGROUP_REG(rdrv), \
|