Lines Matching refs:route
701 static void hdac_hdmi_fill_route(struct snd_soc_dapm_route *route, in hdac_hdmi_fill_route() argument
706 route->sink = sink; in hdac_hdmi_fill_route()
707 route->source = src; in hdac_hdmi_fill_route()
708 route->control = control; in hdac_hdmi_fill_route()
709 route->connected = handler; in hdac_hdmi_fill_route()
1026 struct snd_soc_dapm_route *route, int rindex) in hdac_hdmi_add_pinmux_cvt_route() argument
1038 hdac_hdmi_fill_route(&route[rindex], in hdac_hdmi_add_pinmux_cvt_route()
1069 struct snd_soc_dapm_route *route; in create_fill_widget_route_map() local
1138 route = devm_kzalloc(dapm->dev, (sizeof(*route) * num_routes), in create_fill_widget_route_map()
1140 if (!route) in create_fill_widget_route_map()
1151 hdac_hdmi_fill_route(&route[i], in create_fill_widget_route_map()
1158 hdac_hdmi_add_pinmux_cvt_route(hdev, widgets, route, i); in create_fill_widget_route_map()
1163 snd_soc_dapm_add_routes(dapm, route, num_routes); in create_fill_widget_route_map()
1814 struct snd_soc_dapm_route *route; in hdac_hdmi_jack_port_init() local
1824 route = devm_kcalloc(dapm->dev, hdmi->num_ports, in hdac_hdmi_jack_port_init()
1825 sizeof(*route), GFP_KERNEL); in hdac_hdmi_jack_port_init()
1826 if (!route) in hdac_hdmi_jack_port_init()
1845 hdac_hdmi_fill_route(&route[i], pin->ports[j].jack_pin, in hdac_hdmi_jack_port_init()
1857 ret = snd_soc_dapm_add_routes(dapm, route, hdmi->num_ports); in hdac_hdmi_jack_port_init()