Home
last modified time | relevance | path

Searched refs:gpio_to_desc (Results 1 – 21 of 21) sorted by relevance

/drivers/gpio/
Dgpiolib-legacy.c10 gpiod_free(gpio_to_desc(gpio)); in gpio_free()
25 desc = gpio_to_desc(gpio); in gpio_request_one()
69 struct gpio_desc *desc = gpio_to_desc(gpio); in gpio_request()
Dgpiolib-sysfs.c453 desc = gpio_to_desc(gpio); in export_store()
495 desc = gpio_to_desc(gpio); in unexport_store()
Dgpiolib.c88 struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc() function
110 EXPORT_SYMBOL_GPL(gpio_to_desc);
/drivers/mmc/core/
Dslot-gpio.c115 ctx->ro_gpio = gpio_to_desc(gpio); in mmc_gpio_request_ro()
208 ctx->cd_gpio = gpio_to_desc(gpio); in mmc_gpio_request_cd()
/drivers/net/phy/
Dspi_ks8995.c477 gpiod_set_value(gpio_to_desc(ks->pdata->reset_gpio), 0); in ks8995_probe()
523 gpiod_set_value(gpio_to_desc(ks->pdata->reset_gpio), 1); in ks8995_remove()
/drivers/extcon/
Dextcon-gpio.c75 data->id_gpiod = gpio_to_desc(pdata->gpio); in gpio_extcon_init()
/drivers/clk/
Dclk-gpio.c141 clk_gpio->gpiod = gpio_to_desc(gpio); in clk_register_gpio()
/drivers/leds/
Dleds-gpio.c108 led_dat->gpiod = gpio_to_desc(template->gpio); in create_gpio_led()
/drivers/i2c/muxes/
Di2c-mux-gpio.c225 gpio_desc = gpio_to_desc(gpio_base + mux->data.gpios[i]); in i2c_mux_gpio_probe()
/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dpi.c189 ddata->enable_gpio = gpio_to_desc(pdata->enable_gpio); in panel_dpi_probe_pdata()
/drivers/gpu/drm/omapdrm/displays/
Dpanel-dpi.c199 ddata->enable_gpio = gpio_to_desc(pdata->enable_gpio); in panel_dpi_probe_pdata()
/drivers/usb/phy/
Dphy-generic.c246 gpio_to_desc(pdata->gpio_reset); in usb_phy_gen_create_phy()
/drivers/input/keyboard/
Dgpio_keys_polled.c330 button->gpiod = gpio_to_desc(button->gpio); in gpio_keys_polled_probe()
Dgpio_keys.c502 bdata->gpiod = gpio_to_desc(button->gpio); in gpio_keys_setup_key()
/drivers/video/backlight/
Dpwm_bl.c270 pb->enable_gpio = gpio_to_desc(data->enable_gpio); in pwm_backlight_probe()
/drivers/misc/eeprom/
Deeprom_93xx46.c416 pd->select = gpio_to_desc(gpio); in eeprom_93xx46_probe_dt()
/drivers/pcmcia/
Dsoc_common.c218 skt->stat[i].desc = gpio_to_desc(skt->stat[i].gpio); in soc_pcmcia_hw_init()
/drivers/pci/host/
Dpci-mvebu.c1140 port->reset_gpio = gpio_to_desc(reset_gpio); in mvebu_pcie_parse_port()
/drivers/usb/gadget/udc/
Dpxa27x_udc.c2451 udc->gpiod = gpio_to_desc(mach->gpio_pullup); in pxa_udc_probe()
/drivers/net/ethernet/cadence/
Dmacb.c3050 bp->reset_gpio = gpio_to_desc(gpio); in macb_probe()
/drivers/regulator/
Dcore.c1940 gpiod = gpio_to_desc(config->ena_gpio); in regulator_ena_gpio_request()