Lines Matching full:widgets

1033 			struct snd_soc_dapm_widget *widgets,  in hdac_hdmi_add_pinmux_cvt_route()  argument
1043 kc = widgets[mux_index].kcontrol_news; in hdac_hdmi_add_pinmux_cvt_route()
1047 widgets[mux_index].name, in hdac_hdmi_add_pinmux_cvt_route()
1049 widgets[j].name, NULL); in hdac_hdmi_add_pinmux_cvt_route()
1059 * Widgets are added in the below sequence
1060 * Converter widgets for num converters enumerated
1061 * Pin-port widgets for num ports for Pins enumerated
1062 * Pin-port mux widgets to represent connenction list of pin widget
1065 * Total widgets elements = num_cvt + (num_ports * 2);
1076 struct snd_soc_dapm_widget *widgets; in create_fill_widget_route_map() local
1089 widgets = devm_kzalloc(dapm->dev, (sizeof(*widgets) * in create_fill_widget_route_map()
1093 if (!widgets) in create_fill_widget_route_map()
1096 /* DAPM widgets to represent each converter widget */ in create_fill_widget_route_map()
1099 ret = hdac_hdmi_fill_widget_info(dapm->dev, &widgets[i], in create_fill_widget_route_map()
1113 ret = hdac_hdmi_fill_widget_info(dapm->dev, &widgets[i], in create_fill_widget_route_map()
1121 pin->ports[j].output_pin = widgets[i].name; in create_fill_widget_route_map()
1126 /* DAPM widgets to represent the connection list to pin widget */ in create_fill_widget_route_map()
1132 &pin->ports[j], &widgets[i], in create_fill_widget_route_map()
1160 widgets[sink_index].name, NULL, in create_fill_widget_route_map()
1161 widgets[src_index].name, NULL); in create_fill_widget_route_map()
1166 hdac_hdmi_add_pinmux_cvt_route(hdev, widgets, route, i); in create_fill_widget_route_map()
1168 snd_soc_dapm_new_controls(dapm, widgets, in create_fill_widget_route_map()
1629 * Add one time initialization for pin and cvt widgets
1820 struct snd_soc_dapm_widget *widgets; in hdac_hdmi_jack_port_init() local
1825 widgets = devm_kcalloc(dapm->dev, hdmi->num_ports, in hdac_hdmi_jack_port_init()
1826 sizeof(*widgets), GFP_KERNEL); in hdac_hdmi_jack_port_init()
1828 if (!widgets) in hdac_hdmi_jack_port_init()
1842 ret = hdac_hdmi_fill_widget_info(dapm->dev, &widgets[i], in hdac_hdmi_jack_port_init()
1848 pin->ports[j].jack_pin = widgets[i].name; in hdac_hdmi_jack_port_init()
1860 ret = snd_soc_dapm_new_controls(dapm, widgets, hdmi->num_ports); in hdac_hdmi_jack_port_init()