Lines Matching refs:p_rt

461 	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()
479 p_rt->transport_params.sample_interval = in qcom_swrm_compute_params()
481 p_rt->transport_params.offset1 = pcfg->off1; in qcom_swrm_compute_params()
482 p_rt->transport_params.offset2 = pcfg->off2; in qcom_swrm_compute_params()
483 p_rt->transport_params.blk_pkg_mode = pcfg->bp_mode; in qcom_swrm_compute_params()
510 struct sdw_port_runtime *p_rt; in qcom_swrm_stream_free_ports() local
521 list_for_each_entry(p_rt, &m_rt->port_list, port_node) in qcom_swrm_stream_free_ports()
522 clear_bit(p_rt->num - 1, port_mask); in qcom_swrm_stream_free_ports()
537 struct sdw_port_runtime *p_rt; in qcom_swrm_stream_alloc_ports() local
552 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in qcom_swrm_stream_alloc_ports()
562 pconfig[nports].ch_mask = p_rt->ch_mask; in qcom_swrm_stream_alloc_ports()