Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/fsl/qe/
H A Dqe_io.c24 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 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()
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 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()
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 Dpar_io.txt10 - 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 Dp1_p2_rdb_pc.c150 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 Dp1_twr.c36 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 Dmpc8568mds.c106 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 Dmpc8568si-post.dtsi171 par_io@e0100 {
173 device_type = "par_io";
H A Dmpc8569si-post.dtsi156 par_io@e0100 {
161 device_type = "par_io";
H A Dp1021mds.dts194 par_io@e0100 {
199 device_type = "par_io";
H A Dp1025twr.dtsi168 par_io@e0100 {
173 device_type = "par_io";
H A Dp1025rdb.dtsi241 par_io@e0100 {
246 device_type = "par_io";
H A Dmpc8568mds.dts122 par_io@e0100 {
H A Dmpc8569mds.dts121 par_io@e0100 {
/openbmc/linux/arch/powerpc/boot/dts/
H A Dmpc832x_rdb.dts158 par_io@1400 {
164 device_type = "par_io";
H A Dkmeter1.dts129 par_io@1400 {
133 compatible = "fsl,mpc8360-par_io";
/openbmc/linux/include/soc/fsl/qe/
H A Dqe.h155 extern void __par_io_config_pin(struct qe_pio_regs __iomem *par_io, u8 pin,
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dimmap_85xx.h1496 typedef struct par_io { struct