Home
last modified time | relevance | path

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

/linux/drivers/soundwire/
H A Dgeneric_bandwidth_allocation.c33 void sdw_compute_slave_ports(struct sdw_master_runtime *m_rt, in sdw_compute_slave_ports() argument
41 struct sdw_bus_params *b_params = &m_rt->bus->params; in sdw_compute_slave_ports()
45 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_compute_slave_ports()
46 rate = m_rt->stream->params.rate; in sdw_compute_slave_ports()
47 bps = m_rt->stream->params.bps; in sdw_compute_slave_ports()
48 sample_int = (m_rt->bus->params.curr_dr_freq / rate); in sdw_compute_slave_ports()
74 if (m_rt->direction == SDW_DATA_DIR_TX && in sdw_compute_slave_ports()
75 m_rt->ch_count == slave_total_ch) { in sdw_compute_slave_ports()
88 static void sdw_compute_dp0_slave_ports(struct sdw_master_runtime *m_rt) in sdw_compute_dp0_slave_ports() argument
90 struct sdw_bus *bus = m_rt->bus; in sdw_compute_dp0_slave_ports()
[all …]
H A Dstream.c280 * @m_rt: Master stream runtime
282 static int sdw_program_port_params(struct sdw_master_runtime *m_rt) in sdw_program_port_params() argument
285 struct sdw_bus *bus = m_rt->bus; in sdw_program_port_params()
290 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_program_port_params()
299 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params()
350 static int sdw_enable_disable_master_ports(struct sdw_master_runtime *m_rt, in sdw_enable_disable_master_ports() argument
355 struct sdw_bus *bus = m_rt->bus; in sdw_enable_disable_master_ports()
388 * @m_rt: Master stream runtime
391 static int sdw_enable_disable_ports(struct sdw_master_runtime *m_rt, bool en) in sdw_enable_disable_ports() argument
398 list_for_each_entry(s_rt, &m_rt in sdw_enable_disable_ports()
551 sdw_prep_deprep_master_ports(struct sdw_master_runtime * m_rt,struct sdw_port_runtime * p_rt,bool prep) sdw_prep_deprep_master_ports() argument
586 sdw_prep_deprep_ports(struct sdw_master_runtime * m_rt,bool prep) sdw_prep_deprep_ports() argument
620 sdw_notify_config(struct sdw_master_runtime * m_rt) sdw_notify_config() argument
668 struct sdw_master_runtime *m_rt; sdw_program_params() local
859 struct sdw_master_runtime *m_rt; do_bank_switch() local
1009 struct sdw_master_runtime *m_rt; sdw_slave_port_free() local
1093 sdw_master_port_allocated(struct sdw_master_runtime * m_rt) sdw_master_port_allocated() argument
1098 sdw_master_port_free(struct sdw_master_runtime * m_rt) sdw_master_port_free() argument
1107 sdw_master_port_alloc(struct sdw_master_runtime * m_rt,unsigned int num_ports) sdw_master_port_alloc() argument
1123 sdw_master_port_config(struct sdw_master_runtime * m_rt,const struct sdw_port_config * port_config) sdw_master_port_config() argument
1151 sdw_slave_rt_alloc(struct sdw_slave * slave,struct sdw_master_runtime * m_rt) sdw_slave_rt_alloc() argument
1188 struct sdw_master_runtime *m_rt; sdw_slave_rt_find() local
1225 struct sdw_master_runtime *m_rt; sdw_master_rt_find() local
1248 struct sdw_master_runtime *m_rt, *walk_m_rt; sdw_master_rt_alloc() local
1308 sdw_master_rt_config(struct sdw_master_runtime * m_rt,struct sdw_stream_config * stream_config) sdw_master_rt_config() argument
1328 sdw_master_rt_free(struct sdw_master_runtime * m_rt,struct sdw_stream_runtime * stream) sdw_master_rt_free() argument
1442 struct sdw_master_runtime *m_rt; sdw_acquire_bus_lock() local
1464 struct sdw_master_runtime *m_rt; sdw_release_bus_lock() local
1477 struct sdw_master_runtime *m_rt; _sdw_prepare_stream() local
1599 struct sdw_master_runtime *m_rt; _sdw_enable_stream() local
1674 struct sdw_master_runtime *m_rt; _sdw_disable_stream() local
1761 struct sdw_master_runtime *m_rt; _sdw_deprepare_stream() local
2018 struct sdw_master_runtime *m_rt; sdw_stream_add_master() local
2102 struct sdw_master_runtime *m_rt, *_m_rt; sdw_stream_remove_master() local
2145 struct sdw_master_runtime *m_rt; sdw_stream_add_slave() local
[all...]
H A Dqcom.c1221 struct sdw_master_runtime *m_rt; in qcom_swrm_stream_free_ports()
1229 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in qcom_swrm_stream_free_ports()
1230 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in qcom_swrm_stream_free_ports()
1242 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in qcom_swrm_stream_alloc_ports()
1284 struct sdw_master_runtime *m_rt; in qcom_swrm_stream_alloc_ports()
1290 list_for_each_entry(m_rt, &stream->master_list, stream_node) { in qcom_swrm_stream_alloc_ports()
1292 list_for_each_entry(p_rt, &m_rt->port_list, port_node) in qcom_swrm_stream_alloc_ports()
1305 struct sdw_master_runtime *m_rt; in qcom_swrm_hw_params()
1330 list_for_each_entry(m_rt, &stream->master_list, stream_node) { in qcom_swrm_hw_free()
1337 if (ctrl->bus.id != m_rt in qcom_swrm_set_sdw_stream()
1155 struct sdw_master_runtime *m_rt; qcom_swrm_compute_params() local
1218 struct sdw_master_runtime *m_rt; qcom_swrm_stream_free_ports() local
1239 struct sdw_master_runtime *m_rt; qcom_swrm_stream_alloc_ports() local
[all...]
H A Dbus.h242 void sdw_compute_slave_ports(struct sdw_master_runtime *m_rt,