Lines Matching refs:tbp
210 struct __thermal_bind_params *tbp; in of_thermal_bind() local
219 tbp = data->tbps + i; in of_thermal_bind()
221 for (j = 0; j < tbp->count; j++) { in of_thermal_bind()
222 tcbp = tbp->tcbp + j; in of_thermal_bind()
228 tbp->trip_id, cdev, in of_thermal_bind()
231 tbp->usage); in of_thermal_bind()
245 struct __thermal_bind_params *tbp; in of_thermal_unbind() local
254 tbp = data->tbps + i; in of_thermal_unbind()
256 for (j = 0; j < tbp->count; j++) { in of_thermal_unbind()
257 tcbp = tbp->tcbp + j; in of_thermal_unbind()
263 tbp->trip_id, cdev); in of_thermal_unbind()
958 struct __thermal_bind_params *tbp = tz->tbps + i; in thermal_of_build_thermal_zone() local
961 for (j = 0; j < tbp->count; j++) in thermal_of_build_thermal_zone()
962 of_node_put(tbp->tcbp[j].cooling_device); in thermal_of_build_thermal_zone()
964 kfree(tbp->tcbp); in thermal_of_build_thermal_zone()
982 struct __thermal_bind_params *tbp; in of_thermal_free_zone() local
986 tbp = tz->tbps + i; in of_thermal_free_zone()
988 for (j = 0; j < tbp->count; j++) in of_thermal_free_zone()
989 of_node_put(tbp->tcbp[j].cooling_device); in of_thermal_free_zone()
991 kfree(tbp->tcbp); in of_thermal_free_zone()