Lines Matching refs:portidx
1279 int portidx; in wcd937x_set_compander() local
1297 portidx = wcd->ch_info[mc->reg].port_num; in wcd937x_set_compander()
1300 wcd937x_connect_port(wcd, portidx, mc->reg, true); in wcd937x_set_compander()
1302 wcd937x_connect_port(wcd, portidx, mc->reg, false); in wcd937x_set_compander()
1316 int portidx; in wcd937x_get_swr_port() local
1319 portidx = wcd->ch_info[ch_idx].port_num; in wcd937x_get_swr_port()
1321 ucontrol->value.integer.value[0] = wcd->port_enable[portidx]; in wcd937x_get_swr_port()
1335 int portidx; in wcd937x_set_swr_port() local
1340 portidx = wcd->ch_info[ch_idx].port_num; in wcd937x_set_swr_port()
1344 if (enable == wcd->port_enable[portidx]) { in wcd937x_set_swr_port()
1345 wcd937x_connect_port(wcd, portidx, ch_idx, enable); in wcd937x_set_swr_port()
1349 wcd->port_enable[portidx] = enable; in wcd937x_set_swr_port()
1350 wcd937x_connect_port(wcd, portidx, ch_idx, enable); in wcd937x_set_swr_port()