Searched refs:rdrv (Results 1 – 8 of 8) sorted by relevance
/drivers/rapidio/ |
D | rio-driver.c | 85 struct rio_driver *rdrv = to_rio_driver(dev->driver); in rio_device_probe() local 90 if (!rdev->driver && rdrv->probe) { in rio_device_probe() 91 if (!rdrv->id_table) in rio_device_probe() 93 id = rio_match_device(rdrv->id_table, rdev); in rio_device_probe() 96 error = rdrv->probe(rdev, id); in rio_device_probe() 98 rdev->driver = rdrv; in rio_device_probe() 118 struct rio_driver *rdrv = rdev->driver; in rio_device_remove() local 120 if (rdrv) { in rio_device_remove() 121 if (rdrv->remove) in rio_device_remove() 122 rdrv->remove(rdev); in rio_device_remove() [all …]
|
/drivers/usb/cdns3/ |
D | host.c | 126 struct cdns3_role_driver *rdrv; in cdns3_host_init() local 128 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns3_host_init() 129 if (!rdrv) in cdns3_host_init() 132 rdrv->start = __cdns3_host_init; in cdns3_host_init() 133 rdrv->stop = cdns3_host_exit; in cdns3_host_init() 134 rdrv->state = CDNS3_ROLE_STATE_INACTIVE; in cdns3_host_init() 135 rdrv->name = "host"; in cdns3_host_init() 137 cdns->roles[USB_ROLE_HOST] = rdrv; in cdns3_host_init()
|
D | core.c | 266 struct cdns3_role_driver *rdrv; in cdns3_idle_init() local 268 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns3_idle_init() 269 if (!rdrv) in cdns3_idle_init() 272 rdrv->start = cdns3_idle_role_start; in cdns3_idle_init() 273 rdrv->stop = cdns3_idle_role_stop; in cdns3_idle_init() 274 rdrv->state = CDNS3_ROLE_STATE_INACTIVE; in cdns3_idle_init() 275 rdrv->suspend = NULL; in cdns3_idle_init() 276 rdrv->resume = NULL; in cdns3_idle_init() 277 rdrv->name = "idle"; in cdns3_idle_init() 279 cdns->roles[USB_ROLE_NONE] = rdrv; in cdns3_idle_init()
|
D | gadget.c | 3464 struct cdns3_role_driver *rdrv; in cdns3_gadget_init() local 3466 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns3_gadget_init() 3467 if (!rdrv) in cdns3_gadget_init() 3470 rdrv->start = __cdns3_gadget_init; in cdns3_gadget_init() 3471 rdrv->stop = cdns3_gadget_exit; in cdns3_gadget_init() 3472 rdrv->suspend = cdns3_gadget_suspend; in cdns3_gadget_init() 3473 rdrv->resume = cdns3_gadget_resume; in cdns3_gadget_init() 3474 rdrv->state = CDNS3_ROLE_STATE_INACTIVE; in cdns3_gadget_init() 3475 rdrv->name = "gadget"; in cdns3_gadget_init() 3476 cdns->roles[USB_ROLE_DEVICE] = rdrv; in cdns3_gadget_init()
|
/drivers/usb/chipidea/ |
D | host.c | 362 struct ci_role_driver *rdrv; in ci_hdrc_host_init() local 367 rdrv = devm_kzalloc(ci->dev, sizeof(struct ci_role_driver), GFP_KERNEL); in ci_hdrc_host_init() 368 if (!rdrv) in ci_hdrc_host_init() 371 rdrv->start = host_start; in ci_hdrc_host_init() 372 rdrv->stop = host_stop; in ci_hdrc_host_init() 373 rdrv->irq = host_irq; in ci_hdrc_host_init() 374 rdrv->name = "host"; in ci_hdrc_host_init() 375 ci->roles[CI_ROLE_HOST] = rdrv; in ci_hdrc_host_init()
|
D | udc.c | 2164 struct ci_role_driver *rdrv; in ci_hdrc_gadget_init() local 2170 rdrv = devm_kzalloc(ci->dev, sizeof(*rdrv), GFP_KERNEL); in ci_hdrc_gadget_init() 2171 if (!rdrv) in ci_hdrc_gadget_init() 2174 rdrv->start = udc_id_switch_for_device; in ci_hdrc_gadget_init() 2175 rdrv->stop = udc_id_switch_for_host; in ci_hdrc_gadget_init() 2176 rdrv->irq = udc_irq; in ci_hdrc_gadget_init() 2177 rdrv->name = "gadget"; in ci_hdrc_gadget_init() 2181 ci->roles[CI_ROLE_GADGET] = rdrv; in ci_hdrc_gadget_init()
|
/drivers/bus/ |
D | sunxi-rsb.c | 261 int sunxi_rsb_driver_register(struct sunxi_rsb_driver *rdrv) in sunxi_rsb_driver_register() argument 263 rdrv->driver.bus = &sunxi_rsb_bus; in sunxi_rsb_driver_register() 264 return driver_register(&rdrv->driver); in sunxi_rsb_driver_register()
|
/drivers/pinctrl/tegra/ |
D | pinctrl-tegra210.c | 1279 rdrv, drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b, \ argument 1308 .drv_reg = DRV_PINGROUP_REG(rdrv), \
|