Home
last modified time | relevance | path

Searched refs:portidx (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/sound/soc/codecs/
Dwsa881x.c797 int portidx = mixer->reg; in wsa881x_get_port() local
799 ucontrol->value.integer.value[0] = data->port_enable[portidx]; in wsa881x_get_port()
829 int portidx = mixer->reg; in wsa881x_set_port() local
832 if (data->port_enable[portidx]) in wsa881x_set_port()
835 data->port_enable[portidx] = true; in wsa881x_set_port()
837 if (!data->port_enable[portidx]) in wsa881x_set_port()
840 data->port_enable[portidx] = false; in wsa881x_set_port()
843 if (portidx == WSA881X_PORT_BOOST) /* Boost Switch */ in wsa881x_set_port()
844 wsa881x_boost_ctrl(comp, data->port_enable[portidx]); in wsa881x_set_port()
Dwcd938x.c2600 int portidx; in wcd938x_set_compander() local
2614 portidx = wcd->ch_info[mc->reg].port_num; in wcd938x_set_compander()
2617 wcd938x_connect_port(wcd, portidx, mc->reg, true); in wcd938x_set_compander()
2619 wcd938x_connect_port(wcd, portidx, mc->reg, false); in wcd938x_set_compander()
2898 int portidx, ch_idx = mixer->reg; in wcd938x_get_swr_port() local
2902 portidx = wcd->ch_info[ch_idx].port_num; in wcd938x_get_swr_port()
2904 ucontrol->value.integer.value[0] = wcd->port_enable[portidx]; in wcd938x_get_swr_port()
2918 int portidx; in wcd938x_set_swr_port() local
2924 portidx = wcd->ch_info[ch_idx].port_num; in wcd938x_set_swr_port()
2930 wcd->port_enable[portidx] = enable; in wcd938x_set_swr_port()
[all …]
/linux-5.19.10/sound/usb/
Dmidi.c211 int portidx, uint8_t *data, int length) in snd_usbmidi_input_data() argument
213 struct usbmidi_in_port *port = &ep->ports[portidx]; in snd_usbmidi_input_data()
216 dev_dbg(&ep->umidi->dev->dev, "unexpected port %d!\n", portidx); in snd_usbmidi_input_data()