Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpio/
Dgpiolib.h238 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
241 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
244 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
247 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
250 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
253 pr_debug("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
Dgpiolib.c181 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function
185 EXPORT_SYMBOL_GPL(desc_to_gpio);
2445 trace_gpio_direction(desc_to_gpio(desc), 1, ret); in gpiod_direction_input()
2489 trace_gpio_value(desc_to_gpio(desc), 0, val); in gpiod_direction_output_raw_commit()
2490 trace_gpio_direction(desc_to_gpio(desc), 0, ret); in gpiod_direction_output_raw_commit()
2764 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_raw_value_commit()
2884 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_array_value_complex()
3019 trace_gpio_direction(desc_to_gpio(desc), value, ret); in gpio_set_open_drain_value_commit()
3044 trace_gpio_direction(desc_to_gpio(desc), !value, ret); in gpio_set_open_source_value_commit()
3056 trace_gpio_value(desc_to_gpio(desc), 0, value); in gpiod_set_raw_value_commit()
[all …]
Dgpiolib-of.c420 return desc_to_gpio(desc); in of_get_named_gpio()
723 desc_to_gpio(desc), np); in of_parse_own_gpio()
Dgpio-aggregator.c522 desc_to_gpio(descs[i]), gpiod_to_irq(descs[i])); in gpiochip_fwd_create()
Dgpiolib-sysfs.c623 desc_to_gpio(desc)); in gpiod_export()
Dgpiolib-cdev.c760 hte_init_line_attr(hdesc, desc_to_gpio(line->desc), flags, NULL, in hte_edge_setup()
/Linux-v6.6/drivers/input/misc/
Dgpio_decoder.c35 desc_to_gpio(gpios->desc[i]), val); in gpio_decoder_get_gpios_state()
Dsoc_button_array.c144 *gpio_ret = desc_to_gpio(desc); in soc_button_lookup_gpio()
/Linux-v6.6/drivers/i2c/busses/
Di2c-gpio.c469 desc_to_gpio(priv->sda), desc_to_gpio(priv->scl), in i2c_gpio_probe()
/Linux-v6.6/include/linux/gpio/
Dconsumer.h173 int desc_to_gpio(const struct gpio_desc *desc);
543 static inline int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function
/Linux-v6.6/drivers/iio/humidity/
Ddht11.c311 dev_err(dev, "GPIO %d has no interrupt\n", desc_to_gpio(dht11->gpiod)); in dht11_probe()
/Linux-v6.6/drivers/soc/fsl/qe/
Dgpio.c183 gpio_num = desc_to_gpio(gpiod); in qe_pin_request()
/Linux-v6.6/drivers/platform/x86/x86-android-tablets/
Dcore.c377 buttons[i].gpio = desc_to_gpio(gpiod); in x86_android_tablet_init()
/Linux-v6.6/sound/soc/ti/
Drx51.c287 rx51_av_jack_gpios[0].gpio = desc_to_gpio(pdata->jack_detection_gpio); in rx51_aic34_init()
/Linux-v6.6/drivers/iio/accel/
Dmma9551.c432 desc_to_gpio(gpio), data->irqs[i]); in mma9551_gpio_probe()
/Linux-v6.6/arch/arm/plat-orion/
Dgpio.c307 unsigned gpio = desc_to_gpio(desc); in orion_gpio_led_blink_set()
/Linux-v6.6/drivers/input/touchscreen/
Dhycon-hy46xx.c549 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in hycon_hy46xx_probe()
Dedt-ft5x06.c1346 tsdata->wake_gpio ? desc_to_gpio(tsdata->wake_gpio) : -1, in edt_ft5x06_ts_probe()
1347 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in edt_ft5x06_ts_probe()
/Linux-v6.6/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-v6.6/drivers/power/supply/
Dbq24257_charger.c876 dev_dbg(bq->dev, "probed PG pin = %d\n", desc_to_gpio(bq->pg)); in bq24257_pg_gpio_probe()
/Linux-v6.6/drivers/bluetooth/
Dhci_intel.c1188 desc_to_gpio(idev->reset), idev->irq); in intel_probe()
/Linux-v6.6/drivers/gpu/drm/bridge/analogix/
Danx7625.c1392 desc_to_gpio(platform->pdata.gpio_p_on), in anx7625_init_gpio()
1393 desc_to_gpio(platform->pdata.gpio_reset)); in anx7625_init_gpio()
/Linux-v6.6/drivers/mmc/host/
Datmel-mci.c2281 id, slot_data->bus_width, desc_to_gpio(slot_data->detect_pin), in atmci_init_slot()
2283 desc_to_gpio(slot_data->wp_pin)); in atmci_init_slot()
/Linux-v6.6/drivers/usb/gadget/udc/
Dat91_udc.c1899 desc_to_gpio(udc->board.vbus_pin)); in at91udc_probe()