Lines Matching refs:sci

1007 	struct s3c64xx_spi_info *sci = sdd->cntrlr_info;  in s3c64xx_spi_hwinit()  local
1013 if (sci->no_cs) in s3c64xx_spi_hwinit()
1022 writel(sci->src_clk_nr << S3C64XX_SPI_CLKSEL_SRCSHFT, in s3c64xx_spi_hwinit()
1049 struct s3c64xx_spi_info *sci; in s3c64xx_spi_parse_dt() local
1052 sci = devm_kzalloc(dev, sizeof(*sci), GFP_KERNEL); in s3c64xx_spi_parse_dt()
1053 if (!sci) in s3c64xx_spi_parse_dt()
1058 sci->src_clk_nr = 0; in s3c64xx_spi_parse_dt()
1060 sci->src_clk_nr = temp; in s3c64xx_spi_parse_dt()
1065 sci->num_cs = 1; in s3c64xx_spi_parse_dt()
1067 sci->num_cs = temp; in s3c64xx_spi_parse_dt()
1070 sci->no_cs = of_property_read_bool(dev->of_node, "no-cs-readback"); in s3c64xx_spi_parse_dt()
1072 return sci; in s3c64xx_spi_parse_dt()
1095 struct s3c64xx_spi_info *sci = dev_get_platdata(&pdev->dev); in s3c64xx_spi_probe() local
1100 if (!sci && pdev->dev.of_node) { in s3c64xx_spi_probe()
1101 sci = s3c64xx_spi_parse_dt(&pdev->dev); in s3c64xx_spi_probe()
1102 if (IS_ERR(sci)) in s3c64xx_spi_probe()
1103 return PTR_ERR(sci); in s3c64xx_spi_probe()
1106 if (!sci) { in s3c64xx_spi_probe()
1135 sdd->cntrlr_info = sci; in s3c64xx_spi_probe()
1164 master->num_chipselect = sci->num_cs; in s3c64xx_spi_probe()
1183 if (sci->cfg_gpio && sci->cfg_gpio()) { in s3c64xx_spi_probe()
1203 sprintf(clk_name, "spi_busclk%d", sci->src_clk_nr); in s3c64xx_spi_probe()
1339 struct s3c64xx_spi_info *sci = sdd->cntrlr_info; in s3c64xx_spi_resume() local
1342 if (sci->cfg_gpio) in s3c64xx_spi_resume()
1343 sci->cfg_gpio(); in s3c64xx_spi_resume()