Lines Matching defs:data
61 static int imx8mm_tmu_get_temp(void *data, int *temp)
63 struct tmu_sensor *sensor = data;
81 static int imx8mp_tmu_get_temp(void *data, int *temp)
83 struct tmu_sensor *sensor = data;
105 static int tmu_get_temp(void *data, int *temp)
107 struct tmu_sensor *sensor = data;
110 return tmu->socdata->get_temp(data, temp);
139 const struct thermal_soc_data *data;
144 data = of_device_get_match_data(&pdev->dev);
147 data->num_sensors), GFP_KERNEL);
151 tmu->socdata = data;
171 for (i = 0; i < data->num_sensors; i++) {
224 { .compatible = "fsl,imx8mm-tmu", .data = &imx8mm_tmu_data, },
225 { .compatible = "fsl,imx8mp-tmu", .data = &imx8mp_tmu_data, },