Home
last modified time | relevance | path

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

/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.c313 mux = in_be32(&simple_gpio->port_config); in mpc5200_psc_ac97_gpio_reset()
314 out_be32(&simple_gpio->port_config, mux & (~gpio)); in mpc5200_psc_ac97_gpio_reset()
338 out_be32(&simple_gpio->port_config, mux); in mpc5200_psc_ac97_gpio_reset()
/arch/mips/cavium-octeon/executive/
Dcvmx-helper-spi.c117 union cvmx_pip_prt_cfgx port_config; in __cvmx_helper_spi_enable() local
118 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_spi_enable()
119 port_config.s.crc_en = 1; in __cvmx_helper_spi_enable()
120 cvmx_write_csr(CVMX_PIP_PRT_CFGX(ipd_port), port_config.u64); in __cvmx_helper_spi_enable()
Dcvmx-helper.c367 union cvmx_pip_prt_cfgx port_config; in __cvmx_helper_port_setup_ipd() local
370 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_port_setup_ipd()
374 port_config.s.qos = ipd_port & 0x7; in __cvmx_helper_port_setup_ipd()
377 port_config.s.mode = CVMX_HELPER_INPUT_PORT_SKIP_MODE; in __cvmx_helper_port_setup_ipd()
398 cvmx_pip_config_port(ipd_port, port_config, tag_config); in __cvmx_helper_port_setup_ipd()
/arch/tile/kernel/
Dpci_gx.c216 TRIO_PCIE_INTFC_PORT_CONFIG_t port_config; in tile_pcie_open() local
231 port_config.word = in tile_pcie_open()
234 if (port_config.strap_state != AUTO_CONFIG_RC && in tile_pcie_open()
235 port_config.strap_state != AUTO_CONFIG_RC_G1) { in tile_pcie_open()
240 if (port_config.strap_state == AUTO_CONFIG_EP || in tile_pcie_open()
241 port_config.strap_state == AUTO_CONFIG_EP_G1) in tile_pcie_open()
394 TRIO_PCIE_INTFC_PORT_CONFIG_t port_config; in strapped_for_rc() local
404 port_config.word = in strapped_for_rc()
407 if (port_config.strap_state == AUTO_CONFIG_RC || in strapped_for_rc()
408 port_config.strap_state == AUTO_CONFIG_RC_G1) in strapped_for_rc()
/arch/powerpc/include/asm/
Dmpc52xx.h117 u32 port_config; /* GPIO + 0x00 */ member