Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/codecs/
Dwsa881x.c795 int portidx = mixer->reg; in wsa881x_get_port() local
797 ucontrol->value.integer.value[0] = data->port_enable[portidx]; in wsa881x_get_port()
827 int portidx = mixer->reg; in wsa881x_set_port() local
830 if (data->port_enable[portidx]) in wsa881x_set_port()
833 data->port_enable[portidx] = true; in wsa881x_set_port()
835 if (!data->port_enable[portidx]) in wsa881x_set_port()
838 data->port_enable[portidx] = false; in wsa881x_set_port()
841 if (portidx == WSA881X_PORT_BOOST) /* Boost Switch */ in wsa881x_set_port()
842 wsa881x_boost_ctrl(comp, data->port_enable[portidx]); in wsa881x_set_port()
Dwsa883x.c1114 int portidx = mixer->reg; in wsa883x_get_swr_port() local
1116 ucontrol->value.integer.value[0] = data->port_enable[portidx]; in wsa883x_get_swr_port()
1127 int portidx = mixer->reg; in wsa883x_set_swr_port() local
1130 if (data->port_enable[portidx]) in wsa883x_set_swr_port()
1133 data->port_enable[portidx] = true; in wsa883x_set_swr_port()
1135 if (!data->port_enable[portidx]) in wsa883x_set_swr_port()
1138 data->port_enable[portidx] = false; in wsa883x_set_swr_port()
Dwcd938x.c2599 int portidx; in wcd938x_set_compander() local
2613 portidx = wcd->ch_info[mc->reg].port_num; in wcd938x_set_compander()
2616 wcd938x_connect_port(wcd, portidx, mc->reg, true); in wcd938x_set_compander()
2618 wcd938x_connect_port(wcd, portidx, mc->reg, false); in wcd938x_set_compander()
2897 int portidx, ch_idx = mixer->reg; in wcd938x_get_swr_port() local
2901 portidx = wcd->ch_info[ch_idx].port_num; in wcd938x_get_swr_port()
2903 ucontrol->value.integer.value[0] = wcd->port_enable[portidx]; in wcd938x_get_swr_port()
2917 int portidx; in wcd938x_set_swr_port() local
2923 portidx = wcd->ch_info[ch_idx].port_num; in wcd938x_set_swr_port()
2929 wcd->port_enable[portidx] = enable; in wcd938x_set_swr_port()
[all …]
/linux-6.1.9/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()