Lines Matching refs:i2c_write
1386 static void i2c_write(struct hw *hw, u32 device, u32 addr, u32 data) in i2c_write() function
1424 i2c_write(hw, 0x00180080, 0x01, 0x80); in hw_reset_dac()
1425 i2c_write(hw, 0x00180080, 0x02, 0x10); in hw_reset_dac()
1477 i2c_write(hw, 0x00180080, 0x06, data); in hw_dac_init()
1478 i2c_write(hw, 0x00180080, 0x09, data); in hw_dac_init()
1479 i2c_write(hw, 0x00180080, 0x0c, data); in hw_dac_init()
1480 i2c_write(hw, 0x00180080, 0x0f, data); in hw_dac_init()
1628 i2c_write(hw, 0x001a0080, 0x2a, i2c_data); in adc_input_select_SBx()
1630 i2c_write(hw, 0x001a0080, 0x1c, 0xe7); /* +12dB boost */ in adc_input_select_SBx()
1631 i2c_write(hw, 0x001a0080, 0x1e, 0xe7); /* +12dB boost */ in adc_input_select_SBx()
1633 i2c_write(hw, 0x001a0080, 0x1c, 0xcf); /* No boost */ in adc_input_select_SBx()
1634 i2c_write(hw, 0x001a0080, 0x1e, 0xcf); /* No boost */ in adc_input_select_SBx()
1673 i2c_write(hw, 0x001a0080, 0x2a, i2c_data); in adc_input_select_hendrix()
1675 i2c_write(hw, 0x001a0080, 0x1c, 0xe7); /* +12dB boost */ in adc_input_select_hendrix()
1676 i2c_write(hw, 0x001a0080, 0x1e, 0xe7); /* +12dB boost */ in adc_input_select_hendrix()
1678 i2c_write(hw, 0x001a0080, 0x1c, 0xcf); /* No boost */ in adc_input_select_hendrix()
1679 i2c_write(hw, 0x001a0080, 0x1e, 0xcf); /* No boost */ in adc_input_select_hendrix()
1747 i2c_write(hw, 0x001a0080, 0x0e, 0x08); in adc_init_SBx()
1748 i2c_write(hw, 0x001a0080, 0x18, 0x0a); in adc_init_SBx()
1749 i2c_write(hw, 0x001a0080, 0x28, 0x86); in adc_init_SBx()
1750 i2c_write(hw, 0x001a0080, 0x2a, adcdata); in adc_init_SBx()
1753 i2c_write(hw, 0x001a0080, 0x1c, 0xf7); in adc_init_SBx()
1754 i2c_write(hw, 0x001a0080, 0x1e, 0xf7); in adc_init_SBx()
1756 i2c_write(hw, 0x001a0080, 0x1c, 0xcf); in adc_init_SBx()
1757 i2c_write(hw, 0x001a0080, 0x1e, 0xcf); in adc_init_SBx()
1761 i2c_write(hw, 0x001a0080, 0x16, 0x26); in adc_init_SBx()