/linux-master/drivers/thermal/ |
H A D | k3_bandgap.c | 86 struct k3_bandgap *bgp; member in struct:k3_thermal_data 111 struct k3_bandgap *bgp; local 114 bgp = devdata->bgp; 125 s0 = readl(bgp->base + devdata->stat_offset) & 127 s1 = readl(bgp->base + devdata->stat_offset) & 129 s2 = readl(bgp->base + devdata->stat_offset) & 164 struct k3_bandgap *bgp; local 171 bgp = devm_kzalloc(&pdev->dev, sizeof(*bgp), GFP_KERNE [all...] |
H A D | k3_j72xx_bandgap.c | 185 struct k3_j72xx_bandgap *bgp; member in struct:k3_thermal_data 219 struct k3_j72xx_bandgap *bgp; local 222 bgp = devdata->bgp; 232 s0 = readl(bgp->base + devdata->stat_offset) & 234 s1 = readl(bgp->base + devdata->stat_offset) & 236 s2 = readl(bgp->base + devdata->stat_offset) & 351 struct k3_j72xx_bandgap *bgp; local 374 bgp = devm_kzalloc(&pdev->dev, sizeof(*bgp), GFP_KERNE [all...] |
/linux-master/drivers/thermal/ti-soc-thermal/ |
H A D | ti-bandgap.c | 38 static int ti_bandgap_force_single_read(struct ti_bandgap *bgp, int id); 48 * @bgp: pointer to ti_bandgap structure 54 static u32 ti_bandgap_readl(struct ti_bandgap *bgp, u32 reg) argument 56 return readl(bgp->base + reg); 61 * @bgp: pointer to ti_bandgap structure 67 static void ti_bandgap_writel(struct ti_bandgap *bgp, u32 val, u32 reg) argument 69 writel(val, bgp->base + reg); 78 #define RMW_BITS(bgp, id, reg, mask, val) \ 83 t = bgp->conf->sensors[(id)].registers; \ 84 r = ti_bandgap_readl(bgp, 102 ti_bandgap_power(struct ti_bandgap *bgp, bool on) argument 131 ti_errata814_bandgap_read_temp(struct ti_bandgap *bgp, u32 reg) argument 158 ti_bandgap_read_temp(struct ti_bandgap *bgp, int id) argument 206 struct ti_bandgap *bgp = data; local 292 ti_bandgap_adc_to_mcelsius(struct ti_bandgap *bgp, int adc_val, int *t) argument 315 ti_bandgap_validate(struct ti_bandgap *bgp, int id) argument 337 ti_bandgap_read_counter(struct ti_bandgap *bgp, int id, int *interval) argument 357 ti_bandgap_read_counter_delay(struct ti_bandgap *bgp, int id, int *interval) argument 401 ti_bandgap_read_update_interval(struct ti_bandgap *bgp, int id, int *interval) argument 434 ti_bandgap_write_counter_delay(struct ti_bandgap *bgp, int id, u32 interval) argument 476 ti_bandgap_write_counter(struct ti_bandgap *bgp, int id, u32 interval) argument 493 ti_bandgap_write_update_interval(struct ti_bandgap *bgp, int id, u32 interval) argument 524 ti_bandgap_read_temperature(struct ti_bandgap *bgp, int id, int *temperature) argument 562 ti_bandgap_set_sensor_data(struct ti_bandgap *bgp, int id, void *data) argument 581 ti_bandgap_get_sensor_data(struct ti_bandgap *bgp, int id) argument 603 ti_bandgap_force_single_read(struct ti_bandgap *bgp, int id) argument 654 ti_bandgap_set_continuous_mode(struct ti_bandgap *bgp) argument 682 ti_bandgap_get_trend(struct ti_bandgap *bgp, int id, int *trend) argument 758 ti_bandgap_tshut_init(struct ti_bandgap *bgp, struct platform_device *pdev) argument 785 ti_bandgap_talert_init(struct ti_bandgap *bgp, struct platform_device *pdev) argument 822 struct ti_bandgap *bgp; local 889 struct ti_bandgap *bgp; local 1074 struct ti_bandgap *bgp = platform_get_drvdata(pdev); local 1104 ti_bandgap_save_ctxt(struct ti_bandgap *bgp) argument 1136 ti_bandgap_restore_ctxt(struct ti_bandgap *bgp) argument 1174 struct ti_bandgap *bgp = dev_get_drvdata(dev); local 1191 struct ti_bandgap *bgp; local 1222 struct ti_bandgap *bgp = dev_get_drvdata(dev); local [all...] |
H 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); 341 int ti_bandgap_read_tcold(struct ti_bandgap *bgp, int id, int *tcold); 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, in [all...] |
H A D | ti-thermal-common.c | 34 struct ti_bandgap *bgp; member in struct:ti_thermal_data 48 dev_dbg(data->bgp->dev, "updated thermal zone %s\n", 74 struct ti_bandgap *bgp; local 82 bgp = data->bgp; 83 s = &bgp->conf->sensors[data->sensor_id]; 85 ret = ti_bandgap_read_temperature(bgp, data->sensor_id, &tmp); 102 dev_err(bgp->dev, 117 struct ti_bandgap *bgp; local 120 bgp 143 ti_thermal_build_data(struct ti_bandgap *bgp, int id) argument 162 ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain) argument 192 ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) argument 206 ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) argument 217 ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) argument 258 ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) argument [all...] |
H A D | ti-thermal.h | 42 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) argument 55 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) argument 61 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) argument 67 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) argument 73 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, in argument [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | bridge_mdb.sh | 491 filter_mode exclude source_list $src1 proto bgp 492 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "bgp" 493 check_err $? "(*, G) protocol not changed to \"bgp\" after replace" 494 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "bgp" 495 check_err $? "(S, G) protocol not changed to \"bgp\" after replace" 823 bridge mdb add dev br0 port $swp1 grp 239.1.1.5 vid 10 proto bgp 959 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10 proto bgp 963 bridge mdb flush dev br0 proto bgp
|