Home
last modified time | relevance | path

Searched refs:cp_cpcr (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/drivers/spi/
H A Dmpc8xx_spi.c109 while (in_be16(&cp->cp_cpcr) & CPM_CR_FLG) in mpc8xx_spi_probe()
112 out_be16(&cp->cp_cpcr, mk_cr_cmd(CPM_CR_CH_SPI, CPM_CR_INIT_TRX) | in mpc8xx_spi_probe()
114 while (in_be16(&cp->cp_cpcr) & CPM_CR_FLG) in mpc8xx_spi_probe()
/openbmc/u-boot/drivers/serial/
H A Dserial_mpc8xx.c157 while (in_be16(&cp->cp_cpcr) & CPM_CR_FLG) /* wait if cp is busy */ in serial_mpc8xx_probe()
160 out_be16(&cp->cp_cpcr, in serial_mpc8xx_probe()
163 while (in_be16(&cp->cp_cpcr) & CPM_CR_FLG) /* wait if cp is busy */ in serial_mpc8xx_probe()
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dcpu_init.c179 out_be16(&immr->im_cpm.cp_cpcr, CPM_CR_RST | CPM_CR_FLG); in cpu_init_f()
181 while (in_be16(&immr->im_cpm.cp_cpcr) & CPM_CR_FLG) in cpu_init_f()
/openbmc/linux/arch/powerpc/platforms/8xx/
H A Dcpm1.c61 out_be16(&cpmp->cp_cpcr, CPM_CR_RST | CPM_CR_FLG); in cpm_reset()
64 while (in_be16(&cpmp->cp_cpcr) & CPM_CR_FLG); in cpm_reset()
99 out_be16(&cpmp->cp_cpcr, command | CPM_CR_FLG | (opcode << 8)); in cpm_command()
101 if ((in_be16(&cpmp->cp_cpcr) & CPM_CR_FLG) == 0) in cpm_command()
/openbmc/linux/arch/powerpc/sysdev/
H A Dcpm2.c89 out_be32(&cpmp->cp_cpcr, command | opcode | CPM_CR_FLG); in cpm_command()
91 if ((in_be32(&cpmp->cp_cpcr) & CPM_CR_FLG) == 0) in cpm_command()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dimmap_8xx.h343 ushort cp_cpcr; member
/openbmc/linux/arch/powerpc/include/asm/
H A D8xx_immap.h437 ushort cp_cpcr; member
H A Dimmap_cpm2.h539 u32 cp_cpcr; member