Home
last modified time | relevance | path

Searched refs:pmuxcr (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/u-boot/board/freescale/p1022ds/
H A Ddiu.c59 static u32 pmuxcr; variable
191 clrsetbits_be32(&gur->pmuxcr, PMUXCR_ELBCDIU_MASK, PMUXCR_ELBCDIU_DIU); in platform_diu_init()
192 pmuxcr = in_be32(&gur->pmuxcr); in platform_diu_init()
217 if ((in_be32(&gur->pmuxcr) & PMUXCR_ELBCDIU_MASK) != in set_mux_to_lbc()
233 out_be32(&gur->pmuxcr, (pmuxcr & ~PMUXCR_ELBCDIU_MASK) | in set_mux_to_lbc()
235 in_be32(&gur->pmuxcr); in set_mux_to_lbc()
273 out_be32(&gur->pmuxcr, pmuxcr); in set_mux_to_diu()
274 in_be32(&gur->pmuxcr); in set_mux_to_diu()
288 if ((in_be32(&gur->pmuxcr) & PMUXCR_ELBCDIU_MASK) != in pixis_read()
310 if ((in_be32(&gur->pmuxcr) & PMUXCR_ELBCDIU_MASK) != in pixis_write()
H A Dspl.c40 setbits_be32(&gur->pmuxcr, in_be32(&gur->pmuxcr) | 0x1000); in board_init_f()
41 setbits_be32(&gur->pmuxcr, in board_init_f()
42 in_be32(&gur->pmuxcr) | MPC85xx_PMUXCR_SD_DATA); in board_init_f()
50 in_be32(&gur->pmuxcr); in board_init_f()
H A Dp1022ds.c35 setbits_be32(&gur->pmuxcr, 0x1000); in board_early_init_f()
37 setbits_be32(&gur->pmuxcr, in board_early_init_f()
38 in_be32(&gur->pmuxcr) | MPC85xx_PMUXCR_SD_DATA); in board_early_init_f()
42 in_be32(&gur->pmuxcr); in board_early_init_f()
139 clrsetbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_TDM_MASK, in misc_init_r()
143 clrsetbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_SPI_MASK, in misc_init_r()
/openbmc/u-boot/board/Arcturus/ucp1020/
H A Dspl.c41 setbits_be32(&gur->pmuxcr, in_be32(&gur->pmuxcr) | 0x1000); in board_init_f()
42 setbits_be32(&gur->pmuxcr, in board_init_f()
43 in_be32(&gur->pmuxcr) | MPC85xx_PMUXCR_SD_DATA); in board_init_f()
46 in_be32(&gur->pmuxcr); in board_init_f()
49 clrbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_SD_DATA); in board_init_f()
H A Ducp1020.c97 setbits_be32(&gur->pmuxcr, in board_gpio_init()
/openbmc/u-boot/board/freescale/p1_p2_rdb_pc/
H A Dspl.c33 setbits_be32(&gur->pmuxcr, in_be32(&gur->pmuxcr) | 0x1000); in board_init_f()
34 setbits_be32(&gur->pmuxcr, in board_init_f()
35 in_be32(&gur->pmuxcr) | MPC85xx_PMUXCR_SD_DATA); in board_init_f()
38 in_be32(&gur->pmuxcr); in board_init_f()
41 clrbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_SD_DATA); in board_init_f()
H A Dp1_p2_rdb_pc.c209 setbits_be32(&gur->pmuxcr, in board_early_init_f()
213 clrbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_SD_DATA); in board_early_init_f()
214 setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_TDM_ENA); in board_early_init_f()
269 setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_SD_DATA); in checkboard()
372 setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_QE0); in board_eth_init()
373 setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_QE3); in board_eth_init()
/openbmc/u-boot/board/gdsys/p1022/
H A Dcontrolcenterd.c77 clrsetbits_be32(&gur->pmuxcr, 0x00600000, 0x80000000); in board_early_init_f()
80 setbits_be32(&gur->pmuxcr, 0x00001000); in board_early_init_f()
83 setbits_be32(&gur->pmuxcr, 0x00000010); in board_early_init_f()
86 setbits_be32(&gur->pmuxcr, 0x00000020); in board_early_init_f()
89 setbits_be32(&gur->pmuxcr, 0x000000c0); in board_early_init_f()
95 clrbits_be32(&gur->pmuxcr, 0x00000300); in board_early_init_f()
98 setbits_be32(&gur->pmuxcr, 0x000000F0); in board_early_init_f()
101 in_be32(&gur->pmuxcr); in board_early_init_f()
H A Ddiu.c45 static u32 pmuxcr; variable
79 clrsetbits_be32(&gur->pmuxcr, PMUXCR_ELBCDIU_MASK, PMUXCR_ELBCDIU_DIU); in platform_diu_init()
80 pmuxcr = in_be32(&gur->pmuxcr); in platform_diu_init()
/openbmc/u-boot/board/freescale/p1010rdb/
H A Dp1010rdb.c148 clrbits_be32(&gur->pmuxcr, PMUXCR1_IFC_MASK); in config_board_mux()
157 clrsetbits_be32(&gur->pmuxcr, PMUXCR1_SDHC_MASK, in config_board_mux()
186 clrbits_be32(&gur->pmuxcr, PMUXCR1_IFC_MASK); in config_board_mux()
196 clrsetbits_be32(&gur->pmuxcr, PMUXCR1_SDHC_MASK, in config_board_mux()
523 clrbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_CAN1_TDM | in misc_init_r()
529 clrbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_CAN2_UART | in misc_init_r()
531 setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_CAN2_TDM | in misc_init_r()
/openbmc/linux/sound/soc/fsl/
H A Dp1022_rdk.c102 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK, in p1022_rdk_machine_probe()
106 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK, in p1022_rdk_machine_probe()
174 clrbits32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK); in p1022_rdk_machine_remove()
175 clrbits32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK); in p1022_rdk_machine_remove()
H A Dmpc8610_hpcd.c78 clrsetbits_be32(&guts->pmuxcr, in mpc8610_hpcd_machine_probe()
82 clrsetbits_be32(&guts->pmuxcr, in mpc8610_hpcd_machine_probe()
156 clrsetbits_be32(&guts->pmuxcr, in mpc8610_hpcd_machine_remove()
160 clrsetbits_be32(&guts->pmuxcr, in mpc8610_hpcd_machine_remove()
H A Dp1022_ds.c96 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK, in p1022_ds_machine_probe()
100 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK, in p1022_ds_machine_probe()
170 clrbits32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK); in p1022_ds_machine_remove()
171 clrbits32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK); in p1022_ds_machine_remove()
/openbmc/u-boot/board/freescale/p1_twr/
H A Dp1_twr.c118 setbits_be32(&gur->pmuxcr, in board_early_init_f()
122 clrbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_SD_DATA); in board_early_init_f()
/openbmc/linux/arch/powerpc/platforms/85xx/
H A Dp1022_ds.c290 if ((in_be32(&guts->pmuxcr) & PMUXCR_ELBCDIU_MASK) != in p1022ds_set_monitor_port()
320 clrsetbits_be32(&guts->pmuxcr, PMUXCR_ELBCDIU_MASK, in p1022ds_set_monitor_port()
322 in_be32(&guts->pmuxcr); in p1022ds_set_monitor_port()
H A Dtwr_p102x.c76 setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) | in twr_p1025_setup_arch()
H A Dmpc85xx_rdb.c82 setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) | in mpc85xx_rdb_setup_arch()
H A Dmpc85xx_mds.c250 setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) | in mpc85xx_mds_qe_init()
/openbmc/u-boot/board/freescale/bsc9132qds/
H A Dbsc9132qds.c310 clrbits_be32(&gur->pmuxcr, in misc_init_r()
312 setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR0_SIM_SEL); in misc_init_r()
/openbmc/u-boot/board/freescale/bsc9131rdb/
H A Dbsc9131rdb.c36 clrsetbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_IFC_AD_GPIO_MASK | in board_early_init_f()
/openbmc/linux/include/linux/fsl/
H A Dguts.h52 u32 pmuxcr; /* 0x.0060 - Alternate Function Signal member
197 clrsetbits_be32(&guts->pmuxcr, 1 << shift, value << shift); in guts_set_pmuxcr_dma()
/openbmc/u-boot/board/freescale/p1023rdb/
H A Dp1023rdb.c108 setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_TSEC1_1); in board_eth_init()
/openbmc/u-boot/drivers/qe/
H A Duec.c573 setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_QE9); in phy_change()
574 setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_QE12); in phy_change()
585 clrbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_QE12); in phy_change()
1204 setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_QE9); in uec_init()
1205 setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_QE12); in uec_init()
1236 clrbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_QE12); in uec_init()
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dcpu_init_early.c121 setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_LCLK_IFC_CS3); in cpu_init_early_f()
/openbmc/u-boot/board/freescale/mpc8536ds/
H A Dmpc8536ds.c34 setbits_be32(&gur->pmuxcr, in board_early_init_f()

12