Home
last modified time | relevance | path

Searched refs:port_num (Results 1 – 6 of 6) sorted by relevance

/sound/soc/codecs/
Dwcd938x.h596 int port_num; member
602 .port_num = pn, \
Dwcd938x.c1420 u8 ch_mask, port_num; in wcd938x_sdw_connect_port() local
1422 port_num = ch_info->port_num; in wcd938x_sdw_connect_port()
1425 port_config->num = port_num; in wcd938x_sdw_connect_port()
1435 static int wcd938x_connect_port(struct wcd938x_sdw_priv *wcd, u8 port_num, u8 ch_id, u8 enable) in wcd938x_connect_port() argument
1438 &wcd->port_config[port_num - 1], in wcd938x_connect_port()
2612 portidx = wcd->ch_info[mc->reg].port_num; in wcd938x_set_compander()
2900 portidx = wcd->ch_info[ch_idx].port_num; in wcd938x_get_swr_port()
2922 portidx = wcd->ch_info[ch_idx].port_num; in wcd938x_set_swr_port()
Dwcd9335.c2987 int port_num = 0; in wcd9335_codec_enable_int_port() local
2995 port_num = ch->port - WCD9335_RX_START; in wcd9335_codec_enable_int_port()
2996 reg = WCD9335_SLIM_PGD_PORT_INT_EN0 + (port_num / 8); in wcd9335_codec_enable_int_port()
2998 port_num = ch->port; in wcd9335_codec_enable_int_port()
2999 reg = WCD9335_SLIM_PGD_PORT_INT_TX_EN0 + (port_num / 8); in wcd9335_codec_enable_int_port()
3003 if (!(val & BIT(port_num % 8))) in wcd9335_codec_enable_int_port()
3005 val | BIT(port_num % 8)); in wcd9335_codec_enable_int_port()
Dwcd934x.c4148 int port_num = 0; in wcd934x_codec_enable_int_port() local
4156 port_num = ch->port - WCD934X_RX_START; in wcd934x_codec_enable_int_port()
4157 reg = WCD934X_SLIM_PGD_PORT_INT_EN0 + (port_num / 8); in wcd934x_codec_enable_int_port()
4159 port_num = ch->port; in wcd934x_codec_enable_int_port()
4160 reg = WCD934X_SLIM_PGD_PORT_INT_TX_EN0 + (port_num / 8); in wcd934x_codec_enable_int_port()
4164 if (!(val & BIT(port_num % 8))) in wcd934x_codec_enable_int_port()
4166 val | BIT(port_num % 8)); in wcd934x_codec_enable_int_port()
/sound/pci/hda/
Dpatch_hdmi.c183 int port_num; member
2826 if (!spec->port_num) { in intel_pin2port()
2837 for (i = 0; i < spec->port_num; i++) { in intel_pin2port()
2850 if (!spec->port_num) { in intel_port2pin()
2857 if (port < 0 || port >= spec->port_num) in intel_port2pin()
2969 const int *port_map, int port_num, int dev_num, in intel_hsw_common_init() argument
2983 spec->port_num = port_num; in intel_hsw_common_init()
/sound/usb/
Dmixer_scarlett_gen2.c1427 int port_num = 0; in scarlett2_mux_id_to_num() local
1436 return port_num + id - base; in scarlett2_mux_id_to_num()
1437 port_num += count; in scarlett2_mux_id_to_num()