Lines Matching refs:nports
902 int i, maxport, pn, nports = 0, ret = 0; in qcom_swrm_stream_alloc_ports() local
931 pconfig[nports].num = pn; in qcom_swrm_stream_alloc_ports()
932 pconfig[nports].ch_mask = p_rt->ch_mask; in qcom_swrm_stream_alloc_ports()
933 nports++; in qcom_swrm_stream_alloc_ports()
949 nports, stream); in qcom_swrm_stream_alloc_ports()
952 for (i = 0; i < nports; i++) in qcom_swrm_stream_alloc_ports()
1106 int i, ret, nports, val; in qcom_swrm_get_port_config() local
1131 nports = ctrl->num_dout_ports + ctrl->num_din_ports; in qcom_swrm_get_port_config()
1137 off1, nports); in qcom_swrm_get_port_config()
1142 off2, nports); in qcom_swrm_get_port_config()
1147 si, nports); in qcom_swrm_get_port_config()
1152 bp_mode, nports); in qcom_swrm_get_port_config()
1165 of_property_read_u8_array(np, "qcom,ports-hstart", hstart, nports); in qcom_swrm_get_port_config()
1168 of_property_read_u8_array(np, "qcom,ports-hstop", hstop, nports); in qcom_swrm_get_port_config()
1171 of_property_read_u8_array(np, "qcom,ports-word-length", word_length, nports); in qcom_swrm_get_port_config()
1174 of_property_read_u8_array(np, "qcom,ports-block-group-count", blk_group_count, nports); in qcom_swrm_get_port_config()
1177 of_property_read_u8_array(np, "qcom,ports-lane-control", lane_control, nports); in qcom_swrm_get_port_config()
1179 for (i = 0; i < nports; i++) { in qcom_swrm_get_port_config()