Searched refs:ctlreg (Results 1 – 4 of 4) sorted by relevance
/drivers/input/touchscreen/ |
D | w90p910_ts.c | 76 unsigned long ctlreg; in w90p910_prepare_x_reading() local 79 ctlreg = __raw_readl(w90p910_ts->ts_reg); in w90p910_prepare_x_reading() 80 ctlreg &= ~(ADC_WAITTRIG | WT_INT | WT_INT_EN); in w90p910_prepare_x_reading() 81 ctlreg |= ADC_SEMIAUTO | ADC_INT_EN | ADC_CONV; in w90p910_prepare_x_reading() 82 __raw_writel(ctlreg, w90p910_ts->ts_reg); in w90p910_prepare_x_reading() 89 unsigned long ctlreg; in w90p910_prepare_y_reading() local 92 ctlreg = __raw_readl(w90p910_ts->ts_reg); in w90p910_prepare_y_reading() 93 ctlreg &= ~(ADC_WAITTRIG | ADC_INT | WT_INT_EN); in w90p910_prepare_y_reading() 94 ctlreg |= ADC_SEMIAUTO | ADC_INT_EN | ADC_CONV; in w90p910_prepare_y_reading() 95 __raw_writel(ctlreg, w90p910_ts->ts_reg); in w90p910_prepare_y_reading() [all …]
|
/drivers/mtd/nand/ |
D | r852.c | 345 dev->ctlreg &= ~(R852_CTL_DATA | R852_CTL_COMMAND | in r852_cmdctl() 349 dev->ctlreg |= R852_CTL_DATA; in r852_cmdctl() 352 dev->ctlreg |= R852_CTL_COMMAND; in r852_cmdctl() 355 dev->ctlreg |= (R852_CTL_CARDENABLE | R852_CTL_ON); in r852_cmdctl() 357 dev->ctlreg &= ~R852_CTL_WRITE; in r852_cmdctl() 361 dev->ctlreg |= R852_CTL_WRITE; in r852_cmdctl() 363 r852_write_reg(dev, R852_CTL, dev->ctlreg); in r852_cmdctl() 368 if (dat == NAND_CMD_SEQIN && (dev->ctlreg & R852_CTL_COMMAND)) { in r852_cmdctl() 369 dev->ctlreg |= R852_CTL_WRITE; in r852_cmdctl() 370 r852_write_reg(dev, R852_CTL, dev->ctlreg); in r852_cmdctl() [all …]
|
D | r852.h | 145 uint8_t ctlreg; /* cached contents of control reg */ member
|
/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 247 u8 ctlreg, reg; in lis3lv02d_selftest() local 271 ctlreg = CTRL_REG4; in lis3lv02d_selftest() 274 ctlreg = CTRL_REG1; in lis3lv02d_selftest() 281 lis3->read(lis3, ctlreg, ®); in lis3lv02d_selftest() 282 lis3->write(lis3, ctlreg, (reg | selftest)); in lis3lv02d_selftest() 293 lis3->write(lis3, ctlreg, reg); in lis3lv02d_selftest()
|