Searched refs:port_config (Results 1 – 7 of 7) sorted by relevance
95 u32 port_config; in lite5200_fix_port_config() local107 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()
199 u32 port_config; in media5200_setup_arch() local222 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()
313 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()
117 union cvmx_pip_prt_cfgx port_config; in __cvmx_helper_spi_enable() local118 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()
365 union cvmx_pip_prt_cfgx port_config; in __cvmx_helper_port_setup_ipd() local368 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_port_setup_ipd()372 port_config.s.qos = ipd_port & 0x7; in __cvmx_helper_port_setup_ipd()375 port_config.s.mode = CVMX_HELPER_INPUT_PORT_SKIP_MODE; in __cvmx_helper_port_setup_ipd()396 cvmx_pip_config_port(ipd_port, port_config, tag_config); in __cvmx_helper_port_setup_ipd()
217 TRIO_PCIE_INTFC_PORT_CONFIG_t port_config; in tile_pcie_open() local232 port_config.word = in tile_pcie_open()235 if (port_config.strap_state != AUTO_CONFIG_RC && in tile_pcie_open()236 port_config.strap_state != AUTO_CONFIG_RC_G1) { in tile_pcie_open()241 if (port_config.strap_state == AUTO_CONFIG_EP || in tile_pcie_open()242 port_config.strap_state == AUTO_CONFIG_EP_G1) in tile_pcie_open()395 TRIO_PCIE_INTFC_PORT_CONFIG_t port_config; in strapped_for_rc() local405 port_config.word = in strapped_for_rc()408 if (port_config.strap_state == AUTO_CONFIG_RC || in strapped_for_rc()409 port_config.strap_state == AUTO_CONFIG_RC_G1) in strapped_for_rc()
117 u32 port_config; /* GPIO + 0x00 */ member