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.c196 union cvmx_pip_prt_cfgx port_config; in __cvmx_helper_port_setup_ipd() local
199 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_port_setup_ipd()
203 port_config.s.qos = ipd_port & 0x7; in __cvmx_helper_port_setup_ipd()
206 port_config.s.mode = CVMX_HELPER_INPUT_PORT_SKIP_MODE; in __cvmx_helper_port_setup_ipd()
227 cvmx_pip_config_port(ipd_port, port_config, tag_config); in __cvmx_helper_port_setup_ipd()
/arch/tile/kernel/
Dpci_gx.c636 TRIO_PCIE_INTFC_PORT_CONFIG_t port_config; in pcibios_init() local
664 port_config.word = in pcibios_init()
668 if ((port_config.strap_state != in pcibios_init()
670 (port_config.strap_state != in pcibios_init()
676 if (port_config.strap_state == in pcibios_init()
678 port_config.strap_state == in pcibios_init()
/arch/powerpc/include/asm/
Dmpc52xx.h117 u32 port_config; /* GPIO + 0x00 */ member