Home
last modified time | relevance | path

Searched refs:ctrl23 (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/comedi/drivers/
Dii_pci20kc.c257 unsigned char ctrl23 = 0; in ii20k_dio_config() local
287 ctrl23 &= ~II20K_CTRL23_DIO2_IN; in ii20k_dio_config()
292 ctrl23 |= II20K_CTRL23_DIO2_IN; in ii20k_dio_config()
299 ctrl23 &= ~II20K_CTRL23_DIO3_IN; in ii20k_dio_config()
304 ctrl23 |= II20K_CTRL23_DIO3_IN; in ii20k_dio_config()
308 ctrl23 |= II20K_CTRL01_SET; in ii20k_dio_config()
309 ctrl23 |= II20K_CTRL23_SET; in ii20k_dio_config()
313 writeb(ctrl23, dev->mmio + II20K_CTRL23_REG); in ii20k_dio_config()
/Linux-v6.6/drivers/iio/adc/
Dab8500-gpadc.c396 u8 ctrl23; in ab8500_gpadc_read() local
435 ctrl23 = ch->id | AB8500_GPADC_CTRL2_AVG_1; in ab8500_gpadc_read()
438 ctrl23 = ch->id | AB8500_GPADC_CTRL2_AVG_4; in ab8500_gpadc_read()
441 ctrl23 = ch->id | AB8500_GPADC_CTRL2_AVG_8; in ab8500_gpadc_read()
444 ctrl23 = ch->id | AB8500_GPADC_CTRL2_AVG_16; in ab8500_gpadc_read()
450 AB8500_GPADC, AB8500_GPADC_CTRL3_REG, ctrl23); in ab8500_gpadc_read()
456 AB8500_GPADC, AB8500_GPADC_CTRL2_REG, ctrl23); in ab8500_gpadc_read()