Home
last modified time | relevance | path

Searched refs:ctlreg (Results 1 – 4 of 4) sorted by relevance

/drivers/input/touchscreen/
Dw90p910_ts.c76 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/
Dr852.c326 dev->ctlreg &= ~(R852_CTL_DATA | R852_CTL_COMMAND | in r852_cmdctl()
330 dev->ctlreg |= R852_CTL_DATA; in r852_cmdctl()
333 dev->ctlreg |= R852_CTL_COMMAND; in r852_cmdctl()
336 dev->ctlreg |= (R852_CTL_CARDENABLE | R852_CTL_ON); in r852_cmdctl()
338 dev->ctlreg &= ~R852_CTL_WRITE; in r852_cmdctl()
342 dev->ctlreg |= R852_CTL_WRITE; in r852_cmdctl()
344 r852_write_reg(dev, R852_CTL, dev->ctlreg); in r852_cmdctl()
349 if (dat == NAND_CMD_SEQIN && (dev->ctlreg & R852_CTL_COMMAND)) { in r852_cmdctl()
350 dev->ctlreg |= R852_CTL_WRITE; in r852_cmdctl()
351 r852_write_reg(dev, R852_CTL, dev->ctlreg); in r852_cmdctl()
[all …]
Dr852.h145 uint8_t ctlreg; /* cached contents of control reg */ member
/drivers/misc/lis3lv02d/
Dlis3lv02d.c278 u8 ctlreg, reg; in lis3lv02d_selftest() local
302 ctlreg = CTRL_REG4; in lis3lv02d_selftest()
305 ctlreg = CTRL_REG1; in lis3lv02d_selftest()
312 lis3->read(lis3, ctlreg, &reg); in lis3lv02d_selftest()
313 lis3->write(lis3, ctlreg, (reg | selftest)); in lis3lv02d_selftest()
324 lis3->write(lis3, ctlreg, reg); in lis3lv02d_selftest()