Home
last modified time | relevance | path

Searched refs:tbps (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/thermal/
Dof-thermal.c84 struct __thermal_bind_params *tbps; member
226 struct __thermal_bind_params *tbp = data->tbps + i; in of_thermal_bind()
255 struct __thermal_bind_params *tbp = data->tbps + i; in of_thermal_unbind()
811 tz->tbps = kzalloc(tz->num_tbps * sizeof(*tz->tbps), GFP_KERNEL); in thermal_of_build_thermal_zone()
812 if (!tz->tbps) { in thermal_of_build_thermal_zone()
819 ret = thermal_of_populate_bind_params(gchild, &tz->tbps[i++], in thermal_of_build_thermal_zone()
833 of_node_put(tz->tbps[i].cooling_device); in thermal_of_build_thermal_zone()
834 kfree(tz->tbps); in thermal_of_build_thermal_zone()
852 of_node_put(tz->tbps[i].cooling_device); in of_thermal_free_zone()
853 kfree(tz->tbps); in of_thermal_free_zone()