Home
last modified time | relevance | path

Searched refs:port_config (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.1.9/arch/powerpc/platforms/52xx/
Dlite5200.c91 u32 port_config; in lite5200_fix_port_config() local
103 port_config = in_be32(&gpio->port_config); in lite5200_fix_port_config()
105 port_config &= ~0x00800000; /* 48Mhz internal, pin is GPIO */ in lite5200_fix_port_config()
107 port_config &= ~0x00007000; /* USB port : Differential mode */ in lite5200_fix_port_config()
108 port_config |= 0x00001000; /* USB 1 only */ in lite5200_fix_port_config()
110 port_config &= ~0x03000000; /* ATA CS is on csb_4/5 */ in lite5200_fix_port_config()
111 port_config |= 0x01000000; in lite5200_fix_port_config()
114 in_be32(&gpio->port_config), port_config); in lite5200_fix_port_config()
115 out_be32(&gpio->port_config, port_config); in lite5200_fix_port_config()
Dmedia5200.c197 u32 port_config; in media5200_setup_arch() local
218 port_config = in_be32(&gpio->port_config); in media5200_setup_arch()
220 port_config &= ~0x03000000; /* ATA CS is on csb_4/5 */ in media5200_setup_arch()
221 port_config |= 0x01000000; in media5200_setup_arch()
223 out_be32(&gpio->port_config, port_config); in media5200_setup_arch()
Dmpc52xx_common.c275 mux = in_be32(&simple_gpio->port_config); in mpc5200_psc_ac97_gpio_reset()
276 out_be32(&simple_gpio->port_config, mux & (~gpio)); in mpc5200_psc_ac97_gpio_reset()
300 out_be32(&simple_gpio->port_config, mux); in mpc5200_psc_ac97_gpio_reset()
/linux-6.1.9/drivers/gpio/
Dgpio-mc33880.c38 u8 port_config; member
45 return spi_write(mc->spi, &mc->port_config, sizeof(mc->port_config)); in mc33880_write_config()
52 mc->port_config |= 1 << offset; in __mc33880_set()
54 mc->port_config &= ~(1 << offset); in __mc33880_set()
110 mc->port_config = 0x00; in mc33880_probe()
116 mc->port_config = 0x00; in mc33880_probe()
Dgpio-max730x.c59 config = &ts->port_config[offset >> 2]; in max7301_direction_input()
101 config = &ts->port_config[offset >> 2]; in max7301_direction_output()
128 config = (ts->port_config[offset >> 2] >> ((offset & 3) << 1)) in max7301_get()
204 ts->port_config[i] = 0xAA; in __max730x_probe()
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_phylink.c55 struct lan966x_port_config *port_config = &port->config; in lan966x_phylink_mac_link_up() local
57 port_config->duplex = duplex; in lan966x_phylink_mac_link_up()
58 port_config->speed = speed; in lan966x_phylink_mac_link_up()
59 port_config->pause = 0; in lan966x_phylink_mac_link_up()
60 port_config->pause |= tx_pause ? MLO_PAUSE_TX : 0; in lan966x_phylink_mac_link_up()
61 port_config->pause |= rx_pause ? MLO_PAUSE_RX : 0; in lan966x_phylink_mac_link_up()
/linux-6.1.9/arch/mips/cavium-octeon/executive/
Dcvmx-helper-spi.c115 union cvmx_pip_prt_cfgx port_config; in __cvmx_helper_spi_enable() local
116 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_spi_enable()
117 port_config.s.crc_en = 1; in __cvmx_helper_spi_enable()
118 cvmx_write_csr(CVMX_PIP_PRT_CFGX(ipd_port), port_config.u64); in __cvmx_helper_spi_enable()
Dcvmx-helper.c377 union cvmx_pip_prt_cfgx port_config; in __cvmx_helper_port_setup_ipd() local
380 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_port_setup_ipd()
384 port_config.s.qos = ipd_port & 0x7; in __cvmx_helper_port_setup_ipd()
387 port_config.s.mode = CVMX_HELPER_INPUT_PORT_SKIP_MODE; in __cvmx_helper_port_setup_ipd()
408 cvmx_pip_config_port(ipd_port, port_config, tag_config); in __cvmx_helper_port_setup_ipd()
/linux-6.1.9/sound/soc/qcom/qdsp6/
Dq6afe-dai.c30 struct q6afe_port_config port_config[AFE_PORT_MAX]; member
41 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params()
71 struct q6afe_hdmi_cfg *hdmi = &dai_data->port_config[dai->id].hdmi; in q6hdmi_hw_params()
119 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_hw_params()
132 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_set_fmt()
146 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_tdm_slot()
199 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_channel_map()
259 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_hw_params()
277 struct q6afe_cdc_dma_cfg *cfg = &dai_data->port_config[dai->id].dma_cfg; in q6dma_set_channel_map()
346 struct q6afe_cdc_dma_cfg *cfg = &dai_data->port_config[dai->id].dma_cfg; in q6dma_hw_params()
[all …]
/linux-6.1.9/sound/soc/codecs/
Dwcd938x-sdw.c107 struct sdw_port_config port_config[WCD938X_MAX_SWR_PORTS]; in wcd938x_sdw_hw_params() local
114 ch_mask = wcd->port_config[i].ch_mask; in wcd938x_sdw_hw_params()
122 port_config[wcd->active_ports] = wcd->port_config[i]; in wcd938x_sdw_hw_params()
136 &port_config[0], wcd->active_ports, in wcd938x_sdw_hw_params()
Dsdw-mockup.c84 struct sdw_port_config port_config; in sdw_mockup_pcm_hw_params() local
113 port_config.ch_mask = (1 << num_channels) - 1; in sdw_mockup_pcm_hw_params()
114 port_config.num = port; in sdw_mockup_pcm_hw_params()
117 &port_config, 1, stream->sdw_stream); in sdw_mockup_pcm_hw_params()
Dmax98373-sdw.c538 struct sdw_port_config port_config; in max98373_sdw_dai_hw_params() local
553 port_config.num = 1; in max98373_sdw_dai_hw_params()
556 port_config.num = 3; in max98373_sdw_dai_hw_params()
565 port_config.ch_mask = max98373->rx_mask; in max98373_sdw_dai_hw_params()
573 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0); in max98373_sdw_dai_hw_params()
577 &port_config, 1, stream->sdw_stream); in max98373_sdw_dai_hw_params()
Drt1316-sdw.c523 struct sdw_port_config port_config; in rt1316_sdw_hw_params() local
555 port_config.ch_mask = ch_mask; in rt1316_sdw_hw_params()
556 port_config.num = port; in rt1316_sdw_hw_params()
559 &port_config, 1, stream->sdw_stream); in rt1316_sdw_hw_params()
Drt1308-sdw.c546 struct sdw_port_config port_config; in rt1308_sdw_hw_params() local
582 port_config.ch_mask = ch_mask; in rt1308_sdw_hw_params()
583 port_config.num = port; in rt1308_sdw_hw_params()
586 &port_config, 1, stream->sdw_stream); in rt1308_sdw_hw_params()
Drt5682-sdw.c134 struct sdw_port_config port_config; in rt5682_sdw_hw_params() local
164 port_config.ch_mask = (1 << (num_channels)) - 1; in rt5682_sdw_hw_params()
165 port_config.num = port; in rt5682_sdw_hw_params()
168 &port_config, 1, stream->sdw_stream); in rt5682_sdw_hw_params()
Drt715-sdca.c824 struct sdw_port_config port_config; in rt715_sdca_pcm_hw_params() local
862 port_config.ch_mask = GENMASK(num_channels - 1, 0); in rt715_sdca_pcm_hw_params()
863 port_config.num = port; in rt715_sdca_pcm_hw_params()
866 &port_config, 1, stream->sdw_stream); in rt715_sdca_pcm_hw_params()
Drt715.c805 struct sdw_port_config port_config; in rt715_pcm_hw_params() local
841 port_config.ch_mask = (1 << (num_channels)) - 1; in rt715_pcm_hw_params()
842 port_config.num = port; in rt715_pcm_hw_params()
845 &port_config, 1, stream->sdw_stream); in rt715_pcm_hw_params()
Drt700.c914 struct sdw_port_config port_config; in rt700_pcm_hw_params() local
956 port_config.ch_mask = (1 << (num_channels)) - 1; in rt700_pcm_hw_params()
957 port_config.num = port; in rt700_pcm_hw_params()
960 &port_config, 1, stream->sdw_stream); in rt700_pcm_hw_params()
Drt711.c1003 struct sdw_port_config port_config; in rt711_pcm_hw_params() local
1038 port_config.ch_mask = (1 << (num_channels)) - 1; in rt711_pcm_hw_params()
1039 port_config.num = port; in rt711_pcm_hw_params()
1042 &port_config, 1, stream->sdw_stream); in rt711_pcm_hw_params()
Dwsa881x.c680 struct sdw_port_config port_config[WSA881X_MAX_SWR_PORTS]; member
990 wsa881x->port_config[wsa881x->active_ports] = in wsa881x_hw_params()
996 wsa881x->port_config, wsa881x->active_ports, in wsa881x_hw_params()
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.c711 if (ahw->port_config & QLC_83XX_10G_CAPABLE) { in qlcnic_83xx_get_port_info()
713 } else if (ahw->port_config & QLC_83XX_10_CAPABLE || in qlcnic_83xx_get_port_info()
714 ahw->port_config & QLC_83XX_100_CAPABLE || in qlcnic_83xx_get_port_info()
715 ahw->port_config & QLC_83XX_1G_CAPABLE) { in qlcnic_83xx_get_port_info()
721 if (QLC_83XX_AUTONEG(ahw->port_config)) in qlcnic_83xx_get_port_info()
1668 cmd.req.arg[1] = adapter->ahw->port_config; in qlcnic_83xx_set_port_config()
1689 adapter->ahw->port_config = cmd.rsp.arg[1]; in qlcnic_83xx_get_port_config()
1858 config = ahw->port_config; in qlcnic_83xx_set_lb_mode()
1871 ahw->port_config |= QLC_83XX_CFG_LOOPBACK_HSS; in qlcnic_83xx_set_lb_mode()
1873 ahw->port_config |= QLC_83XX_CFG_LOOPBACK_EXT; in qlcnic_83xx_set_lb_mode()
[all …]
/linux-6.1.9/drivers/soundwire/
Dstream.c900 struct sdw_port_config *port_config, in sdw_port_config() argument
903 p_rt->ch_mask = port_config[port_index].ch_mask; in sdw_port_config()
904 p_rt->num = port_config[port_index].num; in sdw_port_config()
973 struct sdw_port_config *port_config) in sdw_slave_port_config() argument
985 ret = sdw_slave_port_is_valid_range(&slave->dev, port_config[i].num); in sdw_slave_port_config()
989 ret = sdw_port_config(p_rt, port_config, i); in sdw_slave_port_config()
1029 struct sdw_port_config *port_config) in sdw_master_port_config() argument
1037 ret = sdw_port_config(p_rt, port_config, i); in sdw_master_port_config()
1862 struct sdw_port_config *port_config, in sdw_stream_add_master() argument
1921 ret = sdw_master_port_config(m_rt, port_config); in sdw_stream_add_master()
[all …]
/linux-6.1.9/drivers/scsi/isci/
DMakefile9 port_config.o \
/linux-6.1.9/include/linux/spi/
Dmax7301.h13 u8 port_config[8]; /* field 0 is unused */ member
/linux-6.1.9/include/linux/soundwire/
Dsdw.h1021 struct sdw_port_config *port_config,
1026 struct sdw_port_config *port_config,

12