platdata 72 drivers/mfd/sm501.c struct sm501_platdata *platdata; platdata 1016 drivers/mfd/sm501.c struct sm501_platdata *pdata = sm->platdata; platdata 1348 drivers/mfd/sm501.c pdata = sm->platdata; platdata 1395 drivers/mfd/sm501.c sm->platdata = dev_get_platdata(&dev->dev); platdata 1445 drivers/mfd/sm501.c struct sm501_platdata *pd = sm->platdata; platdata 1474 drivers/mfd/sm501.c if (sm->platdata) { platdata 1475 drivers/mfd/sm501.c if (sm->platdata->flags & SM501_FLAG_SUSPEND_OFF) platdata 1502 drivers/mfd/sm501.c if (sm->platdata && sm->platdata->init) { platdata 1503 drivers/mfd/sm501.c sm501_init_regs(sm, sm->platdata->init); platdata 1578 drivers/mfd/sm501.c dev->dev.platform_data = sm->platdata = &sm501_pci_platdata; platdata 118 drivers/mmc/host/au1xmmc.c struct au1xmmc_platform_data *platdata; platdata 213 drivers/mmc/host/au1xmmc.c if (host->platdata && host->platdata->set_power) platdata 214 drivers/mmc/host/au1xmmc.c host->platdata->set_power(host->mmc, state); platdata 221 drivers/mmc/host/au1xmmc.c if (host->platdata && host->platdata->card_inserted) platdata 222 drivers/mmc/host/au1xmmc.c return !!host->platdata->card_inserted(host->mmc); platdata 231 drivers/mmc/host/au1xmmc.c if (host->platdata && host->platdata->card_readonly) platdata 232 drivers/mmc/host/au1xmmc.c return !!host->platdata->card_readonly(mmc); platdata 964 drivers/mmc/host/au1xmmc.c host->platdata = pdev->dev.platform_data; platdata 1046 drivers/mmc/host/au1xmmc.c if (host->platdata && host->platdata->cd_setup) { platdata 1047 drivers/mmc/host/au1xmmc.c ret = host->platdata->cd_setup(mmc, 1); platdata 1056 drivers/mmc/host/au1xmmc.c if (host->platdata) platdata 1057 drivers/mmc/host/au1xmmc.c mmc->caps &= ~(host->platdata->mask_host_caps); platdata 1072 drivers/mmc/host/au1xmmc.c if (host->platdata && host->platdata->led) { platdata 1073 drivers/mmc/host/au1xmmc.c struct led_classdev *led = host->platdata->led; platdata 1101 drivers/mmc/host/au1xmmc.c if (host->platdata && host->platdata->led) platdata 1102 drivers/mmc/host/au1xmmc.c led_classdev_unregister(host->platdata->led); platdata 1116 drivers/mmc/host/au1xmmc.c if (host->platdata && host->platdata->cd_setup && platdata 1118 drivers/mmc/host/au1xmmc.c host->platdata->cd_setup(mmc, 0); platdata 1143 drivers/mmc/host/au1xmmc.c if (host->platdata && host->platdata->led) platdata 1144 drivers/mmc/host/au1xmmc.c led_classdev_unregister(host->platdata->led); platdata 1147 drivers/mmc/host/au1xmmc.c if (host->platdata && host->platdata->cd_setup && platdata 1149 drivers/mmc/host/au1xmmc.c host->platdata->cd_setup(host->mmc, 0); platdata 243 drivers/usb/chipidea/ci.h struct ci_hdrc_platform_data *platdata; platdata 429 drivers/usb/chipidea/ci.h struct usb_otg_caps *otg_caps = &ci->platdata->ci_otg_caps; platdata 117 drivers/usb/chipidea/ci_hdrc_msm.c if (!IS_ERR(ci->platdata->vbus_extcon.edev) || ci->role_switch) { platdata 57 drivers/usb/chipidea/ci_hdrc_pci.c struct ci_hdrc_platform_data *platdata = (void *)id->driver_data; platdata 62 drivers/usb/chipidea/ci_hdrc_pci.c if (!platdata) { platdata 95 drivers/usb/chipidea/ci_hdrc_pci.c ci->ci = ci_hdrc_add_device(&pdev->dev, res, nres, platdata); platdata 244 drivers/usb/chipidea/core.c ci->hw_bank.cap += ci->platdata->capoffset; platdata 291 drivers/usb/chipidea/core.c switch (ci->platdata->phy_mode) { platdata 364 drivers/usb/chipidea/core.c if (ci->platdata->flags & CI_HDRC_OVERRIDE_PHY_CONTROL) platdata 385 drivers/usb/chipidea/core.c if (ci->platdata->flags & CI_HDRC_OVERRIDE_PHY_CONTROL) platdata 388 drivers/usb/chipidea/core.c switch (ci->platdata->phy_mode) { platdata 431 drivers/usb/chipidea/core.c if (ci->platdata->flags & CI_HDRC_DISABLE_DEVICE_STREAMING) platdata 439 drivers/usb/chipidea/core.c if (ci->platdata->flags & CI_HDRC_DISABLE_HOST_STREAMING) platdata 444 drivers/usb/chipidea/core.c if (ci->platdata->flags & CI_HDRC_FORCE_FULLSPEED) { platdata 451 drivers/usb/chipidea/core.c if (ci->platdata->flags & CI_HDRC_SET_NON_ZERO_TTHA) platdata 454 drivers/usb/chipidea/core.c hw_write(ci, OP_USBCMD, 0xff0000, ci->platdata->itc_setting << 16); platdata 456 drivers/usb/chipidea/core.c if (ci->platdata->flags & CI_HDRC_OVERRIDE_AHB_BURST) platdata 458 drivers/usb/chipidea/core.c ci->platdata->ahb_burst_config); platdata 462 drivers/usb/chipidea/core.c if (ci->platdata->flags & CI_HDRC_OVERRIDE_TX_BURST) platdata 464 drivers/usb/chipidea/core.c ci->platdata->tx_burst_size << __ffs(TX_BURST_MASK)); platdata 466 drivers/usb/chipidea/core.c if (ci->platdata->flags & CI_HDRC_OVERRIDE_RX_BURST) platdata 468 drivers/usb/chipidea/core.c ci->platdata->rx_burst_size); platdata 512 drivers/usb/chipidea/core.c if (ci->platdata->notify_event) { platdata 513 drivers/usb/chipidea/core.c ret = ci->platdata->notify_event(ci, platdata 630 drivers/usb/chipidea/core.c cable = &ci->platdata->vbus_extcon; platdata 632 drivers/usb/chipidea/core.c cable = &ci->platdata->id_extcon; platdata 648 drivers/usb/chipidea/core.c cable = &ci->platdata->vbus_extcon; platdata 650 drivers/usb/chipidea/core.c cable = &ci->platdata->id_extcon; platdata 669 drivers/usb/chipidea/core.c struct ci_hdrc_platform_data *platdata) platdata 675 drivers/usb/chipidea/core.c if (!platdata->phy_mode) platdata 676 drivers/usb/chipidea/core.c platdata->phy_mode = of_usb_get_phy_mode(dev->of_node); platdata 678 drivers/usb/chipidea/core.c if (!platdata->dr_mode) platdata 679 drivers/usb/chipidea/core.c platdata->dr_mode = usb_get_dr_mode(dev); platdata 681 drivers/usb/chipidea/core.c if (platdata->dr_mode == USB_DR_MODE_UNKNOWN) platdata 682 drivers/usb/chipidea/core.c platdata->dr_mode = USB_DR_MODE_OTG; platdata 684 drivers/usb/chipidea/core.c if (platdata->dr_mode != USB_DR_MODE_PERIPHERAL) { platdata 686 drivers/usb/chipidea/core.c platdata->reg_vbus = devm_regulator_get(dev, "vbus"); platdata 687 drivers/usb/chipidea/core.c if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) { platdata 689 drivers/usb/chipidea/core.c } else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) { platdata 691 drivers/usb/chipidea/core.c platdata->reg_vbus = NULL; platdata 692 drivers/usb/chipidea/core.c } else if (IS_ERR(platdata->reg_vbus)) { platdata 694 drivers/usb/chipidea/core.c PTR_ERR(platdata->reg_vbus)); platdata 695 drivers/usb/chipidea/core.c return PTR_ERR(platdata->reg_vbus); platdata 698 drivers/usb/chipidea/core.c if (!platdata->tpl_support) platdata 699 drivers/usb/chipidea/core.c platdata->tpl_support = platdata 703 drivers/usb/chipidea/core.c if (platdata->dr_mode == USB_DR_MODE_OTG) { platdata 705 drivers/usb/chipidea/core.c platdata->ci_otg_caps.otg_rev = 0x0200; platdata 706 drivers/usb/chipidea/core.c platdata->ci_otg_caps.hnp_support = true; platdata 707 drivers/usb/chipidea/core.c platdata->ci_otg_caps.srp_support = true; platdata 711 drivers/usb/chipidea/core.c &platdata->ci_otg_caps); platdata 717 drivers/usb/chipidea/core.c platdata->flags |= CI_HDRC_FORCE_FULLSPEED; platdata 720 drivers/usb/chipidea/core.c &platdata->phy_clkgate_delay_us); platdata 722 drivers/usb/chipidea/core.c platdata->itc_setting = 1; platdata 725 drivers/usb/chipidea/core.c &platdata->itc_setting); platdata 728 drivers/usb/chipidea/core.c &platdata->ahb_burst_config); platdata 730 drivers/usb/chipidea/core.c platdata->flags |= CI_HDRC_OVERRIDE_AHB_BURST; platdata 737 drivers/usb/chipidea/core.c &platdata->tx_burst_size); platdata 739 drivers/usb/chipidea/core.c platdata->flags |= CI_HDRC_OVERRIDE_TX_BURST; platdata 746 drivers/usb/chipidea/core.c &platdata->rx_burst_size); platdata 748 drivers/usb/chipidea/core.c platdata->flags |= CI_HDRC_OVERRIDE_RX_BURST; platdata 755 drivers/usb/chipidea/core.c platdata->flags |= CI_HDRC_SET_NON_ZERO_TTHA; platdata 770 drivers/usb/chipidea/core.c cable = &platdata->vbus_extcon; platdata 782 drivers/usb/chipidea/core.c cable = &platdata->id_extcon; platdata 797 drivers/usb/chipidea/core.c platdata->pctl = devm_pinctrl_get(dev); platdata 798 drivers/usb/chipidea/core.c if (!IS_ERR(platdata->pctl)) { platdata 801 drivers/usb/chipidea/core.c p = pinctrl_lookup_state(platdata->pctl, "default"); platdata 803 drivers/usb/chipidea/core.c platdata->pins_default = p; platdata 805 drivers/usb/chipidea/core.c p = pinctrl_lookup_state(platdata->pctl, "host"); platdata 807 drivers/usb/chipidea/core.c platdata->pins_host = p; platdata 809 drivers/usb/chipidea/core.c p = pinctrl_lookup_state(platdata->pctl, "device"); platdata 811 drivers/usb/chipidea/core.c platdata->pins_device = p; platdata 822 drivers/usb/chipidea/core.c id = &ci->platdata->id_extcon; platdata 833 drivers/usb/chipidea/core.c vbus = &ci->platdata->vbus_extcon; platdata 851 drivers/usb/chipidea/core.c struct ci_hdrc_platform_data *platdata) platdata 856 drivers/usb/chipidea/core.c ret = ci_get_platdata(dev, platdata); platdata 876 drivers/usb/chipidea/core.c ret = platform_device_add_data(pdev, platdata, sizeof(*platdata)); platdata 912 drivers/usb/chipidea/core.c if (ci->platdata->flags & CI_HDRC_DUAL_ROLE_NOT_OTG) platdata 1001 drivers/usb/chipidea/core.c ci->platdata = dev_get_platdata(dev); platdata 1002 drivers/usb/chipidea/core.c ci->imx28_write_fix = !!(ci->platdata->flags & platdata 1004 drivers/usb/chipidea/core.c ci->supports_runtime_pm = !!(ci->platdata->flags & platdata 1018 drivers/usb/chipidea/core.c if (ci->platdata->phy) { platdata 1019 drivers/usb/chipidea/core.c ci->phy = ci->platdata->phy; platdata 1020 drivers/usb/chipidea/core.c } else if (ci->platdata->usb_phy) { platdata 1021 drivers/usb/chipidea/core.c ci->usb_phy = ci->platdata->usb_phy; platdata 1082 drivers/usb/chipidea/core.c dr_mode = ci->platdata->dr_mode; platdata 1160 drivers/usb/chipidea/core.c ci->platdata->name, ci); platdata 1256 drivers/usb/chipidea/core.c if (ci->platdata->phy_clkgate_delay_us) platdata 1257 drivers/usb/chipidea/core.c usleep_range(ci->platdata->phy_clkgate_delay_us, platdata 1258 drivers/usb/chipidea/core.c ci->platdata->phy_clkgate_delay_us + 50); platdata 60 drivers/usb/chipidea/host.c if (enable && (ci->platdata->phy_mode == USBPHY_INTERFACE_MODE_HSIC)) { platdata 84 drivers/usb/chipidea/host.c if (ci->platdata->notify_event) { platdata 85 drivers/usb/chipidea/host.c ret = ci->platdata->notify_event(ci, platdata 128 drivers/usb/chipidea/host.c hcd->power_budget = ci->platdata->power_budget; platdata 129 drivers/usb/chipidea/host.c hcd->tpl_support = ci->platdata->tpl_support; platdata 145 drivers/usb/chipidea/host.c if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { platdata 146 drivers/usb/chipidea/host.c if (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON) { platdata 147 drivers/usb/chipidea/host.c ret = regulator_enable(ci->platdata->reg_vbus); platdata 155 drivers/usb/chipidea/host.c priv->reg_vbus = ci->platdata->reg_vbus; platdata 159 drivers/usb/chipidea/host.c if (ci->platdata->pins_host) platdata 160 drivers/usb/chipidea/host.c pinctrl_select_state(ci->platdata->pctl, platdata 161 drivers/usb/chipidea/host.c ci->platdata->pins_host); platdata 176 drivers/usb/chipidea/host.c if (ci->platdata->notify_event && platdata 177 drivers/usb/chipidea/host.c (ci->platdata->flags & CI_HDRC_IMX_IS_HSIC)) platdata 178 drivers/usb/chipidea/host.c ci->platdata->notify_event platdata 185 drivers/usb/chipidea/host.c if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && platdata 186 drivers/usb/chipidea/host.c (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON)) platdata 187 drivers/usb/chipidea/host.c regulator_disable(ci->platdata->reg_vbus); platdata 199 drivers/usb/chipidea/host.c if (ci->platdata->notify_event) platdata 200 drivers/usb/chipidea/host.c ci->platdata->notify_event(ci, platdata 206 drivers/usb/chipidea/host.c if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && platdata 207 drivers/usb/chipidea/host.c (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON)) platdata 208 drivers/usb/chipidea/host.c regulator_disable(ci->platdata->reg_vbus); platdata 213 drivers/usb/chipidea/host.c if (ci->platdata->pins_host && ci->platdata->pins_default) platdata 214 drivers/usb/chipidea/host.c pinctrl_select_state(ci->platdata->pctl, platdata 215 drivers/usb/chipidea/host.c ci->platdata->pins_default); platdata 266 drivers/usb/chipidea/host.c if (ci->platdata->flags & CI_HDRC_IMX_IS_HSIC) { platdata 267 drivers/usb/chipidea/host.c if (ci->platdata->notify_event) platdata 268 drivers/usb/chipidea/host.c ci->platdata->notify_event(ci, platdata 339 drivers/usb/chipidea/host.c if (ci->platdata->flags & CI_HDRC_IMX_IS_HSIC) { platdata 37 drivers/usb/chipidea/otg.c cable = &ci->platdata->vbus_extcon; platdata 55 drivers/usb/chipidea/otg.c cable = &ci->platdata->id_extcon; platdata 85 drivers/usb/chipidea/otg.c cable = &ci->platdata->vbus_extcon; platdata 99 drivers/usb/chipidea/otg.c cable = &ci->platdata->id_extcon; platdata 176 drivers/usb/chipidea/otg.c IS_ERR(ci->platdata->vbus_extcon.edev)) platdata 465 drivers/usb/chipidea/otg_fsm.c if (ci->platdata->reg_vbus) { platdata 466 drivers/usb/chipidea/otg_fsm.c ret = regulator_enable(ci->platdata->reg_vbus); platdata 480 drivers/usb/chipidea/otg_fsm.c if (ci->platdata->reg_vbus) platdata 481 drivers/usb/chipidea/otg_fsm.c regulator_disable(ci->platdata->reg_vbus); platdata 1555 drivers/usb/chipidea/udc.c if (ci->platdata->notify_event) platdata 1556 drivers/usb/chipidea/udc.c ci->platdata->notify_event(ci, platdata 1833 drivers/usb/chipidea/udc.c if (ci->platdata->notify_event) platdata 1834 drivers/usb/chipidea/udc.c ci->platdata->notify_event(ci, platdata 1867 drivers/usb/chipidea/udc.c if (ci->platdata->flags & CI_HDRC_REGS_SHARED) { platdata 1927 drivers/usb/chipidea/udc.c struct usb_otg_caps *otg_caps = &ci->platdata->ci_otg_caps; platdata 1933 drivers/usb/chipidea/udc.c ci->gadget.name = ci->platdata->name; platdata 1936 drivers/usb/chipidea/udc.c if (ci->platdata->flags & CI_HDRC_REQUIRES_ALIGNED_DMA) platdata 2004 drivers/usb/chipidea/udc.c if (ci->platdata->pins_device) platdata 2005 drivers/usb/chipidea/udc.c pinctrl_select_state(ci->platdata->pctl, platdata 2006 drivers/usb/chipidea/udc.c ci->platdata->pins_device); platdata 2027 drivers/usb/chipidea/udc.c if (ci->platdata->pins_device && ci->platdata->pins_default) platdata 2028 drivers/usb/chipidea/udc.c pinctrl_select_state(ci->platdata->pctl, platdata 2029 drivers/usb/chipidea/udc.c ci->platdata->pins_default); platdata 68 drivers/usb/chipidea/ulpi.c if (ci->platdata->phy_mode != USBPHY_INTERFACE_MODE_ULPI) platdata 98 drivers/usb/chipidea/ulpi.c if (ci->platdata->phy_mode != USBPHY_INTERFACE_MODE_ULPI) platdata 77 drivers/video/backlight/ili9320.c struct ili9320_platdata *cfg = lcd->platdata; platdata 95 drivers/video/backlight/ili9320.c ret = lcd->client->init(lcd, lcd->platdata); platdata 227 drivers/video/backlight/ili9320.c ili->platdata = cfg; platdata 268 drivers/video/backlight/ili9320.c if (lcd->platdata->suspend == ILI9320_SUSPEND_DEEP) { platdata 283 drivers/video/backlight/ili9320.c if (lcd->platdata->suspend == ILI9320_SUSPEND_DEEP) platdata 45 drivers/video/backlight/ili9320.h struct ili9320_platdata *platdata; platdata 98 include/linux/usb/chipidea.h struct ci_hdrc_platform_data *platdata);