Home
last modified time | relevance | path

Searched refs:desc_to_gpio (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/drivers/gpio/
Dgpiolib.h217 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
220 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
223 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
226 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
229 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
232 pr_debug("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
Dgpiolib.c163 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function
167 EXPORT_SYMBOL_GPL(desc_to_gpio);
2327 trace_gpio_direction(desc_to_gpio(desc), 1, ret); in gpiod_direction_input()
2371 trace_gpio_value(desc_to_gpio(desc), 0, val); in gpiod_direction_output_raw_commit()
2372 trace_gpio_direction(desc_to_gpio(desc), 0, ret); in gpiod_direction_output_raw_commit()
2646 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_raw_value_commit()
2766 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_array_value_complex()
2901 trace_gpio_direction(desc_to_gpio(desc), value, ret); in gpio_set_open_drain_value_commit()
2926 trace_gpio_direction(desc_to_gpio(desc), !value, ret); in gpio_set_open_source_value_commit()
2938 trace_gpio_value(desc_to_gpio(desc), 0, value); in gpiod_set_raw_value_commit()
[all …]
Dgpiolib-of.c288 return desc_to_gpio(desc); in of_get_named_gpio_flags()
604 desc_to_gpio(desc), np); in of_parse_own_gpio()
Dgpio-aggregator.c432 desc_to_gpio(descs[i]), gpiod_to_irq(descs[i])); in gpiochip_fwd_create()
Dgpiolib-sysfs.c613 desc_to_gpio(desc)); in gpiod_export()
/linux-6.1.9/drivers/input/misc/
Dgpio_decoder.c35 desc_to_gpio(gpios->desc[i]), val); in gpio_decoder_get_gpios_state()
Dsoc_button_array.c123 *gpio_ret = desc_to_gpio(desc); in soc_button_lookup_gpio()
/linux-6.1.9/drivers/i2c/busses/
Di2c-gpio.c461 desc_to_gpio(priv->sda), desc_to_gpio(priv->scl), in i2c_gpio_probe()
/linux-6.1.9/include/linux/gpio/
Dconsumer.h172 int desc_to_gpio(const struct gpio_desc *desc);
542 static inline int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function
/linux-6.1.9/drivers/char/tpm/st33zp24/
Di2c.c136 phy->io_lpcpd = desc_to_gpio(gpiod_lpcpd); in st33zp24_i2c_acpi_request_resources()
Dspi.c254 phy->io_lpcpd = desc_to_gpio(gpiod_lpcpd); in st33zp24_spi_acpi_request_resources()
/linux-6.1.9/drivers/iio/humidity/
Ddht11.c311 dev_err(dev, "GPIO %d has no interrupt\n", desc_to_gpio(dht11->gpiod)); in dht11_probe()
/linux-6.1.9/sound/soc/ti/
Drx51.c287 rx51_av_jack_gpios[0].gpio = desc_to_gpio(pdata->jack_detection_gpio); in rx51_aic34_init()
/linux-6.1.9/drivers/platform/x86/
Dx86-android-tablets.c307 advantech_mica_071_button.gpio = desc_to_gpio(gpiod); in advantech_mica_071_init()
357 asus_me176c_tf103c_lid.gpio = desc_to_gpio(gpiod); in asus_me176c_tf103c_init()
/linux-6.1.9/drivers/iio/accel/
Dmma9551.c432 desc_to_gpio(gpio), data->irqs[i]); in mma9551_gpio_probe()
/linux-6.1.9/arch/arm/mach-s3c/
Dmach-rx1950.c260 int gpio = desc_to_gpio(desc); in rx1950_led_blink_set()
Dmach-h1940.c379 int gpio = desc ? desc_to_gpio(desc) : -EINVAL; in h1940_led_blink_set()
/linux-6.1.9/drivers/input/touchscreen/
Dedt-ft5x06.c1343 tsdata->wake_gpio ? desc_to_gpio(tsdata->wake_gpio) : -1, in edt_ft5x06_ts_probe()
1344 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in edt_ft5x06_ts_probe()
Dhycon-hy46xx.c550 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in hycon_hy46xx_probe()
/linux-6.1.9/arch/arm/plat-orion/
Dgpio.c306 unsigned gpio = desc_to_gpio(desc); in orion_gpio_led_blink_set()
/linux-6.1.9/Documentation/driver-api/gpio/
Dconsumer.rst458 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-6.1.9/drivers/power/supply/
Dbq24257_charger.c878 dev_dbg(bq->dev, "probed PG pin = %d\n", desc_to_gpio(bq->pg)); in bq24257_pg_gpio_probe()
/linux-6.1.9/drivers/bluetooth/
Dhci_intel.c1188 desc_to_gpio(idev->reset), idev->irq); in intel_probe()
/linux-6.1.9/drivers/gpu/drm/bridge/analogix/
Danx7625.c1394 desc_to_gpio(platform->pdata.gpio_p_on), in anx7625_init_gpio()
1395 desc_to_gpio(platform->pdata.gpio_reset)); in anx7625_init_gpio()
/linux-6.1.9/drivers/usb/gadget/udc/
Dat91_udc.c1902 desc_to_gpio(udc->board.vbus_pin)); in at91udc_probe()

12