/kernel/linux/linux-5.10/drivers/net/ethernet/cadence/ |
D | macb_pci.c | 33 struct macb_platform_data plat_data; in macb_probe() local 59 memset(&plat_data, 0, sizeof(plat_data)); in macb_probe() 62 plat_data.pclk = clk_register_fixed_rate(&pdev->dev, "pclk", NULL, 0, in macb_probe() 64 if (IS_ERR(plat_data.pclk)) { in macb_probe() 65 err = PTR_ERR(plat_data.pclk); in macb_probe() 69 plat_data.hclk = clk_register_fixed_rate(&pdev->dev, "hclk", NULL, 0, in macb_probe() 71 if (IS_ERR(plat_data.hclk)) { in macb_probe() 72 err = PTR_ERR(plat_data.hclk); in macb_probe() 84 plat_info.data = &plat_data; in macb_probe() 85 plat_info.size_data = sizeof(plat_data); in macb_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
D | exynos_dp.c | 44 struct analogix_dp_plat_data plat_data; member 47 static int exynos_dp_crtc_clock_enable(struct analogix_dp_plat_data *plat_data, in exynos_dp_crtc_clock_enable() argument 50 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_crtc_clock_enable() 61 static int exynos_dp_poweron(struct analogix_dp_plat_data *plat_data) in exynos_dp_poweron() argument 63 return exynos_dp_crtc_clock_enable(plat_data, true); in exynos_dp_poweron() 66 static int exynos_dp_poweroff(struct analogix_dp_plat_data *plat_data) in exynos_dp_poweroff() argument 68 return exynos_dp_crtc_clock_enable(plat_data, false); in exynos_dp_poweroff() 71 static int exynos_dp_get_modes(struct analogix_dp_plat_data *plat_data, in exynos_dp_get_modes() argument 74 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_get_modes() 78 if (dp->plat_data.panel) in exynos_dp_get_modes() [all …]
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | ahci_seattle.c | 84 struct seattle_plat_data *plat_data = hpriv->plat_data; in seattle_transmit_led_message() local 96 val = ioread32(plat_data->sgpio_ctrl); in seattle_transmit_led_message() 112 iowrite32(val, plat_data->sgpio_ctrl); in seattle_transmit_led_message() 128 struct seattle_plat_data *plat_data; in ahci_seattle_get_port_info() local 131 plat_data = devm_kzalloc(dev, sizeof(*plat_data), GFP_KERNEL); in ahci_seattle_get_port_info() 132 if (!plat_data) in ahci_seattle_get_port_info() 135 plat_data->sgpio_ctrl = devm_ioremap_resource(dev, in ahci_seattle_get_port_info() 137 if (IS_ERR(plat_data->sgpio_ctrl)) in ahci_seattle_get_port_info() 140 val = ioread32(plat_data->sgpio_ctrl); in ahci_seattle_get_port_info() 148 hpriv->plat_data = plat_data; in ahci_seattle_get_port_info()
|
D | ahci_st.c | 57 struct st_ahci_drv_data *drv_data = hpriv->plat_data; in st_ahci_deassert_resets() 90 struct st_ahci_drv_data *drv_data = hpriv->plat_data; in st_ahci_host_stop() 106 struct st_ahci_drv_data *drv_data = hpriv->plat_data; in st_ahci_probe_resets() 159 hpriv->plat_data = drv_data; in st_ahci_probe() 189 struct st_ahci_drv_data *drv_data = hpriv->plat_data; in st_ahci_suspend()
|
D | ahci_mtk.c | 47 struct mtk_ahci_plat *plat = hpriv->plat_data; in mtk_ahci_platform_resets() 105 struct mtk_ahci_plat *plat = hpriv->plat_data; in mtk_ahci_parse_property() 141 hpriv->plat_data = plat; in mtk_ahci_probe()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/panel/ |
D | tpo_tj032md01bw.c | 77 struct tpohvga_plat_data *plat = panel->plat_data; in tpohvga_onoff() 130 struct tpohvga_plat_data *plat_data; in tpohvga_probe() local 147 plat_data = kzalloc(sizeof(*plat_data), GFP_KERNEL); in tpohvga_probe() 148 if (plat_data == NULL) in tpohvga_probe() 151 plat_data->spi = spi; in tpohvga_probe() 152 plat_data->plat_onoff = mi->plat_set_onoff; in tpohvga_probe() 153 panel_tpohvga.plat_data = plat_data; in tpohvga_probe()
|
/kernel/linux/linux-5.10/sound/soc/sof/intel/ |
D | hda-loader.c | 283 struct snd_sof_pdata *plat_data = sdev->pdata; in hda_dsp_cl_boot_firmware_iccmax() local 293 if (plat_data->fw->size <= plat_data->fw_offset) { in hda_dsp_cl_boot_firmware_iccmax() 298 stripped_firmware.size = plat_data->fw->size - plat_data->fw_offset; in hda_dsp_cl_boot_firmware_iccmax() 332 struct snd_sof_pdata *plat_data = sdev->pdata; in hda_dsp_cl_boot_firmware() local 333 const struct sof_dev_desc *desc = plat_data->desc; in hda_dsp_cl_boot_firmware() 341 if (plat_data->fw->size <= plat_data->fw_offset) { in hda_dsp_cl_boot_firmware() 346 stripped_firmware.data = plat_data->fw->data + plat_data->fw_offset; in hda_dsp_cl_boot_firmware() 347 stripped_firmware.size = plat_data->fw->size - plat_data->fw_offset; in hda_dsp_cl_boot_firmware()
|
/kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
D | dev-backlight-s3c64xx.c | 20 struct platform_pwm_backlight_data plat_data; member 29 struct samsung_bl_drvdata, plat_data); in samsung_bl_init() 48 struct samsung_bl_drvdata, plat_data); in samsung_bl_exit() 65 .plat_data = { 100 samsung_bl_device->dev.platform_data = &samsung_bl_drvdata->plat_data; in samsung_bl_set() 102 samsung_bl_data = &samsung_bl_drvdata->plat_data; in samsung_bl_set()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_core.c | 944 if (dp->plat_data->panel) { in analogix_dp_commit() 945 if (drm_panel_disable(dp->plat_data->panel)) in analogix_dp_commit() 969 if (dp->plat_data->panel) { in analogix_dp_commit() 970 ret = drm_panel_enable(dp->plat_data->panel); in analogix_dp_commit() 1079 if (!dp->plat_data->panel) in analogix_dp_prepare_panel() 1092 ret = drm_panel_prepare(dp->plat_data->panel); in analogix_dp_prepare_panel() 1094 ret = drm_panel_unprepare(dp->plat_data->panel); in analogix_dp_prepare_panel() 1113 if (dp->plat_data->panel) { in analogix_dp_get_modes() 1114 num_modes += drm_panel_get_modes(dp->plat_data->panel, connector); in analogix_dp_get_modes() 1137 if (dp->plat_data->get_modes) in analogix_dp_get_modes() [all …]
|
D | analogix_dp_reg.c | 74 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) { in analogix_dp_init_analog_param() 76 if (dp->plat_data->dev_type == RK3288_DP) in analogix_dp_init_analog_param() 125 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_reset() 237 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) { in analogix_dp_set_pll_power_down() 258 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down() 263 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down() 321 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down() 333 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down() 481 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_init_aux() 976 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) { in analogix_dp_config_video_slave_mode()
|
/kernel/linux/linux-5.10/sound/soc/sof/ |
D | core.c | 140 struct snd_sof_pdata *plat_data = sdev->pdata; in sof_probe_continue() local 234 ret = snd_sof_machine_register(sdev, plat_data); in sof_probe_continue() 246 if (plat_data->sof_probe_complete) in sof_probe_continue() 247 plat_data->sof_probe_complete(sdev->dev); in sof_probe_continue() 282 int snd_sof_device_probe(struct device *dev, struct snd_sof_pdata *plat_data) in snd_sof_device_probe() argument 296 sdev->pdata = plat_data; in snd_sof_device_probe() 324 if (plat_data->desc->ipc_timeout == 0) in snd_sof_device_probe() 327 sdev->ipc_timeout = plat_data->desc->ipc_timeout; in snd_sof_device_probe() 328 if (plat_data->desc->boot_timeout == 0) in snd_sof_device_probe() 331 sdev->boot_timeout = plat_data->desc->boot_timeout; in snd_sof_device_probe()
|
D | sof-audio.c | 488 struct snd_sof_pdata *plat_data = pdata; in sof_machine_register() local 493 drv_name = plat_data->machine->drv_name; in sof_machine_register() 494 mach = plat_data->machine; in sof_machine_register() 495 size = sizeof(*plat_data->machine); in sof_machine_register() 498 plat_data->pdev_mach = in sof_machine_register() 501 if (IS_ERR(plat_data->pdev_mach)) in sof_machine_register() 502 return PTR_ERR(plat_data->pdev_mach); in sof_machine_register() 505 dev_name(&plat_data->pdev_mach->dev)); in sof_machine_register() 513 struct snd_sof_pdata *plat_data = pdata; in sof_machine_unregister() local 515 if (!IS_ERR_OR_NULL(plat_data->pdev_mach)) in sof_machine_unregister() [all …]
|
D | loader.c | 660 struct snd_sof_pdata *plat_data = sdev->pdata; in snd_sof_load_firmware_raw() local 666 if (plat_data->fw) in snd_sof_load_firmware_raw() 670 plat_data->fw_filename_prefix, in snd_sof_load_firmware_raw() 671 plat_data->fw_filename); in snd_sof_load_firmware_raw() 675 ret = request_firmware(&plat_data->fw, fw_filename, sdev->dev); in snd_sof_load_firmware_raw() 687 ext_man_size = snd_sof_fw_ext_man_parse(sdev, plat_data->fw); in snd_sof_load_firmware_raw() 690 plat_data->fw_offset = ext_man_size; in snd_sof_load_firmware_raw() 709 struct snd_sof_pdata *plat_data = sdev->pdata; in snd_sof_load_firmware_memcpy() local 717 ret = check_header(sdev, plat_data->fw, plat_data->fw_offset); in snd_sof_load_firmware_memcpy() 731 ret = load_modules(sdev, plat_data->fw, plat_data->fw_offset); in snd_sof_load_firmware_memcpy() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/ |
D | analogix_dp-rockchip.c | 73 struct analogix_dp_plat_data plat_data; member 85 static int rockchip_dp_poweron_start(struct analogix_dp_plat_data *plat_data) in rockchip_dp_poweron_start() argument 87 struct rockchip_dp_device *dp = to_dp(plat_data); in rockchip_dp_poweron_start() 106 static int rockchip_dp_powerdown(struct analogix_dp_plat_data *plat_data) in rockchip_dp_powerdown() argument 108 struct rockchip_dp_device *dp = to_dp(plat_data); in rockchip_dp_powerdown() 115 static int rockchip_dp_get_modes(struct analogix_dp_plat_data *plat_data, in rockchip_dp_get_modes() argument 336 dp->plat_data.encoder = &dp->encoder; in rockchip_dp_bind() 385 dp->plat_data.panel = panel; in rockchip_dp_probe() 386 dp->plat_data.dev_type = dp->data->chip_type; in rockchip_dp_probe() 387 dp->plat_data.power_on_start = rockchip_dp_poweron_start; in rockchip_dp_probe() [all …]
|
D | dw_hdmi-rockchip.c | 491 struct dw_hdmi_plat_data *plat_data; in dw_hdmi_rockchip_bind() local 506 plat_data = devm_kmemdup(&pdev->dev, match->data, in dw_hdmi_rockchip_bind() 507 sizeof(*plat_data), GFP_KERNEL); in dw_hdmi_rockchip_bind() 508 if (!plat_data) in dw_hdmi_rockchip_bind() 512 hdmi->chip_data = plat_data->phy_data; in dw_hdmi_rockchip_bind() 513 plat_data->phy_data = hdmi; in dw_hdmi_rockchip_bind() 552 hdmi->hdmi = dw_hdmi_bind(pdev, encoder, plat_data); in dw_hdmi_rockchip_bind()
|
/kernel/linux/linux-5.10/drivers/input/joystick/ |
D | as5011.c | 218 const struct as5011_platform_data *plat_data; in as5011_probe() local 224 plat_data = dev_get_platdata(&client->dev); in as5011_probe() 225 if (!plat_data) in as5011_probe() 228 if (!plat_data->axis_irq) { in as5011_probe() 252 as5011->button_gpio = plat_data->button_gpio; in as5011_probe() 253 as5011->axis_irq = plat_data->axis_irq; in as5011_probe() 293 error = as5011_configure_chip(as5011, plat_data); in as5011_probe() 299 plat_data->axis_irqflags | IRQF_ONESHOT, in as5011_probe() 303 "Can't allocate axis irq %d\n", plat_data->axis_irq); in as5011_probe()
|
/kernel/linux/linux-5.10/drivers/memory/ |
D | emif.c | 67 struct emif_platform_data *plat_data; member 82 u32 type = emif->plat_data->device_info->type; in do_emif_regdump_show() 83 u32 ip_rev = emif->plat_data->ip_rev; in do_emif_regdump_show() 243 if ((emif->plat_data->ip_rev == EMIF_4D) && in set_lpmode() 340 const struct lpddr2_timings *timings_arr = emif->plat_data->timings; in get_timings_table() 351 for (i = 0; i < emif->plat_data->timings_arr_size; i++) { in get_timings_table() 713 struct emif_custom_configs *cust_cfgs = emif->plat_data->custom_configs; in get_pwr_mgmt_ctrl() 807 if (emif->plat_data->device_info->cs1_used) { in get_temperature_level() 838 if (emif->plat_data->ip_rev != EMIF_4D5) in setup_registers() 884 type = emif->plat_data->device_info->type; in setup_temperature_sensitive_regs() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
D | colibri-pxa3xx.c | 35 void __init colibri_pxa3xx_init_eth(struct ax_plat_data *plat_data) in colibri_pxa3xx_init_eth() argument 53 plat_data->flags |= AXFLG_MAC_FROMPLATFORM; in colibri_pxa3xx_init_eth() 54 plat_data->mac_addr = ether_mac_addr; in colibri_pxa3xx_init_eth() 58 plat_data->flags |= AXFLG_MAC_FROMDEV; in colibri_pxa3xx_init_eth()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/ |
D | dw-mipi-dsi.c | 268 const struct dw_mipi_dsi_plat_data *plat_data; member 316 const struct dw_mipi_dsi_plat_data *pdata = dsi->plat_data; in dw_mipi_dsi_host_attach() 321 if (device->lanes > dsi->plat_data->max_data_lanes) { in dw_mipi_dsi_host_attach() 361 const struct dw_mipi_dsi_plat_data *pdata = dsi->plat_data; in dw_mipi_dsi_host_detach() 608 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_init() 618 ret = phy_ops->get_esc_clk_rate(dsi->plat_data->priv_data, in dw_mipi_dsi_init() 771 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_dphy_timing_config() 776 ret = phy_ops->get_timing(dsi->plat_data->priv_data, in dw_mipi_dsi_dphy_timing_config() 860 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_bridge_post_disable() 880 phy_ops->power_off(dsi->plat_data->priv_data); in dw_mipi_dsi_bridge_post_disable() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
D | sun8i_dw_hdmi.c | 124 struct dw_hdmi_plat_data *plat_data; in sun8i_dw_hdmi_bind() local 138 plat_data = &hdmi->plat_data; in sun8i_dw_hdmi_bind() 226 plat_data->mode_valid = hdmi->quirks->mode_valid; in sun8i_dw_hdmi_bind() 227 plat_data->use_drm_infoframe = hdmi->quirks->use_drm_infoframe; in sun8i_dw_hdmi_bind() 228 sun8i_hdmi_phy_set_ops(hdmi->phy, plat_data); in sun8i_dw_hdmi_bind() 232 hdmi->hdmi = dw_hdmi_bind(pdev, encoder, plat_data); in sun8i_dw_hdmi_bind()
|
D | sun8i_hdmi_phy.c | 566 struct dw_hdmi_plat_data *plat_data) in sun8i_hdmi_phy_set_ops() argument 571 plat_data->phy_ops = &sun8i_hdmi_phy_ops; in sun8i_hdmi_phy_set_ops() 572 plat_data->phy_name = "sun8i_dw_hdmi_phy"; in sun8i_hdmi_phy_set_ops() 573 plat_data->phy_data = phy; in sun8i_hdmi_phy_set_ops() 575 plat_data->mpll_cfg = variant->mpll_cfg; in sun8i_hdmi_phy_set_ops() 576 plat_data->cur_ctr = variant->cur_ctr; in sun8i_hdmi_phy_set_ops() 577 plat_data->phy_config = variant->phy_cfg; in sun8i_hdmi_phy_set_ops()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | sdhci-pic32.c | 145 struct pic32_sdhci_platform_data *plat_data; in pic32_sdhci_probe() local 158 plat_data = pdev->dev.platform_data; in pic32_sdhci_probe() 159 if (plat_data && plat_data->setup_dma) { in pic32_sdhci_probe() 160 ret = plat_data->setup_dma(ADMA_FIFO_RD_THSHLD, in pic32_sdhci_probe()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | mtk_iommu.c | 191 data->base + data->plat_data->inv_sel_reg); in mtk_iommu_tlb_flush_all() 208 data->base + data->plat_data->inv_sel_reg); in mtk_iommu_tlb_flush_range_sync() 269 if (MTK_IOMMU_HAS_FLAG(data->plat_data, HAS_SUB_COMM)) { in mtk_iommu_isr() 275 fault_larb = data->plat_data->larbid_remap[fault_larb][sub_comm]; in mtk_iommu_isr() 562 if (data->plat_data->m4u_plat == M4U_MT8173) { in mtk_iommu_hw_init() 588 if (MTK_IOMMU_HAS_FLAG(data->plat_data, HAS_LEGACY_IVRP_PADDR)) in mtk_iommu_hw_init() 596 MTK_IOMMU_HAS_FLAG(data->plat_data, HAS_VLD_PA_RNG)) { in mtk_iommu_hw_init() 605 if (MTK_IOMMU_HAS_FLAG(data->plat_data, WR_THROT_EN)) { in mtk_iommu_hw_init() 612 if (MTK_IOMMU_HAS_FLAG(data->plat_data, RESET_AXI)) { in mtk_iommu_hw_init() 618 if (MTK_IOMMU_HAS_FLAG(data->plat_data, OUT_ORDER_WR_EN)) in mtk_iommu_hw_init() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
D | cw1200_spi.c | 360 const struct cw1200_platform_data_spi *plat_data = in cw1200_spi_probe() local 372 if (plat_data->spi_bits_per_word) in cw1200_spi_probe() 373 func->bits_per_word = plat_data->spi_bits_per_word; in cw1200_spi_probe() 384 if (cw1200_spi_on(plat_data)) { in cw1200_spi_probe() 400 self->pdata = plat_data; in cw1200_spi_probe() 419 cw1200_spi_off(plat_data); in cw1200_spi_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/ |
D | xen_drm_front_evtchnl.c | 297 struct xen_drm_front_cfg *plat_data; in xen_drm_front_evtchnl_publish_all() local 300 plat_data = &front_info->cfg; in xen_drm_front_evtchnl_publish_all() 310 for (conn = 0; conn < plat_data->num_connectors; conn++) { in xen_drm_front_evtchnl_publish_all() 312 plat_data->connectors[conn].xenstore_path, in xen_drm_front_evtchnl_publish_all() 319 plat_data->connectors[conn].xenstore_path, in xen_drm_front_evtchnl_publish_all()
|