Searched refs:rdrv (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/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 …]
|
/linux-4.1.27/drivers/usb/chipidea/ |
D | host.c | 225 struct ci_role_driver *rdrv; in ci_hdrc_host_init() local 230 rdrv = devm_kzalloc(ci->dev, sizeof(struct ci_role_driver), GFP_KERNEL); in ci_hdrc_host_init() 231 if (!rdrv) in ci_hdrc_host_init() 234 rdrv->start = host_start; in ci_hdrc_host_init() 235 rdrv->stop = host_stop; in ci_hdrc_host_init() 236 rdrv->irq = host_irq; in ci_hdrc_host_init() 237 rdrv->name = "host"; in ci_hdrc_host_init() 238 ci->roles[CI_ROLE_HOST] = rdrv; in ci_hdrc_host_init()
|
D | udc.c | 1948 struct ci_role_driver *rdrv; in ci_hdrc_gadget_init() local 1953 rdrv = devm_kzalloc(ci->dev, sizeof(struct ci_role_driver), GFP_KERNEL); in ci_hdrc_gadget_init() 1954 if (!rdrv) in ci_hdrc_gadget_init() 1957 rdrv->start = udc_id_switch_for_device; in ci_hdrc_gadget_init() 1958 rdrv->stop = udc_id_switch_for_host; in ci_hdrc_gadget_init() 1959 rdrv->irq = udc_irq; in ci_hdrc_gadget_init() 1960 rdrv->name = "gadget"; in ci_hdrc_gadget_init() 1961 ci->roles[CI_ROLE_GADGET] = rdrv; in ci_hdrc_gadget_init()
|
/linux-4.1.27/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), \
|