Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpiolib.h122 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
125 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
128 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
131 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
134 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
137 pr_debug("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
Dgpiolib.c108 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function
112 EXPORT_SYMBOL_GPL(desc_to_gpio);
1122 trace_gpio_direction(desc_to_gpio(desc), 1, status); in gpiod_direction_input()
1160 trace_gpio_value(desc_to_gpio(desc), 0, value); in _gpiod_direction_output_raw()
1161 trace_gpio_direction(desc_to_gpio(desc), 0, status); in _gpiod_direction_output_raw()
1289 trace_gpio_value(desc_to_gpio(desc), 1, value); in _gpiod_get_raw_value()
1362 trace_gpio_direction(desc_to_gpio(desc), value, err); in _gpio_set_open_drain_value()
1389 trace_gpio_direction(desc_to_gpio(desc), !value, err); in _gpio_set_open_source_value()
1401 trace_gpio_value(desc_to_gpio(desc), 0, value); in _gpiod_set_raw_value()
1464 trace_gpio_value(desc_to_gpio(desc), 0, value); in gpiod_set_array_value_priv()
[all …]
Dgpiolib-of.c117 return desc_to_gpio(desc); in of_get_named_gpio_flags()
188 desc_to_gpio(gg_data.out_gpio), np->name); in of_parse_own_gpio()
Dgpiolib-sysfs.c611 desc_to_gpio(desc)); in gpiod_export()
/drivers/nfc/nxp-nci/
Di2c.c338 phy->gpio_en = desc_to_gpio(gpiod_en); in nxp_nci_i2c_acpi_config()
339 phy->gpio_fw = desc_to_gpio(gpiod_fw); in nxp_nci_i2c_acpi_config()
340 phy->gpio_irq = desc_to_gpio(gpiod_irq); in nxp_nci_i2c_acpi_config()
/drivers/nfc/pn544/
Di2c.c906 phy->gpio_en = desc_to_gpio(gpiod_en); in pn544_hci_i2c_acpi_request_resources()
916 phy->gpio_fw = desc_to_gpio(gpiod_fw); in pn544_hci_i2c_acpi_request_resources()
926 phy->gpio_irq = desc_to_gpio(gpiod_irq); in pn544_hci_i2c_acpi_request_resources()
936 desc_to_gpio(gpiod_irq), ret); in pn544_hci_i2c_acpi_request_resources()
/drivers/input/misc/
Dsoc_button_array.c61 gpio = desc_to_gpio(desc); in soc_button_lookup_gpio()
/drivers/extcon/
Dextcon-axp288.c320 gpio = desc_to_gpio(info->pdata->gpio_mux_cntl); in axp288_extcon_probe()
/drivers/input/touchscreen/
Dedt-ft5x06.c1021 tsdata->wake_gpio ? desc_to_gpio(tsdata->wake_gpio) : -1, in edt_ft5x06_ts_probe()
1022 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in edt_ft5x06_ts_probe()
/drivers/iio/accel/
Dmxc4005.c403 dev_dbg(dev, "GPIO resource, no:%d irq:%d\n", desc_to_gpio(gpio), ret); in mxc4005_gpio_probe()
Dmma9551.c443 desc_to_gpio(gpio), data->irqs[i]); in mma9551_gpio_probe()
/drivers/power/
Dbq24257_charger.c888 dev_dbg(bq->dev, "probed PG pin = %d\n", desc_to_gpio(bq->pg)); in bq24257_pg_gpio_probe()
/drivers/iio/gyro/
Dbmg160_core.c988 dev_dbg(dev, "GPIO resource, no:%d irq:%d\n", desc_to_gpio(gpio), in bmg160_gpio_probe()
/drivers/bluetooth/
Dhci_intel.c1289 desc_to_gpio(idev->reset), idev->irq); in intel_probe()