Lines Matching refs:cp_pbdat
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()
226 immap->im_cpm.cp_pbdat |= PB_SPISCK; /* Raise SCK */ in soft_spi_send()
229 immap->im_cpm.cp_pbdat |= PB_SPIMOSI; /* Set MOSI to 1 */ in soft_spi_send()
231 immap->im_cpm.cp_pbdat &= ~PB_SPIMOSI; /* Set MOSI to 0 */ in soft_spi_send()
234 immap->im_cpm.cp_pbdat &= ~PB_SPISCK; /* Lower SCK */ in soft_spi_send()
257 immap->im_cpm.cp_pbdat |= PB_SPISCK; /* Raise SCK */ in soft_spi_read()
259 if (immap->im_cpm.cp_pbdat & PB_SPIMISO) /* Get a bit of data */ in soft_spi_read()
261 immap->im_cpm.cp_pbdat &= ~PB_SPISCK; /* Lower SCK */ in soft_spi_read()