gpiod_put_array gpiod_set_array_value gpiod_set_array_value_c gpiod_set_debounce gpiod_set_raw_array_val gpiod_set_raw_array_val gpiod_set_raw_value gpiod_set_raw_value_can gpiod_set_value gpiod_set_value_canslee gpiod_to_irq gpiod_unexport 1. 2. 3. 4. 5. 6. 7. 8. ...
gpiod_get_value_canslee gpiod_is_active_low gpiod_put gpiod_put_array gpiod_set_array_value gpiod_set_array_value_c gpiod_set_debounce gpiod_set_raw_array_val gpiod_set_raw_array_val gpiod_set_raw_value gpiod_set_raw_value_can gpiod_set_value gpiod_set_value_canslee gpiod_to...
int value)int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc)void gpiod_set_raw_value_cansleep(struct gpio_desc *desc, int value)int gpiod_direction_output_raw(struct gpio_desc *desc, int value)
6、od_set_array_valuegpiod_set_array_value_cgpiod_set_debouncegpiod_set_raw_array_valgpiod_set_raw_array_valgpiod_set_raw_valuegpiod_set_raw_value_cangpiod_set_valuegpiod_set_value_cansleegpiod_to_irqgpiod_unexport#获取gpio描述符和释放使用一下两个函数获取 GPIO设备,多个设备时需要附带...
int *value_array) void gpiod_set_raw_array_value(unsigned int array_size, struct gpio_desc **desc_array, int *value_array) void gpiod_set_array_value_cansleep(unsigned int array_size, struct gpio_desc **desc_array, int *value_array) void gpiod_set_raw_array_value_cansleep(unsigned ...
gpiod_set_value(phy->pdata->reset_gpio,0); gpiod_set_value_cansleep(phy->pdata->reset_gpio,0); mdelay(1); gpiod_set_value(phy->pdata->reset_gpio,1); gpiod_set_value_cansleep(phy->pdata->reset_gpio,1); mdelay(1);
cangpiod_get_valuegpiod_get_value_cansleegpiod_is_active_lowgpiod_putgpiod_put_arraygpiod_set_array_valuegpiod_set_array_value_cgpiod_set_debouncegpiod_set_raw_array_valgpiod_set_raw_array_valgpiod_set_raw_valuegpiod_set_raw_value_cangpiod_set_valuegpiod_set_value_cansleegpiod_to...
This is a mirror of the original repository over at kernel.org. This github page is for discussions and issue reporting only. PRs can be discussed here but the patches need to go through the linux-gpio mailing list. - libgpiod/tools/gpioset.c at eb690e46
gpio_set_value(x210_led_gpio[1].gpio,X210_LED_ON);} } void s5pv210_led3_set(struct led_classdev *led_cdev,enum led_brightness brightness){ printk(KERN_INFO "s5pv210_led3_set successful %d\n",brightness);if(brightness == LED_OFF){ gpio_set_value(x210_led_gpio[2].gpio,X210_LED_OFF...
267 mgpio->gpio_chip.can_sleep = 1;268 mgpio->gpio_chip.base = -1;269 #ifdef CONFIG_OF_GPIO270 mgpio->gpio_chip.of_node = pdev->dev.parent->of_node;271 #endif272 273 platform_set_drvdata(pdev, mgpio);274 ret = ...