Lines Matching refs:comm_rt

62 	struct comm_runtime *comm_rt = rt->chip->comm;  in usb6fire_control_output_vol_update()  local
65 if (comm_rt) in usb6fire_control_output_vol_update()
68 comm_rt->write8(comm_rt, 0x12, 0x0f + i, in usb6fire_control_output_vol_update()
76 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_output_mute_update() local
78 if (comm_rt) in usb6fire_control_output_mute_update()
79 comm_rt->write8(comm_rt, 0x12, 0x0e, ~rt->output_mute); in usb6fire_control_output_mute_update()
84 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_input_vol_update() local
87 if (comm_rt) in usb6fire_control_input_vol_update()
90 comm_rt->write8(comm_rt, 0x12, 0x1c + i, in usb6fire_control_input_vol_update()
98 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_line_phono_update() local
99 if (comm_rt) { in usb6fire_control_line_phono_update()
100 comm_rt->write8(comm_rt, 0x22, 0x02, rt->line_phono_switch); in usb6fire_control_line_phono_update()
101 comm_rt->write8(comm_rt, 0x21, 0x02, rt->line_phono_switch); in usb6fire_control_line_phono_update()
107 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_opt_coax_update() local
108 if (comm_rt) { in usb6fire_control_opt_coax_update()
109 comm_rt->write8(comm_rt, 0x22, 0x00, rt->opt_coax_switch); in usb6fire_control_opt_coax_update()
110 comm_rt->write8(comm_rt, 0x21, 0x00, rt->opt_coax_switch); in usb6fire_control_opt_coax_update()
118 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_set_rate() local
128 ret = comm_rt->write16(comm_rt, 0x02, 0x01, rates_6fire_vl[rate], in usb6fire_control_set_rate()
141 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_set_channels() local
145 ret = comm_rt->write16(comm_rt, 0x02, 0x02, in usb6fire_control_set_channels()
153 ret = comm_rt->write16(comm_rt, 0x02, 0x03, 0x00, 0x00); in usb6fire_control_set_channels()
162 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_streaming_update() local
164 if (comm_rt) { in usb6fire_control_streaming_update()
168 return comm_rt->write16(comm_rt, 0x02, 0x00, 0x00, in usb6fire_control_streaming_update()
556 struct comm_runtime *comm_rt = chip->comm; in usb6fire_control_init() local
568 comm_rt->write8(comm_rt, init_data[i].type, init_data[i].reg, in usb6fire_control_init()