Lines Matching refs:dflags
561 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2132 enum gpiod_flags dflags) in gpiochip_request_own_desc() argument
2146 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
3834 enum gpiod_flags dflags, in fwnode_get_named_gpiod() argument
3844 dflags, in fwnode_get_named_gpiod()
3854 acpi_gpio_update_gpiod_flags(&dflags, &info); in fwnode_get_named_gpiod()
3865 ret = gpiod_configure_flags(desc, propname, lflags, dflags); in fwnode_get_named_gpiod()
3997 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
4006 else if (dflags & GPIOD_FLAGS_BIT_OPEN_DRAIN) { in gpiod_configure_flags()
4041 if (!(dflags & GPIOD_FLAGS_BIT_DIR_SET)) { in gpiod_configure_flags()
4047 if (dflags & GPIOD_FLAGS_BIT_DIR_OUT) in gpiod_configure_flags()
4049 !!(dflags & GPIOD_FLAGS_BIT_DIR_VAL)); in gpiod_configure_flags()
4178 unsigned long lflags, enum gpiod_flags dflags) in gpiod_hog() argument
4189 lflags, dflags); in gpiod_hog()
4201 (dflags & GPIOD_FLAGS_BIT_DIR_OUT) ? "output" : "input", in gpiod_hog()
4202 (dflags & GPIOD_FLAGS_BIT_DIR_OUT) ? in gpiod_hog()
4203 (dflags & GPIOD_FLAGS_BIT_DIR_VAL) ? "/high" : "/low" : ""); in gpiod_hog()