Home
last modified time | relevance | path

Searched refs:gpio_cs (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/drivers/spi/
Dspi-mpc52xx.c90 unsigned int *gpio_cs; member
102 gpio_set_value(ms->gpio_cs[cs], value ? 0 : 1); in mpc52xx_spi_chipsel()
387 int gpio_cs; in mpc52xx_spi_probe() local
440 ms->gpio_cs = kmalloc_array(ms->gpio_cs_count, in mpc52xx_spi_probe()
441 sizeof(*ms->gpio_cs), in mpc52xx_spi_probe()
443 if (!ms->gpio_cs) { in mpc52xx_spi_probe()
449 gpio_cs = of_get_gpio(op->dev.of_node, i); in mpc52xx_spi_probe()
450 if (!gpio_is_valid(gpio_cs)) { in mpc52xx_spi_probe()
457 rc = gpio_request(gpio_cs, dev_name(&op->dev)); in mpc52xx_spi_probe()
461 i, gpio_cs); in mpc52xx_spi_probe()
[all …]
Dspi-oc-tiny.c57 int *gpio_cs; member
77 gpio_set_value(hw->gpio_cs[spi->chip_select], in tiny_spi_chipselect()
216 hw->gpio_cs = devm_kcalloc(&pdev->dev, in tiny_spi_of_probe()
219 if (!hw->gpio_cs) in tiny_spi_of_probe()
223 hw->gpio_cs[i] = of_get_gpio_flags(np, i, NULL); in tiny_spi_of_probe()
224 if (hw->gpio_cs[i] < 0) in tiny_spi_of_probe()
288 hw->gpio_cs = platp->gpio_cs; in tiny_spi_probe()
289 if (platp->gpio_cs_count && !platp->gpio_cs) { in tiny_spi_probe()
301 err = gpio_request(hw->gpio_cs[i], dev_name(&pdev->dev)); in tiny_spi_probe()
304 gpio_direction_output(hw->gpio_cs[i], 1); in tiny_spi_probe()
[all …]
Dspi-pxa2xx.c1159 if (gpio_is_valid(chip_info->gpio_cs)) { in setup_cs()
1160 err = gpio_request(chip_info->gpio_cs, "SPI_CS"); in setup_cs()
1163 chip_info->gpio_cs); in setup_cs()
1167 gpiod = gpio_to_desc(chip_info->gpio_cs); in setup_cs()
/Linux-v4.19/drivers/phy/ti/
Dphy-tusb1210.c27 struct gpio_desc *gpio_cs; member
36 gpiod_set_value_cansleep(tusb->gpio_cs, 1); in tusb1210_power_on()
51 gpiod_set_value_cansleep(tusb->gpio_cs, 0); in tusb1210_power_off()
112 tusb->gpio_cs = devm_gpiod_get_optional(&ulpi->dev, "cs", in tusb1210_probe()
114 if (IS_ERR(tusb->gpio_cs)) in tusb1210_probe()
115 return PTR_ERR(tusb->gpio_cs); in tusb1210_probe()
117 gpiod_set_value_cansleep(tusb->gpio_cs, 1); in tusb1210_probe()
/Linux-v4.19/arch/arm/mach-pxa/
Dicontrol.c48 .gpio_cs = ICONTROL_MCP251x_nCS1
56 .gpio_cs = ICONTROL_MCP251x_nCS2
64 .gpio_cs = ICONTROL_MCP251x_nCS3
72 .gpio_cs = ICONTROL_MCP251x_nCS4
Dcorgi.c543 .gpio_cs = CORGI_GPIO_ADS7846_CS,
568 .gpio_cs = CORGI_GPIO_LCDCON_CS,
572 .gpio_cs = CORGI_GPIO_MAX1111_CS,
Dspitz.c517 .gpio_cs = SPITZ_GPIO_ADS7846_CS,
542 .gpio_cs = SPITZ_GPIO_LCDCON_CS,
546 .gpio_cs = SPITZ_GPIO_MAX1111_CS,
Dz2.c561 .gpio_cs = GPIO24_ZIPITZ2_WIFI_CS,
575 .gpio_cs = GPIO88_ZIPITZ2_LCD_CS,
Dcm-x270.c315 .gpio_cs = 14,
Dstargate2.c359 .gpio_cs = 24,
367 .gpio_cs = 39,
Dlittleton.c203 .gpio_cs = LITTLETON_GPIO_LCD_CS,
Dpoodle.c211 .gpio_cs = POODLE_GPIO_TP_CS,
Dem-x270.c709 .gpio_cs = -1,
725 .gpio_cs = 14,
Dcm-x300.c662 .gpio_cs = GPIO95_RTC_CS,
Dhx4700.c618 .gpio_cs = GPIO88_HX4700_TSC2046_CS,
Dmagician.c913 .gpio_cs = GPIO14_MAGICIAN_TSC2046_CS,
/Linux-v4.19/include/linux/spi/
Dspi_oc_tiny.h18 int *gpio_cs; member
Dpxa2xx_spi.h48 int gpio_cs; member
/Linux-v4.19/include/linux/platform_data/
Drtc-v3020.h19 unsigned int gpio_cs; member
/Linux-v4.19/arch/x86/platform/intel-mid/device_libs/
Dplatform_mrfld_spidev.c31 .gpio_cs = MRFLD_SPIDEV_GPIO_CS,
/Linux-v4.19/drivers/rtc/
Drtc-v3020.c117 v3020_gpio[V3020_CS].gpio = pdata->gpio_cs; in v3020_gpio_map()