Home
last modified time | relevance | path

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

/sound/pci/ctxfi/
Dcthw20k2.c1470 unsigned int i2c_status; in hw20k2_i2c_init() local
1486 i2c_status = hw_read_20kx(hw, I2C_IF_STATUS); in hw20k2_i2c_init()
1488 set_field(&i2c_status, I2C_STATUS_DCM, 1); /* Direct control mode */ in hw20k2_i2c_init()
1490 hw_write_20kx(hw, I2C_IF_STATUS, i2c_status); in hw20k2_i2c_init()
1497 unsigned int i2c_status; in hw20k2_i2c_uninit() local
1505 i2c_status = hw_read_20kx(hw, I2C_IF_STATUS); in hw20k2_i2c_uninit()
1507 set_field(&i2c_status, I2C_STATUS_DCM, 0); /* I2C mode */ in hw20k2_i2c_uninit()
1509 hw_write_20kx(hw, I2C_IF_STATUS, i2c_status); in hw20k2_i2c_uninit()
1529 unsigned int i2c_status; in hw20k2_i2c_read() local
1531 i2c_status = hw_read_20kx(hw, I2C_IF_STATUS); in hw20k2_i2c_read()
[all …]