/Linux-v4.19/drivers/spi/ |
D | spi-mpc52xx.c | 90 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 …]
|
D | spi-oc-tiny.c | 57 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 …]
|
D | spi-pxa2xx.c | 1159 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/ |
D | phy-tusb1210.c | 27 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/ |
D | icontrol.c | 48 .gpio_cs = ICONTROL_MCP251x_nCS1 56 .gpio_cs = ICONTROL_MCP251x_nCS2 64 .gpio_cs = ICONTROL_MCP251x_nCS3 72 .gpio_cs = ICONTROL_MCP251x_nCS4
|
D | corgi.c | 543 .gpio_cs = CORGI_GPIO_ADS7846_CS, 568 .gpio_cs = CORGI_GPIO_LCDCON_CS, 572 .gpio_cs = CORGI_GPIO_MAX1111_CS,
|
D | spitz.c | 517 .gpio_cs = SPITZ_GPIO_ADS7846_CS, 542 .gpio_cs = SPITZ_GPIO_LCDCON_CS, 546 .gpio_cs = SPITZ_GPIO_MAX1111_CS,
|
D | z2.c | 561 .gpio_cs = GPIO24_ZIPITZ2_WIFI_CS, 575 .gpio_cs = GPIO88_ZIPITZ2_LCD_CS,
|
D | cm-x270.c | 315 .gpio_cs = 14,
|
D | stargate2.c | 359 .gpio_cs = 24, 367 .gpio_cs = 39,
|
D | littleton.c | 203 .gpio_cs = LITTLETON_GPIO_LCD_CS,
|
D | poodle.c | 211 .gpio_cs = POODLE_GPIO_TP_CS,
|
D | em-x270.c | 709 .gpio_cs = -1, 725 .gpio_cs = 14,
|
D | cm-x300.c | 662 .gpio_cs = GPIO95_RTC_CS,
|
D | hx4700.c | 618 .gpio_cs = GPIO88_HX4700_TSC2046_CS,
|
D | magician.c | 913 .gpio_cs = GPIO14_MAGICIAN_TSC2046_CS,
|
/Linux-v4.19/include/linux/spi/ |
D | spi_oc_tiny.h | 18 int *gpio_cs; member
|
D | pxa2xx_spi.h | 48 int gpio_cs; member
|
/Linux-v4.19/include/linux/platform_data/ |
D | rtc-v3020.h | 19 unsigned int gpio_cs; member
|
/Linux-v4.19/arch/x86/platform/intel-mid/device_libs/ |
D | platform_mrfld_spidev.c | 31 .gpio_cs = MRFLD_SPIDEV_GPIO_CS,
|
/Linux-v4.19/drivers/rtc/ |
D | rtc-v3020.c | 117 v3020_gpio[V3020_CS].gpio = pdata->gpio_cs; in v3020_gpio_map()
|