Searched refs:rdrv (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/drivers/rapidio/ |
A D | rio-driver.c | 91 if (!rdrv->id_table) in rio_device_probe() 96 error = rdrv->probe(rdev, id); in rio_device_probe() 98 rdev->driver = rdrv; in rio_device_probe() 120 if (rdrv) { in rio_device_remove() 121 if (rdrv->remove) in rio_device_remove() 122 rdrv->remove(rdev); in rio_device_remove() 136 if (rdrv && rdrv->shutdown) in rio_device_shutdown() 137 rdrv->shutdown(rdev); in rio_device_shutdown() 152 rdrv->driver.name = rdrv->name; in rio_register_driver() 153 rdrv->driver.bus = &rio_bus_type; in rio_register_driver() [all …]
|
/linux-6.3-rc2/drivers/usb/cdns3/ |
A D | host.c | 129 struct cdns_role_driver *rdrv; in cdns_host_init() local 131 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns_host_init() 132 if (!rdrv) in cdns_host_init() 135 rdrv->start = __cdns_host_init; in cdns_host_init() 136 rdrv->stop = cdns_host_exit; in cdns_host_init() 137 rdrv->state = CDNS_ROLE_STATE_INACTIVE; in cdns_host_init() 138 rdrv->name = "host"; in cdns_host_init() 140 cdns->roles[USB_ROLE_HOST] = rdrv; in cdns_host_init()
|
A D | core.c | 275 struct cdns_role_driver *rdrv; in cdns_idle_init() local 277 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns_idle_init() 278 if (!rdrv) in cdns_idle_init() 281 rdrv->start = cdns_idle_role_start; in cdns_idle_init() 282 rdrv->stop = cdns_idle_role_stop; in cdns_idle_init() 283 rdrv->state = CDNS_ROLE_STATE_INACTIVE; in cdns_idle_init() 284 rdrv->suspend = NULL; in cdns_idle_init() 285 rdrv->resume = NULL; in cdns_idle_init() 286 rdrv->name = "idle"; in cdns_idle_init() 288 cdns->roles[USB_ROLE_NONE] = rdrv; in cdns_idle_init()
|
A D | cdnsp-gadget.c | 2011 struct cdns_role_driver *rdrv; in cdnsp_gadget_init() local 2013 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdnsp_gadget_init() 2014 if (!rdrv) in cdnsp_gadget_init() 2017 rdrv->start = __cdnsp_gadget_init; in cdnsp_gadget_init() 2018 rdrv->stop = cdnsp_gadget_exit; in cdnsp_gadget_init() 2019 rdrv->suspend = cdnsp_gadget_suspend; in cdnsp_gadget_init() 2020 rdrv->resume = cdnsp_gadget_resume; in cdnsp_gadget_init() 2021 rdrv->state = CDNS_ROLE_STATE_INACTIVE; in cdnsp_gadget_init() 2022 rdrv->name = "gadget"; in cdnsp_gadget_init() 2023 cdns->roles[USB_ROLE_DEVICE] = rdrv; in cdnsp_gadget_init()
|
A D | cdns3-gadget.c | 3398 struct cdns_role_driver *rdrv; in cdns3_gadget_init() local 3400 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns3_gadget_init() 3401 if (!rdrv) in cdns3_gadget_init() 3404 rdrv->start = __cdns3_gadget_init; in cdns3_gadget_init() 3405 rdrv->stop = cdns3_gadget_exit; in cdns3_gadget_init() 3406 rdrv->suspend = cdns3_gadget_suspend; in cdns3_gadget_init() 3407 rdrv->resume = cdns3_gadget_resume; in cdns3_gadget_init() 3408 rdrv->state = CDNS_ROLE_STATE_INACTIVE; in cdns3_gadget_init() 3409 rdrv->name = "gadget"; in cdns3_gadget_init() 3410 cdns->roles[USB_ROLE_DEVICE] = rdrv; in cdns3_gadget_init()
|
/linux-6.3-rc2/include/linux/ |
A D | sunxi-rsb.h | 70 int sunxi_rsb_driver_register(struct sunxi_rsb_driver *rdrv); 76 static inline void sunxi_rsb_driver_unregister(struct sunxi_rsb_driver *rdrv) in sunxi_rsb_driver_unregister() argument 78 if (rdrv) in sunxi_rsb_driver_unregister() 79 driver_unregister(&rdrv->driver); in sunxi_rsb_driver_unregister()
|
/linux-6.3-rc2/drivers/usb/chipidea/ |
A D | host.c | 476 struct ci_role_driver *rdrv; in ci_hdrc_host_init() local 481 rdrv = devm_kzalloc(ci->dev, sizeof(struct ci_role_driver), GFP_KERNEL); in ci_hdrc_host_init() 482 if (!rdrv) in ci_hdrc_host_init() 485 rdrv->start = host_start; in ci_hdrc_host_init() 486 rdrv->stop = host_stop; in ci_hdrc_host_init() 488 rdrv->suspend = ci_hdrc_host_suspend; in ci_hdrc_host_init() 489 rdrv->resume = ci_hdrc_host_resume; in ci_hdrc_host_init() 491 rdrv->irq = host_irq; in ci_hdrc_host_init() 492 rdrv->name = "host"; in ci_hdrc_host_init() 493 ci->roles[CI_ROLE_HOST] = rdrv; in ci_hdrc_host_init()
|
A D | udc.c | 2220 struct ci_role_driver *rdrv; in ci_hdrc_gadget_init() local 2226 rdrv = devm_kzalloc(ci->dev, sizeof(*rdrv), GFP_KERNEL); in ci_hdrc_gadget_init() 2227 if (!rdrv) in ci_hdrc_gadget_init() 2230 rdrv->start = udc_id_switch_for_device; in ci_hdrc_gadget_init() 2231 rdrv->stop = udc_id_switch_for_host; in ci_hdrc_gadget_init() 2233 rdrv->suspend = udc_suspend; in ci_hdrc_gadget_init() 2234 rdrv->resume = udc_resume; in ci_hdrc_gadget_init() 2236 rdrv->irq = udc_irq; in ci_hdrc_gadget_init() 2237 rdrv->name = "gadget"; in ci_hdrc_gadget_init() 2241 ci->roles[CI_ROLE_GADGET] = rdrv; in ci_hdrc_gadget_init()
|
/linux-6.3-rc2/drivers/bus/ |
A D | sunxi-rsb.c | 265 int sunxi_rsb_driver_register(struct sunxi_rsb_driver *rdrv) in sunxi_rsb_driver_register() argument 267 rdrv->driver.bus = &sunxi_rsb_bus; in sunxi_rsb_driver_register() 268 return driver_register(&rdrv->driver); in sunxi_rsb_driver_register()
|
/linux-6.3-rc2/sound/soc/sh/rcar/ |
A D | core.c | 1446 struct snd_soc_dai_driver *rdrv; in rsnd_dai_probe() local 1462 rdrv = devm_kcalloc(dev, nr, sizeof(*rdrv), GFP_KERNEL); in rsnd_dai_probe() 1464 if (!rdrv || !rdai) in rsnd_dai_probe() 1468 priv->daidrv = rdrv; in rsnd_dai_probe()
|
/linux-6.3-rc2/drivers/pinctrl/tegra/ |
A D | pinctrl-tegra210.c | 1279 lpdr, rdrv, drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b,\ argument 1308 .drv_reg = DRV_PINGROUP_REG(rdrv), \
|
Completed in 51 milliseconds