Home
last modified time | relevance | path

Searched refs:platdata (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/usb/chipidea/
Dhost.c58 if (enable && (ci->platdata->phy_mode == USBPHY_INTERFACE_MODE_HSIC)) { in ehci_ci_portpower()
82 if (ci->platdata->notify_event) { in ehci_ci_reset()
83 ret = ci->platdata->notify_event(ci, in ehci_ci_reset()
126 hcd->power_budget = ci->platdata->power_budget; in host_start()
127 hcd->tpl_support = ci->platdata->tpl_support; in host_start()
143 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()
144 if (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON) { in host_start()
145 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()
153 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()
157 if (ci->platdata->pins_host) in host_start()
[all …]
Dcore.c244 ci->hw_bank.cap += ci->platdata->capoffset; in hw_device_init()
291 switch (ci->platdata->phy_mode) { in hw_phymode_configure()
364 if (ci->platdata->flags & CI_HDRC_OVERRIDE_PHY_CONTROL) in ci_usb_phy_exit()
385 if (ci->platdata->flags & CI_HDRC_OVERRIDE_PHY_CONTROL) in ci_usb_phy_init()
388 switch (ci->platdata->phy_mode) { in ci_usb_phy_init()
431 if (ci->platdata->flags & CI_HDRC_DISABLE_DEVICE_STREAMING) in ci_platform_configure()
439 if (ci->platdata->flags & CI_HDRC_DISABLE_HOST_STREAMING) in ci_platform_configure()
444 if (ci->platdata->flags & CI_HDRC_FORCE_FULLSPEED) { in ci_platform_configure()
451 if (ci->platdata->flags & CI_HDRC_SET_NON_ZERO_TTHA) in ci_platform_configure()
454 hw_write(ci, OP_USBCMD, 0xff0000, ci->platdata->itc_setting << 16); in ci_platform_configure()
[all …]
Dotg.c37 cable = &ci->platdata->vbus_extcon; in hw_read_otgsc()
55 cable = &ci->platdata->id_extcon; in hw_read_otgsc()
85 cable = &ci->platdata->vbus_extcon; in hw_write_otgsc()
99 cable = &ci->platdata->id_extcon; in hw_write_otgsc()
176 IS_ERR(ci->platdata->vbus_extcon.edev)) in ci_handle_id_switch()
Dci_hdrc_pci.c57 struct ci_hdrc_platform_data *platdata = (void *)id->driver_data; in ci_hdrc_pci_probe() local
62 if (!platdata) { in ci_hdrc_pci_probe()
95 ci->ci = ci_hdrc_add_device(&pdev->dev, res, nres, platdata); in ci_hdrc_pci_probe()
Dulpi.c68 if (ci->platdata->phy_mode != USBPHY_INTERFACE_MODE_ULPI) in ci_ulpi_init()
98 if (ci->platdata->phy_mode != USBPHY_INTERFACE_MODE_ULPI) in ci_ulpi_resume()
Dudc.c1555 if (ci->platdata->notify_event) in ci_udc_vbus_session()
1556 ci->platdata->notify_event(ci, in ci_udc_vbus_session()
1833 if (ci->platdata->notify_event) in ci_udc_stop()
1834 ci->platdata->notify_event(ci, in ci_udc_stop()
1867 if (ci->platdata->flags & CI_HDRC_REGS_SHARED) { in udc_irq()
1927 struct usb_otg_caps *otg_caps = &ci->platdata->ci_otg_caps; in udc_start()
1933 ci->gadget.name = ci->platdata->name; in udc_start()
1936 if (ci->platdata->flags & CI_HDRC_REQUIRES_ALIGNED_DMA) in udc_start()
2004 if (ci->platdata->pins_device) in udc_id_switch_for_device()
2005 pinctrl_select_state(ci->platdata->pctl, in udc_id_switch_for_device()
[all …]
Dci.h243 struct ci_hdrc_platform_data *platdata; member
429 struct usb_otg_caps *otg_caps = &ci->platdata->ci_otg_caps; in ci_otg_is_fsm_mode()
Dotg_fsm.c465 if (ci->platdata->reg_vbus) { in ci_otg_drv_vbus()
466 ret = regulator_enable(ci->platdata->reg_vbus); in ci_otg_drv_vbus()
480 if (ci->platdata->reg_vbus) in ci_otg_drv_vbus()
481 regulator_disable(ci->platdata->reg_vbus); in ci_otg_drv_vbus()
Dci_hdrc_msm.c117 if (!IS_ERR(ci->platdata->vbus_extcon.edev)) { in ci_hdrc_msm_notify_event()
/Linux-v5.4/drivers/mmc/host/
Dau1xmmc.c118 struct au1xmmc_platform_data *platdata; member
213 if (host->platdata && host->platdata->set_power) in au1xmmc_set_power()
214 host->platdata->set_power(host->mmc, state); in au1xmmc_set_power()
221 if (host->platdata && host->platdata->card_inserted) in au1xmmc_card_inserted()
222 return !!host->platdata->card_inserted(host->mmc); in au1xmmc_card_inserted()
231 if (host->platdata && host->platdata->card_readonly) in au1xmmc_card_readonly()
232 return !!host->platdata->card_readonly(mmc); in au1xmmc_card_readonly()
964 host->platdata = pdev->dev.platform_data; in au1xmmc_probe()
1046 if (host->platdata && host->platdata->cd_setup) { in au1xmmc_probe()
1047 ret = host->platdata->cd_setup(mmc, 1); in au1xmmc_probe()
[all …]
/Linux-v5.4/drivers/video/backlight/
Dili9320.c77 struct ili9320_platdata *cfg = lcd->platdata; in ili9320_reset()
95 ret = lcd->client->init(lcd, lcd->platdata); in ili9320_init_chip()
227 ili->platdata = cfg; in ili9320_probe_spi()
268 if (lcd->platdata->suspend == ILI9320_SUSPEND_DEEP) { in ili9320_suspend()
283 if (lcd->platdata->suspend == ILI9320_SUSPEND_DEEP) in ili9320_resume()
Dili9320.h45 struct ili9320_platdata *platdata; member
/Linux-v5.4/drivers/mfd/
Dsm501.c72 struct sm501_platdata *platdata; member
1016 struct sm501_platdata *pdata = sm->platdata; in sm501_gpio_register_chip()
1348 pdata = sm->platdata; in sm501_init_dev()
1395 sm->platdata = dev_get_platdata(&dev->dev); in sm501_plat_probe()
1445 struct sm501_platdata *pd = sm->platdata; in sm501_set_power()
1474 if (sm->platdata) { in sm501_plat_suspend()
1475 if (sm->platdata->flags & SM501_FLAG_SUSPEND_OFF) in sm501_plat_suspend()
1502 if (sm->platdata && sm->platdata->init) { in sm501_plat_resume()
1503 sm501_init_regs(sm, sm->platdata->init); in sm501_plat_resume()
1578 dev->dev.platform_data = sm->platdata = &sm501_pci_platdata; in sm501_pci_probe()
/Linux-v5.4/include/linux/usb/
Dchipidea.h98 struct ci_hdrc_platform_data *platdata);