Home
last modified time | relevance | path

Searched refs:SSP_CR1 (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/spi/
H A Dpl022_spi.c20 #define SSP_CR1 0x004 macro
124 reg = readw(ps->base + SSP_CR1); in pl022_spi_claim_bus()
126 writew(reg, ps->base + SSP_CR1); in pl022_spi_claim_bus()
142 reg = readw(ps->base + SSP_CR1); in pl022_spi_release_bus()
144 writew(reg, ps->base + SSP_CR1); in pl022_spi_release_bus()
/openbmc/linux/drivers/spi/
H A Dspi-pl022.c66 #define SSP_CR1(r) (r + 0x004) macro
523 writew((readw(SSP_CR1(pl022->virtbase)) & in giveback()
524 (~SSP_CR1_MASK_SSE)), SSP_CR1(pl022->virtbase)); in giveback()
560 writew(chip->cr1, SSP_CR1(pl022->virtbase)); in restore_state()
1288 writew((readw(SSP_CR1(pl022->virtbase)) & in pl022_interrupt_handler()
1470 SSP_CR1(pl022->virtbase)); in do_interrupt_dma_transfer()
1483 read_cr1 = readw(SSP_CR1(pl022->virtbase)); in print_current_status()
1537 SSP_CR1(pl022->virtbase)); in do_polling_transfer()
1610 writew((readw(SSP_CR1(pl022->virtbase)) & in pl022_unprepare_transfer_hardware()
1611 (~SSP_CR1_MASK_SSE)), SSP_CR1(pl022->virtbase)); in pl022_unprepare_transfer_hardware()
[all …]