Searched refs:m_rt (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/soundwire/ |
D | stream.c | 262 static int sdw_program_port_params(struct sdw_master_runtime *m_rt) in sdw_program_port_params() argument 265 struct sdw_bus *bus = m_rt->bus; in sdw_program_port_params() 270 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_program_port_params() 279 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params() 330 static int sdw_enable_disable_master_ports(struct sdw_master_runtime *m_rt, in sdw_enable_disable_master_ports() argument 335 struct sdw_bus *bus = m_rt->bus; in sdw_enable_disable_master_ports() 371 static int sdw_enable_disable_ports(struct sdw_master_runtime *m_rt, bool en) in sdw_enable_disable_ports() argument 378 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_enable_disable_ports() 380 ret = sdw_enable_disable_slave_ports(m_rt->bus, s_rt, in sdw_enable_disable_ports() 388 list_for_each_entry(m_port, &m_rt->port_list, port_node) { in sdw_enable_disable_ports() [all …]
|
D | generic_bandwidth_allocation.c | 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() [all …]
|
D | qcom.c | 459 struct sdw_master_runtime *m_rt; in qcom_swrm_compute_params() local 465 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in qcom_swrm_compute_params() 466 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in qcom_swrm_compute_params() 475 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in qcom_swrm_compute_params() 509 struct sdw_master_runtime *m_rt; in qcom_swrm_stream_free_ports() local 515 list_for_each_entry(m_rt, &stream->master_list, stream_node) { in qcom_swrm_stream_free_ports() 516 if (m_rt->direction == SDW_DATA_DIR_RX) in qcom_swrm_stream_free_ports() 521 list_for_each_entry(p_rt, &m_rt->port_list, port_node) in qcom_swrm_stream_free_ports() 535 struct sdw_master_runtime *m_rt; in qcom_swrm_stream_alloc_ports() local 542 list_for_each_entry(m_rt, &stream->master_list, stream_node) { in qcom_swrm_stream_alloc_ports() [all …]
|