Lines Matching refs:dflags
929 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2603 enum gpiod_flags dflags) in gpiochip_request_own_desc() argument
2618 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
4792 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
4802 else if (dflags & GPIOD_FLAGS_BIT_OPEN_DRAIN) { in gpiod_configure_flags()
4837 if (!(dflags & GPIOD_FLAGS_BIT_DIR_SET)) { in gpiod_configure_flags()
4843 if (dflags & GPIOD_FLAGS_BIT_DIR_OUT) in gpiod_configure_flags()
4845 !!(dflags & GPIOD_FLAGS_BIT_DIR_VAL)); in gpiod_configure_flags()
4924 unsigned long lflags, enum gpiod_flags dflags) in gpiod_hog() argument
4941 lflags, dflags); in gpiod_hog()
4951 (dflags & GPIOD_FLAGS_BIT_DIR_OUT) ? "output" : "input", in gpiod_hog()
4952 (dflags & GPIOD_FLAGS_BIT_DIR_OUT) ? in gpiod_hog()
4953 str_high_low(dflags & GPIOD_FLAGS_BIT_DIR_VAL) : "?"); in gpiod_hog()
4993 unsigned long dflags; in gpiod_get_array() local
5079 dflags = READ_ONCE(desc->flags); in gpiod_get_array()
5081 if (test_bit(FLAG_OPEN_DRAIN, &dflags) || in gpiod_get_array()
5082 test_bit(FLAG_OPEN_SOURCE, &dflags)) in gpiod_get_array()