Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rapidio/
H A Drio-driver.c91 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 …]
/openbmc/linux/drivers/usb/cdns3/
H A Dhost.c143 struct cdns_role_driver *rdrv; in cdns_host_init() local
145 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns_host_init()
146 if (!rdrv) in cdns_host_init()
149 rdrv->start = __cdns_host_init; in cdns_host_init()
150 rdrv->stop = cdns_host_exit; in cdns_host_init()
151 rdrv->state = CDNS_ROLE_STATE_INACTIVE; in cdns_host_init()
152 rdrv->name = "host"; in cdns_host_init()
154 cdns->roles[USB_ROLE_HOST] = rdrv; in cdns_host_init()
H A 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()
H A 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()
H A 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()
/openbmc/linux/include/linux/
H A 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()
/openbmc/linux/drivers/usb/chipidea/
H A 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()
H A Dudc.c2236 struct ci_role_driver *rdrv; in ci_hdrc_gadget_init() local
2242 rdrv = devm_kzalloc(ci->dev, sizeof(*rdrv), GFP_KERNEL); in ci_hdrc_gadget_init()
2243 if (!rdrv) in ci_hdrc_gadget_init()
2246 rdrv->start = udc_id_switch_for_device; in ci_hdrc_gadget_init()
2247 rdrv->stop = udc_id_switch_for_host; in ci_hdrc_gadget_init()
2249 rdrv->suspend = udc_suspend; in ci_hdrc_gadget_init()
2250 rdrv->resume = udc_resume; in ci_hdrc_gadget_init()
2252 rdrv->irq = udc_irq; in ci_hdrc_gadget_init()
2253 rdrv->name = "gadget"; in ci_hdrc_gadget_init()
2257 ci->roles[CI_ROLE_GADGET] = rdrv; in ci_hdrc_gadget_init()
/openbmc/linux/drivers/bus/
H A 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()
/openbmc/linux/sound/soc/sh/rcar/
H A Dcore.c1482 struct snd_soc_dai_driver *rdrv; in rsnd_dai_probe() local
1494 rdrv = devm_kcalloc(dev, nr, sizeof(*rdrv), GFP_KERNEL); in rsnd_dai_probe()
1496 if (!rdrv || !rdai) in rsnd_dai_probe()
1500 priv->daidrv = rdrv; in rsnd_dai_probe()
/openbmc/linux/drivers/pinctrl/tegra/
H A Dpinctrl-tegra210.c1276 lpdr, rdrv, drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b,\ argument
1305 .drv_reg = DRV_PINGROUP_REG(rdrv), \