Home
last modified time | relevance | path

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

/linux/drivers/soundwire/
H A Dgeneric_bandwidth_allocation.c34 void sdw_compute_slave_ports(struct sdw_master_runtime *m_rt, in sdw_compute_slave_ports() argument
42 struct sdw_bus_params *b_params = &m_rt->bus->params; in sdw_compute_slave_ports()
46 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_compute_slave_ports()
47 rate = m_rt->stream->params.rate; in sdw_compute_slave_ports()
48 bps = m_rt->stream->params.bps; in sdw_compute_slave_ports()
49 sample_int = (m_rt->bus->params.curr_dr_freq / rate); in sdw_compute_slave_ports()
75 if (m_rt->direction == SDW_DATA_DIR_TX && in sdw_compute_slave_ports()
76 m_rt->ch_count == slave_total_ch) { in sdw_compute_slave_ports()
89 static void sdw_compute_dp0_slave_ports(struct sdw_master_runtime *m_rt) in sdw_compute_dp0_slave_ports() argument
91 struct sdw_bus *bus = m_rt in sdw_compute_dp0_slave_ports()
107 sdw_compute_dp0_master_ports(struct sdw_master_runtime * m_rt) sdw_compute_dp0_master_ports() argument
124 struct sdw_master_runtime *m_rt; sdw_compute_dp0_port_params() local
132 sdw_compute_master_ports(struct sdw_master_runtime * m_rt,struct sdw_group_params * params,int * port_bo,int hstop) sdw_compute_master_ports() argument
191 struct sdw_master_runtime *m_rt; _sdw_compute_port_params() local
227 struct sdw_master_runtime *m_rt; sdw_compute_group_params() local
338 struct sdw_master_runtime *m_rt; sdw_get_group_count() local
450 struct sdw_master_runtime *m_rt; is_clock_scaling_supported() local
468 is_lane_connected_to_all_peripherals(struct sdw_master_runtime * m_rt,unsigned int lane) is_lane_connected_to_all_peripherals() argument
492 get_manager_lane(struct sdw_bus * bus,struct sdw_master_runtime * m_rt,struct sdw_slave_runtime * s_rt,unsigned int curr_dr_freq) get_manager_lane() argument
548 struct sdw_master_runtime *m_rt; sdw_compute_bus_params() local
[all...]
H A Dstream.c278 * @m_rt: Master stream runtime
280 static int sdw_program_port_params(struct sdw_master_runtime *m_rt) in sdw_program_port_params() argument
283 struct sdw_bus *bus = m_rt->bus; in sdw_program_port_params()
288 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_program_port_params()
297 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params()
348 static int sdw_enable_disable_master_ports(struct sdw_master_runtime *m_rt, in sdw_enable_disable_master_ports() argument
353 struct sdw_bus *bus = m_rt->bus; in sdw_enable_disable_master_ports()
386 * @m_rt: Master stream runtime
389 static int sdw_enable_disable_ports(struct sdw_master_runtime *m_rt, bool en) in sdw_enable_disable_ports() argument
396 list_for_each_entry(s_rt, &m_rt in sdw_enable_disable_ports()
546 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
581 sdw_prep_deprep_ports(struct sdw_master_runtime * m_rt,bool prep) sdw_prep_deprep_ports() argument
615 sdw_notify_config(struct sdw_master_runtime * m_rt) sdw_notify_config() argument
663 struct sdw_master_runtime *m_rt; sdw_program_params() local
847 struct sdw_master_runtime *m_rt; do_bank_switch() local
997 struct sdw_master_runtime *m_rt; sdw_slave_port_free() local
1072 sdw_master_port_allocated(struct sdw_master_runtime * m_rt) sdw_master_port_allocated() argument
1077 sdw_master_port_free(struct sdw_master_runtime * m_rt) sdw_master_port_free() argument
1086 sdw_master_port_alloc(struct sdw_master_runtime * m_rt,unsigned int num_ports) sdw_master_port_alloc() argument
1102 sdw_master_port_config(struct sdw_master_runtime * m_rt,const struct sdw_port_config * port_config) sdw_master_port_config() argument
1130 sdw_slave_rt_alloc(struct sdw_slave * slave,struct sdw_master_runtime * m_rt) sdw_slave_rt_alloc() argument
1167 struct sdw_master_runtime *m_rt; sdw_slave_rt_find() local
1204 struct sdw_master_runtime *m_rt; sdw_master_rt_find() local
1227 struct sdw_master_runtime *m_rt, *walk_m_rt; sdw_master_rt_alloc() local
1287 sdw_master_rt_config(struct sdw_master_runtime * m_rt,struct sdw_stream_config * stream_config) sdw_master_rt_config() argument
1307 sdw_master_rt_free(struct sdw_master_runtime * m_rt,struct sdw_stream_runtime * stream) sdw_master_rt_free() argument
1421 struct sdw_master_runtime *m_rt; sdw_acquire_bus_lock() local
1443 struct sdw_master_runtime *m_rt; sdw_release_bus_lock() local
1456 struct sdw_master_runtime *m_rt; _sdw_prepare_stream() local
1578 struct sdw_master_runtime *m_rt; _sdw_enable_stream() local
1653 struct sdw_master_runtime *m_rt; _sdw_disable_stream() local
1740 struct sdw_master_runtime *m_rt; _sdw_deprepare_stream() local
1997 struct sdw_master_runtime *m_rt; sdw_stream_add_master() local
2081 struct sdw_master_runtime *m_rt, *_m_rt; sdw_stream_remove_master() local
2124 struct sdw_master_runtime *m_rt; sdw_stream_add_slave() local
[all...]
H A Dqcom.c1078 struct sdw_master_runtime *m_rt; in qcom_swrm_compute_params() local
1086 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in qcom_swrm_compute_params()
1087 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in qcom_swrm_compute_params()
1099 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in qcom_swrm_compute_params()
1141 struct sdw_master_runtime *m_rt; in qcom_swrm_stream_free_ports() local
1147 list_for_each_entry(m_rt, &stream->master_list, stream_node) { in qcom_swrm_stream_free_ports()
1149 list_for_each_entry(p_rt, &m_rt->port_list, port_node) in qcom_swrm_stream_free_ports()
1163 struct sdw_master_runtime *m_rt; in qcom_swrm_stream_alloc_ports() local
1183 list_for_each_entry(m_rt, &stream->master_list, stream_node) { in qcom_swrm_stream_alloc_ports()
1190 if (ctrl->bus.id != m_rt in qcom_swrm_stream_alloc_ports()
[all...]
H A Damd_manager.c441 struct sdw_master_runtime *m_rt; in amd_sdw_compute_params() local
453 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in amd_sdw_compute_params()
454 rate = m_rt->stream->params.rate; in amd_sdw_compute_params()
455 bps = m_rt->stream->params.bps; in amd_sdw_compute_params()
457 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in amd_sdw_compute_params()
475 sdw_compute_slave_ports(m_rt, &t_data); in amd_sdw_compute_params()
H A Dbus.h232 void sdw_compute_slave_ports(struct sdw_master_runtime *m_rt,