Searched refs:socdata (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/thermal/ |
D | imx_thermal.c | 218 const struct thermal_soc_data *socdata; member 225 const struct thermal_soc_data *soc_data = data->socdata; in imx_set_panic_temp() 241 const struct thermal_soc_data *soc_data = data->socdata; in imx_set_alarm_temp() 246 if (data->socdata->version == TEMPMON_IMX7D) in imx_set_alarm_temp() 260 const struct thermal_soc_data *soc_data = data->socdata; in imx_get_temp() 309 if (data->socdata->version == TEMPMON_IMX7D) in imx_get_temp() 315 if (data->socdata->version == TEMPMON_IMX6Q) { in imx_get_temp() 356 const struct thermal_soc_data *soc_data = data->socdata; in imx_set_mode() 500 if (data->socdata->version == TEMPMON_IMX7D) { in imx_init_calib() 718 data->socdata = of_device_get_match_data(&pdev->dev); in imx_thermal_probe() [all …]
|
/Linux-v5.4/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier-core.c | 39 const struct uniphier_pinctrl_socdata *socdata; member 47 return priv->socdata->groups_count; in uniphier_pctl_get_groups_count() 55 return priv->socdata->groups[selector].name; in uniphier_pctl_get_group_name() 65 *pins = priv->socdata->groups[selector].pins; in uniphier_pctl_get_group_pins() 66 *num_pins = priv->socdata->groups[selector].num_pins; in uniphier_pctl_get_group_pins() 294 if (priv->socdata->caps & UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL) in uniphier_conf_pin_input_enable_get() 466 if (!(priv->socdata->caps & UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL) && in uniphier_conf_pin_input_enable() 474 if (priv->socdata->caps & UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL) in uniphier_conf_pin_input_enable() 529 const unsigned *pins = priv->socdata->groups[selector].pins; in uniphier_conf_pin_config_group_set() 530 unsigned num_pins = priv->socdata->groups[selector].num_pins; in uniphier_conf_pin_config_group_set() [all …]
|
D | pinctrl-uniphier.h | 184 const struct uniphier_pinctrl_socdata *socdata);
|
/Linux-v5.4/arch/arm/mach-imx/ |
D | pm-imx6.c | 461 static int __init imx6q_suspend_init(const struct imx6_pm_socdata *socdata) in imx6q_suspend_init() argument 474 if (!socdata) { in imx6q_suspend_init() 523 ret = imx6_pm_get_base(&pm_info->mmdc_base, socdata->mmdc_compat); in imx6q_suspend_init() 529 ret = imx6_pm_get_base(&pm_info->src_base, socdata->src_compat); in imx6q_suspend_init() 535 ret = imx6_pm_get_base(&pm_info->iomuxc_base, socdata->iomuxc_compat); in imx6q_suspend_init() 541 ret = imx6_pm_get_base(&pm_info->gpc_base, socdata->gpc_compat); in imx6q_suspend_init() 547 if (socdata->pl310_compat) { in imx6q_suspend_init() 548 ret = imx6_pm_get_base(&pm_info->l2_base, socdata->pl310_compat); in imx6q_suspend_init() 557 pm_info->mmdc_io_num = socdata->mmdc_io_num; in imx6q_suspend_init() 558 mmdc_offset_array = socdata->mmdc_io_offset; in imx6q_suspend_init() [all …]
|
/Linux-v5.4/drivers/mmc/host/ |
D | sdhci-esdhc-imx.c | 230 const struct esdhc_soc_data *socdata; member 279 return data->socdata == &esdhc_imx25_data; in is_imx25_esdhc() 284 return data->socdata == &esdhc_imx53_data; in is_imx53_esdhc() 289 return data->socdata == &usdhc_imx6q_data; in is_imx6q_usdhc() 294 return !!(data->socdata->flags & ESDHC_FLAG_USDHC); in esdhc_is_usdhc() 323 if (imx_data->socdata->flags & ESDHC_FLAG_HAVE_CAP1) in esdhc_readl_le() 341 if (imx_data->socdata->flags & ESDHC_FLAG_HAVE_CAP1) in esdhc_readl_le() 350 if (imx_data->socdata->flags & ESDHC_FLAG_HS400) in esdhc_readl_le() 423 if (unlikely((imx_data->socdata->flags & ESDHC_FLAG_MULTIBLK_NO_INT) in esdhc_writel_le() 468 if (imx_data->socdata->flags & ESDHC_FLAG_MAN_TUNING) in esdhc_readw_le() [all …]
|
/Linux-v5.4/drivers/pinctrl/ |
D | pinctrl-single.c | 187 struct pcs_soc_data socdata; member 660 struct pcs_soc_data *pcs_soc = &pcs->socdata; in pcs_add_pin() 1287 struct pcs_soc_data *pcs_soc = &pcs->socdata; in pcs_irq_free() 1372 pcs = container_of(pcs_soc, struct pcs_device, socdata); in pcs_irq_set() 1453 pcs = container_of(pcs_soc, struct pcs_device, socdata); in pcs_irq_handle() 1514 pcs = container_of(pcs_soc, struct pcs_device, socdata); in pcs_irqdomain_map() 1549 struct pcs_soc_data *pcs_soc = &pcs->socdata; in pcs_irq_init_chained_handler() 1774 memcpy(&pcs->socdata, soc, sizeof(*soc)); in pcs_probe() 1871 pcs->socdata.irq = irq_of_parse_and_map(np, 0); in pcs_probe() 1872 if (pcs->socdata.irq) in pcs_probe() [all …]
|