• Home
  • Raw
  • Download

Lines Matching defs:bgp

54 static u32 ti_bandgap_readl(struct ti_bandgap *bgp, u32 reg)  in ti_bandgap_readl()
67 static void ti_bandgap_writel(struct ti_bandgap *bgp, u32 val, u32 reg) in ti_bandgap_writel()
78 #define RMW_BITS(bgp, id, reg, mask, val) \ argument
102 static int ti_bandgap_power(struct ti_bandgap *bgp, bool on) in ti_bandgap_power()
131 static u32 ti_errata814_bandgap_read_temp(struct ti_bandgap *bgp, u32 reg) in ti_errata814_bandgap_read_temp()
158 static u32 ti_bandgap_read_temp(struct ti_bandgap *bgp, int id) in ti_bandgap_read_temp()
206 struct ti_bandgap *bgp = data; in ti_bandgap_talert_irq_handler() local
292 int ti_bandgap_adc_to_mcelsius(struct ti_bandgap *bgp, int adc_val, int *t) in ti_bandgap_adc_to_mcelsius()
315 static inline int ti_bandgap_validate(struct ti_bandgap *bgp, int id) in ti_bandgap_validate()
337 static void ti_bandgap_read_counter(struct ti_bandgap *bgp, int id, in ti_bandgap_read_counter()
357 static void ti_bandgap_read_counter_delay(struct ti_bandgap *bgp, int id, in ti_bandgap_read_counter_delay()
401 int ti_bandgap_read_update_interval(struct ti_bandgap *bgp, int id, in ti_bandgap_read_update_interval()
434 static int ti_bandgap_write_counter_delay(struct ti_bandgap *bgp, int id, in ti_bandgap_write_counter_delay()
476 static void ti_bandgap_write_counter(struct ti_bandgap *bgp, int id, in ti_bandgap_write_counter()
493 int ti_bandgap_write_update_interval(struct ti_bandgap *bgp, in ti_bandgap_write_update_interval()
524 int ti_bandgap_read_temperature(struct ti_bandgap *bgp, int id, in ti_bandgap_read_temperature()
562 int ti_bandgap_set_sensor_data(struct ti_bandgap *bgp, int id, void *data) in ti_bandgap_set_sensor_data()
581 void *ti_bandgap_get_sensor_data(struct ti_bandgap *bgp, int id) in ti_bandgap_get_sensor_data()
603 ti_bandgap_force_single_read(struct ti_bandgap *bgp, int id) in ti_bandgap_force_single_read()
654 static int ti_bandgap_set_continuous_mode(struct ti_bandgap *bgp) in ti_bandgap_set_continuous_mode()
682 int ti_bandgap_get_trend(struct ti_bandgap *bgp, int id, int *trend) in ti_bandgap_get_trend()
758 static int ti_bandgap_tshut_init(struct ti_bandgap *bgp, in ti_bandgap_tshut_init()
785 static int ti_bandgap_talert_init(struct ti_bandgap *bgp, in ti_bandgap_talert_init()
822 struct ti_bandgap *bgp; in ti_bandgap_build() local
889 struct ti_bandgap *bgp; in ti_bandgap_probe() local
1074 struct ti_bandgap *bgp = platform_get_drvdata(pdev); in ti_bandgap_remove() local
1106 static int ti_bandgap_save_ctxt(struct ti_bandgap *bgp) in ti_bandgap_save_ctxt()
1138 static int ti_bandgap_restore_ctxt(struct ti_bandgap *bgp) in ti_bandgap_restore_ctxt()
1176 struct ti_bandgap *bgp = dev_get_drvdata(dev); in ti_bandgap_suspend() local
1193 struct ti_bandgap *bgp; in bandgap_omap_cpu_notifier() local
1224 struct ti_bandgap *bgp = dev_get_drvdata(dev); in ti_bandgap_resume() local