Searched refs:im_cpm (Results 1 – 12 of 12) sorted by relevance
/external/u-boot/drivers/net/ |
D | mpc8xx_fec.c | 59 offsetof(immap_t, im_cpm.cp_fec1), 69 offsetof(immap_t, im_cpm.cp_fec2), 305 setbits_be32(&immr->im_cpm.cp_cptr, mask); in fec_10Mbps() 318 clrbits_be32(&immr->im_cpm.cp_cptr, mask); in fec_100Mbps() 360 out_be32(&immr->im_cpm.cp_fec1.fec_mii_speed, in fec_pin_init() 380 setbits_be32(&immr->im_cpm.cp_pbpar, 0x00001001); in fec_pin_init() 381 clrbits_be32(&immr->im_cpm.cp_pbdir, 0x00001001); in fec_pin_init() 386 setbits_be32(&immr->im_cpm.cp_pepar, 0x00000003); in fec_pin_init() 387 setbits_be32(&immr->im_cpm.cp_pedir, 0x00000003); in fec_pin_init() 388 clrbits_be32(&immr->im_cpm.cp_peso, 0x00000003); in fec_pin_init() [all …]
|
/external/u-boot/drivers/rtc/ |
D | ds1306.c | 75 immap->im_cpm.cp_pbdat |= PB_SPI_CE; in rtc_get() 109 immap->im_cpm.cp_pbdat &= ~PB_SPI_CE; /* Disable DS1306 Chip */ in rtc_get() 131 immap->im_cpm.cp_pbdat |= PB_SPI_CE; /* Enable DS1306 Chip */ in rtc_set() 139 immap->im_cpm.cp_pbdat &= ~PB_SPI_CE; in rtc_set() 143 immap->im_cpm.cp_pbdat |= PB_SPI_CE; in rtc_set() 160 immap->im_cpm.cp_pbdat &= ~PB_SPI_CE; /* Disable DS1306 Chip */ in rtc_set() 164 immap->im_cpm.cp_pbdat |= PB_SPI_CE; /* Enable DS1306 Chip */ in rtc_set() 172 immap->im_cpm.cp_pbdat &= ~PB_SPI_CE; /* Disable DS1306 Chip */ in rtc_set() 203 immap->im_cpm.cp_pbdat &= ~(PB_SPI_CE | PB_SPIMOSI | PB_SPISCK); in init_spi() 206 immap->im_cpm.cp_pbdir |= (PB_SPIMOSI | PB_SPI_CE | PB_SPISCK); in init_spi() [all …]
|
/external/u-boot/arch/powerpc/include/asm/ |
D | iopin_8xx.h | 37 uint __iomem *datp = &immap->im_cpm.cp_pbdat; in iopin_set_high() 60 uint __iomem *datp = &immap->im_cpm.cp_pbdat; in iopin_set_low() 83 uint __iomem *datp = &immap->im_cpm.cp_pbdat; in iopin_is_high() 107 uint __iomem *datp = &immap->im_cpm.cp_pbdat; in iopin_is_low() 131 uint __iomem *dirp = &immap->im_cpm.cp_pbdir; in iopin_set_out() 154 uint __iomem *dirp = &immap->im_cpm.cp_pbdir; in iopin_set_in() 177 uint __iomem *dirp = &immap->im_cpm.cp_pbdir; in iopin_is_out() 201 uint __iomem *dirp = &immap->im_cpm.cp_pbdir; in iopin_is_in() 225 ushort __iomem *odrp = &immap->im_cpm.cp_pbodr; in iopin_set_odr() 240 ushort __iomem *odrp = &immap->im_cpm.cp_pbodr; in iopin_set_act() [all …]
|
D | immap_8xx.h | 465 cpm8xx_t im_cpm; /* Communication processor */ member
|
/external/u-boot/drivers/serial/ |
D | serial_mpc8xx.c | 64 cpm8xx_t __iomem *cp = &(im->im_cpm); in smc_setbrg() 82 cpm8xx_t __iomem *cp = &(im->im_cpm); in smc_init() 172 cpm8xx_t __iomem *cpmp = &(im->im_cpm); in smc_putc() 198 cpm8xx_t __iomem *cpmp = &(im->im_cpm); in smc_getc() 228 cpm8xx_t __iomem *cpmp = &(im->im_cpm); in smc_tstc()
|
/external/u-boot/board/cssi/MCR3000/ |
D | MCR3000.c | 139 clrbits_be32(&immr->im_cpm.cp_pbdat, 0x00020000); /* PROGFPGA down */ in board_early_init_f() 140 setbits_be32(&immr->im_cpm.cp_pbdir, 0x00020000); /* PROGFPGA output */ in board_early_init_f() 142 setbits_be32(&immr->im_cpm.cp_pbdat, 0x00020000); /* PROGFPGA up */ in board_early_init_f()
|
/external/u-boot/drivers/spi/ |
D | mpc8xx_spi.c | 62 (uchar *)&((cpm8xx_t *)&((immap_t *)CONFIG_SYS_IMMR)->im_cpm)->cp_dpmem 65 (uchar *)&((cpm8xx_t *)&((immap_t *)CONFIG_SYS_IMMR)->im_cpm)->cp_dpmem 80 cpm8xx_t __iomem *cp = &immr->im_cpm; in spi_init_f() 208 cpm8xx_t __iomem *cp = &immr->im_cpm; in spi_init_r() 287 cpm8xx_t __iomem *cp = &immr->im_cpm; in spi_xfer()
|
/external/u-boot/arch/powerpc/cpu/mpc8xx/ |
D | cpu.c | 48 in_be16(&immap->im_cpm.cp_dparam16[PROFF_REVNUM / sizeof(u16)]); in check_CPU() 78 out_be32(&immap->im_cpm.cp_fec.fec_addr_low, 0x12345678); in check_CPU() 79 if (in_be32(&immap->im_cpm.cp_fec.fec_addr_low) == 0x12345678) in check_CPU()
|
D | cpu_init.c | 179 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()
|
D | immap.c | 137 R = &immap->im_cpm.cp_pbdir; in do_iopinfo() 334 cpm8xx_t __iomem *cp = &immap->im_cpm; in do_brginfo()
|
/external/u-boot/drivers/usb/host/ |
D | sl811-hcd.c | 103 immap->im_cpm.cp_pbdat &= ~(BP_USB_VCC); in usb_init_kup4x() 105 immap->im_cpm.cp_pbpar &= ~(BP_USB_VCC); in usb_init_kup4x() 107 immap->im_cpm.cp_pbdir |= (BP_USB_VCC); in usb_init_kup4x()
|
/external/u-boot/ |
D | README | 1843 eg: #define I2C_INIT (immr->im_cpm.cp_pbdir |= PB_SCL) 1851 eg: #define I2C_ACTIVE (immr->im_cpm.cp_pbdir |= PB_SDA) 1859 eg: #define I2C_TRISTATE (immr->im_cpm.cp_pbdir &= ~PB_SDA) 1866 eg: #define I2C_READ ((immr->im_cpm.cp_pbdat & PB_SDA) != 0) 1874 if(bit) immr->im_cpm.cp_pbdat |= PB_SDA; \ 1875 else immr->im_cpm.cp_pbdat &= ~PB_SDA 1883 if(bit) immr->im_cpm.cp_pbdat |= PB_SCL; \ 1884 else immr->im_cpm.cp_pbdat &= ~PB_SCL
|