Lines Matching refs:t_params

63 					  struct sdw_transport_params *t_params,  in _sdw_program_slave_port_params()  argument
71 addr1 = SDW_DPN_OFFSETCTRL2_B1(t_params->port_num); in _sdw_program_slave_port_params()
72 addr2 = SDW_DPN_BLOCKCTRL3_B1(t_params->port_num); in _sdw_program_slave_port_params()
73 addr3 = SDW_DPN_SAMPLECTRL2_B1(t_params->port_num); in _sdw_program_slave_port_params()
74 addr4 = SDW_DPN_HCTRL_B1(t_params->port_num); in _sdw_program_slave_port_params()
76 addr1 = SDW_DPN_OFFSETCTRL2_B0(t_params->port_num); in _sdw_program_slave_port_params()
77 addr2 = SDW_DPN_BLOCKCTRL3_B0(t_params->port_num); in _sdw_program_slave_port_params()
78 addr3 = SDW_DPN_SAMPLECTRL2_B0(t_params->port_num); in _sdw_program_slave_port_params()
79 addr4 = SDW_DPN_HCTRL_B0(t_params->port_num); in _sdw_program_slave_port_params()
83 ret = sdw_write(slave, addr1, t_params->offset2); in _sdw_program_slave_port_params()
90 ret = sdw_write(slave, addr2, t_params->blk_pkg_mode); in _sdw_program_slave_port_params()
105 wbuf = FIELD_GET(SDW_DPN_SAMPLECTRL_HIGH, t_params->sample_interval - 1); in _sdw_program_slave_port_params()
114 wbuf = FIELD_PREP(SDW_DPN_HCTRL_HSTART, t_params->hstart); in _sdw_program_slave_port_params()
115 wbuf |= FIELD_PREP(SDW_DPN_HCTRL_HSTOP, t_params->hstop); in _sdw_program_slave_port_params()
128 struct sdw_transport_params *t_params = &p_rt->transport_params; in sdw_program_slave_port_params() local
141 t_params->port_num); in sdw_program_slave_port_params()
145 addr1 = SDW_DPN_PORTCTRL(t_params->port_num); in sdw_program_slave_port_params()
146 addr2 = SDW_DPN_BLOCKCTRL1(t_params->port_num); in sdw_program_slave_port_params()
149 addr3 = SDW_DPN_SAMPLECTRL1_B1(t_params->port_num); in sdw_program_slave_port_params()
150 addr4 = SDW_DPN_OFFSETCTRL1_B1(t_params->port_num); in sdw_program_slave_port_params()
151 addr5 = SDW_DPN_BLOCKCTRL2_B1(t_params->port_num); in sdw_program_slave_port_params()
152 addr6 = SDW_DPN_LANECTRL_B1(t_params->port_num); in sdw_program_slave_port_params()
155 addr3 = SDW_DPN_SAMPLECTRL1_B0(t_params->port_num); in sdw_program_slave_port_params()
156 addr4 = SDW_DPN_OFFSETCTRL1_B0(t_params->port_num); in sdw_program_slave_port_params()
157 addr5 = SDW_DPN_BLOCKCTRL2_B0(t_params->port_num); in sdw_program_slave_port_params()
158 addr6 = SDW_DPN_LANECTRL_B0(t_params->port_num); in sdw_program_slave_port_params()
169 t_params->port_num); in sdw_program_slave_port_params()
179 t_params->port_num); in sdw_program_slave_port_params()
185 wbuf = (t_params->sample_interval - 1) & SDW_DPN_SAMPLECTRL_LOW; in sdw_program_slave_port_params()
190 t_params->port_num); in sdw_program_slave_port_params()
195 ret = sdw_write(s_rt->slave, addr4, t_params->offset1); in sdw_program_slave_port_params()
199 t_params->port_num); in sdw_program_slave_port_params()
204 if (t_params->blk_grp_ctrl_valid) { in sdw_program_slave_port_params()
205 ret = sdw_write(s_rt->slave, addr5, t_params->blk_grp_ctrl); in sdw_program_slave_port_params()
209 t_params->port_num); in sdw_program_slave_port_params()
216 ret = sdw_write(s_rt->slave, addr6, t_params->lane_ctrl); in sdw_program_slave_port_params()
220 t_params->port_num); in sdw_program_slave_port_params()
227 t_params, dpn_prop->type); in sdw_program_slave_port_params()
231 t_params->port_num); in sdw_program_slave_port_params()
307 struct sdw_transport_params *t_params = &p_rt->transport_params; in sdw_enable_disable_slave_ports() local
328 ret, t_params->port_num); in sdw_enable_disable_slave_ports()
337 struct sdw_transport_params *t_params = &p_rt->transport_params; in sdw_enable_disable_master_ports() local
354 ret, t_params->port_num); in sdw_enable_disable_master_ports()
511 struct sdw_transport_params *t_params = &p_rt->transport_params; in sdw_prep_deprep_master_ports() local
527 t_params->port_num); in sdw_prep_deprep_master_ports()