Searched refs:m_rt (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/soundwire/ |
D | stream.c | 266 static int sdw_program_port_params(struct sdw_master_runtime *m_rt) in sdw_program_port_params() argument 269 struct sdw_bus *bus = m_rt->bus; in sdw_program_port_params() 274 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_program_port_params() 283 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params() 334 static int sdw_enable_disable_master_ports(struct sdw_master_runtime *m_rt, in sdw_enable_disable_master_ports() argument 339 struct sdw_bus *bus = m_rt->bus; in sdw_enable_disable_master_ports() 375 static int sdw_enable_disable_ports(struct sdw_master_runtime *m_rt, bool en) in sdw_enable_disable_ports() argument 382 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_enable_disable_ports() 384 ret = sdw_enable_disable_slave_ports(m_rt->bus, s_rt, in sdw_enable_disable_ports() 392 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 | 858 struct sdw_master_runtime *m_rt; in qcom_swrm_compute_params() local 866 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in qcom_swrm_compute_params() 867 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in qcom_swrm_compute_params() 879 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in qcom_swrm_compute_params() 921 struct sdw_master_runtime *m_rt; in qcom_swrm_stream_free_ports() local 927 list_for_each_entry(m_rt, &stream->master_list, stream_node) { in qcom_swrm_stream_free_ports() 928 if (m_rt->direction == SDW_DATA_DIR_RX) in qcom_swrm_stream_free_ports() 933 list_for_each_entry(p_rt, &m_rt->port_list, port_node) in qcom_swrm_stream_free_ports() 947 struct sdw_master_runtime *m_rt; in qcom_swrm_stream_alloc_ports() local 956 list_for_each_entry(m_rt, &stream->master_list, stream_node) { in qcom_swrm_stream_alloc_ports() [all …]
|