Lines Matching refs:sci

985 	struct s3c64xx_spi_info *sci = sdd->cntrlr_info;  in s3c64xx_spi_hwinit()  local
991 if (sci->no_cs) in s3c64xx_spi_hwinit()
1000 writel(sci->src_clk_nr << S3C64XX_SPI_CLKSEL_SRCSHFT, in s3c64xx_spi_hwinit()
1027 struct s3c64xx_spi_info *sci; in s3c64xx_spi_parse_dt() local
1030 sci = devm_kzalloc(dev, sizeof(*sci), GFP_KERNEL); in s3c64xx_spi_parse_dt()
1031 if (!sci) in s3c64xx_spi_parse_dt()
1036 sci->src_clk_nr = 0; in s3c64xx_spi_parse_dt()
1038 sci->src_clk_nr = temp; in s3c64xx_spi_parse_dt()
1043 sci->num_cs = 1; in s3c64xx_spi_parse_dt()
1045 sci->num_cs = temp; in s3c64xx_spi_parse_dt()
1048 sci->no_cs = of_property_read_bool(dev->of_node, "no-cs-readback"); in s3c64xx_spi_parse_dt()
1050 return sci; in s3c64xx_spi_parse_dt()
1079 struct s3c64xx_spi_info *sci = dev_get_platdata(&pdev->dev); in s3c64xx_spi_probe() local
1084 if (!sci && pdev->dev.of_node) { in s3c64xx_spi_probe()
1085 sci = s3c64xx_spi_parse_dt(&pdev->dev); in s3c64xx_spi_probe()
1086 if (IS_ERR(sci)) in s3c64xx_spi_probe()
1087 return PTR_ERR(sci); in s3c64xx_spi_probe()
1090 if (!sci) { in s3c64xx_spi_probe()
1119 sdd->cntrlr_info = sci; in s3c64xx_spi_probe()
1147 master->num_chipselect = sci->num_cs; in s3c64xx_spi_probe()
1163 if (sci->cfg_gpio && sci->cfg_gpio()) { in s3c64xx_spi_probe()
1183 sprintf(clk_name, "spi_busclk%d", sci->src_clk_nr); in s3c64xx_spi_probe()
1341 struct s3c64xx_spi_info *sci = sdd->cntrlr_info; in s3c64xx_spi_resume() local
1344 if (sci->cfg_gpio) in s3c64xx_spi_resume()
1345 sci->cfg_gpio(); in s3c64xx_spi_resume()