Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/platforms/52xx/
A 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()
A Dmedia5200.c193 u32 port_config; in media5200_setup_arch() local
214 port_config = in_be32(&gpio->port_config); in media5200_setup_arch()
216 port_config &= ~0x03000000; /* ATA CS is on csb_4/5 */ in media5200_setup_arch()
217 port_config |= 0x01000000; in media5200_setup_arch()
219 out_be32(&gpio->port_config, port_config); in media5200_setup_arch()
A 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()
/linux/drivers/gpio/
A 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()
A 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/arch/mips/cavium-octeon/executive/
A 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()
A 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()
/linux/sound/soc/qcom/qdsp6/
A 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()
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()
390 &dai_data->port_config[dai->id].hdmi); in q6afe_dai_prepare()
394 &dai_data->port_config[dai->id].slim); in q6afe_dai_prepare()
399 &dai_data->port_config[dai->id].i2s_cfg); in q6afe_dai_prepare()
408 &dai_data->port_config[dai->id].tdm); in q6afe_dai_prepare()
[all …]
/linux/sound/soc/codecs/
A 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()
A Dsdw-mockup.c83 struct sdw_port_config port_config; in sdw_mockup_pcm_hw_params() local
112 port_config.ch_mask = (1 << num_channels) - 1; in sdw_mockup_pcm_hw_params()
113 port_config.num = port; in sdw_mockup_pcm_hw_params()
116 &port_config, 1, stream->sdw_stream); in sdw_mockup_pcm_hw_params()
A Dmax98373-sdw.c536 struct sdw_port_config port_config; in max98373_sdw_dai_hw_params() local
551 port_config.num = 1; in max98373_sdw_dai_hw_params()
554 port_config.num = 3; in max98373_sdw_dai_hw_params()
563 port_config.ch_mask = max98373->rx_mask; in max98373_sdw_dai_hw_params()
571 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0); in max98373_sdw_dai_hw_params()
575 &port_config, 1, stream->sdw_stream); in max98373_sdw_dai_hw_params()
A 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()
A 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()
A 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()
A Drt715-sdca.c811 struct sdw_port_config port_config; in rt715_sdca_pcm_hw_params() local
849 port_config.ch_mask = GENMASK(num_channels - 1, 0); in rt715_sdca_pcm_hw_params()
850 port_config.num = port; in rt715_sdca_pcm_hw_params()
853 &port_config, 1, stream->sdw_stream); in rt715_sdca_pcm_hw_params()
A Drt715.c792 struct sdw_port_config port_config; in rt715_pcm_hw_params() local
828 port_config.ch_mask = (1 << (num_channels)) - 1; in rt715_pcm_hw_params()
829 port_config.num = port; in rt715_pcm_hw_params()
832 &port_config, 1, stream->sdw_stream); in rt715_pcm_hw_params()
A 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()
A Drt711.c988 struct sdw_port_config port_config; in rt711_pcm_hw_params() local
1023 port_config.ch_mask = (1 << (num_channels)) - 1; in rt711_pcm_hw_params()
1024 port_config.num = port; in rt711_pcm_hw_params()
1027 &port_config, 1, stream->sdw_stream); in rt711_pcm_hw_params()
A 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()
A Drt711-sdca.c1253 struct sdw_port_config port_config; in rt711_sdca_pcm_hw_params() local
1288 port_config.ch_mask = GENMASK(num_channels - 1, 0); in rt711_sdca_pcm_hw_params()
1289 port_config.num = port; in rt711_sdca_pcm_hw_params()
1292 &port_config, 1, stream->sdw_stream); in rt711_sdca_pcm_hw_params()
/linux/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_83xx_hw.c721 if (QLC_83XX_AUTONEG(ahw->port_config)) in qlcnic_83xx_get_port_info()
1858 config = ahw->port_config; in qlcnic_83xx_set_lb_mode()
1879 ahw->port_config); in qlcnic_83xx_set_lb_mode()
1880 ahw->port_config = config; in qlcnic_83xx_set_lb_mode()
1933 ahw->port_config); in qlcnic_83xx_clear_lb_mode()
1934 ahw->port_config = config; in qlcnic_83xx_clear_lb_mode()
3404 u32 config = adapter->ahw->port_config; in qlcnic_83xx_set_link_ksettings()
3454 ahw->port_config = config; in qlcnic_83xx_set_link_ksettings()
3714 config = ahw->port_config; in qlcnic_83xx_get_pauseparam()
3750 config = ahw->port_config; in qlcnic_83xx_set_pauseparam()
[all …]
/linux/drivers/soundwire/
A Dstream.c1196 struct sdw_port_config *port_config, in sdw_port_alloc() argument
1205 p_rt->ch_mask = port_config[port_index].ch_mask; in sdw_port_alloc()
1206 p_rt->num = port_config[port_index].num; in sdw_port_alloc()
1213 struct sdw_port_config *port_config, in sdw_master_port_config() argument
1221 p_rt = sdw_port_alloc(bus->dev, port_config, i); in sdw_master_port_config()
1238 struct sdw_port_config *port_config, in sdw_slave_port_config() argument
1246 p_rt = sdw_port_alloc(&slave->dev, port_config, i); in sdw_slave_port_config()
1282 struct sdw_port_config *port_config, in sdw_stream_add_master() argument
1316 ret = sdw_master_port_config(bus, m_rt, port_config, num_ports); in sdw_stream_add_master()
1347 struct sdw_port_config *port_config, in sdw_stream_add_slave() argument
[all …]
/linux/drivers/scsi/isci/
A DMakefile9 port_config.o \
/linux/include/linux/spi/
A Dmax7301.h13 u8 port_config[8]; /* field 0 is unused */ member
/linux/include/linux/soundwire/
A Dsdw.h1016 struct sdw_port_config *port_config,
1021 struct sdw_port_config *port_config,

Completed in 57 milliseconds

12