Lines Matching refs:m_rt
32 void sdw_compute_slave_ports(struct sdw_master_runtime *m_rt, in sdw_compute_slave_ports() argument
40 struct sdw_bus_params *b_params = &m_rt->bus->params; in sdw_compute_slave_ports()
44 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_compute_slave_ports()
45 rate = m_rt->stream->params.rate; in sdw_compute_slave_ports()
46 bps = m_rt->stream->params.bps; in sdw_compute_slave_ports()
47 sample_int = (m_rt->bus->params.curr_dr_freq / rate); in sdw_compute_slave_ports()
70 if (m_rt->direction == SDW_DATA_DIR_TX && in sdw_compute_slave_ports()
71 m_rt->ch_count == slave_total_ch) { in sdw_compute_slave_ports()
84 static void sdw_compute_master_ports(struct sdw_master_runtime *m_rt, in sdw_compute_master_ports() argument
90 struct sdw_bus *bus = m_rt->bus; in sdw_compute_master_ports()
95 rate = m_rt->stream->params.rate; in sdw_compute_master_ports()
96 bps = m_rt->stream->params.bps; in sdw_compute_master_ports()
97 ch = m_rt->ch_count; in sdw_compute_master_ports()
107 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_compute_master_ports()
120 if (!(p_rt == list_first_entry(&m_rt->port_list, in sdw_compute_master_ports()
134 sdw_compute_slave_ports(m_rt, &t_data); in sdw_compute_master_ports()
140 struct sdw_master_runtime *m_rt; in _sdw_compute_port_params() local
148 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in _sdw_compute_port_params()
149 sdw_compute_master_ports(m_rt, ¶ms[i], port_bo, hstop); in _sdw_compute_port_params()
151 port_bo += m_rt->ch_count * m_rt->stream->params.bps; in _sdw_compute_port_params()
162 struct sdw_master_runtime *m_rt; in sdw_compute_group_params() local
173 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_compute_group_params()
174 rate = m_rt->stream->params.rate; in sdw_compute_group_params()
175 bps = m_rt->stream->params.bps; in sdw_compute_group_params()
176 ch = m_rt->ch_count; in sdw_compute_group_params()
232 struct sdw_master_runtime *m_rt; in sdw_get_group_count() local
242 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_get_group_count()
243 rate = m_rt->stream->params.rate; in sdw_get_group_count()
244 if (m_rt == list_first_entry(&bus->m_rt_list, in sdw_get_group_count()