Searched refs:p_rt (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/drivers/soundwire/ |
D | stream.c | 126 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() 238 struct sdw_port_runtime *p_rt) in sdw_program_master_port_params() argument 249 &p_rt->transport_params, in sdw_program_master_port_params() 255 &p_rt->port_params, in sdw_program_master_port_params() 269 struct sdw_port_runtime *p_rt; in sdw_program_port_params() local 274 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params() 275 ret = sdw_program_slave_port_params(bus, s_rt, p_rt); in sdw_program_port_params() 282 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params() [all …]
|
D | generic_bandwidth_allocation.c | 42 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 …]
|
D | qcom.c | 810 struct sdw_port_runtime *p_rt; in qcom_swrm_compute_params() local 817 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in qcom_swrm_compute_params() 818 pcfg = &ctrl->pconfig[p_rt->num]; in qcom_swrm_compute_params() 819 p_rt->transport_params.port_num = p_rt->num; in qcom_swrm_compute_params() 821 sdw_fill_port_params(&p_rt->port_params, in qcom_swrm_compute_params() 822 p_rt->num, pcfg->word_length + 1, in qcom_swrm_compute_params() 831 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in qcom_swrm_compute_params() 832 m_port = slave->m_port_map[p_rt->num]; in qcom_swrm_compute_params() 838 p_rt->transport_params.port_num = p_rt->num; in qcom_swrm_compute_params() 839 p_rt->transport_params.sample_interval = in qcom_swrm_compute_params() [all …]
|