Home
last modified time | relevance | path

Searched refs:rdrv (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/rapidio/
Drio-driver.c85 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 …]
/linux-6.6.21/drivers/usb/cdns3/
Dhost.c141 struct cdns_role_driver *rdrv; in cdns_host_init() local
143 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns_host_init()
144 if (!rdrv) in cdns_host_init()
147 rdrv->start = __cdns_host_init; in cdns_host_init()
148 rdrv->stop = cdns_host_exit; in cdns_host_init()
149 rdrv->state = CDNS_ROLE_STATE_INACTIVE; in cdns_host_init()
150 rdrv->name = "host"; in cdns_host_init()
152 cdns->roles[USB_ROLE_HOST] = rdrv; in cdns_host_init()
Dcore.c276 struct cdns_role_driver *rdrv; in cdns_idle_init() local
278 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns_idle_init()
279 if (!rdrv) in cdns_idle_init()
282 rdrv->start = cdns_idle_role_start; in cdns_idle_init()
283 rdrv->stop = cdns_idle_role_stop; in cdns_idle_init()
284 rdrv->state = CDNS_ROLE_STATE_INACTIVE; in cdns_idle_init()
285 rdrv->suspend = NULL; in cdns_idle_init()
286 rdrv->resume = NULL; in cdns_idle_init()
287 rdrv->name = "idle"; in cdns_idle_init()
289 cdns->roles[USB_ROLE_NONE] = rdrv; in cdns_idle_init()
Dcdnsp-gadget.c2014 struct cdns_role_driver *rdrv; in cdnsp_gadget_init() local
2016 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdnsp_gadget_init()
2017 if (!rdrv) in cdnsp_gadget_init()
2020 rdrv->start = __cdnsp_gadget_init; in cdnsp_gadget_init()
2021 rdrv->stop = cdnsp_gadget_exit; in cdnsp_gadget_init()
2022 rdrv->suspend = cdnsp_gadget_suspend; in cdnsp_gadget_init()
2023 rdrv->resume = cdnsp_gadget_resume; in cdnsp_gadget_init()
2024 rdrv->state = CDNS_ROLE_STATE_INACTIVE; in cdnsp_gadget_init()
2025 rdrv->name = "gadget"; in cdnsp_gadget_init()
2026 cdns->roles[USB_ROLE_DEVICE] = rdrv; in cdnsp_gadget_init()
Dcdns3-gadget.c3493 struct cdns_role_driver *rdrv; in cdns3_gadget_init() local
3495 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns3_gadget_init()
3496 if (!rdrv) in cdns3_gadget_init()
3499 rdrv->start = __cdns3_gadget_init; in cdns3_gadget_init()
3500 rdrv->stop = cdns3_gadget_exit; in cdns3_gadget_init()
3501 rdrv->suspend = cdns3_gadget_suspend; in cdns3_gadget_init()
3502 rdrv->resume = cdns3_gadget_resume; in cdns3_gadget_init()
3503 rdrv->state = CDNS_ROLE_STATE_INACTIVE; in cdns3_gadget_init()
3504 rdrv->name = "gadget"; in cdns3_gadget_init()
3505 cdns->roles[USB_ROLE_DEVICE] = rdrv; in cdns3_gadget_init()
/linux-6.6.21/include/linux/
Dsunxi-rsb.h70 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.6.21/drivers/usb/chipidea/
Dhost.c469 struct ci_role_driver *rdrv; in ci_hdrc_host_init() local
474 rdrv = devm_kzalloc(ci->dev, sizeof(struct ci_role_driver), GFP_KERNEL); in ci_hdrc_host_init()
475 if (!rdrv) in ci_hdrc_host_init()
478 rdrv->start = host_start; in ci_hdrc_host_init()
479 rdrv->stop = host_stop; in ci_hdrc_host_init()
481 rdrv->suspend = ci_hdrc_host_suspend; in ci_hdrc_host_init()
482 rdrv->resume = ci_hdrc_host_resume; in ci_hdrc_host_init()
484 rdrv->irq = host_irq; in ci_hdrc_host_init()
485 rdrv->name = "host"; in ci_hdrc_host_init()
486 ci->roles[CI_ROLE_HOST] = rdrv; in ci_hdrc_host_init()
Dudc.c2230 struct ci_role_driver *rdrv; in ci_hdrc_gadget_init() local
2236 rdrv = devm_kzalloc(ci->dev, sizeof(*rdrv), GFP_KERNEL); in ci_hdrc_gadget_init()
2237 if (!rdrv) in ci_hdrc_gadget_init()
2240 rdrv->start = udc_id_switch_for_device; in ci_hdrc_gadget_init()
2241 rdrv->stop = udc_id_switch_for_host; in ci_hdrc_gadget_init()
2243 rdrv->suspend = udc_suspend; in ci_hdrc_gadget_init()
2244 rdrv->resume = udc_resume; in ci_hdrc_gadget_init()
2246 rdrv->irq = udc_irq; in ci_hdrc_gadget_init()
2247 rdrv->name = "gadget"; in ci_hdrc_gadget_init()
2251 ci->roles[CI_ROLE_GADGET] = rdrv; in ci_hdrc_gadget_init()
/linux-6.6.21/drivers/bus/
Dsunxi-rsb.c265 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.6.21/sound/soc/sh/rcar/
Dcore.c1480 struct snd_soc_dai_driver *rdrv; in rsnd_dai_probe() local
1492 rdrv = devm_kcalloc(dev, nr, sizeof(*rdrv), GFP_KERNEL); in rsnd_dai_probe()
1494 if (!rdrv || !rdai) in rsnd_dai_probe()
1498 priv->daidrv = rdrv; in rsnd_dai_probe()
/linux-6.6.21/drivers/pinctrl/tegra/
Dpinctrl-tegra210.c1276 lpdr, rdrv, drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b,\ argument
1305 .drv_reg = DRV_PINGROUP_REG(rdrv), \