Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/ti-soc-thermal/
H A Dti-bandgap.c248 bgp->conf->report_temperature(bgp, i); in ti_bandgap_talert_irq_handler()
833 if (!bgp) in ti_bandgap_build()
870 return 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 …]
H A Dti-thermal-common.c34 struct ti_bandgap *bgp; member
74 struct ti_bandgap *bgp; in __ti_thermal_get_temp() local
82 bgp = data->bgp; in __ti_thermal_get_temp()
83 s = &bgp->conf->sensors[data->sensor_id]; in __ti_thermal_get_temp()
102 dev_err(bgp->dev, in __ti_thermal_get_temp()
117 struct ti_bandgap *bgp; in __ti_thermal_get_trend() local
120 bgp = data->bgp; in __ti_thermal_get_trend()
149 dev_err(bgp->dev, "kzalloc fail\n"); in ti_thermal_build_data()
153 data->bgp = bgp; in ti_thermal_build_data()
170 data = ti_thermal_build_data(bgp, id); in ti_thermal_expose_sensor()
[all …]
H A Dti-thermal.h42 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain);
43 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id);
44 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id);
45 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id);
46 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id);
49 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain) in ti_thermal_expose_sensor() argument
55 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor() argument
61 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature() argument
67 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling() argument
73 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling() argument
H A Dti-bandgap.h239 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 …]
/openbmc/linux/drivers/thermal/
H A Dk3_bandgap.c87 struct k3_bandgap *bgp; member
112 struct k3_bandgap *bgp; in k3_bgp_read_temp() local
115 bgp = devdata->bgp; in k3_bgp_read_temp()
126 s0 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
165 struct k3_bandgap *bgp; in k3_bandgap_probe() local
172 bgp = devm_kzalloc(&pdev->dev, sizeof(*bgp), GFP_KERNEL); in k3_bandgap_probe()
173 if (!bgp) in k3_bandgap_probe()
177 bgp->base = devm_ioremap_resource(dev, res); in k3_bandgap_probe()
178 if (IS_ERR(bgp->base)) in k3_bandgap_probe()
179 return PTR_ERR(bgp->base); in k3_bandgap_probe()
[all …]
H A Dk3_j72xx_bandgap.c185 struct k3_j72xx_bandgap *bgp; member
219 struct k3_j72xx_bandgap *bgp; in k3_bgp_read_temp() local
222 bgp = devdata->bgp; in k3_bgp_read_temp()
351 struct k3_j72xx_bandgap *bgp; in k3_j72xx_bandgap_probe() local
374 bgp = devm_kzalloc(&pdev->dev, sizeof(*bgp), GFP_KERNEL); in k3_j72xx_bandgap_probe()
375 if (!bgp) in k3_j72xx_bandgap_probe()
378 bgp->dev = dev; in k3_j72xx_bandgap_probe()
381 if (IS_ERR(bgp->base)) in k3_j72xx_bandgap_probe()
382 return PTR_ERR(bgp->base); in k3_j72xx_bandgap_probe()
386 if (IS_ERR(bgp->cfg2_base)) in k3_j72xx_bandgap_probe()
[all …]
/openbmc/u-boot/drivers/thermal/
H A Dti-bandgap.c163 struct ti_bandgap *bgp = dev_get_priv(dev); in ti_bandgap_get_temp() local
165 bgp->temperature = 0x3ff & readl(bgp->base + CTRL_CORE_TEMP_SENSOR_MPU); in ti_bandgap_get_temp()
166 *temp = dra752_adc_to_temp[bgp->temperature - DRA752_ADC_START_VALUE]; in ti_bandgap_get_temp()
177 struct ti_bandgap *bgp = dev_get_priv(dev); in ti_bandgap_probe() local
179 bgp->base = devfdt_get_addr_index(dev, 1); in ti_bandgap_probe()
/openbmc/linux/Documentation/networking/devlink/
H A Ddevlink-trap.rst564 * - ``bgp``
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_mdb.sh491 filter_mode exclude source_list $src1 proto bgp
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dbridge_mdb.sh491 filter_mode exclude source_list $src1 proto bgp