Home
last modified time | relevance | path

Searched refs:par_io (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dqe_io.c24 volatile par_io_t *par_io = (volatile par_io_t *) in qe_config_iopin() local
33 in_be32(&par_io[port].cpdir2) : in qe_config_iopin()
34 in_be32(&par_io[port].cpdir1); in qe_config_iopin()
37 out_be32(&par_io[port].cpdir2, ~pin_2bit_mask & tmp_val); in qe_config_iopin()
38 out_be32(&par_io[port].cpdir2, pin_2bit_dir | tmp_val); in qe_config_iopin()
40 out_be32(&par_io[port].cpdir1, ~pin_2bit_mask & tmp_val); in qe_config_iopin()
41 out_be32(&par_io[port].cpdir1, pin_2bit_dir | tmp_val); in qe_config_iopin()
48 tmp_val = in_be32(&par_io[port].cpodr); in qe_config_iopin()
50 out_be32(&par_io[port].cpodr, pin_1bit_mask | tmp_val); in qe_config_iopin()
52 out_be32(&par_io[port].cpodr, ~pin_1bit_mask & tmp_val); in qe_config_iopin()
[all …]
/external/u-boot/arch/powerpc/cpu/mpc83xx/
Dqe_io.c23 volatile qepio83xx_t *par_io = (volatile qepio83xx_t *)&im->qepio; in qe_config_iopin() local
31 in_be32(&par_io->ioport[port].dir2) : in qe_config_iopin()
32 in_be32(&par_io->ioport[port].dir1); in qe_config_iopin()
35 out_be32(&par_io->ioport[port].dir2, ~pin_2bit_mask & tmp_val); in qe_config_iopin()
36 out_be32(&par_io->ioport[port].dir2, pin_2bit_dir | tmp_val); in qe_config_iopin()
38 out_be32(&par_io->ioport[port].dir1, ~pin_2bit_mask & tmp_val); in qe_config_iopin()
39 out_be32(&par_io->ioport[port].dir1, pin_2bit_dir | tmp_val); in qe_config_iopin()
46 tmp_val = in_be32(&par_io->ioport[port].podr); in qe_config_iopin()
48 out_be32(&par_io->ioport[port].podr, pin_1bit_mask | tmp_val); in qe_config_iopin()
50 out_be32(&par_io->ioport[port].podr, ~pin_1bit_mask & tmp_val); in qe_config_iopin()
[all …]
/external/u-boot/board/freescale/p1_p2_rdb_pc/
Dp1_p2_rdb_pc.c152 par_io_t *par_io = (par_io_t *) &(gur->qe_par_io); in board_gpio_init() local
156 setbits_be32(&par_io[GPIO_DDR_RST_PORT].cpdat, GPIO_DDR_RST_DATA); in board_gpio_init()
158 clrbits_be32(&par_io[GPIO_DDR_RST_PORT].cpdat, GPIO_DDR_RST_DATA); in board_gpio_init()
160 setbits_be32(&par_io[GPIO_DDR_RST_PORT].cpdat, GPIO_DDR_RST_DATA); in board_gpio_init()
162 clrbits_be32(&par_io[GPIO_DDR_RST_PORT].cpdir1, GPIO_2BIT_MASK); in board_gpio_init()
165 setbits_be32(&par_io[GPIO_GETH_SW_PORT].cpdat, GPIO_GETH_SW_DATA); in board_gpio_init()
168 setbits_be32(&par_io[GPIO_SLIC_PORT].cpdat, GPIO_SLIC_DATA); in board_gpio_init()
/external/u-boot/board/freescale/p1_twr/
Dp1_twr.c38 par_io_t *par_io = (par_io_t *) &(gur->qe_par_io); in get_board_sys_clk() local
42 cpdat_val = par_io[1].cpdat; in get_board_sys_clk()
/external/u-boot/board/freescale/mpc8568mds/
Dmpc8568mds.c107 volatile struct par_io *port_c; in board_early_init_f()
108 port_c = (struct par_io*)(CONFIG_SYS_IMMR + 0xe0140); in board_early_init_f()
/external/u-boot/arch/powerpc/include/asm/
Dimmap_85xx.h1496 typedef struct par_io { struct