Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-sprd.c293 struct spi_controller *sctlr = sdev->controller; in sprd_spi_chipselect() local
294 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_chipselect()
789 static int sprd_spi_transfer_one(struct spi_controller *sctlr, in sprd_spi_transfer_one() argument
799 if (sctlr->can_dma(sctlr, sdev, t)) in sprd_spi_transfer_one()
810 spi_finalize_current_transfer(sctlr); in sprd_spi_transfer_one()
890 static bool sprd_spi_can_dma(struct spi_controller *sctlr, in sprd_spi_can_dma() argument
893 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_can_dma()
921 struct spi_controller *sctlr; in sprd_spi_probe() local
927 sctlr = spi_alloc_master(&pdev->dev, sizeof(*ss)); in sprd_spi_probe()
928 if (!sctlr) in sprd_spi_probe()
[all …]
/drivers/firmware/efi/libstub/
Darm32-stub.c14 static void get_cpu_state(u32 *cpsr, u32 *sctlr) in get_cpu_state() argument
18 asm("mrc p15, 4, %0, c1, c0, 0" : "=r"(*sctlr)); in get_cpu_state()
20 asm("mrc p15, 0, %0, c1, c0, 0" : "=r"(*sctlr)); in get_cpu_state()
26 u32 cpsr, sctlr; in check_platform_features() local
29 get_cpu_state(&cpsr, &sctlr); in check_platform_features()
33 (sctlr & 1) ? "en" : "dis"); in check_platform_features()
44 efi_entry_state->sctlr_before_ebs = sctlr; in check_platform_features()