Lines Matching refs:sci
990 struct s3c64xx_spi_info *sci; in s3c64xx_spi_setup() local
1018 sci = sdd->cntrlr_info; in s3c64xx_spi_setup()
1138 struct s3c64xx_spi_info *sci = sdd->cntrlr_info; in s3c64xx_spi_hwinit() local
1150 writel(sci->src_clk_nr << S3C64XX_SPI_CLKSEL_SRCSHFT, in s3c64xx_spi_hwinit()
1177 struct s3c64xx_spi_info *sci; in s3c64xx_spi_parse_dt() local
1180 sci = devm_kzalloc(dev, sizeof(*sci), GFP_KERNEL); in s3c64xx_spi_parse_dt()
1181 if (!sci) { in s3c64xx_spi_parse_dt()
1188 sci->src_clk_nr = 0; in s3c64xx_spi_parse_dt()
1190 sci->src_clk_nr = temp; in s3c64xx_spi_parse_dt()
1195 sci->num_cs = 1; in s3c64xx_spi_parse_dt()
1197 sci->num_cs = temp; in s3c64xx_spi_parse_dt()
1200 return sci; in s3c64xx_spi_parse_dt()
1230 struct s3c64xx_spi_info *sci = pdev->dev.platform_data; in s3c64xx_spi_probe() local
1235 if (!sci && pdev->dev.of_node) { in s3c64xx_spi_probe()
1236 sci = s3c64xx_spi_parse_dt(&pdev->dev); in s3c64xx_spi_probe()
1237 if (IS_ERR(sci)) in s3c64xx_spi_probe()
1238 return PTR_ERR(sci); in s3c64xx_spi_probe()
1241 if (!sci) { in s3c64xx_spi_probe()
1270 sdd->cntrlr_info = sci; in s3c64xx_spi_probe()
1315 master->num_chipselect = sci->num_cs; in s3c64xx_spi_probe()
1327 if (sci->cfg_gpio && sci->cfg_gpio()) { in s3c64xx_spi_probe()
1347 sprintf(clk_name, "spi_busclk%d", sci->src_clk_nr); in s3c64xx_spi_probe()
1450 struct s3c64xx_spi_info *sci = sdd->cntrlr_info; in s3c64xx_spi_resume() local
1452 if (sci->cfg_gpio) in s3c64xx_spi_resume()
1453 sci->cfg_gpio(); in s3c64xx_spi_resume()