Searched refs:cs4245_shadow (Results 1 – 3 of 3) sorted by relevance
64 packet |= data->cs4245_shadow[reg]; in cs4245_write_spi()95 data->cs4245_shadow[addr] = oxygen_read8(chip, OXYGEN_SPI_DATA1); in cs4245_read_spi()106 for (addr = 1; addr < ARRAY_SIZE(data->cs4245_shadow); addr++) { in cs4245_shadow_control()128 data->cs4245_shadow[CS4245_POWER_CTRL] = 0; in cs4245_init()129 data->cs4245_shadow[CS4245_SIGNAL_SEL] = in cs4245_init()131 data->cs4245_shadow[CS4245_DAC_CTRL_1] = in cs4245_init()133 data->cs4245_shadow[CS4245_DAC_CTRL_2] = in cs4245_init()135 data->cs4245_shadow[CS4245_ADC_CTRL] = in cs4245_init()137 data->cs4245_shadow[CS4245_ANALOG_IN] = in cs4245_init()139 data->cs4245_shadow[CS4245_PGA_B_CTRL] = 0; in cs4245_init()[all …]
26 data->cs4245_shadow[CS4245_SIGNAL_SEL] &= ~CS4245_A_OUT_SEL_MASK; in output_select_apply()36 data->cs4245_shadow[CS4245_SIGNAL_SEL] |= CS4245_A_OUT_SEL_DAC; in output_select_apply()112 tmp = (~data->cs4245_shadow[CS4245_DAC_A_CTRL]) & 255; in hp_stereo_volume_get()114 tmp = (~data->cs4245_shadow[CS4245_DAC_B_CTRL]) & 255; in hp_stereo_volume_get()134 if ((data->cs4245_shadow[CS4245_DAC_A_CTRL] != ~new1) || in hp_stereo_volume_put()135 (data->cs4245_shadow[CS4245_DAC_B_CTRL] != ~new2)) { in hp_stereo_volume_put()136 data->cs4245_shadow[CS4245_DAC_A_CTRL] = ~new1; in hp_stereo_volume_put()137 data->cs4245_shadow[CS4245_DAC_B_CTRL] = ~new2; in hp_stereo_volume_put()158 !(data->cs4245_shadow[CS4245_DAC_CTRL_1] & CS4245_MUTE_DAC); in hp_mute_get()174 data->cs4245_shadow[CS4245_DAC_CTRL_1] &= ~CS4245_MUTE_DAC; in hp_mute_put()[all …]
29 unsigned char cs4245_shadow[17]; member