Lines Matching refs:dflags
652 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2313 enum gpiod_flags dflags) in gpiochip_request_own_desc() argument
2327 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
4191 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
4200 else if (dflags & GPIOD_FLAGS_BIT_OPEN_DRAIN) { in gpiod_configure_flags()
4235 if (!(dflags & GPIOD_FLAGS_BIT_DIR_SET)) { in gpiod_configure_flags()
4241 if (dflags & GPIOD_FLAGS_BIT_DIR_OUT) in gpiod_configure_flags()
4243 !!(dflags & GPIOD_FLAGS_BIT_DIR_VAL)); in gpiod_configure_flags()
4313 unsigned long lflags, enum gpiod_flags dflags) in gpiod_hog() argument
4324 lflags, dflags); in gpiod_hog()
4336 (dflags & GPIOD_FLAGS_BIT_DIR_OUT) ? "output" : "input", in gpiod_hog()
4337 (dflags & GPIOD_FLAGS_BIT_DIR_OUT) ? in gpiod_hog()
4338 (dflags & GPIOD_FLAGS_BIT_DIR_VAL) ? "/high" : "/low" : ""); in gpiod_hog()