Searched refs:desc_to_gpio (Results 1 – 19 of 19) sorted by relevance
/drivers/gpio/ |
D | gpiolib.h | 215 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 ? : "?",\
|
D | gpiolib-of.c | 116 return desc_to_gpio(desc); in of_get_named_gpio_flags() 218 desc_to_gpio(desc), np->name); in of_parse_own_gpio()
|
D | gpiolib.c | 131 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 …]
|
D | gpiolib-sysfs.c | 613 desc_to_gpio(desc)); in gpiod_export()
|
/drivers/nfc/nxp-nci/ |
D | i2c.c | 310 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/ |
D | gpio_decoder.c | 45 desc_to_gpio(gpios->desc[i]), val); in gpio_decoder_get_gpios_state()
|
D | soc_button_array.c | 61 gpio = desc_to_gpio(desc); in soc_button_lookup_gpio()
|
/drivers/char/tpm/st33zp24/ |
D | i2c.c | 137 phy->io_lpcpd = desc_to_gpio(gpiod_lpcpd); in st33zp24_i2c_acpi_request_resources()
|
D | spi.c | 255 phy->io_lpcpd = desc_to_gpio(gpiod_lpcpd); in st33zp24_spi_acpi_request_resources()
|
/drivers/extcon/ |
D | extcon-axp288.c | 320 gpio = desc_to_gpio(info->pdata->gpio_mux_cntl); in axp288_extcon_probe()
|
/drivers/nfc/st-nci/ |
D | i2c.c | 226 phy->gpio_reset = desc_to_gpio(gpiod_reset); in st_nci_i2c_acpi_request_resources()
|
D | spi.c | 241 phy->gpio_reset = desc_to_gpio(gpiod_reset); in st_nci_spi_acpi_request_resources()
|
/drivers/nfc/pn544/ |
D | i2c.c | 891 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/ |
D | edt-ft5x06.c | 1015 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/ |
D | mma9551.c | 443 desc_to_gpio(gpio), data->irqs[i]); in mma9551_gpio_probe()
|
/drivers/nfc/st21nfca/ |
D | i2c.c | 522 phy->gpio_ena = desc_to_gpio(gpiod_ena); in st21nfca_hci_i2c_acpi_request_resources()
|
/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()
|
/drivers/bluetooth/ |
D | hci_intel.c | 1248 desc_to_gpio(idev->reset), idev->irq); in intel_probe()
|
/drivers/spi/ |
D | spi-pxa2xx.c | 1209 chip->gpio_cs = desc_to_gpio(gpiod); in setup_cs()
|