Lines Matching refs:sci
786 struct s3c64xx_spi_info *sci; in s3c64xx_spi_setup() local
822 sci = sdd->cntrlr_info; in s3c64xx_spi_setup()
939 struct s3c64xx_spi_info *sci = sdd->cntrlr_info; in s3c64xx_spi_hwinit() local
952 writel(sci->src_clk_nr << S3C64XX_SPI_CLKSEL_SRCSHFT, in s3c64xx_spi_hwinit()
979 struct s3c64xx_spi_info *sci; in s3c64xx_spi_parse_dt() local
982 sci = devm_kzalloc(dev, sizeof(*sci), GFP_KERNEL); in s3c64xx_spi_parse_dt()
983 if (!sci) in s3c64xx_spi_parse_dt()
988 sci->src_clk_nr = 0; in s3c64xx_spi_parse_dt()
990 sci->src_clk_nr = temp; in s3c64xx_spi_parse_dt()
995 sci->num_cs = 1; in s3c64xx_spi_parse_dt()
997 sci->num_cs = temp; in s3c64xx_spi_parse_dt()
1000 return sci; in s3c64xx_spi_parse_dt()
1030 struct s3c64xx_spi_info *sci = dev_get_platdata(&pdev->dev); in s3c64xx_spi_probe() local
1035 if (!sci && pdev->dev.of_node) { in s3c64xx_spi_probe()
1036 sci = s3c64xx_spi_parse_dt(&pdev->dev); in s3c64xx_spi_probe()
1037 if (IS_ERR(sci)) in s3c64xx_spi_probe()
1038 return PTR_ERR(sci); in s3c64xx_spi_probe()
1041 if (!sci) { in s3c64xx_spi_probe()
1070 sdd->cntrlr_info = sci; in s3c64xx_spi_probe()
1114 master->num_chipselect = sci->num_cs; in s3c64xx_spi_probe()
1130 if (sci->cfg_gpio && sci->cfg_gpio()) { in s3c64xx_spi_probe()
1150 sprintf(clk_name, "spi_busclk%d", sci->src_clk_nr); in s3c64xx_spi_probe()
1250 struct s3c64xx_spi_info *sci = sdd->cntrlr_info; in s3c64xx_spi_resume() local
1252 if (sci->cfg_gpio) in s3c64xx_spi_resume()
1253 sci->cfg_gpio(); in s3c64xx_spi_resume()