Searched refs:port_config (Results 1 - 25 of 44) sorted by relevance

12

/linux-master/arch/powerpc/platforms/52xx/
H A Dlite5200.c80 * Fix setting of port_config register.
91 u32 port_config; local
103 port_config = in_be32(&gpio->port_config);
105 port_config &= ~0x00800000; /* 48Mhz internal, pin is GPIO */
107 port_config &= ~0x00007000; /* USB port : Differential mode */
108 port_config |= 0x00001000; /* USB 1 only */
110 port_config &= ~0x03000000; /* ATA CS is on csb_4/5 */
111 port_config |= 0x01000000;
113 pr_debug("port_config
[all...]
H A Dmedia5200.c197 u32 port_config; local
218 port_config = in_be32(&gpio->port_config);
220 port_config &= ~0x03000000; /* ATA CS is on csb_4/5 */
221 port_config |= 0x01000000;
223 out_be32(&gpio->port_config, port_config);
H A Dmpc52xx_common.c275 mux = in_be32(&simple_gpio->port_config);
276 out_be32(&simple_gpio->port_config, mux & (~gpio));
300 out_be32(&simple_gpio->port_config, mux);
/linux-master/include/sound/
H A Dsdw.h24 * @port_config: Port configuration for the SoundWire audio stream
35 struct sdw_port_config *port_config)
46 port_config->ch_mask = GENMASK(stream_config->ch_count - 1, 0);
32 snd_sdw_params_to_config(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct sdw_stream_config *stream_config, struct sdw_port_config *port_config) argument
/linux-master/drivers/scsi/isci/
H A DMakefile9 port_config.o \
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_phylink.c54 struct lan966x_port_config *port_config = &port->config; local
56 port_config->duplex = duplex;
57 port_config->speed = speed;
58 port_config->pause = 0;
59 port_config->pause |= tx_pause ? MLO_PAUSE_TX : 0;
60 port_config->pause |= rx_pause ? MLO_PAUSE_RX : 0;
/linux-master/include/linux/spi/
H A Dmax7301.h13 u8 port_config[8]; /* field 0 is unused */ member in struct:max7301
/linux-master/drivers/gpio/
H A Dgpio-mc33880.c38 u8 port_config; member in struct:mc33880
45 return spi_write(mc->spi, &mc->port_config, sizeof(mc->port_config));
52 mc->port_config |= 1 << offset;
54 mc->port_config &= ~(1 << offset);
110 mc->port_config = 0x00;
116 mc->port_config = 0x00;
H A Dgpio-max730x.c59 config = &ts->port_config[offset >> 2];
101 config = &ts->port_config[offset >> 2];
128 config = (ts->port_config[offset >> 2] >> ((offset & 3) << 1))
199 * initialize port_config with "0xAA", which means
204 ts->port_config[i] = 0xAA;
/linux-master/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-spi.c115 union cvmx_pip_prt_cfgx port_config; local
116 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port));
117 port_config.s.crc_en = 1;
118 cvmx_write_csr(CVMX_PIP_PRT_CFGX(ipd_port), port_config.u64);
H A Dcvmx-helper.c377 union cvmx_pip_prt_cfgx port_config; local
380 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port));
384 port_config.s.qos = ipd_port & 0x7;
387 port_config.s.mode = CVMX_HELPER_INPUT_PORT_SKIP_MODE;
408 cvmx_pip_config_port(ipd_port, port_config, tag_config);
/linux-master/sound/soc/codecs/
H A Dsdw-mockup.c62 struct sdw_port_config port_config = {0}; local
73 snd_sdw_params_to_config(substream, params, &stream_config, &port_config);
76 port_config.num = 1;
78 port_config.num = 8;
81 &port_config, 1, sdw_stream);
H A Dmax98363.c209 struct sdw_port_config port_config; local
228 port_config.num = 1;
240 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0);
243 &port_config, 1, stream);
H A Dcs42l42-sdw.c70 struct sdw_port_config port_config = {0}; local
79 snd_sdw_params_to_config(substream, params, &stream_config, &port_config);
82 port_config.num = CS42L42_SDW_PLAYBACK_PORT;
84 port_config.num = CS42L42_SDW_CAPTURE_PORT;
86 ret = sdw_stream_add_slave(cs42l42->sdw_peripheral, &stream_config, &port_config, 1,
H A Dmax98373-sdw.c523 struct sdw_port_config port_config = {0}; local
535 snd_sdw_params_to_config(substream, params, &stream_config, &port_config);
538 port_config.num = 1;
542 port_config.ch_mask = max98373->rx_mask;
545 port_config.num = 3;
549 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0);
553 &port_config, 1, sdw_stream);
H A Drt1308-sdw.c536 struct sdw_port_config port_config = {0}; local
550 snd_sdw_params_to_config(substream, params, &stream_config, &port_config);
554 port_config.num = 1;
560 port_config.ch_mask = rt1308->rx_mask;
564 &port_config, 1, sdw_stream);
H A Drt5682-sdw.c110 struct sdw_port_config port_config = {0}; local
125 snd_sdw_params_to_config(substream, params, &stream_config, &port_config);
128 port_config.num = 1;
130 port_config.num = 2;
133 &port_config, 1, sdw_stream);
H A Drt1316-sdw.c515 struct sdw_port_config port_config = {0}; local
529 snd_sdw_params_to_config(substream, params, &stream_config, &port_config);
533 port_config.num = 1;
535 port_config.num = 2;
538 &port_config, 1, sdw_stream);
H A Drt1017-sdca-sdw.c579 struct sdw_port_config port_config; local
612 port_config.ch_mask = ch_mask;
613 port_config.num = port;
620 &port_config, 1, sdw_stream);
H A Drt700.c903 struct sdw_port_config port_config = {0}; local
918 snd_sdw_params_to_config(substream, params, &stream_config, &port_config);
922 port_config.num = 1;
924 port_config.num = 2;
930 port_config.num += 2;
938 &port_config, 1, sdw_stream);
H A Drt715.c840 struct sdw_port_config port_config = {0}; local
853 snd_sdw_params_to_config(substream, params, &stream_config, &port_config);
857 port_config.num = 6;
861 port_config.num = 4;
870 &port_config, 1, sdw_stream);
H A Drt715-sdca.c810 struct sdw_port_config port_config = {0}; local
823 snd_sdw_params_to_config(substream, params, &stream_config, &port_config);
827 port_config.num = 6;
832 port_config.num = 4;
842 &port_config, 1, sdw_stream);
/linux-master/sound/soc/qcom/qdsp6/
H A Dq6afe-dai.c32 struct q6afe_port_config port_config[AFE_PORT_MAX]; member in struct:q6afe_dai_data
43 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim;
73 struct q6afe_hdmi_cfg *hdmi = &dai_data->port_config[dai->id].hdmi;
100 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg;
113 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg;
127 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm;
180 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm;
240 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm;
258 struct q6afe_cdc_dma_cfg *cfg = &dai_data->port_config[dai->id].dma_cfg;
327 struct q6afe_cdc_dma_cfg *cfg = &dai_data->port_config[da
[all...]
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.c710 if (ahw->port_config & QLC_83XX_10G_CAPABLE) {
712 } else if (ahw->port_config & QLC_83XX_10_CAPABLE ||
713 ahw->port_config & QLC_83XX_100_CAPABLE ||
714 ahw->port_config & QLC_83XX_1G_CAPABLE) {
720 if (QLC_83XX_AUTONEG(ahw->port_config))
1667 cmd.req.arg[1] = adapter->ahw->port_config;
1688 adapter->ahw->port_config = cmd.rsp.arg[1];
1857 config = ahw->port_config;
1870 ahw->port_config |= QLC_83XX_CFG_LOOPBACK_HSS;
1872 ahw->port_config |
[all...]
/linux-master/drivers/soundwire/
H A Dstream.c901 const struct sdw_port_config *port_config,
904 p_rt->ch_mask = port_config[port_index].ch_mask;
905 p_rt->num = port_config[port_index].num;
974 const struct sdw_port_config *port_config)
986 ret = sdw_slave_port_is_valid_range(&slave->dev, port_config[i].num);
990 ret = sdw_port_config(p_rt, port_config, i);
1030 const struct sdw_port_config *port_config)
1038 ret = sdw_port_config(p_rt, port_config, i);
1859 * @port_config: Port configuration for audio stream
1865 const struct sdw_port_config *port_config,
900 sdw_port_config(struct sdw_port_runtime *p_rt, const struct sdw_port_config *port_config, int port_index) argument
972 sdw_slave_port_config(struct sdw_slave *slave, struct sdw_slave_runtime *s_rt, const struct sdw_port_config *port_config) argument
1029 sdw_master_port_config(struct sdw_master_runtime *m_rt, const struct sdw_port_config *port_config) argument
1863 sdw_stream_add_master(struct sdw_bus *bus, struct sdw_stream_config *stream_config, const struct sdw_port_config *port_config, unsigned int num_ports, struct sdw_stream_runtime *stream) argument
1983 sdw_stream_add_slave(struct sdw_slave *slave, struct sdw_stream_config *stream_config, const struct sdw_port_config *port_config, unsigned int num_ports, struct sdw_stream_runtime *stream) argument
[all...]

Completed in 318 milliseconds

12