Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/52xx/
Dlite5200.c95 u32 port_config; in lite5200_fix_port_config() local
107 port_config = in_be32(&gpio->port_config); in lite5200_fix_port_config()
109 port_config &= ~0x00800000; /* 48Mhz internal, pin is GPIO */ in lite5200_fix_port_config()
111 port_config &= ~0x00007000; /* USB port : Differential mode */ in lite5200_fix_port_config()
112 port_config |= 0x00001000; /* USB 1 only */ in lite5200_fix_port_config()
114 port_config &= ~0x03000000; /* ATA CS is on csb_4/5 */ in lite5200_fix_port_config()
115 port_config |= 0x01000000; in lite5200_fix_port_config()
118 in_be32(&gpio->port_config), port_config); in lite5200_fix_port_config()
119 out_be32(&gpio->port_config, port_config); in lite5200_fix_port_config()
Dmedia5200.c199 u32 port_config; in media5200_setup_arch() local
222 port_config = in_be32(&gpio->port_config); in media5200_setup_arch()
224 port_config &= ~0x03000000; /* ATA CS is on csb_4/5 */ in media5200_setup_arch()
225 port_config |= 0x01000000; in media5200_setup_arch()
227 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()
/Linux-v4.19/drivers/gpio/
Dgpio-mc33880.c50 u8 port_config; member
57 return spi_write(mc->spi, &mc->port_config, sizeof(mc->port_config)); in mc33880_write_config()
64 mc->port_config |= 1 << offset; in __mc33880_set()
66 mc->port_config &= ~(1 << offset); in __mc33880_set()
122 mc->port_config = 0x00; in mc33880_probe()
128 mc->port_config = 0x00; in mc33880_probe()
Dgpio-max730x.c62 config = &ts->port_config[offset >> 2]; in max7301_direction_input()
104 config = &ts->port_config[offset >> 2]; in max7301_direction_output()
131 config = (ts->port_config[offset >> 2] >> ((offset & 3) << 1)) in max7301_get()
211 ts->port_config[i] = 0xAA; in __max730x_probe()
/Linux-v4.19/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.c406 union cvmx_pip_prt_cfgx port_config; in __cvmx_helper_port_setup_ipd() local
409 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_port_setup_ipd()
413 port_config.s.qos = ipd_port & 0x7; in __cvmx_helper_port_setup_ipd()
416 port_config.s.mode = CVMX_HELPER_INPUT_PORT_SKIP_MODE; in __cvmx_helper_port_setup_ipd()
437 cvmx_pip_config_port(ipd_port, port_config, tag_config); in __cvmx_helper_port_setup_ipd()
/Linux-v4.19/sound/soc/qcom/qdsp6/
Dq6afe-dai.c70 struct q6afe_port_config port_config[AFE_PORT_MAX]; member
81 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params()
111 struct q6afe_hdmi_cfg *hdmi = &dai_data->port_config[dai->id].hdmi; in q6hdmi_hw_params()
159 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_hw_params()
172 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_set_fmt()
186 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_tdm_slot()
239 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_channel_map()
299 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_hw_params()
345 &dai_data->port_config[dai->id].hdmi); in q6afe_dai_prepare()
349 &dai_data->port_config[dai->id].slim); in q6afe_dai_prepare()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.c713 if (ahw->port_config & QLC_83XX_10G_CAPABLE) { in qlcnic_83xx_get_port_info()
715 } else if (ahw->port_config & QLC_83XX_10_CAPABLE || in qlcnic_83xx_get_port_info()
716 ahw->port_config & QLC_83XX_100_CAPABLE || in qlcnic_83xx_get_port_info()
717 ahw->port_config & QLC_83XX_1G_CAPABLE) { in qlcnic_83xx_get_port_info()
723 if (QLC_83XX_AUTONEG(ahw->port_config)) in qlcnic_83xx_get_port_info()
1664 cmd.req.arg[1] = adapter->ahw->port_config; in qlcnic_83xx_set_port_config()
1685 adapter->ahw->port_config = cmd.rsp.arg[1]; in qlcnic_83xx_get_port_config()
1854 config = ahw->port_config; in qlcnic_83xx_set_lb_mode()
1867 ahw->port_config |= QLC_83XX_CFG_LOOPBACK_HSS; in qlcnic_83xx_set_lb_mode()
1869 ahw->port_config |= QLC_83XX_CFG_LOOPBACK_EXT; in qlcnic_83xx_set_lb_mode()
[all …]
Dqlcnic.h521 u32 port_config; member
/Linux-v4.19/drivers/soundwire/
Dstream.c1015 struct sdw_port_config *port_config, in sdw_port_alloc() argument
1024 p_rt->ch_mask = port_config[port_index].ch_mask; in sdw_port_alloc()
1025 p_rt->num = port_config[port_index].num; in sdw_port_alloc()
1032 struct sdw_port_config *port_config, in sdw_master_port_config() argument
1040 p_rt = sdw_port_alloc(bus->dev, port_config, i); in sdw_master_port_config()
1057 struct sdw_port_config *port_config, in sdw_slave_port_config() argument
1065 p_rt = sdw_port_alloc(&slave->dev, port_config, i); in sdw_slave_port_config()
1101 struct sdw_port_config *port_config, in sdw_stream_add_master() argument
1123 ret = sdw_master_port_config(bus, m_rt, port_config, num_ports); in sdw_stream_add_master()
1152 struct sdw_port_config *port_config, in sdw_stream_add_slave() argument
[all …]
/Linux-v4.19/drivers/scsi/isci/
DMakefile9 port_config.o \
/Linux-v4.19/include/linux/spi/
Dmax7301.h13 u8 port_config[8]; /* field 0 is unused */ member
/Linux-v4.19/include/linux/soundwire/
Dsdw.h785 struct sdw_port_config *port_config,
790 struct sdw_port_config *port_config,
/Linux-v4.19/arch/powerpc/include/asm/
Dmpc52xx.h117 u32 port_config; /* GPIO + 0x00 */ member
/Linux-v4.19/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1822 u32 port_config; in mv643xx_eth_program_unicast_filter() local
1828 port_config = rdlp(mp, PORT_CONFIG) & ~UNICAST_PROMISCUOUS_MODE; in mv643xx_eth_program_unicast_filter()
1832 port_config |= UNICAST_PROMISCUOUS_MODE; in mv643xx_eth_program_unicast_filter()
1854 wrlp(mp, PORT_CONFIG, port_config); in mv643xx_eth_program_unicast_filter()