Home
last modified time | relevance | path

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

/drivers/soundwire/
A Dgeneric_bandwidth_allocation.c38 struct sdw_port_runtime *p_rt; in sdw_compute_slave_ports() local
59 p_rt->num, false, in sdw_compute_slave_ports()
67 p_rt->num, bps, in sdw_compute_slave_ports()
93 struct sdw_port_runtime *p_rt; in sdw_compute_dp0_slave_ports() local
97 sdw_fill_xport_params(&p_rt->transport_params, p_rt->num, false, in sdw_compute_dp0_slave_ports()
101 sdw_fill_port_params(&p_rt->port_params, p_rt->num, bus->params.col - 1, in sdw_compute_dp0_slave_ports()
109 struct sdw_port_runtime *p_rt; in sdw_compute_dp0_master_ports() local
113 sdw_fill_xport_params(&p_rt->transport_params, p_rt->num, false, in sdw_compute_dp0_master_ports()
117 sdw_fill_port_params(&p_rt->port_params, p_rt->num, bus->params.col - 1, in sdw_compute_dp0_master_ports()
159 sdw_fill_xport_params(&p_rt->transport_params, p_rt->num, in sdw_compute_master_ports()
[all …]
A Dstream.c459 if (p_rt->num) { in sdw_prep_deprep_slave_ports()
591 p_rt, prep); in sdw_prep_deprep_ports()
959 p_rt = kzalloc(sizeof(*p_rt), GFP_KERNEL); in sdw_port_alloc()
960 if (!p_rt) in sdw_port_alloc()
965 return p_rt; in sdw_port_alloc()
985 kfree(p_rt); in sdw_port_free()
1023 if (!p_rt) in sdw_slave_port_alloc()
1082 sdw_port_free(p_rt); in sdw_master_port_free()
1095 if (!p_rt) in sdw_master_port_alloc()
1768 if (!p_rt->lane) in _sdw_deprepare_stream()
[all …]
A Dqcom.c1080 struct sdw_port_runtime *p_rt; in qcom_swrm_compute_params() local
1088 pcfg = &ctrl->pconfig[p_rt->num]; in qcom_swrm_compute_params()
1089 p_rt->transport_params.port_num = p_rt->num; in qcom_swrm_compute_params()
1091 sdw_fill_port_params(&p_rt->port_params, in qcom_swrm_compute_params()
1102 m_port = slave->m_port_map[p_rt->num]; in qcom_swrm_compute_params()
1108 p_rt->transport_params.port_num = p_rt->num; in qcom_swrm_compute_params()
1121 p_rt->num, in qcom_swrm_compute_params()
1142 struct sdw_port_runtime *p_rt; in qcom_swrm_stream_free_ports() local
1150 clear_bit(p_rt->num, port_mask); in qcom_swrm_stream_free_ports()
1165 struct sdw_port_runtime *p_rt; in qcom_swrm_stream_alloc_ports() local
[all …]
A Damd_manager.c442 struct sdw_port_runtime *p_rt; in amd_sdw_compute_params() local
457 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in amd_sdw_compute_params()
458 port_bo = (p_rt->num * 64) + 1; in amd_sdw_compute_params()
460 p_rt->num, hstart, hstop, port_bo); in amd_sdw_compute_params()
461 sdw_fill_xport_params(&p_rt->transport_params, p_rt->num, in amd_sdw_compute_params()
464 SDW_BLK_PKG_PER_PORT, p_rt->lane); in amd_sdw_compute_params()
466 sdw_fill_port_params(&p_rt->port_params, in amd_sdw_compute_params()
467 p_rt->num, bps, in amd_sdw_compute_params()

Completed in 23 milliseconds