Lines Matching refs:interval
90 int interval; /* in msecs */ member
117 data->interval = 63; in lm95245_read_conversion_rate()
120 data->interval = 364; in lm95245_read_conversion_rate()
123 data->interval = 1000; in lm95245_read_conversion_rate()
127 data->interval = 2500; in lm95245_read_conversion_rate()
133 static int lm95245_set_conversion_rate(struct lm95245_data *data, long interval) in lm95245_set_conversion_rate() argument
137 if (interval <= 63) { in lm95245_set_conversion_rate()
138 interval = 63; in lm95245_set_conversion_rate()
140 } else if (interval <= 364) { in lm95245_set_conversion_rate()
141 interval = 364; in lm95245_set_conversion_rate()
143 } else if (interval <= 1000) { in lm95245_set_conversion_rate()
144 interval = 1000; in lm95245_set_conversion_rate()
147 interval = 2500; in lm95245_set_conversion_rate()
155 data->interval = interval; in lm95245_set_conversion_rate()
344 *val = data->interval; in lm95245_read_chip()