Searched refs:bgp (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/drivers/thermal/ti-soc-thermal/ |
D | ti-bandgap.c | 46 static int ti_bandgap_force_single_read(struct ti_bandgap *bgp, int id); 58 static u32 ti_bandgap_readl(struct ti_bandgap *bgp, u32 reg) in ti_bandgap_readl() argument 60 return readl(bgp->base + reg); in ti_bandgap_readl() 71 static void ti_bandgap_writel(struct ti_bandgap *bgp, u32 val, u32 reg) in ti_bandgap_writel() argument 73 writel(val, bgp->base + reg); in ti_bandgap_writel() 82 #define RMW_BITS(bgp, id, reg, mask, val) \ argument 87 t = bgp->conf->sensors[(id)].registers; \ 88 r = ti_bandgap_readl(bgp, t->reg); \ 91 ti_bandgap_writel(bgp, r, t->reg); \ 106 static int ti_bandgap_power(struct ti_bandgap *bgp, bool on) in ti_bandgap_power() argument [all …]
|
D | ti-thermal-common.c | 43 struct ti_bandgap *bgp; member 83 struct ti_bandgap *bgp; in __ti_thermal_get_temp() local 91 bgp = data->bgp; in __ti_thermal_get_temp() 92 s = &bgp->conf->sensors[data->sensor_id]; in __ti_thermal_get_temp() 94 ret = ti_bandgap_read_temperature(bgp, data->sensor_id, &tmp); in __ti_thermal_get_temp() 111 dev_err(bgp->dev, in __ti_thermal_get_temp() 187 struct ti_bandgap *bgp; in ti_thermal_set_mode() local 189 bgp = data->bgp; in ti_thermal_set_mode() 206 ti_bandgap_write_update_interval(bgp, data->sensor_id, in ti_thermal_set_mode() 245 struct ti_bandgap *bgp; in __ti_thermal_get_trend() local [all …]
|
D | ti-thermal.h | 87 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain); 88 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id); 89 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id); 90 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id); 91 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id); 94 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain) in ti_thermal_expose_sensor() argument 100 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor() argument 106 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature() argument 112 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling() argument 118 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling() argument
|
D | ti-bandgap.h | 281 int (*register_cooling)(struct ti_bandgap *bgp, int id); 282 int (*unregister_cooling)(struct ti_bandgap *bgp, int id); 374 int (*report_temperature)(struct ti_bandgap *bgp, int id); 375 int (*expose_sensor)(struct ti_bandgap *bgp, int id, char *domain); 376 int (*remove_sensor)(struct ti_bandgap *bgp, int id); 382 int ti_bandgap_read_thot(struct ti_bandgap *bgp, int id, int *thot); 383 int ti_bandgap_write_thot(struct ti_bandgap *bgp, int id, int val); 384 int ti_bandgap_read_tcold(struct ti_bandgap *bgp, int id, int *tcold); 385 int ti_bandgap_write_tcold(struct ti_bandgap *bgp, int id, int val); 386 int ti_bandgap_read_update_interval(struct ti_bandgap *bgp, int id, [all …]
|
/linux-4.4.14/drivers/video/fbdev/ |
D | bt431.h | 204 u16 bgp = fgc ? 0x0000 : 0xffff; in bt431_set_font() local 211 value = bgp; in bt431_set_font() 213 value = bgp; in bt431_set_font() 217 value = fgp & ~(bgp << (width % 8 << 1)); in bt431_set_font()
|