Searched refs:par_io (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/arch/powerpc/cpu/mpc85xx/ |
D | qe_io.c | 24 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/ |
D | qe_io.c | 23 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/ |
D | p1_p2_rdb_pc.c | 152 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/ |
D | p1_twr.c | 38 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/ |
D | mpc8568mds.c | 107 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/ |
D | immap_85xx.h | 1496 typedef struct par_io { struct
|