Lines Matching refs:cache

39 	} cache;  member
126 conf = IDT821034_MODE_CODEC(ch) | idt821034->cache.codec_conf; in idt821034_set_channel_power()
131 idt821034->cache.ch[ch].rx_slot); in idt821034_set_channel_power()
138 idt821034->cache.ch[ch].tx_slot); in idt821034_set_channel_power()
148 idt821034->cache.ch[ch].power = power; in idt821034_set_channel_power()
155 return idt821034->cache.ch[ch].power; in idt821034_get_channel_power()
180 if (idt821034->cache.ch[0].power & IDT821034_CONF_PWRUP_RX) { in idt821034_set_codec_conf()
182 ts = idt821034->cache.ch[0].rx_slot; in idt821034_set_codec_conf()
183 } else if (idt821034->cache.ch[0].power & IDT821034_CONF_PWRUP_TX) { in idt821034_set_codec_conf()
185 ts = idt821034->cache.ch[0].tx_slot; in idt821034_set_codec_conf()
195 idt821034->cache.codec_conf = codec_conf; in idt821034_set_codec_conf()
201 return idt821034->cache.codec_conf; in idt821034_get_codec_conf()
215 conf = IDT821034_MODE_CODEC(ch) | idt821034->cache.codec_conf; in idt821034_set_channel_ts()
218 if (idt821034->cache.ch[ch].power & IDT821034_CONF_PWRUP_RX) { in idt821034_set_channel_ts()
225 idt821034->cache.ch[ch].rx_slot = ts_num; in idt821034_set_channel_ts()
228 if (idt821034->cache.ch[ch].power & IDT821034_CONF_PWRUP_TX) { in idt821034_set_channel_ts()
235 idt821034->cache.ch[ch].tx_slot = ts_num; in idt821034_set_channel_ts()
253 ret = idt821034_2x8bit_write(idt821034, conf, idt821034->cache.ch[ch].slic_control); in idt821034_set_slic_conf()
257 idt821034->cache.ch[ch].slic_conf = slic_dir; in idt821034_set_slic_conf()
264 return idt821034->cache.ch[ch].slic_conf; in idt821034_get_slic_conf()
283 conf = IDT821034_MODE_SLIC(ch) | idt821034->cache.ch[ch].slic_conf; in idt821034_write_slic_raw()
288 idt821034->cache.ch[ch].slic_control = slic_raw; in idt821034_write_slic_raw()
294 return idt821034->cache.ch[ch].slic_control; in idt821034_get_written_slic_raw()
314 val = IDT821034_MODE_SLIC(ch) | idt821034->cache.ch[ch].slic_conf; in idt821034_read_slic_raw()
319 ret = idt821034_8bit_read(idt821034, idt821034->cache.ch[ch].slic_control, slic_raw); in idt821034_read_slic_raw()