Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/iio/cdc/
H A Dad7150.c136 u8 threshtype; in ad7150_read_event_config() local
144 threshtype = FIELD_GET(AD7150_THRESHTYPE_MSK, 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.c155 u8 threshtype; in ad7150_read_event_config() local
163 threshtype = FIELD_GET(AD7150_CFG_THRESHTYPE_MSK, 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 2 milliseconds