Searched refs:desc_to_gpio (Results 1 – 16 of 16) sorted by relevance
/drivers/gpio/ |
D | gpiolib.h | 151 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\ 154 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 157 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 160 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 163 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 166 pr_debug("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
|
D | gpiolib.c | 164 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function 168 EXPORT_SYMBOL_GPL(desc_to_gpio); 2376 trace_gpio_direction(desc_to_gpio(desc), 1, ret); in gpiod_direction_input() 2420 trace_gpio_value(desc_to_gpio(desc), 0, val); in gpiod_direction_output_raw_commit() 2421 trace_gpio_direction(desc_to_gpio(desc), 0, ret); in gpiod_direction_output_raw_commit() 2651 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_raw_value_commit() 2762 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_array_value_complex() 2895 trace_gpio_direction(desc_to_gpio(desc), value, ret); in gpio_set_open_drain_value_commit() 2920 trace_gpio_direction(desc_to_gpio(desc), !value, ret); in gpio_set_open_source_value_commit() 2932 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 | 484 dev_dbg(dev, "%u => gpio-%d\n", i, desc_to_gpio(descs[i])); in gpiochip_fwd_create()
|
D | gpiolib-sysfs.c | 644 desc_to_gpio(desc)); in gpiod_export()
|
/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 | 144 *gpio_ret = desc_to_gpio(desc); in soc_button_lookup_gpio()
|
/drivers/i2c/busses/ |
D | i2c-gpio.c | 461 desc_to_gpio(priv->sda), desc_to_gpio(priv->scl), in i2c_gpio_probe()
|
/drivers/platform/x86/ |
D | surface3_button.c | 80 gpio = desc_to_gpio(desc); in surface3_button_lookup_gpio()
|
/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()
|
/drivers/iio/humidity/ |
D | dht11.c | 312 dev_err(dev, "GPIO %d has no interrupt\n", desc_to_gpio(dht11->gpiod)); in dht11_probe()
|
/drivers/iio/accel/ |
D | mma9551.c | 432 desc_to_gpio(gpio), data->irqs[i]); in mma9551_gpio_probe()
|
/drivers/input/touchscreen/ |
D | edt-ft5x06.c | 1250 tsdata->wake_gpio ? desc_to_gpio(tsdata->wake_gpio) : -1, in edt_ft5x06_ts_probe() 1251 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in edt_ft5x06_ts_probe()
|
/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()
|
/drivers/bluetooth/ |
D | hci_intel.c | 1185 desc_to_gpio(idev->reset), idev->irq); in intel_probe()
|