Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpiolib.h215 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
218 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
221 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
224 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
227 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
230 pr_debug("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
Dgpiolib-of.c116 return desc_to_gpio(desc); in of_get_named_gpio_flags()
218 desc_to_gpio(desc), np->name); in of_parse_own_gpio()
Dgpiolib.c131 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function
135 EXPORT_SYMBOL_GPL(desc_to_gpio);
2221 trace_gpio_direction(desc_to_gpio(desc), 1, status); in gpiod_direction_input()
2281 trace_gpio_value(desc_to_gpio(desc), 0, value); in _gpiod_direction_output_raw()
2282 trace_gpio_direction(desc_to_gpio(desc), 0, ret); in _gpiod_direction_output_raw()
2395 trace_gpio_value(desc_to_gpio(desc), 1, value); in _gpiod_get_raw_value()
2467 trace_gpio_direction(desc_to_gpio(desc), value, err); in _gpio_set_open_drain_value()
2494 trace_gpio_direction(desc_to_gpio(desc), !value, err); in _gpio_set_open_source_value()
2506 trace_gpio_value(desc_to_gpio(desc), 0, value); in _gpiod_set_raw_value()
2569 trace_gpio_value(desc_to_gpio(desc), 0, value); in gpiod_set_array_value_complex()
[all …]
Dgpiolib-sysfs.c613 desc_to_gpio(desc)); in gpiod_export()
/drivers/nfc/nxp-nci/
Di2c.c310 phy->gpio_en = desc_to_gpio(gpiod_en); in nxp_nci_i2c_acpi_config()
311 phy->gpio_fw = desc_to_gpio(gpiod_fw); in nxp_nci_i2c_acpi_config()
/drivers/input/misc/
Dgpio_decoder.c45 desc_to_gpio(gpios->desc[i]), val); in gpio_decoder_get_gpios_state()
Dsoc_button_array.c61 gpio = desc_to_gpio(desc); in soc_button_lookup_gpio()
/drivers/char/tpm/st33zp24/
Di2c.c137 phy->io_lpcpd = desc_to_gpio(gpiod_lpcpd); in st33zp24_i2c_acpi_request_resources()
Dspi.c255 phy->io_lpcpd = desc_to_gpio(gpiod_lpcpd); in st33zp24_spi_acpi_request_resources()
/drivers/extcon/
Dextcon-axp288.c320 gpio = desc_to_gpio(info->pdata->gpio_mux_cntl); in axp288_extcon_probe()
/drivers/nfc/st-nci/
Di2c.c226 phy->gpio_reset = desc_to_gpio(gpiod_reset); in st_nci_i2c_acpi_request_resources()
Dspi.c241 phy->gpio_reset = desc_to_gpio(gpiod_reset); in st_nci_spi_acpi_request_resources()
/drivers/nfc/pn544/
Di2c.c891 phy->gpio_en = desc_to_gpio(gpiod_en); in pn544_hci_i2c_acpi_request_resources()
901 phy->gpio_fw = desc_to_gpio(gpiod_fw); in pn544_hci_i2c_acpi_request_resources()
/drivers/input/touchscreen/
Dedt-ft5x06.c1015 tsdata->wake_gpio ? desc_to_gpio(tsdata->wake_gpio) : -1, in edt_ft5x06_ts_probe()
1016 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in edt_ft5x06_ts_probe()
/drivers/iio/accel/
Dmma9551.c443 desc_to_gpio(gpio), data->irqs[i]); in mma9551_gpio_probe()
/drivers/nfc/st21nfca/
Di2c.c522 phy->gpio_ena = desc_to_gpio(gpiod_ena); in st21nfca_hci_i2c_acpi_request_resources()
/drivers/power/supply/
Dbq24257_charger.c888 dev_dbg(bq->dev, "probed PG pin = %d\n", desc_to_gpio(bq->pg)); in bq24257_pg_gpio_probe()
/drivers/bluetooth/
Dhci_intel.c1248 desc_to_gpio(idev->reset), idev->irq); in intel_probe()
/drivers/spi/
Dspi-pxa2xx.c1209 chip->gpio_cs = desc_to_gpio(gpiod); in setup_cs()