Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/soundwire/
Dstream.c127 struct sdw_port_runtime *p_rt) in sdw_program_slave_port_params() argument
129 struct sdw_transport_params *t_params = &p_rt->transport_params; in sdw_program_slave_port_params()
130 struct sdw_port_params *p_params = &p_rt->port_params; in sdw_program_slave_port_params()
239 struct sdw_port_runtime *p_rt) in sdw_program_master_port_params() argument
250 &p_rt->transport_params, in sdw_program_master_port_params()
256 &p_rt->port_params, in sdw_program_master_port_params()
270 struct sdw_port_runtime *p_rt; in sdw_program_port_params() local
275 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params()
276 ret = sdw_program_slave_port_params(bus, s_rt, p_rt); in sdw_program_port_params()
283 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()
114 sdw_fill_xport_params(&p_rt->transport_params, p_rt->num, in sdw_compute_master_ports()
[all …]
Dqcom.c860 struct sdw_port_runtime *p_rt; in qcom_swrm_compute_params() local
867 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in qcom_swrm_compute_params()
868 pcfg = &ctrl->pconfig[p_rt->num]; in qcom_swrm_compute_params()
869 p_rt->transport_params.port_num = p_rt->num; in qcom_swrm_compute_params()
871 sdw_fill_port_params(&p_rt->port_params, in qcom_swrm_compute_params()
872 p_rt->num, pcfg->word_length + 1, in qcom_swrm_compute_params()
881 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in qcom_swrm_compute_params()
882 m_port = slave->m_port_map[p_rt->num]; in qcom_swrm_compute_params()
888 p_rt->transport_params.port_num = p_rt->num; in qcom_swrm_compute_params()
889 p_rt->transport_params.sample_interval = in qcom_swrm_compute_params()
[all …]