cs_gpio 495 drivers/spi/spi-at91-usart.c int cs_gpio = of_get_named_gpio(np, "cs-gpios", i); cs_gpio 497 drivers/spi/spi-at91-usart.c if (cs_gpio < 0) cs_gpio 498 drivers/spi/spi-at91-usart.c return cs_gpio; cs_gpio 500 drivers/spi/spi-at91-usart.c if (gpio_is_valid(cs_gpio)) { cs_gpio 501 drivers/spi/spi-at91-usart.c ret = devm_gpio_request_one(&pdev->dev, cs_gpio, cs_gpio 453 drivers/spi/spi-bcm2835aux.c if (gpio_is_valid(spi->cs_gpio)) { cs_gpio 458 drivers/spi/spi-bcm2835aux.c ret = gpio_direction_output(spi->cs_gpio, cs_gpio 463 drivers/spi/spi-bcm2835aux.c spi->cs_gpio, ret); cs_gpio 883 drivers/spi/spi-fsl-lpspi.c int cs_gpio = of_get_named_gpio(np, "cs-gpios", i); cs_gpio 885 drivers/spi/spi-fsl-lpspi.c if (!gpio_is_valid(cs_gpio) && lpspi_platform_info) cs_gpio 886 drivers/spi/spi-fsl-lpspi.c cs_gpio = lpspi_platform_info->chipselect[i]; cs_gpio 888 drivers/spi/spi-fsl-lpspi.c fsl_lpspi->chipselect[i] = cs_gpio; cs_gpio 889 drivers/spi/spi-fsl-lpspi.c if (!gpio_is_valid(cs_gpio)) cs_gpio 458 drivers/spi/spi-img-spfi.c ret = gpio_request_one(spi->cs_gpio, cs_gpio 464 drivers/spi/spi-img-spfi.c spi->cs_gpio); cs_gpio 468 drivers/spi/spi-img-spfi.c if (gpio_is_valid(spi->cs_gpio)) { cs_gpio 472 drivers/spi/spi-img-spfi.c ret = gpio_direction_output(spi->cs_gpio, mode); cs_gpio 475 drivers/spi/spi-img-spfi.c spi->cs_gpio, ret); cs_gpio 487 drivers/spi/spi-img-spfi.c gpio_free(spi->cs_gpio); cs_gpio 720 drivers/spi/spi-imx.c if (!gpio_is_valid(spi->cs_gpio)) cs_gpio 821 drivers/spi/spi-imx.c if (!gpio_is_valid(spi->cs_gpio)) cs_gpio 1059 drivers/spi/spi-imx.c if (!gpio_is_valid(spi->cs_gpio)) cs_gpio 1062 drivers/spi/spi-imx.c gpio_set_value(spi->cs_gpio, dev_is_lowactive ^ active); cs_gpio 1523 drivers/spi/spi-imx.c if (gpio_is_valid(spi->cs_gpio)) cs_gpio 1524 drivers/spi/spi-imx.c gpio_direction_output(spi->cs_gpio, cs_gpio 394 drivers/spi/spi-lantiq-ssc.c if (gpio_is_valid(spidev->cs_gpio)) cs_gpio 474 drivers/spi/spi-meson-spicc.c else if (gpio_is_valid(spi->cs_gpio)) cs_gpio 476 drivers/spi/spi-meson-spicc.c else if (spi->cs_gpio == -ENOENT) cs_gpio 479 drivers/spi/spi-meson-spicc.c if (gpio_is_valid(spi->cs_gpio)) { cs_gpio 480 drivers/spi/spi-meson-spicc.c ret = gpio_request(spi->cs_gpio, dev_name(&spi->dev)); cs_gpio 488 drivers/spi/spi-meson-spicc.c ret = gpio_direction_output(spi->cs_gpio, cs_gpio 496 drivers/spi/spi-meson-spicc.c if (gpio_is_valid(spi->cs_gpio)) cs_gpio 497 drivers/spi/spi-meson-spicc.c gpio_free(spi->cs_gpio); cs_gpio 131 drivers/spi/spi-mpc512x-psc.c if (mps->cs_control && gpio_is_valid(spi->cs_gpio)) cs_gpio 139 drivers/spi/spi-mpc512x-psc.c if (mps->cs_control && gpio_is_valid(spi->cs_gpio)) cs_gpio 377 drivers/spi/spi-mpc512x-psc.c if (gpio_is_valid(spi->cs_gpio)) { cs_gpio 378 drivers/spi/spi-mpc512x-psc.c ret = gpio_request(spi->cs_gpio, dev_name(&spi->dev)); cs_gpio 385 drivers/spi/spi-mpc512x-psc.c gpio_direction_output(spi->cs_gpio, cs_gpio 400 drivers/spi/spi-mpc512x-psc.c if (gpio_is_valid(spi->cs_gpio)) cs_gpio 401 drivers/spi/spi-mpc512x-psc.c gpio_free(spi->cs_gpio); cs_gpio 482 drivers/spi/spi-mpc512x-psc.c gpio_set_value(spi->cs_gpio, onoff); cs_gpio 515 drivers/spi/spi-mt65xx.c if (mdata->dev_comp->need_pad_sel && gpio_is_valid(spi->cs_gpio)) cs_gpio 516 drivers/spi/spi-mt65xx.c gpio_direction_output(spi->cs_gpio, !(spi->mode & SPI_CS_HIGH)); cs_gpio 1057 drivers/spi/spi-omap2-mcspi.c if (gpio_is_valid(spi->cs_gpio)) { cs_gpio 1058 drivers/spi/spi-omap2-mcspi.c ret = gpio_request(spi->cs_gpio, dev_name(&spi->dev)); cs_gpio 1063 drivers/spi/spi-omap2-mcspi.c gpio_direction_output(spi->cs_gpio, cs_gpio 1094 drivers/spi/spi-omap2-mcspi.c if (gpio_is_valid(spi->cs_gpio)) cs_gpio 1095 drivers/spi/spi-omap2-mcspi.c gpio_free(spi->cs_gpio); cs_gpio 1165 drivers/spi/spi-omap2-mcspi.c if (gpio_is_valid(spi->cs_gpio)) cs_gpio 1254 drivers/spi/spi-omap2-mcspi.c if (gpio_is_valid(spi->cs_gpio)) cs_gpio 332 drivers/spi/spi-orion.c if (gpio_is_valid(spi->cs_gpio)) cs_gpio 508 drivers/spi/spi-orion.c if (gpio_is_valid(spi->cs_gpio)) { cs_gpio 509 drivers/spi/spi-orion.c gpio_direction_output(spi->cs_gpio, !(spi->mode & SPI_CS_HIGH)); cs_gpio 689 drivers/spi/spi-orion.c int cs_gpio; cs_gpio 708 drivers/spi/spi-orion.c cs_gpio = of_get_named_gpio(pdev->dev.of_node, "cs-gpios", cs); cs_gpio 709 drivers/spi/spi-orion.c if (cs_gpio > 0) { cs_gpio 729 drivers/spi/spi-orion.c status = devm_gpio_request_one(&pdev->dev, cs_gpio, cs_gpio 595 drivers/spi/spi-pic32.c if (!gpio_is_valid(spi->cs_gpio)) cs_gpio 598 drivers/spi/spi-pic32.c gpio_direction_output(spi->cs_gpio, !(spi->mode & SPI_CS_HIGH)); cs_gpio 606 drivers/spi/spi-pic32.c gpio_direction_output(spi->cs_gpio, !(spi->mode & SPI_CS_HIGH)); cs_gpio 2184 drivers/spi/spi-pl022.c int cs_gpio = of_get_named_gpio(np, "cs-gpios", i); cs_gpio 2186 drivers/spi/spi-pl022.c if (cs_gpio == -EPROBE_DEFER) { cs_gpio 2191 drivers/spi/spi-pl022.c pl022->chipselects[i] = cs_gpio; cs_gpio 2193 drivers/spi/spi-pl022.c if (gpio_is_valid(cs_gpio)) { cs_gpio 2194 drivers/spi/spi-pl022.c if (devm_gpio_request(dev, cs_gpio, "ssp-pl022")) cs_gpio 2197 drivers/spi/spi-pl022.c cs_gpio); cs_gpio 2198 drivers/spi/spi-pl022.c else if (gpio_direction_output(cs_gpio, 1)) cs_gpio 2201 drivers/spi/spi-pl022.c cs_gpio); cs_gpio 789 drivers/spi/spi-s3c64xx.c spi->cs_gpio = cs->line; cs_gpio 798 drivers/spi/spi-s3c64xx.c if (gpio_is_valid(spi->cs_gpio)) { cs_gpio 799 drivers/spi/spi-s3c64xx.c err = gpio_request_one(spi->cs_gpio, GPIOF_OUT_INIT_HIGH, cs_gpio 804 drivers/spi/spi-s3c64xx.c spi->cs_gpio, err); cs_gpio 862 drivers/spi/spi-s3c64xx.c if (gpio_is_valid(spi->cs_gpio)) cs_gpio 863 drivers/spi/spi-s3c64xx.c gpio_free(spi->cs_gpio); cs_gpio 877 drivers/spi/spi-s3c64xx.c if (gpio_is_valid(spi->cs_gpio)) { cs_gpio 878 drivers/spi/spi-s3c64xx.c gpio_free(spi->cs_gpio); cs_gpio 887 drivers/spi/spi-s3c64xx.c spi->cs_gpio = -ENOENT; cs_gpio 780 drivers/spi/spi-sirf.c gpio_direction_output(spi->cs_gpio, cs_gpio 784 drivers/spi/spi-sirf.c gpio_direction_output(spi->cs_gpio, cs_gpio 1000 drivers/spi/spi-sirf.c if (spi->cs_gpio == -ENOENT) cs_gpio 1010 drivers/spi/spi-sirf.c ret = gpio_is_valid(spi->cs_gpio); cs_gpio 1016 drivers/spi/spi-sirf.c ret = gpio_request(spi->cs_gpio, DRIVER_NAME); cs_gpio 1033 drivers/spi/spi-sirf.c gpio_free(spi->cs_gpio); cs_gpio 176 drivers/spi/spi-st-ssc4.c gpio_free(spi->cs_gpio); cs_gpio 186 drivers/spi/spi-st-ssc4.c int cs = spi->cs_gpio; cs_gpio 983 drivers/spi/spi-stm32.c if (!gpio_is_valid(spi_dev->cs_gpio)) { cs_gpio 985 drivers/spi/spi-stm32.c spi_dev->cs_gpio); cs_gpio 990 drivers/spi/spi-stm32.c spi_dev->cs_gpio, cs_gpio 993 drivers/spi/spi-stm32.c ret = gpio_direction_output(spi_dev->cs_gpio, cs_gpio 512 drivers/spi/spi.c spi->cs_gpio = -ENOENT; cs_gpio 588 drivers/spi/spi.c spi->cs_gpio = ctlr->cs_gpios[spi->chip_select]; cs_gpio 781 drivers/spi/spi.c if (spi->cs_gpiod || gpio_is_valid(spi->cs_gpio)) { cs_gpio 794 drivers/spi/spi.c gpio_set_value_cansleep(spi->cs_gpio, !enable); cs_gpio 3062 drivers/spi/spi.c if (gpio_is_valid(spi->cs_gpio)) cs_gpio 3146 drivers/spi/spi.c gpio_is_valid(spi->cs_gpio))) { cs_gpio 174 include/linux/spi/spi.h int cs_gpio; /* LEGACY: chip select gpio */