/openbmc/linux/drivers/thermal/ |
H A D | imx_thermal.c | 214 const struct thermal_soc_data *socdata; member 622 if (!data->socdata) { in imx_thermal_probe() 637 data->socdata->low_alarm_mask); in imx_thermal_probe() 661 data->socdata->power_down_mask); in imx_thermal_probe() 670 data->socdata->power_down_mask); in imx_thermal_probe() 821 const struct thermal_soc_data *socdata = data->socdata; in imx_thermal_runtime_suspend() local 826 socdata->measure_temp_mask); in imx_thermal_runtime_suspend() 831 socdata->power_down_mask); in imx_thermal_runtime_suspend() 843 const struct thermal_soc_data *socdata = data->socdata; in imx_thermal_runtime_resume() local 852 socdata->power_down_mask); in imx_thermal_runtime_resume() [all …]
|
H A D | imx8mm_thermal.c | 93 const struct thermal_soc_data *socdata; member 146 return tmu->socdata->get_temp(sensor, temp); in tmu_get_temp() 159 if (tmu->socdata->version == TMU_VER2) in imx8mm_tmu_enable() 288 if (tmu->socdata->version == TMU_VER1) in imx8mm_tmu_probe_set_calib() 308 tmu->socdata = data; in imx8mm_tmu_probe() 353 if (tmu->socdata->version == TMU_VER2) in imx8mm_tmu_probe()
|
/openbmc/u-boot/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier-core.c | 31 int pins_count = priv->socdata->pins_count; in uniphier_pinctrl_get_pins_count() 45 int pins_count = priv->socdata->pins_count; in uniphier_pinctrl_get_pin_name() 59 return priv->socdata->groups_count; in uniphier_pinctrl_get_groups_count() 67 if (!priv->socdata->groups[selector].name) in uniphier_pinctrl_get_group_name() 70 return priv->socdata->groups[selector].name; in uniphier_pinctrl_get_group_name() 77 return priv->socdata->functions_count; in uniphier_pinmux_get_functions_count() 85 if (!priv->socdata->functions[selector]) in uniphier_pinmux_get_function_name() 88 return priv->socdata->functions[selector]; in uniphier_pinmux_get_function_name() 156 int pins_count = priv->socdata->pins_count; in uniphier_pinctrl_pin_get() 318 &priv->socdata->groups[group_selector]; in uniphier_pinconf_group_set() [all …]
|
H A D | pinctrl-uniphier.h | 152 struct uniphier_pinctrl_socdata *socdata; member 158 struct uniphier_pinctrl_socdata *socdata);
|
/openbmc/linux/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier-core.c | 49 return priv->socdata->groups_count; in uniphier_pctl_get_groups_count() 556 return priv->socdata->functions_count; in uniphier_pmx_get_functions_count() 772 const struct uniphier_pinctrl_socdata *socdata = priv->socdata; in uniphier_pinctrl_pm_init() local 783 for (i = 0; i < socdata->npins; i++) { in uniphier_pinctrl_pm_init() 821 socdata->npins, 8); in uniphier_pinctrl_pm_init() 871 if (!socdata || in uniphier_pinctrl_probe() 872 !socdata->pins || !socdata->npins || in uniphier_pinctrl_probe() 873 !socdata->groups || !socdata->groups_count || in uniphier_pinctrl_probe() 874 !socdata->functions || !socdata->functions_count) { in uniphier_pinctrl_probe() 892 priv->socdata = socdata; in uniphier_pinctrl_probe() [all …]
|
H A D | pinctrl-uniphier.h | 184 const struct uniphier_pinctrl_socdata *socdata);
|
/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | xusb-padctl-common.c | 52 for (i = 0; i < padctl.socdata->num_phys; i++) { in tegra_xusb_phy_get() 53 phy = &padctl.socdata->phys[i]; in tegra_xusb_phy_get() 67 for (i = 0; i < padctl->socdata->num_lanes; i++) in tegra_xusb_padctl_find_lane() 68 if (strcmp(name, padctl->socdata->lanes[i].name) == 0) in tegra_xusb_padctl_find_lane() 69 return &padctl->socdata->lanes[i]; in tegra_xusb_padctl_find_lane() 120 for (i = 0; i < padctl->socdata->num_functions; i++) in tegra_xusb_padctl_find_function() 121 if (strcmp(name, padctl->socdata->functions[i]) == 0) in tegra_xusb_padctl_find_function() 276 const struct tegra_xusb_padctl_soc *socdata) in tegra_xusb_process_nodes() argument 287 padctl.socdata = socdata; in tegra_xusb_process_nodes()
|
H A D | xusb-padctl-common.h | 79 const struct tegra_xusb_padctl_soc *socdata; member 100 const struct tegra_xusb_padctl_soc *socdata);
|
/openbmc/linux/arch/arm/mach-imx/ |
H A D | pm-imx6.c | 477 if (!socdata) { in imx6q_suspend_init() 526 ret = imx6_pm_get_base(&pm_info->mmdc_base, socdata->mmdc_compat); in imx6q_suspend_init() 532 ret = imx6_pm_get_base(&pm_info->src_base, socdata->src_compat); in imx6q_suspend_init() 538 ret = imx6_pm_get_base(&pm_info->iomuxc_base, socdata->iomuxc_compat); in imx6q_suspend_init() 544 ret = imx6_pm_get_base(&pm_info->gpc_base, socdata->gpc_compat); in imx6q_suspend_init() 550 if (socdata->pl310_compat) { in imx6q_suspend_init() 551 ret = imx6_pm_get_base(&pm_info->l2_base, socdata->pl310_compat); in imx6q_suspend_init() 560 pm_info->mmdc_io_num = socdata->mmdc_io_num; in imx6q_suspend_init() 561 mmdc_offset_array = socdata->mmdc_io_offset; in imx6q_suspend_init() 597 *socdata) in imx6_pm_common_init() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-esdhc-imx.c | 335 const struct esdhc_soc_data *socdata; member 382 return data->socdata == &esdhc_imx25_data; in is_imx25_esdhc() 387 return data->socdata == &esdhc_imx53_data; in is_imx53_esdhc() 392 return !!(data->socdata->flags & ESDHC_FLAG_USDHC); in esdhc_is_usdhc() 1667 if (imx_data->socdata->flags & ESDHC_FLAG_PMQOS) in sdhci_esdhc_imx_probe() 1739 if (imx_data->socdata->flags & ESDHC_FLAG_HS400) in sdhci_esdhc_imx_probe() 1800 if (imx_data->socdata->flags & ESDHC_FLAG_PMQOS) in sdhci_esdhc_imx_probe() 1824 if (imx_data->socdata->flags & ESDHC_FLAG_PMQOS) in sdhci_esdhc_imx_remove() 1919 if (imx_data->socdata->flags & ESDHC_FLAG_PMQOS) in sdhci_esdhc_runtime_suspend() 1932 if (imx_data->socdata->flags & ESDHC_FLAG_PMQOS) in sdhci_esdhc_runtime_resume() [all …]
|
/openbmc/linux/drivers/media/rc/ |
H A D | ir-hix5hd2.c | 89 const struct hix5hd2_soc_data *socdata; member 94 u32 clk_reg = dev->socdata->clk_reg; in hix5hd2_ir_clk_enable() 121 if (priv->socdata->flags & HIX5HD2_FLAG_EXTRA_ENABLE) in hix5hd2_ir_enable() 267 priv->socdata = of_id->data; in hix5hd2_ir_probe()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-single.c | 189 struct pcs_soc_data socdata; member 688 struct pcs_soc_data *pcs_soc = &pcs->socdata; in pcs_add_pin() 1311 struct pcs_soc_data *pcs_soc = &pcs->socdata; in pcs_irq_free() 1400 pcs = container_of(pcs_soc, struct pcs_device, socdata); in pcs_irq_set() 1481 pcs = container_of(pcs_soc, struct pcs_device, socdata); in pcs_irq_handle() 1576 struct pcs_soc_data *pcs_soc = &pcs->socdata; in pcs_irq_init_chained_handler() 1801 memcpy(&pcs->socdata, soc, sizeof(*soc)); in pcs_probe() 1898 pcs->socdata.irq = irq_of_parse_and_map(np, 0); in pcs_probe() 1899 if (pcs->socdata.irq) in pcs_probe() 1906 pcs->socdata.rearm = pdata->rearm; in pcs_probe() [all …]
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | davinci_mdio.c | 570 const struct k3_mdio_soc_data *socdata = in davinci_mdio_probe() local 573 data->manual_mode = socdata->manual_mode; in davinci_mdio_probe()
|
H A D | am65-cpsw-nuss.c | 2868 const struct am65_cpsw_soc_pdata *socdata = soc->data; in am65_cpsw_nuss_apply_socinfo() local 2871 common->pdata.quirks &= ~socdata->quirks_dis; in am65_cpsw_nuss_apply_socinfo()
|