Lines Matching defs:map

220 	struct regmap *map = data->tempmon;
225 regmap_write(map, soc_data->panic_alarm_ctrl + REG_CLR,
227 regmap_write(map, soc_data->panic_alarm_ctrl + REG_SET,
234 struct regmap *map = data->tempmon;
245 regmap_write(map, soc_data->high_alarm_ctrl + REG_CLR,
247 regmap_write(map, soc_data->high_alarm_ctrl + REG_SET,
255 struct regmap *map = data->tempmon;
264 regmap_read(map, soc_data->temp_data, &val);
516 struct regmap *map;
520 map = syscon_regmap_lookup_by_phandle(pdev->dev.of_node,
522 if (IS_ERR(map)) {
523 ret = PTR_ERR(map);
528 ret = regmap_read(map, OCOTP_ANA1, &val);
537 ret = regmap_read(map, OCOTP_MEM0, &val);
650 struct regmap *map;
660 map = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, "fsl,tempmon");
661 if (IS_ERR(map)) {
662 ret = PTR_ERR(map);
666 data->tempmon = map;
676 regmap_write(map, IMX6_MISC1 + REG_CLR,
683 regmap_write(map, data->socdata->low_alarm_ctrl + REG_SET,
707 regmap_write(map, data->socdata->sensor_ctrl + REG_CLR,
709 regmap_write(map, data->socdata->sensor_ctrl + REG_CLR,
711 regmap_write(map, data->socdata->measure_freq_ctrl + REG_CLR,
714 regmap_write(map, IMX6_MISC0 + REG_SET,
716 regmap_write(map, data->socdata->sensor_ctrl + REG_SET,
765 regmap_write(map, data->socdata->measure_freq_ctrl + REG_CLR,
768 regmap_write(map, data->socdata->measure_freq_ctrl + REG_SET,
775 regmap_write(map, data->socdata->sensor_ctrl + REG_CLR,
777 regmap_write(map, data->socdata->sensor_ctrl + REG_SET,
868 struct regmap *map = data->tempmon;
871 ret = regmap_write(map, socdata->sensor_ctrl + REG_CLR,
876 ret = regmap_write(map, socdata->sensor_ctrl + REG_SET,
890 struct regmap *map = data->tempmon;
897 ret = regmap_write(map, socdata->sensor_ctrl + REG_CLR,
902 ret = regmap_write(map, socdata->sensor_ctrl + REG_SET,