Lines Matching refs:m_rt
38 static void sdw_compute_slave_ports(struct sdw_master_runtime *m_rt, in sdw_compute_slave_ports() argument
46 struct sdw_bus_params *b_params = &m_rt->bus->params; in sdw_compute_slave_ports()
50 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_compute_slave_ports()
51 rate = m_rt->stream->params.rate; in sdw_compute_slave_ports()
52 bps = m_rt->stream->params.bps; in sdw_compute_slave_ports()
53 sample_int = (m_rt->bus->params.curr_dr_freq / rate); in sdw_compute_slave_ports()
76 if (m_rt->direction == SDW_DATA_DIR_TX && in sdw_compute_slave_ports()
77 m_rt->ch_count == slave_total_ch) { in sdw_compute_slave_ports()
89 static void sdw_compute_master_ports(struct sdw_master_runtime *m_rt, in sdw_compute_master_ports() argument
95 struct sdw_bus *bus = m_rt->bus; in sdw_compute_master_ports()
100 rate = m_rt->stream->params.rate; in sdw_compute_master_ports()
101 bps = m_rt->stream->params.bps; in sdw_compute_master_ports()
102 ch = m_rt->ch_count; in sdw_compute_master_ports()
112 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_compute_master_ports()
125 if (!(p_rt == list_first_entry(&m_rt->port_list, in sdw_compute_master_ports()
139 sdw_compute_slave_ports(m_rt, &t_data); in sdw_compute_master_ports()
145 struct sdw_master_runtime *m_rt; in _sdw_compute_port_params() local
154 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in _sdw_compute_port_params()
155 sdw_compute_master_ports(m_rt, ¶ms[i], in _sdw_compute_port_params()
158 block_offset += m_rt->ch_count * in _sdw_compute_port_params()
159 m_rt->stream->params.bps; in _sdw_compute_port_params()
171 struct sdw_master_runtime *m_rt; in sdw_compute_group_params() local
182 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_compute_group_params()
183 rate = m_rt->stream->params.rate; in sdw_compute_group_params()
184 bps = m_rt->stream->params.bps; in sdw_compute_group_params()
185 ch = m_rt->ch_count; in sdw_compute_group_params()
241 struct sdw_master_runtime *m_rt; in sdw_get_group_count() local
251 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_get_group_count()
252 rate = m_rt->stream->params.rate; in sdw_get_group_count()
253 if (m_rt == list_first_entry(&bus->m_rt_list, in sdw_get_group_count()