Searched refs:bgp (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/thermal/ti-soc-thermal/ |
A D | ti-bandgap.c | 248 bgp->conf->report_temperature(bgp, i); in ti_bandgap_talert_irq_handler() 317 if (!bgp || IS_ERR(bgp)) { in ti_bandgap_validate() 833 if (!bgp) in ti_bandgap_build() 912 bgp->fclock = clk_get(NULL, bgp->conf->fclock_name); in ti_bandgap_probe() 1018 ret = bgp->conf->expose_sensor(bgp, i, domain); in ti_bandgap_probe() 1048 bgp->conf->sensors[i].unregister_cooling(bgp, i); in ti_bandgap_probe() 1052 bgp->conf->sensors[i].unregister_cooling(bgp, i); in ti_bandgap_probe() 1054 bgp->conf->remove_sensor(bgp, i); in ti_bandgap_probe() 1083 bgp->conf->sensors[i].unregister_cooling(bgp, i); in ti_bandgap_remove() 1086 bgp->conf->remove_sensor(bgp, i); in ti_bandgap_remove() [all …]
|
A D | ti-thermal-common.c | 31 struct ti_bandgap *bgp; member 71 struct ti_bandgap *bgp; in __ti_thermal_get_temp() local 79 bgp = data->bgp; in __ti_thermal_get_temp() 80 s = &bgp->conf->sensors[data->sensor_id]; in __ti_thermal_get_temp() 99 dev_err(bgp->dev, in __ti_thermal_get_temp() 120 struct ti_bandgap *bgp; in __ti_thermal_get_trend() local 123 bgp = data->bgp; in __ti_thermal_get_trend() 152 dev_err(bgp->dev, "kzalloc fail\n"); in ti_thermal_build_data() 156 data->bgp = bgp; in ti_thermal_build_data() 174 data = ti_thermal_build_data(bgp, id); in ti_thermal_expose_sensor() [all …]
|
A D | ti-bandgap.h | 239 int (*register_cooling)(struct ti_bandgap *bgp, int id); 240 int (*unregister_cooling)(struct ti_bandgap *bgp, int id); 331 int (*report_temperature)(struct ti_bandgap *bgp, int id); 332 int (*expose_sensor)(struct ti_bandgap *bgp, int id, char *domain); 333 int (*remove_sensor)(struct ti_bandgap *bgp, int id); 339 int ti_bandgap_read_thot(struct ti_bandgap *bgp, int id, int *thot); 340 int ti_bandgap_write_thot(struct ti_bandgap *bgp, int id, int val); 342 int ti_bandgap_write_tcold(struct ti_bandgap *bgp, int id, int val); 343 int ti_bandgap_read_update_interval(struct ti_bandgap *bgp, int id, 347 int ti_bandgap_read_temperature(struct ti_bandgap *bgp, int id, [all …]
|
A D | ti-thermal.h | 57 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain); 58 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id); 59 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id); 60 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id); 61 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id); 64 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain) in ti_thermal_expose_sensor() argument 70 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor() argument 76 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature() argument 82 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling() argument 88 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling() argument
|
/linux/drivers/thermal/ |
A D | k3_bandgap.c | 85 struct k3_bandgap *bgp; member 110 struct k3_bandgap *bgp; in k3_bgp_read_temp() local 113 bgp = devdata->bgp; in k3_bgp_read_temp() 163 struct k3_bandgap *bgp; in k3_bandgap_probe() local 170 bgp = devm_kzalloc(&pdev->dev, sizeof(*bgp), GFP_KERNEL); in k3_bandgap_probe() 171 if (!bgp) in k3_bandgap_probe() 175 bgp->base = devm_ioremap_resource(dev, res); in k3_bandgap_probe() 176 if (IS_ERR(bgp->base)) in k3_bandgap_probe() 177 return PTR_ERR(bgp->base); in k3_bandgap_probe() 201 data[id].bgp = bgp; in k3_bandgap_probe() [all …]
|
/linux/Documentation/networking/devlink/ |
A D | devlink-trap.rst | 554 * - ``bgp``
|
Completed in 11 milliseconds