• Home
  • Raw
  • Download

Lines Matching refs:interval

712 				    int *interval)  in ti_bandgap_read_counter()  argument
722 *interval = time; in ti_bandgap_read_counter()
732 int *interval) in ti_bandgap_read_counter_delay() argument
744 *interval = 0; in ti_bandgap_read_counter_delay()
747 *interval = 1; in ti_bandgap_read_counter_delay()
750 *interval = 10; in ti_bandgap_read_counter_delay()
753 *interval = 100; in ti_bandgap_read_counter_delay()
756 *interval = 250; in ti_bandgap_read_counter_delay()
759 *interval = 500; in ti_bandgap_read_counter_delay()
776 int *interval) in ti_bandgap_read_update_interval() argument
791 ti_bandgap_read_counter(bgp, id, interval); in ti_bandgap_read_update_interval()
795 ti_bandgap_read_counter_delay(bgp, id, interval); in ti_bandgap_read_update_interval()
809 u32 interval) in ti_bandgap_write_counter_delay() argument
813 switch (interval) { in ti_bandgap_write_counter_delay()
833 dev_warn(bgp->dev, "Delay %d ms is not supported\n", interval); in ti_bandgap_write_counter_delay()
851 u32 interval) in ti_bandgap_write_counter() argument
853 interval = interval * bgp->clk_rate / 1000; in ti_bandgap_write_counter()
855 RMW_BITS(bgp, id, bgap_counter, counter_mask, interval); in ti_bandgap_write_counter()
868 int id, u32 interval) in ti_bandgap_write_update_interval() argument
881 ti_bandgap_write_counter(bgp, id, interval); in ti_bandgap_write_update_interval()
885 ret = ti_bandgap_write_counter_delay(bgp, id, interval); in ti_bandgap_write_update_interval()
1055 int t1, t2, interval, ret = 0; in ti_bandgap_get_trend() local
1093 ret = ti_bandgap_read_update_interval(bgp, id, &interval); in ti_bandgap_get_trend()
1098 if (interval == 0) in ti_bandgap_get_trend()
1099 interval = 1; in ti_bandgap_get_trend()
1101 *trend = (t1 - t2) / interval; in ti_bandgap_get_trend()