Lines Matching refs:sci
787 struct s3c64xx_spi_info *sci; in s3c64xx_spi_setup() local
823 sci = sdd->cntrlr_info; in s3c64xx_spi_setup()
942 struct s3c64xx_spi_info *sci = sdd->cntrlr_info; in s3c64xx_spi_hwinit() local
955 writel(sci->src_clk_nr << S3C64XX_SPI_CLKSEL_SRCSHFT, in s3c64xx_spi_hwinit()
982 struct s3c64xx_spi_info *sci; in s3c64xx_spi_parse_dt() local
985 sci = devm_kzalloc(dev, sizeof(*sci), GFP_KERNEL); in s3c64xx_spi_parse_dt()
986 if (!sci) in s3c64xx_spi_parse_dt()
991 sci->src_clk_nr = 0; in s3c64xx_spi_parse_dt()
993 sci->src_clk_nr = temp; in s3c64xx_spi_parse_dt()
998 sci->num_cs = 1; in s3c64xx_spi_parse_dt()
1000 sci->num_cs = temp; in s3c64xx_spi_parse_dt()
1003 return sci; in s3c64xx_spi_parse_dt()
1033 struct s3c64xx_spi_info *sci = dev_get_platdata(&pdev->dev); in s3c64xx_spi_probe() local
1038 if (!sci && pdev->dev.of_node) { in s3c64xx_spi_probe()
1039 sci = s3c64xx_spi_parse_dt(&pdev->dev); in s3c64xx_spi_probe()
1040 if (IS_ERR(sci)) in s3c64xx_spi_probe()
1041 return PTR_ERR(sci); in s3c64xx_spi_probe()
1044 if (!sci) { in s3c64xx_spi_probe()
1073 sdd->cntrlr_info = sci; in s3c64xx_spi_probe()
1117 master->num_chipselect = sci->num_cs; in s3c64xx_spi_probe()
1133 if (sci->cfg_gpio && sci->cfg_gpio()) { in s3c64xx_spi_probe()
1153 sprintf(clk_name, "spi_busclk%d", sci->src_clk_nr); in s3c64xx_spi_probe()
1266 struct s3c64xx_spi_info *sci = sdd->cntrlr_info; in s3c64xx_spi_resume() local
1269 if (sci->cfg_gpio) in s3c64xx_spi_resume()
1270 sci->cfg_gpio(); in s3c64xx_spi_resume()