Home
last modified time | relevance | path

Searched refs:m_rt (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/soundwire/
Dstream.c266 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 …]
Dgeneric_bandwidth_allocation.c32 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()
[all …]
Dqcom.c1054 struct sdw_master_runtime *m_rt; in qcom_swrm_compute_params() local
1062 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in qcom_swrm_compute_params()
1063 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in qcom_swrm_compute_params()
1075 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in qcom_swrm_compute_params()
1117 struct sdw_master_runtime *m_rt; in qcom_swrm_stream_free_ports() local
1123 list_for_each_entry(m_rt, &stream->master_list, stream_node) { in qcom_swrm_stream_free_ports()
1124 if (m_rt->direction == SDW_DATA_DIR_RX) in qcom_swrm_stream_free_ports()
1129 list_for_each_entry(p_rt, &m_rt->port_list, port_node) in qcom_swrm_stream_free_ports()
1143 struct sdw_master_runtime *m_rt; in qcom_swrm_stream_alloc_ports() local
1152 list_for_each_entry(m_rt, &stream->master_list, stream_node) { in qcom_swrm_stream_alloc_ports()
[all …]
Damd_manager.c395 struct sdw_master_runtime *m_rt; in amd_sdw_compute_params() local
407 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in amd_sdw_compute_params()
408 rate = m_rt->stream->params.rate; in amd_sdw_compute_params()
409 bps = m_rt->stream->params.bps; in amd_sdw_compute_params()
411 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in amd_sdw_compute_params()
429 sdw_compute_slave_ports(m_rt, &t_data); in amd_sdw_compute_params()
Dbus.h211 void sdw_compute_slave_ports(struct sdw_master_runtime *m_rt,