Home
last modified time | relevance | path

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

/drivers/usb/chipidea/
Dcore.c219 ci->hw_bank.cap += ci->platdata->capoffset; in hw_device_init()
266 switch (ci->platdata->phy_mode) { in hw_phymode_configure()
339 if (ci->platdata->flags & CI_HDRC_OVERRIDE_PHY_CONTROL) in ci_usb_phy_exit()
360 if (ci->platdata->flags & CI_HDRC_OVERRIDE_PHY_CONTROL) in ci_usb_phy_init()
363 switch (ci->platdata->phy_mode) { in ci_usb_phy_init()
406 if (ci->platdata->flags & CI_HDRC_DISABLE_DEVICE_STREAMING) in ci_platform_configure()
414 if (ci->platdata->flags & CI_HDRC_DISABLE_HOST_STREAMING) in ci_platform_configure()
419 if (ci->platdata->flags & CI_HDRC_FORCE_FULLSPEED) { in ci_platform_configure()
426 if (ci->platdata->flags & CI_HDRC_SET_NON_ZERO_TTHA) in ci_platform_configure()
429 hw_write(ci, OP_USBCMD, 0xff0000, ci->platdata->itc_setting << 16); in ci_platform_configure()
[all …]
Dhost.c60 if (enable && (ci->platdata->phy_mode == USBPHY_INTERFACE_MODE_HSIC)) { in ehci_ci_portpower()
84 if (ci->platdata->notify_event) { in ehci_ci_reset()
85 ret = ci->platdata->notify_event(ci, in ehci_ci_reset()
128 hcd->power_budget = ci->platdata->power_budget; in host_start()
129 hcd->tpl_support = ci->platdata->tpl_support; in host_start()
145 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()
146 if (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON) { in host_start()
147 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()
155 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()
159 if (ci->platdata->pins_host) in host_start()
[all …]
Dotg.c38 cable = &ci->platdata->vbus_extcon; in hw_read_otgsc()
56 cable = &ci->platdata->id_extcon; in hw_read_otgsc()
87 cable = &ci->platdata->vbus_extcon; in hw_write_otgsc()
101 cable = &ci->platdata->id_extcon; in hw_write_otgsc()
187 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()
Dudc.c1667 if (ci->platdata->notify_event) in ci_hdrc_gadget_connect()
1668 ci->platdata->notify_event(ci, in ci_hdrc_gadget_connect()
1690 if (ci->platdata->notify_event) in ci_udc_vbus_session()
1691 ret = ci->platdata->notify_event(ci, in ci_udc_vbus_session()
1959 if (ci->platdata->notify_event) in ci_udc_stop()
1960 ci->platdata->notify_event(ci, in ci_udc_stop()
1992 if (ci->platdata->flags & CI_HDRC_REGS_SHARED) { in udc_irq()
2052 struct usb_otg_caps *otg_caps = &ci->platdata->ci_otg_caps; in udc_start()
2058 ci->gadget.name = ci->platdata->name; in udc_start()
2063 if (ci->platdata->flags & CI_HDRC_REQUIRES_ALIGNED_DMA) in udc_start()
[all …]
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()
Dotg_fsm.c467 if (ci->platdata->reg_vbus) { in ci_otg_drv_vbus()
468 ret = regulator_enable(ci->platdata->reg_vbus); in ci_otg_drv_vbus()
482 if (ci->platdata->reg_vbus) in ci_otg_drv_vbus()
483 regulator_disable(ci->platdata->reg_vbus); in ci_otg_drv_vbus()
Dci.h245 struct ci_hdrc_platform_data *platdata; member
442 struct usb_otg_caps *otg_caps = &ci->platdata->ci_otg_caps; in ci_otg_is_fsm_mode()
Dci_hdrc_msm.c117 if (!IS_ERR(ci->platdata->vbus_extcon.edev) || ci->role_switch) { in ci_hdrc_msm_notify_event()
/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()
948 host->platdata = pdev->dev.platform_data; in au1xmmc_probe()
1027 if (host->platdata && host->platdata->cd_setup) { in au1xmmc_probe()
1028 ret = host->platdata->cd_setup(mmc, 1); in au1xmmc_probe()
[all …]
/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
/drivers/mfd/
Dsm501.c72 struct sm501_platdata *platdata; member
1016 struct sm501_platdata *pdata = sm->platdata; in sm501_gpio_register_chip()
1339 pdata = sm->platdata; in sm501_init_dev()
1386 sm->platdata = dev_get_platdata(&dev->dev); in sm501_plat_probe()
1441 struct sm501_platdata *pd = sm->platdata; in sm501_set_power()
1470 if (sm->platdata) { in sm501_plat_suspend()
1471 if (sm->platdata->flags & SM501_FLAG_SUSPEND_OFF) in sm501_plat_suspend()
1498 if (sm->platdata && sm->platdata->init) { in sm501_plat_resume()
1499 sm501_init_regs(sm, sm->platdata->init); in sm501_plat_resume()
1574 dev->dev.platform_data = sm->platdata = &sm501_pci_platdata; in sm501_pci_probe()