/openbmc/linux/drivers/soc/fsl/qe/ |
H A D | qe_io.c | 24 static struct qe_pio_regs __iomem *par_io; variable 37 par_io = ioremap(res.start, resource_size(&res)); in par_io_init() 38 if (!par_io) in par_io_init() 59 tmp_val = ioread32be(&par_io->cpodr); in __par_io_config_pin() 67 ioread32be(&par_io->cpdir2) : in __par_io_config_pin() 68 ioread32be(&par_io->cpdir1); in __par_io_config_pin() 90 ioread32be(&par_io->cppar2) : in __par_io_config_pin() 91 ioread32be(&par_io->cppar1); in __par_io_config_pin() 111 if (!par_io || port >= num_par_io_ports) in par_io_config_pin() 131 tmp_val = ioread32be(&par_io[port].cpdata); in par_io_data_set() [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A 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() 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() 56 in_be32(&par_io[port].cppar2): in qe_config_iopin() [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A 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() 55 in_be32(&par_io->ioport[port].ppar2): in qe_config_iopin() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/ |
H A D | par_io.txt | 10 - device_type : should be "par_io". 15 par_io@1400 { 19 device_type = "par_io"; 25 Note that "par_io" nodes are obsolete, and should not be used for
|
/openbmc/u-boot/board/freescale/p1_p2_rdb_pc/ |
H A D | p1_p2_rdb_pc.c | 150 par_io_t *par_io = (par_io_t *) &(gur->qe_par_io); in board_gpio_init() local 154 setbits_be32(&par_io[GPIO_DDR_RST_PORT].cpdat, GPIO_DDR_RST_DATA); in board_gpio_init() 156 clrbits_be32(&par_io[GPIO_DDR_RST_PORT].cpdat, GPIO_DDR_RST_DATA); in board_gpio_init() 158 setbits_be32(&par_io[GPIO_DDR_RST_PORT].cpdat, GPIO_DDR_RST_DATA); in board_gpio_init() 160 clrbits_be32(&par_io[GPIO_DDR_RST_PORT].cpdir1, GPIO_2BIT_MASK); in board_gpio_init() 163 setbits_be32(&par_io[GPIO_GETH_SW_PORT].cpdat, GPIO_GETH_SW_DATA); in board_gpio_init() 166 setbits_be32(&par_io[GPIO_SLIC_PORT].cpdat, GPIO_SLIC_DATA); in board_gpio_init()
|
/openbmc/u-boot/board/freescale/p1_twr/ |
H A D | p1_twr.c | 36 par_io_t *par_io = (par_io_t *) &(gur->qe_par_io); in get_board_sys_clk() local 40 cpdat_val = par_io[1].cpdat; in get_board_sys_clk()
|
/openbmc/u-boot/board/freescale/mpc8568mds/ |
H A D | mpc8568mds.c | 106 volatile struct par_io *port_c; in board_early_init_f() 107 port_c = (struct par_io*)(CONFIG_SYS_IMMR + 0xe0140); in board_early_init_f()
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A D | mpc8568si-post.dtsi | 171 par_io@e0100 { 173 device_type = "par_io";
|
H A D | mpc8569si-post.dtsi | 156 par_io@e0100 { 161 device_type = "par_io";
|
H A D | p1021mds.dts | 194 par_io@e0100 { 199 device_type = "par_io";
|
H A D | p1025twr.dtsi | 168 par_io@e0100 { 173 device_type = "par_io";
|
H A D | p1025rdb.dtsi | 241 par_io@e0100 { 246 device_type = "par_io";
|
H A D | mpc8568mds.dts | 122 par_io@e0100 {
|
H A D | mpc8569mds.dts | 121 par_io@e0100 {
|
/openbmc/linux/arch/powerpc/boot/dts/ |
H A D | mpc832x_rdb.dts | 158 par_io@1400 { 164 device_type = "par_io";
|
H A D | kmeter1.dts | 129 par_io@1400 { 133 compatible = "fsl,mpc8360-par_io";
|
/openbmc/linux/include/soc/fsl/qe/ |
H A D | qe.h | 155 extern void __par_io_config_pin(struct qe_pio_regs __iomem *par_io, u8 pin,
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | immap_85xx.h | 1496 typedef struct par_io { struct
|