/Linux-v4.19/drivers/gpio/ |
D | gpiolib.h | 247 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\ 250 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 253 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 256 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 259 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 262 pr_debug("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
|
D | gpiolib.c | 160 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function 164 EXPORT_SYMBOL_GPL(desc_to_gpio); 2532 trace_gpio_direction(desc_to_gpio(desc), 1, status); in gpiod_direction_input() 2562 trace_gpio_value(desc_to_gpio(desc), 0, val); in gpiod_direction_output_raw_commit() 2563 trace_gpio_direction(desc_to_gpio(desc), 0, ret); in gpiod_direction_output_raw_commit() 2762 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_raw_value_commit() 2840 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_array_value_complex() 2962 trace_gpio_direction(desc_to_gpio(desc), value, err); in gpio_set_open_drain_value_commit() 2989 trace_gpio_direction(desc_to_gpio(desc), !value, err); in gpio_set_open_source_value_commit() 3001 trace_gpio_value(desc_to_gpio(desc), 0, value); in gpiod_set_raw_value_commit() [all …]
|
D | gpiolib-of.c | 157 return desc_to_gpio(desc); in of_get_named_gpio_flags() 353 desc_to_gpio(desc), np->name); in of_parse_own_gpio()
|
D | gpiolib-sysfs.c | 637 desc_to_gpio(desc)); in gpiod_export()
|
/Linux-v4.19/drivers/nfc/nxp-nci/ |
D | i2c.c | 308 phy->gpio_en = desc_to_gpio(gpiod_en); in nxp_nci_i2c_acpi_config() 309 phy->gpio_fw = desc_to_gpio(gpiod_fw); in nxp_nci_i2c_acpi_config()
|
/Linux-v4.19/drivers/input/misc/ |
D | gpio_decoder.c | 45 desc_to_gpio(gpios->desc[i]), val); in gpio_decoder_get_gpios_state()
|
D | soc_button_array.c | 55 gpio = desc_to_gpio(desc); in soc_button_lookup_gpio()
|
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-gpio.c | 366 desc_to_gpio(priv->sda), desc_to_gpio(priv->scl), in i2c_gpio_probe()
|
/Linux-v4.19/include/linux/gpio/ |
D | consumer.h | 149 int desc_to_gpio(const struct gpio_desc *desc); 479 static inline int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function
|
/Linux-v4.19/drivers/platform/x86/ |
D | surface3_button.c | 84 gpio = desc_to_gpio(desc); in surface3_button_lookup_gpio()
|
/Linux-v4.19/drivers/char/tpm/st33zp24/ |
D | i2c.c | 148 phy->io_lpcpd = desc_to_gpio(gpiod_lpcpd); in st33zp24_i2c_acpi_request_resources()
|
D | spi.c | 266 phy->io_lpcpd = desc_to_gpio(gpiod_lpcpd); in st33zp24_spi_acpi_request_resources()
|
/Linux-v4.19/sound/soc/omap/ |
D | rx51.c | 300 rx51_av_jack_gpios[0].gpio = desc_to_gpio(pdata->jack_detection_gpio); in rx51_aic34_init()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | edt-ft5x06.c | 1105 tsdata->wake_gpio ? desc_to_gpio(tsdata->wake_gpio) : -1, in edt_ft5x06_ts_probe() 1106 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in edt_ft5x06_ts_probe()
|
/Linux-v4.19/arch/arm/mach-s3c24xx/ |
D | mach-h1940.c | 362 int gpio = desc ? desc_to_gpio(desc) : -EINVAL; in h1940_led_blink_set()
|
D | mach-rx1950.c | 251 int gpio = desc_to_gpio(desc); in rx1950_led_blink_set()
|
/Linux-v4.19/drivers/iio/accel/ |
D | mma9551.c | 440 desc_to_gpio(gpio), data->irqs[i]); in mma9551_gpio_probe()
|
/Linux-v4.19/arch/arm/mach-omap1/ |
D | board-ams-delta.c | 795 gpio_leds[i].gpio = desc_to_gpio(gpiod); in ams_delta_led_init()
|
/Linux-v4.19/arch/arm/plat-orion/ |
D | gpio.c | 306 unsigned gpio = desc_to_gpio(desc); in orion_gpio_led_blink_set()
|
/Linux-v4.19/Documentation/driver-api/gpio/ |
D | consumer.rst | 430 int desc_to_gpio(const struct gpio_desc *desc) 433 The GPIO number returned by desc_to_gpio() can be safely used as long as the
|
/Linux-v4.19/drivers/bluetooth/ |
D | hci_intel.c | 1221 desc_to_gpio(idev->reset), idev->irq); in intel_probe()
|
/Linux-v4.19/drivers/power/supply/ |
D | bq24257_charger.c | 888 dev_dbg(bq->dev, "probed PG pin = %d\n", desc_to_gpio(bq->pg)); in bq24257_pg_gpio_probe()
|