Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/spi/
Dspi-mpc52xx.c89 unsigned int *gpio_cs; member
101 gpio_set_value(ms->gpio_cs[cs], value ? 0 : 1); in mpc52xx_spi_chipsel()
386 int gpio_cs; in mpc52xx_spi_probe() local
439 ms->gpio_cs = kmalloc_array(ms->gpio_cs_count, in mpc52xx_spi_probe()
440 sizeof(*ms->gpio_cs), in mpc52xx_spi_probe()
442 if (!ms->gpio_cs) { in mpc52xx_spi_probe()
448 gpio_cs = of_get_gpio(op->dev.of_node, i); in mpc52xx_spi_probe()
449 if (!gpio_is_valid(gpio_cs)) { in mpc52xx_spi_probe()
456 rc = gpio_request(gpio_cs, dev_name(&op->dev)); in mpc52xx_spi_probe()
460 i, gpio_cs); in mpc52xx_spi_probe()
[all …]
Dspi-oc-tiny.c54 int *gpio_cs; member
74 gpio_set_value(hw->gpio_cs[spi->chip_select], in tiny_spi_chipselect()
213 hw->gpio_cs = devm_kcalloc(&pdev->dev, in tiny_spi_of_probe()
216 if (!hw->gpio_cs) in tiny_spi_of_probe()
220 hw->gpio_cs[i] = of_get_gpio_flags(np, i, NULL); in tiny_spi_of_probe()
221 if (hw->gpio_cs[i] < 0) in tiny_spi_of_probe()
283 hw->gpio_cs = platp->gpio_cs; in tiny_spi_probe()
284 if (platp->gpio_cs_count && !platp->gpio_cs) { in tiny_spi_probe()
296 err = gpio_request(hw->gpio_cs[i], dev_name(&pdev->dev)); in tiny_spi_probe()
299 gpio_direction_output(hw->gpio_cs[i], 1); in tiny_spi_probe()
[all …]
Dspi-pxa2xx.c1207 if (gpio_is_valid(chip_info->gpio_cs)) { in setup_cs()
1208 err = gpio_request(chip_info->gpio_cs, "SPI_CS"); in setup_cs()
1211 chip_info->gpio_cs); in setup_cs()
1215 gpiod = gpio_to_desc(chip_info->gpio_cs); in setup_cs()
/Linux-v5.4/drivers/phy/ti/
Dphy-tusb1210.c24 struct gpio_desc *gpio_cs; member
33 gpiod_set_value_cansleep(tusb->gpio_cs, 1); in tusb1210_power_on()
48 gpiod_set_value_cansleep(tusb->gpio_cs, 0); in tusb1210_power_off()
109 tusb->gpio_cs = devm_gpiod_get_optional(&ulpi->dev, "cs", in tusb1210_probe()
111 if (IS_ERR(tusb->gpio_cs)) in tusb1210_probe()
112 return PTR_ERR(tusb->gpio_cs); in tusb1210_probe()
114 gpiod_set_value_cansleep(tusb->gpio_cs, 1); in tusb1210_probe()
/Linux-v5.4/arch/arm/mach-pxa/
Dicontrol.c45 .gpio_cs = ICONTROL_MCP251x_nCS1
53 .gpio_cs = ICONTROL_MCP251x_nCS2
61 .gpio_cs = ICONTROL_MCP251x_nCS3
69 .gpio_cs = ICONTROL_MCP251x_nCS4
Dcorgi.c552 .gpio_cs = CORGI_GPIO_ADS7846_CS,
577 .gpio_cs = CORGI_GPIO_LCDCON_CS,
581 .gpio_cs = CORGI_GPIO_MAX1111_CS,
Dz2.c566 .gpio_cs = GPIO24_ZIPITZ2_WIFI_CS,
580 .gpio_cs = GPIO88_ZIPITZ2_LCD_CS,
Dspitz.c514 .gpio_cs = SPITZ_GPIO_ADS7846_CS,
539 .gpio_cs = SPITZ_GPIO_LCDCON_CS,
543 .gpio_cs = SPITZ_GPIO_MAX1111_CS,
Dcm-x270.c322 .gpio_cs = 14,
Dstargate2.c356 .gpio_cs = 24,
364 .gpio_cs = 39,
Dlittleton.c198 .gpio_cs = LITTLETON_GPIO_LCD_CS,
Dpoodle.c209 .gpio_cs = POODLE_GPIO_TP_CS,
Dem-x270.c696 .gpio_cs = -1,
712 .gpio_cs = 14,
Dcm-x300.c665 .gpio_cs = GPIO95_RTC_CS,
Dhx4700.c615 .gpio_cs = GPIO88_HX4700_TSC2046_CS,
Dmagician.c936 .gpio_cs = GPIO14_MAGICIAN_TSC2046_CS,
/Linux-v5.4/include/linux/spi/
Dspi_oc_tiny.h18 int *gpio_cs; member
Dpxa2xx_spi.h41 int gpio_cs; member
/Linux-v5.4/include/linux/platform_data/
Drtc-v3020.h19 unsigned int gpio_cs; member
/Linux-v5.4/arch/x86/platform/intel-mid/device_libs/
Dplatform_mrfld_spidev.c27 .gpio_cs = MRFLD_SPIDEV_GPIO_CS,
/Linux-v5.4/drivers/rtc/
Drtc-v3020.c113 v3020_gpio[V3020_CS].gpio = pdata->gpio_cs; in v3020_gpio_map()