Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/spi/
Dspi-mpc52xx.c93 struct gpio_desc **gpio_cs; member
105 gpiod_set_value(ms->gpio_cs[cs], value); in mpc52xx_spi_chipsel()
390 struct gpio_desc *gpio_cs; in mpc52xx_spi_probe() local
446 ms->gpio_cs = kmalloc_array(ms->gpio_cs_count, in mpc52xx_spi_probe()
447 sizeof(*ms->gpio_cs), in mpc52xx_spi_probe()
449 if (!ms->gpio_cs) { in mpc52xx_spi_probe()
455 gpio_cs = gpiod_get_index(&op->dev, in mpc52xx_spi_probe()
457 rc = PTR_ERR_OR_ZERO(gpio_cs); in mpc52xx_spi_probe()
465 ms->gpio_cs[i] = gpio_cs; in mpc52xx_spi_probe()
505 gpiod_put(ms->gpio_cs[i]); in mpc52xx_spi_probe()
[all …]
/linux-6.1.9/drivers/phy/ti/
Dphy-tusb1210.c57 struct gpio_desc *gpio_cs; member
103 gpiod_set_value_cansleep(tusb->gpio_cs, 1); in tusb1210_power_on()
118 gpiod_set_value_cansleep(tusb->gpio_cs, 0); in tusb1210_power_off()
504 tusb->gpio_cs = devm_gpiod_get_optional(&ulpi->dev, "cs", in tusb1210_probe()
506 if (IS_ERR(tusb->gpio_cs)) in tusb1210_probe()
507 return PTR_ERR(tusb->gpio_cs); in tusb1210_probe()
509 gpiod_set_value_cansleep(tusb->gpio_cs, 1); in tusb1210_probe()
/linux-6.1.9/include/linux/platform_data/
Drtc-v3020.h19 unsigned int gpio_cs; member
/linux-6.1.9/drivers/rtc/
Drtc-v3020.c113 v3020_gpio[V3020_CS].gpio = pdata->gpio_cs; in v3020_gpio_map()
/linux-6.1.9/arch/arm/mach-pxa/
Dcm-x300.c666 .gpio_cs = GPIO95_RTC_CS,