| /Linux-v5.15/drivers/gpio/ |
| D | gpiolib.h | 155 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\ 158 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 161 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 164 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 167 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 170 pr_debug("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
|
| D | gpiolib.c | 163 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function 167 EXPORT_SYMBOL_GPL(desc_to_gpio); 2245 trace_gpio_direction(desc_to_gpio(desc), 1, ret); in gpiod_direction_input() 2289 trace_gpio_value(desc_to_gpio(desc), 0, val); in gpiod_direction_output_raw_commit() 2290 trace_gpio_direction(desc_to_gpio(desc), 0, ret); in gpiod_direction_output_raw_commit() 2504 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_raw_value_commit() 2624 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_array_value_complex() 2759 trace_gpio_direction(desc_to_gpio(desc), value, ret); in gpio_set_open_drain_value_commit() 2784 trace_gpio_direction(desc_to_gpio(desc), !value, ret); in gpio_set_open_source_value_commit() 2796 trace_gpio_value(desc_to_gpio(desc), 0, value); in gpiod_set_raw_value_commit() [all …]
|
| D | gpiolib-of.c | 288 return desc_to_gpio(desc); in of_get_named_gpio_flags() 633 desc_to_gpio(desc), np); in of_parse_own_gpio()
|
| D | gpio-aggregator.c | 417 dev_dbg(dev, "%u => gpio-%d\n", i, desc_to_gpio(descs[i])); in gpiochip_fwd_create()
|
| D | gpiolib-sysfs.c | 633 desc_to_gpio(desc)); in gpiod_export()
|
| /Linux-v5.15/drivers/input/misc/ |
| D | gpio_decoder.c | 43 desc_to_gpio(gpios->desc[i]), val); in gpio_decoder_get_gpios_state()
|
| D | soc_button_array.c | 112 *gpio_ret = desc_to_gpio(desc); in soc_button_lookup_gpio()
|
| /Linux-v5.15/drivers/i2c/busses/ |
| D | i2c-gpio.c | 461 desc_to_gpio(priv->sda), desc_to_gpio(priv->scl), in i2c_gpio_probe()
|
| /Linux-v5.15/drivers/platform/surface/ |
| D | surface3_button.c | 80 gpio = desc_to_gpio(desc); in surface3_button_lookup_gpio()
|
| /Linux-v5.15/include/linux/gpio/ |
| D | consumer.h | 173 int desc_to_gpio(const struct gpio_desc *desc); 537 static inline int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function
|
| /Linux-v5.15/drivers/char/tpm/st33zp24/ |
| D | i2c.c | 136 phy->io_lpcpd = desc_to_gpio(gpiod_lpcpd); in st33zp24_i2c_acpi_request_resources()
|
| D | spi.c | 254 phy->io_lpcpd = desc_to_gpio(gpiod_lpcpd); in st33zp24_spi_acpi_request_resources()
|
| /Linux-v5.15/drivers/iio/humidity/ |
| D | dht11.c | 312 dev_err(dev, "GPIO %d has no interrupt\n", desc_to_gpio(dht11->gpiod)); in dht11_probe()
|
| /Linux-v5.15/sound/soc/ti/ |
| D | rx51.c | 287 rx51_av_jack_gpios[0].gpio = desc_to_gpio(pdata->jack_detection_gpio); in rx51_aic34_init()
|
| /Linux-v5.15/drivers/iio/accel/ |
| D | mma9551.c | 432 desc_to_gpio(gpio), data->irqs[i]); in mma9551_gpio_probe()
|
| /Linux-v5.15/arch/arm/mach-s3c/ |
| D | mach-h1940.c | 373 int gpio = desc ? desc_to_gpio(desc) : -EINVAL; in h1940_led_blink_set()
|
| D | mach-rx1950.c | 260 int gpio = desc_to_gpio(desc); in rx1950_led_blink_set()
|
| /Linux-v5.15/drivers/input/touchscreen/ |
| D | edt-ft5x06.c | 1263 tsdata->wake_gpio ? desc_to_gpio(tsdata->wake_gpio) : -1, in edt_ft5x06_ts_probe() 1264 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in edt_ft5x06_ts_probe()
|
| D | hycon-hy46xx.c | 550 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in hycon_hy46xx_probe()
|
| /Linux-v5.15/arch/arm/plat-orion/ |
| D | gpio.c | 306 unsigned gpio = desc_to_gpio(desc); in orion_gpio_led_blink_set()
|
| /Linux-v5.15/Documentation/driver-api/gpio/ |
| D | consumer.rst | 458 int desc_to_gpio(const struct gpio_desc *desc) 461 The GPIO number returned by desc_to_gpio() can safely be used as a parameter of
|
| /Linux-v5.15/drivers/power/supply/ |
| D | bq24257_charger.c | 878 dev_dbg(bq->dev, "probed PG pin = %d\n", desc_to_gpio(bq->pg)); in bq24257_pg_gpio_probe()
|
| /Linux-v5.15/drivers/gpu/drm/bridge/analogix/ |
| D | anx7625.c | 1043 desc_to_gpio(platform->pdata.gpio_p_on), in anx7625_init_gpio() 1044 desc_to_gpio(platform->pdata.gpio_reset)); in anx7625_init_gpio()
|
| /Linux-v5.15/drivers/bluetooth/ |
| D | hci_intel.c | 1188 desc_to_gpio(idev->reset), idev->irq); in intel_probe()
|