Lines Matching refs:w

625 	u16 w;  in omap_i2c_xfer_msg()  local
648 w = omap_i2c_read_reg(omap, OMAP_I2C_BUF_REG); in omap_i2c_xfer_msg()
649 w |= OMAP_I2C_BUF_RXFIF_CLR | OMAP_I2C_BUF_TXFIF_CLR; in omap_i2c_xfer_msg()
650 omap_i2c_write_reg(omap, OMAP_I2C_BUF_REG, w); in omap_i2c_xfer_msg()
655 w = OMAP_I2C_CON_EN | OMAP_I2C_CON_MST | OMAP_I2C_CON_STT; in omap_i2c_xfer_msg()
659 w |= OMAP_I2C_CON_OPMODE_HS; in omap_i2c_xfer_msg()
664 w |= OMAP_I2C_CON_XA; in omap_i2c_xfer_msg()
666 w |= OMAP_I2C_CON_TRX; in omap_i2c_xfer_msg()
669 w |= OMAP_I2C_CON_STP; in omap_i2c_xfer_msg()
675 omap_i2c_write_reg(omap, OMAP_I2C_CON_REG, w); in omap_i2c_xfer_msg()
695 w |= OMAP_I2C_CON_STP; in omap_i2c_xfer_msg()
696 w &= ~OMAP_I2C_CON_STT; in omap_i2c_xfer_msg()
697 omap_i2c_write_reg(omap, OMAP_I2C_CON_REG, w); in omap_i2c_xfer_msg()
730 w = omap_i2c_read_reg(omap, OMAP_I2C_CON_REG); in omap_i2c_xfer_msg()
731 w |= OMAP_I2C_CON_STP; in omap_i2c_xfer_msg()
732 omap_i2c_write_reg(omap, OMAP_I2C_CON_REG, w); in omap_i2c_xfer_msg()
840 u16 iv, w; in omap_i2c_omap1_isr() local
862 w = omap_i2c_read_reg(omap, OMAP_I2C_DATA_REG); in omap_i2c_omap1_isr()
863 *omap->buf++ = w; in omap_i2c_omap1_isr()
866 *omap->buf++ = w >> 8; in omap_i2c_omap1_isr()
874 w = *omap->buf++; in omap_i2c_omap1_isr()
877 w |= *omap->buf++ << 8; in omap_i2c_omap1_isr()
880 omap_i2c_write_reg(omap, OMAP_I2C_DATA_REG, w); in omap_i2c_omap1_isr()
940 u16 w; in omap_i2c_receive_data() local
943 w = omap_i2c_read_reg(omap, OMAP_I2C_DATA_REG); in omap_i2c_receive_data()
944 *omap->buf++ = w; in omap_i2c_receive_data()
952 *omap->buf++ = w >> 8; in omap_i2c_receive_data()
961 u16 w; in omap_i2c_transmit_data() local
964 w = *omap->buf++; in omap_i2c_transmit_data()
972 w |= *omap->buf++ << 8; in omap_i2c_transmit_data()
984 omap_i2c_write_reg(omap, OMAP_I2C_DATA_REG, w); in omap_i2c_transmit_data()