Lines Matching defs:map
222 struct regmap *map = data->tempmon;
227 regmap_write(map, soc_data->panic_alarm_ctrl + REG_CLR,
229 regmap_write(map, soc_data->panic_alarm_ctrl + REG_SET,
236 struct regmap *map = data->tempmon;
247 regmap_write(map, soc_data->high_alarm_ctrl + REG_CLR,
249 regmap_write(map, soc_data->high_alarm_ctrl + REG_SET,
257 struct regmap *map = data->tempmon;
266 regmap_read(map, soc_data->temp_data, &val);
470 struct regmap *map;
474 map = syscon_regmap_lookup_by_phandle(pdev->dev.of_node,
476 if (IS_ERR(map)) {
477 ret = PTR_ERR(map);
482 ret = regmap_read(map, OCOTP_ANA1, &val);
491 ret = regmap_read(map, OCOTP_MEM0, &val);
603 struct regmap *map;
613 map = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, "fsl,tempmon");
614 if (IS_ERR(map)) {
615 ret = PTR_ERR(map);
619 data->tempmon = map;
629 regmap_write(map, IMX6_MISC1 + REG_CLR,
636 regmap_write(map, data->socdata->low_alarm_ctrl + REG_SET,
660 regmap_write(map, data->socdata->sensor_ctrl + REG_CLR,
662 regmap_write(map, data->socdata->sensor_ctrl + REG_CLR,
664 regmap_write(map, data->socdata->measure_freq_ctrl + REG_CLR,
667 regmap_write(map, IMX6_MISC0 + REG_SET,
669 regmap_write(map, data->socdata->sensor_ctrl + REG_SET,
719 regmap_write(map, data->socdata->measure_freq_ctrl + REG_CLR,
722 regmap_write(map, data->socdata->measure_freq_ctrl + REG_SET,
729 regmap_write(map, data->socdata->sensor_ctrl + REG_CLR,
731 regmap_write(map, data->socdata->sensor_ctrl + REG_SET,
822 struct regmap *map = data->tempmon;
825 ret = regmap_write(map, socdata->sensor_ctrl + REG_CLR,
830 ret = regmap_write(map, socdata->sensor_ctrl + REG_SET,
844 struct regmap *map = data->tempmon;
851 ret = regmap_write(map, socdata->sensor_ctrl + REG_CLR,
856 ret = regmap_write(map, socdata->sensor_ctrl + REG_SET,