Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/
Dlite5200.c92 u32 port_config; in lite5200_fix_port_config() local
104 port_config = in_be32(&gpio->port_config); in lite5200_fix_port_config()
106 port_config &= ~0x00800000; /* 48Mhz internal, pin is GPIO */ in lite5200_fix_port_config()
108 port_config &= ~0x00007000; /* USB port : Differential mode */ in lite5200_fix_port_config()
109 port_config |= 0x00001000; /* USB 1 only */ in lite5200_fix_port_config()
111 port_config &= ~0x03000000; /* ATA CS is on csb_4/5 */ in lite5200_fix_port_config()
112 port_config |= 0x01000000; in lite5200_fix_port_config()
115 in_be32(&gpio->port_config), port_config); in lite5200_fix_port_config()
116 out_be32(&gpio->port_config, port_config); in lite5200_fix_port_config()
Dmedia5200.c194 u32 port_config; in media5200_setup_arch() local
217 port_config = in_be32(&gpio->port_config); in media5200_setup_arch()
219 port_config &= ~0x03000000; /* ATA CS is on csb_4/5 */ in media5200_setup_arch()
220 port_config |= 0x01000000; in media5200_setup_arch()
222 out_be32(&gpio->port_config, port_config); in media5200_setup_arch()
Dmpc52xx_common.c312 mux = in_be32(&simple_gpio->port_config); in mpc5200_psc_ac97_gpio_reset()
313 out_be32(&simple_gpio->port_config, mux & (~gpio)); in mpc5200_psc_ac97_gpio_reset()
337 out_be32(&simple_gpio->port_config, mux); in mpc5200_psc_ac97_gpio_reset()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c371 union cvmx_pip_prt_cfgx port_config; in __cvmx_helper_port_setup_ipd() local
374 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_port_setup_ipd()
378 port_config.s.qos = ipd_port & 0x7; in __cvmx_helper_port_setup_ipd()
381 port_config.s.mode = CVMX_HELPER_INPUT_PORT_SKIP_MODE; in __cvmx_helper_port_setup_ipd()
402 cvmx_pip_config_port(ipd_port, port_config, tag_config); in __cvmx_helper_port_setup_ipd()
/kernel/linux/linux-5.10/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 …]
Dqlcnic.h520 u32 port_config; member
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
Dq6afe-dai.c112 struct q6afe_port_config port_config[AFE_PORT_MAX]; member
123 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params()
153 struct q6afe_hdmi_cfg *hdmi = &dai_data->port_config[dai->id].hdmi; in q6hdmi_hw_params()
201 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_hw_params()
214 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_set_fmt()
228 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_tdm_slot()
281 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_channel_map()
341 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_hw_params()
359 struct q6afe_cdc_dma_cfg *cfg = &dai_data->port_config[dai->id].dma_cfg; in q6dma_set_channel_map()
428 struct q6afe_cdc_dma_cfg *cfg = &dai_data->port_config[dai->id].dma_cfg; in q6dma_hw_params()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dmax98373-sdw.c523 struct sdw_port_config port_config; in max98373_sdw_dai_hw_params() local
538 port_config.num = 1; in max98373_sdw_dai_hw_params()
541 port_config.num = 3; in max98373_sdw_dai_hw_params()
550 port_config.ch_mask = max98373->rx_mask; in max98373_sdw_dai_hw_params()
558 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0); in max98373_sdw_dai_hw_params()
562 &port_config, 1, stream->sdw_stream); in max98373_sdw_dai_hw_params()
Drt1308-sdw.c528 struct sdw_port_config port_config; in rt1308_sdw_hw_params() local
564 port_config.ch_mask = ch_mask; in rt1308_sdw_hw_params()
565 port_config.num = port; in rt1308_sdw_hw_params()
568 &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.c569 struct sdw_port_config port_config; in rt715_pcm_hw_params() local
605 port_config.ch_mask = (1 << (num_channels)) - 1; in rt715_pcm_hw_params()
606 port_config.num = port; in rt715_pcm_hw_params()
609 &port_config, 1, stream->sdw_stream); in rt715_pcm_hw_params()
Drt700.c898 struct sdw_port_config port_config; in rt700_pcm_hw_params() local
940 port_config.ch_mask = (1 << (num_channels)) - 1; in rt700_pcm_hw_params()
941 port_config.num = port; in rt700_pcm_hw_params()
944 &port_config, 1, stream->sdw_stream); in rt700_pcm_hw_params()
Drt711.c958 struct sdw_port_config port_config; in rt711_pcm_hw_params() local
993 port_config.ch_mask = (1 << (num_channels)) - 1; in rt711_pcm_hw_params()
994 port_config.num = port; in rt711_pcm_hw_params()
997 &port_config, 1, stream->sdw_stream); in rt711_pcm_hw_params()
Dwsa881x.c678 struct sdw_port_config port_config[WSA881X_MAX_SWR_PORTS]; member
981 wsa881x->port_config[wsa881x->active_ports] = in wsa881x_hw_params()
987 wsa881x->port_config, wsa881x->active_ports, in wsa881x_hw_params()
/kernel/linux/linux-5.10/drivers/soundwire/
Dstream.c1193 struct sdw_port_config *port_config, in sdw_port_alloc() argument
1202 p_rt->ch_mask = port_config[port_index].ch_mask; in sdw_port_alloc()
1203 p_rt->num = port_config[port_index].num; in sdw_port_alloc()
1210 struct sdw_port_config *port_config, in sdw_master_port_config() argument
1218 p_rt = sdw_port_alloc(bus->dev, port_config, i); in sdw_master_port_config()
1235 struct sdw_port_config *port_config, in sdw_slave_port_config() argument
1243 p_rt = sdw_port_alloc(&slave->dev, port_config, i); in sdw_slave_port_config()
1279 struct sdw_port_config *port_config, in sdw_stream_add_master() argument
1313 ret = sdw_master_port_config(bus, m_rt, port_config, num_ports); in sdw_stream_add_master()
1344 struct sdw_port_config *port_config, in sdw_stream_add_slave() argument
[all …]
/kernel/linux/linux-5.10/drivers/scsi/isci/
DMakefile9 port_config.o \
/kernel/linux/linux-5.10/include/linux/spi/
Dmax7301.h13 u8 port_config[8]; /* field 0 is unused */ member
/kernel/linux/linux-5.10/include/linux/soundwire/
Dsdw.h978 struct sdw_port_config *port_config,
983 struct sdw_port_config *port_config,
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmpc52xx.h117 u32 port_config; /* GPIO + 0x00 */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1798 u32 port_config; in mv643xx_eth_program_unicast_filter() local
1804 port_config = rdlp(mp, PORT_CONFIG) & ~UNICAST_PROMISCUOUS_MODE; in mv643xx_eth_program_unicast_filter()
1808 port_config |= UNICAST_PROMISCUOUS_MODE; in mv643xx_eth_program_unicast_filter()
1830 wrlp(mp, PORT_CONFIG, port_config); in mv643xx_eth_program_unicast_filter()