Lines Matching refs:num_ports
81 int num_ports; member
135 int num_ports; member
256 int num_ports; in hdac_hdmi_port_select_set() local
262 num_ports = hdac_hdmi_get_port_len(hdev, port->pin->nid); in hdac_hdmi_port_select_set()
263 if (num_ports < 0) in hdac_hdmi_port_select_set()
269 if (num_ports + 1 < port->id) in hdac_hdmi_port_select_set()
1039 int mux_index = hdmi->num_cvt + hdmi->num_ports; in hdac_hdmi_add_pinmux_cvt_route()
1042 for (i = 0; i < hdmi->num_ports; i++) { in hdac_hdmi_add_pinmux_cvt_route()
1090 ((2 * hdmi->num_ports) + hdmi->num_cvt)), in create_fill_widget_route_map()
1110 for (j = 0; j < pin->num_ports; j++) { in create_fill_widget_route_map()
1128 for (j = 0; j < pin->num_ports; j++) { in create_fill_widget_route_map()
1154 for (j = 0; j < pin->num_ports; j++) { in create_fill_widget_route_map()
1156 int src_index = sink_index + pin->num_ports * in create_fill_widget_route_map()
1169 ((2 * hdmi->num_ports) + hdmi->num_cvt)); in create_fill_widget_route_map()
1362 pin->num_ports = max_ports; in hdac_hdmi_add_ports()
1385 hdmi->num_ports += pin->num_ports; in hdac_hdmi_add_pin()
1738 for (i = 0; i < pin->num_ports; i++) { in hdac_hdmi_eld_notify_cb()
1782 kc = devm_kcalloc(component->dev, hdmi->num_ports, in create_fill_jack_kcontrols()
1789 for (j = 0; j < pin->num_ports; j++) { in create_fill_jack_kcontrols()
1825 widgets = devm_kcalloc(dapm->dev, hdmi->num_ports, in hdac_hdmi_jack_port_init()
1831 route = devm_kcalloc(dapm->dev, hdmi->num_ports, in hdac_hdmi_jack_port_init()
1838 for (j = 0; j < pin->num_ports; j++) { in hdac_hdmi_jack_port_init()
1860 ret = snd_soc_dapm_new_controls(dapm, widgets, hdmi->num_ports); in hdac_hdmi_jack_port_init()
1864 ret = snd_soc_dapm_add_routes(dapm, route, hdmi->num_ports); in hdac_hdmi_jack_port_init()
1880 for (j = 0; j < pin->num_ports; j++) in hdac_hdmi_jack_port_init()
1953 for (i = 0; i < pin->num_ports; i++) { in hdac_hdmi_present_sense_all_pins()
2219 for (i = 0; i < pin->num_ports; i++) in clear_dapm_works()