/Linux-v5.4/drivers/spi/ |
D | spi-mpc52xx.c | 89 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 …]
|
D | spi-oc-tiny.c | 54 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 …]
|
D | spi-pxa2xx.c | 1207 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/ |
D | phy-tusb1210.c | 24 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/ |
D | icontrol.c | 45 .gpio_cs = ICONTROL_MCP251x_nCS1 53 .gpio_cs = ICONTROL_MCP251x_nCS2 61 .gpio_cs = ICONTROL_MCP251x_nCS3 69 .gpio_cs = ICONTROL_MCP251x_nCS4
|
D | corgi.c | 552 .gpio_cs = CORGI_GPIO_ADS7846_CS, 577 .gpio_cs = CORGI_GPIO_LCDCON_CS, 581 .gpio_cs = CORGI_GPIO_MAX1111_CS,
|
D | z2.c | 566 .gpio_cs = GPIO24_ZIPITZ2_WIFI_CS, 580 .gpio_cs = GPIO88_ZIPITZ2_LCD_CS,
|
D | spitz.c | 514 .gpio_cs = SPITZ_GPIO_ADS7846_CS, 539 .gpio_cs = SPITZ_GPIO_LCDCON_CS, 543 .gpio_cs = SPITZ_GPIO_MAX1111_CS,
|
D | cm-x270.c | 322 .gpio_cs = 14,
|
D | stargate2.c | 356 .gpio_cs = 24, 364 .gpio_cs = 39,
|
D | littleton.c | 198 .gpio_cs = LITTLETON_GPIO_LCD_CS,
|
D | poodle.c | 209 .gpio_cs = POODLE_GPIO_TP_CS,
|
D | em-x270.c | 696 .gpio_cs = -1, 712 .gpio_cs = 14,
|
D | cm-x300.c | 665 .gpio_cs = GPIO95_RTC_CS,
|
D | hx4700.c | 615 .gpio_cs = GPIO88_HX4700_TSC2046_CS,
|
D | magician.c | 936 .gpio_cs = GPIO14_MAGICIAN_TSC2046_CS,
|
/Linux-v5.4/include/linux/spi/ |
D | spi_oc_tiny.h | 18 int *gpio_cs; member
|
D | pxa2xx_spi.h | 41 int gpio_cs; member
|
/Linux-v5.4/include/linux/platform_data/ |
D | rtc-v3020.h | 19 unsigned int gpio_cs; member
|
/Linux-v5.4/arch/x86/platform/intel-mid/device_libs/ |
D | platform_mrfld_spidev.c | 27 .gpio_cs = MRFLD_SPIDEV_GPIO_CS,
|
/Linux-v5.4/drivers/rtc/ |
D | rtc-v3020.c | 113 v3020_gpio[V3020_CS].gpio = pdata->gpio_cs; in v3020_gpio_map()
|