/openbmc/linux/drivers/gpio/ |
H A D | gpiolib.h | 236 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\ 239 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 242 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 245 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 248 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 251 pr_debug("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
|
H A D | gpiolib.c | 182 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function 186 EXPORT_SYMBOL_GPL(desc_to_gpio); 2505 trace_gpio_direction(desc_to_gpio(desc), 1, ret); in gpiod_direction_input() 2549 trace_gpio_value(desc_to_gpio(desc), 0, val); in gpiod_direction_output_raw_commit() 2550 trace_gpio_direction(desc_to_gpio(desc), 0, ret); in gpiod_direction_output_raw_commit() 2824 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_raw_value_commit() 2944 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_array_value_complex() 3079 trace_gpio_direction(desc_to_gpio(desc), value, ret); in gpio_set_open_drain_value_commit() 3104 trace_gpio_direction(desc_to_gpio(desc), !value, ret); in gpio_set_open_source_value_commit() 3116 trace_gpio_value(desc_to_gpio(desc), 0, value); in gpiod_set_raw_value_commit() [all …]
|
H A D | gpiolib-of.c | 438 return desc_to_gpio(desc); in of_get_named_gpio() 745 desc_to_gpio(desc), np); in of_parse_own_gpio()
|
H A D | gpio-aggregator.c | 522 desc_to_gpio(descs[i]), gpiod_to_irq(descs[i])); in gpiochip_fwd_create()
|
H A D | gpiolib-sysfs.c | 627 desc_to_gpio(desc)); in gpiod_export()
|
H A D | gpiolib-cdev.c | 906 hte_init_line_attr(hdesc, desc_to_gpio(line->desc), flags, NULL, in hte_edge_setup()
|
/openbmc/linux/drivers/input/misc/ |
H A D | gpio_decoder.c | 35 desc_to_gpio(gpios->desc[i]), val); in gpio_decoder_get_gpios_state()
|
H A D | soc_button_array.c | 144 *gpio_ret = desc_to_gpio(desc); in soc_button_lookup_gpio()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-gpio.c | 469 desc_to_gpio(priv->sda), desc_to_gpio(priv->scl), in i2c_gpio_probe()
|
/openbmc/linux/include/linux/gpio/ |
H A D | consumer.h | 173 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
|
/openbmc/linux/drivers/iio/humidity/ |
H A D | dht11.c | 311 dev_err(dev, "GPIO %d has no interrupt\n", desc_to_gpio(dht11->gpiod)); in dht11_probe()
|
/openbmc/linux/drivers/soc/fsl/qe/ |
H A D | gpio.c | 183 gpio_num = desc_to_gpio(gpiod); in qe_pin_request()
|
/openbmc/linux/sound/soc/ti/ |
H A D | rx51.c | 287 rx51_av_jack_gpios[0].gpio = desc_to_gpio(pdata->jack_detection_gpio); in rx51_aic34_init()
|
/openbmc/linux/drivers/platform/x86/x86-android-tablets/ |
H A D | core.c | 382 buttons[i].gpio = desc_to_gpio(gpiod); in x86_android_tablet_probe()
|
/openbmc/linux/drivers/iio/accel/ |
H A D | mma9551.c | 432 desc_to_gpio(gpio), data->irqs[i]); in mma9551_gpio_probe()
|
/openbmc/linux/arch/arm/plat-orion/ |
H A D | gpio.c | 307 unsigned gpio = desc_to_gpio(desc); in orion_gpio_led_blink_set()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | hycon-hy46xx.c | 549 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in hycon_hy46xx_probe()
|
H A D | edt-ft5x06.c | 1364 tsdata->wake_gpio ? desc_to_gpio(tsdata->wake_gpio) : -1, in edt_ft5x06_ts_probe() 1365 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in edt_ft5x06_ts_probe()
|
/openbmc/linux/Documentation/driver-api/gpio/ |
H A D | consumer.rst | 458 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
|
/openbmc/linux/drivers/power/supply/ |
H A D | bq24257_charger.c | 876 dev_dbg(bq->dev, "probed PG pin = %d\n", desc_to_gpio(bq->pg)); in bq24257_pg_gpio_probe()
|
/openbmc/linux/drivers/bluetooth/ |
H A D | hci_intel.c | 1188 desc_to_gpio(idev->reset), idev->irq); in intel_probe()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | atmel-mci.c | 2281 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()
|
/openbmc/linux/drivers/gpu/drm/bridge/analogix/ |
H A D | anx7625.c | 1427 desc_to_gpio(platform->pdata.gpio_p_on), in anx7625_init_gpio() 1428 desc_to_gpio(platform->pdata.gpio_reset)); in anx7625_init_gpio()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | at91_udc.c | 1899 desc_to_gpio(udc->board.vbus_pin)); in at91udc_probe()
|