Home
last modified time | relevance | path

Searched refs:gpiod_direction_input (Results 1 – 25 of 27) sorted by relevance

12

/drivers/staging/olpc_dcon/
Dolpc_dcon_xo_1.c75 gpiod_direction_input(gpios[OLPC_DCON_STAT0]); in dcon_init_xo_1()
76 gpiod_direction_input(gpios[OLPC_DCON_STAT1]); in dcon_init_xo_1()
77 gpiod_direction_input(gpios[OLPC_DCON_IRQ]); in dcon_init_xo_1()
78 gpiod_direction_input(gpios[OLPC_DCON_BLANK]); in dcon_init_xo_1()
/drivers/input/serio/
Dps2-gpio.c123 gpiod_direction_input(drvdata->gpio_clk); in ps2_gpio_tx_work_fn()
271 gpiod_direction_input(drvdata->gpio_data); in ps2_gpio_irq_tx()
279 gpiod_direction_input(drvdata->gpio_data); in ps2_gpio_irq_tx()
296 gpiod_direction_input(drvdata->gpio_data); in ps2_gpio_irq_tx()
307 gpiod_direction_input(drvdata->gpio_data); in ps2_gpio_irq_tx()
/drivers/net/dsa/
Drealtek-smi-core.c100 gpiod_direction_input(smi->mdio); in realtek_smi_stop()
101 gpiod_direction_input(smi->mdc); in realtek_smi_stop()
122 gpiod_direction_input(smi->mdio); in realtek_smi_read_bits()
/drivers/gpio/
Dgpiolib-legacy.c46 err = gpiod_direction_input(desc); in gpio_request_one()
Dgpiolib-cdev.c181 ret = gpiod_direction_input(desc); in linehandle_set_config()
357 ret = gpiod_direction_input(desc); in linehandle_create()
1126 ret = gpiod_direction_input(desc); in linereq_set_config_unlocked()
1395 ret = gpiod_direction_input(desc); in linereq_create()
1783 ret = gpiod_direction_input(desc); in lineevent_create()
Dgpio-aggregator.c318 return gpiod_direction_input(fwd->descs[offset]); in gpio_fwd_direction_input()
Dgpiolib.c2336 int gpiod_direction_input(struct gpio_desc *desc) in gpiod_direction_input() function
2380 EXPORT_SYMBOL_GPL(gpiod_direction_input);
2481 ret = gpiod_direction_input(desc); in gpiod_direction_output()
2490 ret = gpiod_direction_input(desc); in gpiod_direction_output()
3958 ret = gpiod_direction_input(desc); in gpiod_configure_flags()
Dgpiolib-sysfs.c92 status = gpiod_direction_input(desc); in direction_store()
/drivers/hwmon/
Dsht15.c294 err = gpiod_direction_input(data->data); in sht15_wait_for_response()
372 return gpiod_direction_input(data->data); in sht15_ack()
530 ret = gpiod_direction_input(data->data); in sht15_measurement()
/drivers/fsi/
Dfsi-master-gpio.c89 gpiod_direction_input(master->gpio_data); in set_sda_input()
677 gpiod_direction_input(master->gpio_clk); in fsi_master_gpio_init_external()
678 gpiod_direction_input(master->gpio_data); in fsi_master_gpio_init_external()
Dfsi-master-ast-cf.c1038 gpiod_direction_input(master->gpio_clk); in fsi_master_acf_setup_external()
1039 gpiod_direction_input(master->gpio_data); in fsi_master_acf_setup_external()
/drivers/watchdog/
Dgpio_wdt.c45 gpiod_direction_input(priv->gpiod); in gpio_wdt_disable()
/drivers/net/mdio/
Dmdio-gpio.c71 gpiod_direction_input(bitbang->mdio); in mdio_dir()
/drivers/i2c/busses/
Di2c-cbus-gpio.c142 ret = gpiod_direction_input(host->dat); in cbus_transfer()
Di2c-gpio.c177 ret = gpiod_direction_input(priv->scl); in i2c_gpio_fi_act_on_scl_irq()
/drivers/iio/proximity/
Dping.c114 ret = gpiod_direction_input(data->gpiod_ping); in ping_read()
/drivers/bus/
Dts-nbus.c98 gpiod_direction_input(ts_nbus->data->desc[i]); in ts_nbus_set_direction()
/drivers/iio/humidity/
Ddht11.c223 ret = gpiod_direction_input(dht11->gpiod); in dht11_read_raw()
/drivers/input/touchscreen/
Dgoodix.c652 return gpiod_direction_input(ts->gpiod_int); in goodix_irq_direction_input()
654 return gpiod_direction_input(ts->gpiod_int); in goodix_irq_direction_input()
709 error = gpiod_direction_input(ts->gpiod_rst); in goodix_reset()
/drivers/spi/
Dspi-gpio.c256 ret = gpiod_direction_input(spi_gpio->mosi); in spi_gpio_set_direction()
/drivers/mtd/nand/raw/
Dams-delta.c107 gpiod_direction_input(data_gpiods->desc[i]); in gpio_nand_dir_input()
/drivers/phy/motorola/
Dphy-mapphone-mdm6600.c418 gpiod_direction_input(mode_gpio1); in phy_mdm6600_device_power_on()
/drivers/iio/temperature/
Dmlx90614.c435 gpiod_direction_input(data->wakeup_gpio); in mlx90614_wakeup()
/drivers/net/phy/
Dsfp.c349 gpiod_direction_input(sfp->gpio[GPIO_TX_DISABLE]); in sfp_gpio_set_state()
351 gpiod_direction_input(sfp->gpio[GPIO_RATE_SELECT]); in sfp_gpio_set_state()
/drivers/staging/pi433/
Dpi433_if.c1012 retval = gpiod_direction_input(device->gpiod[i]); in setup_gpio()

12