Home
last modified time | relevance | path

Searched refs:thrfixed (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/iio/cdc/
H A Dad7150.c137 bool thrfixed; in ad7150_read_event_config() local
147 thrfixed = FIELD_GET(AD7150_CFG_FIX, ret); in ad7150_read_event_config()
152 return !thrfixed && (threshtype == 0x1); in ad7150_read_event_config()
153 return !thrfixed && (threshtype == 0x0); in ad7150_read_event_config()
156 return !thrfixed && (threshtype == 0x3); in ad7150_read_event_config()
157 return !thrfixed && (threshtype == 0x2); in ad7150_read_event_config()
160 return thrfixed && (threshtype == 0x1); in ad7150_read_event_config()
161 return thrfixed && (threshtype == 0x0); in ad7150_read_event_config()
/kernel/linux/linux-6.6/drivers/iio/cdc/
H A Dad7150.c156 bool thrfixed; in ad7150_read_event_config() local
166 thrfixed = FIELD_GET(AD7150_CFG_FIX, ret); in ad7150_read_event_config()
171 return !thrfixed && (threshtype == AD7150_CFG_TT_POS); in ad7150_read_event_config()
172 return !thrfixed && (threshtype == AD7150_CFG_TT_NEG); in ad7150_read_event_config()
175 return thrfixed && (threshtype == AD7150_CFG_TT_POS); in ad7150_read_event_config()
176 return thrfixed && (threshtype == AD7150_CFG_TT_NEG); in ad7150_read_event_config()

Completed in 4 milliseconds