Home
last modified time | relevance | path

Searched refs:p_rt (Results 1 – 3 of 3) sorted by relevance

/drivers/soundwire/
Dstream.c126 struct sdw_port_runtime *p_rt) in sdw_program_slave_port_params() argument
128 struct sdw_transport_params *t_params = &p_rt->transport_params; in sdw_program_slave_port_params()
129 struct sdw_port_params *p_params = &p_rt->port_params; in sdw_program_slave_port_params()
235 struct sdw_port_runtime *p_rt) in sdw_program_master_port_params() argument
246 &p_rt->transport_params, in sdw_program_master_port_params()
252 &p_rt->port_params, in sdw_program_master_port_params()
266 struct sdw_port_runtime *p_rt; in sdw_program_port_params() local
271 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params()
272 ret = sdw_program_slave_port_params(bus, s_rt, p_rt); in sdw_program_port_params()
279 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params()
[all …]
Dgeneric_bandwidth_allocation.c42 struct sdw_port_runtime *p_rt; in sdw_compute_slave_ports() local
56 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_compute_slave_ports()
57 ch = sdw_ch_mask_to_ch(p_rt->ch_mask); in sdw_compute_slave_ports()
59 sdw_fill_xport_params(&p_rt->transport_params, in sdw_compute_slave_ports()
60 p_rt->num, false, in sdw_compute_slave_ports()
67 sdw_fill_port_params(&p_rt->port_params, in sdw_compute_slave_ports()
68 p_rt->num, bps, in sdw_compute_slave_ports()
94 struct sdw_port_runtime *p_rt; in sdw_compute_master_ports() local
112 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_compute_master_ports()
113 no_ch = sdw_ch_mask_to_ch(p_rt->ch_mask); in sdw_compute_master_ports()
[all …]
Dqcom.c461 struct sdw_port_runtime *p_rt; in qcom_swrm_compute_params() local
466 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in qcom_swrm_compute_params()
467 pcfg = &ctrl->pconfig[p_rt->num - 1]; in qcom_swrm_compute_params()
468 p_rt->transport_params.port_num = p_rt->num; in qcom_swrm_compute_params()
469 p_rt->transport_params.sample_interval = pcfg->si + 1; in qcom_swrm_compute_params()
470 p_rt->transport_params.offset1 = pcfg->off1; in qcom_swrm_compute_params()
471 p_rt->transport_params.offset2 = pcfg->off2; in qcom_swrm_compute_params()
472 p_rt->transport_params.blk_pkg_mode = pcfg->bp_mode; in qcom_swrm_compute_params()
476 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in qcom_swrm_compute_params()
478 p_rt->transport_params.port_num = p_rt->num; in qcom_swrm_compute_params()
[all …]