/openbmc/linux/fs/btrfs/ |
H A D | fs.c | 8 void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_set_fs_incompat() argument 16 if (!(features & flag)) { in __btrfs_set_fs_incompat() 19 if (!(features & flag)) { in __btrfs_set_fs_incompat() 20 features |= flag; in __btrfs_set_fs_incompat() 23 "setting incompat feature flag for %s (0x%llx)", in __btrfs_set_fs_incompat() 24 name, flag); in __btrfs_set_fs_incompat() 31 void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_clear_fs_incompat() argument 39 if (features & flag) { in __btrfs_clear_fs_incompat() 42 if (features & flag) { in __btrfs_clear_fs_incompat() 43 features &= ~flag; in __btrfs_clear_fs_incompat() [all …]
|
/openbmc/linux/include/linux/ |
H A D | kbd_kern.h | 12 * kbd->xxx contains the VC-local things (flag settings etc..) 72 static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag) in vc_kbd_mode() argument 74 return ((kbd->modeflags >> flag) & 1); in vc_kbd_mode() 77 static inline int vc_kbd_led(struct kbd_struct * kbd, int flag) in vc_kbd_led() argument 79 return ((kbd->ledflagstate >> flag) & 1); in vc_kbd_led() 82 static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag) in set_vc_kbd_mode() argument 84 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode() 87 static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag) in set_vc_kbd_led() argument 89 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led() 92 static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag) in clr_vc_kbd_mode() argument [all …]
|
H A D | thread_info.h | 83 * flag set/clear/test wrappers 87 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) in set_ti_thread_flag() argument 89 set_bit(flag, (unsigned long *)&ti->flags); in set_ti_thread_flag() 92 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) in clear_ti_thread_flag() argument 94 clear_bit(flag, (unsigned long *)&ti->flags); in clear_ti_thread_flag() 97 static inline void update_ti_thread_flag(struct thread_info *ti, int flag, in update_ti_thread_flag() argument 101 set_ti_thread_flag(ti, flag); in update_ti_thread_flag() 103 clear_ti_thread_flag(ti, flag); in update_ti_thread_flag() 106 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) in test_and_set_ti_thread_flag() argument 108 return test_and_set_bit(flag, (unsigned long *)&ti->flags); in test_and_set_ti_thread_flag() [all …]
|
H A D | tty_flip.h | 23 * @flag: flag value for each character 27 * marked with the supplied flag. 32 const u8 *chars, u8 flag, in tty_insert_flip_string_fixed_flag() argument 35 return __tty_insert_flip_string_flags(port, chars, &flag, false, size); in tty_insert_flip_string_fixed_flag() 42 * @flags: flag bytes 61 * @flag: flag byte 63 * Queue a single byte @ch to the tty buffering, with an optional flag. 65 static inline size_t tty_insert_flip_char(struct tty_port *port, u8 ch, u8 flag) in tty_insert_flip_char() argument 70 change = !tb->flags && (flag != TTY_NORMAL); in tty_insert_flip_char() 73 *flag_buf_ptr(tb, tb->used) = flag; in tty_insert_flip_char() [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | debugfs.c | 444 #define FLAG(F) [IEEE80211_HW_##F] = #F macro 445 FLAG(HAS_RATE_CONTROL), 446 FLAG(RX_INCLUDES_FCS), 447 FLAG(HOST_BROADCAST_PS_BUFFERING), 448 FLAG(SIGNAL_UNSPEC), 449 FLAG(SIGNAL_DBM), 450 FLAG(NEED_DTIM_BEFORE_ASSOC), 451 FLAG(SPECTRUM_MGMT), 452 FLAG(AMPDU_AGGREGATION), 453 FLAG(SUPPORTS_PS), [all …]
|
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/ |
H A D | regs.h | 178 /* flag conditions */ 179 #define FB_CF 0x0001 /* CARRY flag */ 180 #define FB_PF 0x0004 /* PARITY flag */ 181 #define FB_AF 0x0010 /* AUX flag */ 182 #define FB_ZF 0x0040 /* ZERO flag */ 183 #define FB_SF 0x0080 /* SIGN flag */ 184 #define FB_TF 0x0100 /* TRAP flag */ 185 #define FB_IF 0x0200 /* INTERRUPT ENABLE flag */ 186 #define FB_DF 0x0400 /* DIR flag */ 187 #define FB_OF 0x0800 /* OVERFLOW flag */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mmc-controller.yaml | 38 $ref: /schemas/types.yaml#/definitions/flag 48 $ref: /schemas/types.yaml#/definitions/flag 64 # using the GPIO_ACTIVE_LOW flag. This creates an ambiguity in the 67 # example leaving the GPIO_ACTIVE_LOW flag clear and specifying the 72 $ref: /schemas/types.yaml#/definitions/flag 77 $ref: /schemas/types.yaml#/definitions/flag 105 $ref: /schemas/types.yaml#/definitions/flag 125 $ref: /schemas/types.yaml#/definitions/flag 131 $ref: /schemas/types.yaml#/definitions/flag 136 $ref: /schemas/types.yaml#/definitions/flag [all …]
|
/openbmc/linux/tools/testing/selftests/riscv/vector/ |
H A D | vstate_prctl.c | 84 long flag, expected; in main() local 116 flag = PR_RISCV_V_VSTATE_CTRL_ON; in main() 117 rc = prctl(PR_RISCV_V_SET_CONTROL, flag); in main() 123 flag = PR_RISCV_V_VSTATE_CTRL_OFF; in main() 124 rc = prctl(PR_RISCV_V_SET_CONTROL, flag); in main() 132 flag = PR_RISCV_V_VSTATE_CTRL_ON << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT; in main() 133 if (test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_ON, 0)) in main() 137 flag = PR_RISCV_V_VSTATE_CTRL_OFF << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT; in main() 138 if (test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_OFF, 0)) in main() 142 flag = PR_RISCV_V_VSTATE_CTRL_ON << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT; in main() [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | trace_iowait.h | 17 TP_PROTO(struct iowait *wait, u32 flag), 18 TP_ARGS(wait, flag), 22 __field(u32, flag) 28 __entry->flag = (1 << flag); 32 "iowait 0x%lx qp %u flags 0x%lx flag 0x%x", 36 __entry->flag 41 TP_PROTO(struct iowait *wait, u32 flag), 42 TP_ARGS(wait, flag)); 45 TP_PROTO(struct iowait *wait, u32 flag), 46 TP_ARGS(wait, flag));
|
/openbmc/u-boot/arch/arm/cpu/armv7/bcm235xx/ |
H A D | clk-core.h | 84 * Utility macros for object flag management. If possible, flags 87 #define FLAG(type, flag) BCM_CLK_ ## type ## _FLAGS_ ## flag argument 88 #define FLAG_SET(obj, type, flag) ((obj)->flags |= FLAG(type, flag)) argument 89 #define FLAG_CLEAR(obj, type, flag) ((obj)->flags &= ~(FLAG(type, flag))) argument 90 #define FLAG_FLIP(obj, type, flag) ((obj)->flags ^= FLAG(type, flag)) argument 91 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) argument 180 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \ 181 FLAG(GATE, SW_MANAGED)|FLAG(GATE, ENABLED)| \ 182 FLAG(GATE, EXISTS), \ 192 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \ [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv7/bcm281xx/ |
H A D | clk-core.h | 84 * Utility macros for object flag management. If possible, flags 87 #define FLAG(type, flag) BCM_CLK_ ## type ## _FLAGS_ ## flag argument 88 #define FLAG_SET(obj, type, flag) ((obj)->flags |= FLAG(type, flag)) argument 89 #define FLAG_CLEAR(obj, type, flag) ((obj)->flags &= ~(FLAG(type, flag))) argument 90 #define FLAG_FLIP(obj, type, flag) ((obj)->flags ^= FLAG(type, flag)) argument 91 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) argument 180 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \ 181 FLAG(GATE, SW_MANAGED)|FLAG(GATE, ENABLED)| \ 182 FLAG(GATE, EXISTS), \ 192 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \ [all …]
|
/openbmc/linux/Documentation/litmus-tests/locking/ |
H A D | DCL-broken.litmus | 11 int flag; 15 P0(int *flag, int *data, spinlock_t *lck) 21 r0 = READ_ONCE(*flag); 24 r1 = READ_ONCE(*flag); 27 WRITE_ONCE(*flag, 1); 34 P1(int *flag, int *data, spinlock_t *lck) 40 r0 = READ_ONCE(*flag); 43 r1 = READ_ONCE(*flag); 46 WRITE_ONCE(*flag, 1); 53 locations [flag;data;0:r0;0:r1;1:r0;1:r1]
|
H A D | DCL-fixed.litmus | 12 int flag; 16 P0(int *flag, int *data, spinlock_t *lck) 22 r0 = smp_load_acquire(flag); 25 r1 = READ_ONCE(*flag); 28 smp_store_release(flag, 1); 35 P1(int *flag, int *data, spinlock_t *lck) 41 r0 = smp_load_acquire(flag); 44 r1 = READ_ONCE(*flag); 47 smp_store_release(flag, 1); 54 locations [flag;data;0:r0;0:r1;1:r0;1:r1]
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A D | layer2.c | 113 return ((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize() 114 (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1); in l2headersize() 120 return test_bit(FLG_LAPD, &l2->flag) ? 2 : 1; in l2addrsize() 196 if (test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in l2down_raw() 241 if (test_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm() 257 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm() 262 if (!test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm() 269 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm() 272 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm() 308 if (test_bit(FLG_LAPD, &l2->flag) && in l2mgr() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_cmd.h | 90 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag, 94 int atomisp_low_light(struct atomisp_sub_device *asd, int flag, 101 int atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *arg); 103 int atomisp_formats(struct atomisp_sub_device *asd, int flag, 107 int atomisp_nr(struct atomisp_sub_device *asd, int flag, 111 int atomisp_tnr(struct atomisp_sub_device *asd, int flag, 115 int atomisp_black_level(struct atomisp_sub_device *asd, int flag, 119 int atomisp_ee(struct atomisp_sub_device *asd, int flag, 123 int atomisp_gamma(struct atomisp_sub_device *asd, int flag, 127 int atomisp_ctc(struct atomisp_sub_device *asd, int flag, [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | maketype.py | 8 Types are defined in the metadata by name, using the 'type' flag on a 20 """A particular flag is required to construct the type, but has not been 22 def __init__(self, flag, type): argument 23 self.flag = flag 28 return "Type '%s' requires flag '%s'" % (self.type, self.flag) 46 for flag in obj.flags: 47 if flag not in flags: 48 if flag not in obj.optflags: 49 raise MissingFlag(flag, var_type) 51 objflags[flag] = flags[flag]
|
/openbmc/openbmc/poky/meta/recipes-devtools/binutils/binutils/ |
H A D | 0010-sync-with-OE-libtool-changes.patch | 36 - eval flag=\"$hardcode_libdir_flag_spec\" 37 - func_append dep_rpath " $flag" 44 + *) eval flag=\"$hardcode_libdir_flag_spec\" 45 + func_append dep_rpath " $flag" 55 - eval flag=\"$hardcode_libdir_flag_spec\" 56 - func_append rpath " $flag" 63 + *) eval flag=\"$hardcode_libdir_flag_spec\" 64 + rpath+=" $flag" 74 - eval flag=\"$hardcode_libdir_flag_spec\" 75 - func_append rpath " $flag" [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/libtool/libtool/ |
H A D | 0002-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch | 29 - eval flag=\"$hardcode_libdir_flag_spec\" 30 - func_append dep_rpath " $flag" 37 + *) eval flag=\"$hardcode_libdir_flag_spec\" 38 + func_append dep_rpath " $flag" 48 - eval flag=\"$hardcode_libdir_flag_spec\" 49 - func_append rpath " $flag" 56 + *) eval flag=\"$hardcode_libdir_flag_spec\" 57 + rpath+=" $flag" 67 - eval flag=\"$hardcode_libdir_flag_spec\" 68 - func_append rpath " $flag" [all …]
|
/openbmc/linux/drivers/clk/bcm/ |
H A D | clk-kona.h | 29 * Utility macros for object flag management. If possible, flags 32 #define FLAG(type, flag) BCM_CLK_ ## type ## _FLAGS_ ## flag argument 33 #define FLAG_SET(obj, type, flag) ((obj)->flags |= FLAG(type, flag)) argument 34 #define FLAG_CLEAR(obj, type, flag) ((obj)->flags &= ~(FLAG(type, flag))) argument 35 #define FLAG_FLIP(obj, type, flag) ((obj)->flags ^= FLAG(type, flag)) argument 36 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) argument 157 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \ 158 FLAG(GATE, SW_MANAGED)|FLAG(GATE, ENABLED)| \ 159 FLAG(GATE, EXISTS), \ 169 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \ [all …]
|
/openbmc/u-boot/arch/riscv/lib/ |
H A D | bootm.c | 55 * Call remove function of all devices with a removal flag set. in announce_and_cleanup() 80 static void boot_jump_linux(bootm_headers_t *images, int flag) in boot_jump_linux() argument 83 int fake = (flag & BOOTM_STATE_OS_FAKE_GO); in boot_jump_linux() 100 int do_bootm_linux(int flag, int argc, char * const argv[], in do_bootm_linux() argument 104 if (flag & BOOTM_STATE_OS_BD_T || flag & BOOTM_STATE_OS_CMDLINE) in do_bootm_linux() 107 if (flag & BOOTM_STATE_OS_PREP) { in do_bootm_linux() 112 if (flag & (BOOTM_STATE_OS_GO | BOOTM_STATE_OS_FAKE_GO)) { in do_bootm_linux() 113 boot_jump_linux(images, flag); in do_bootm_linux() 118 boot_jump_linux(images, flag); in do_bootm_linux() 122 int do_bootm_vxworks(int flag, int argc, char * const argv[], in do_bootm_vxworks() argument [all …]
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | processor-flags.h | 8 #define X86_EFLAGS_CF 0x00000001 /* Carry Flag */ 9 #define X86_EFLAGS_PF 0x00000004 /* Parity Flag */ 10 #define X86_EFLAGS_AF 0x00000010 /* Auxillary carry Flag */ 11 #define X86_EFLAGS_ZF 0x00000040 /* Zero Flag */ 12 #define X86_EFLAGS_SF 0x00000080 /* Sign Flag */ 13 #define X86_EFLAGS_TF 0x00000100 /* Trap Flag */ 14 #define X86_EFLAGS_IF 0x00000200 /* Interrupt Flag */ 15 #define X86_EFLAGS_DF 0x00000400 /* Direction Flag */ 16 #define X86_EFLAGS_OF 0x00000800 /* Overflow Flag */ 19 #define X86_EFLAGS_RF 0x00010000 /* Resume Flag */ [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | test_util.c | 208 .flag = ANON_FLAGS, in vm_mem_backing_src_alias() 212 .flag = ANON_FLAGS, in vm_mem_backing_src_alias() 216 .flag = ANON_HUGE_FLAGS, in vm_mem_backing_src_alias() 220 .flag = ANON_HUGE_FLAGS | MAP_HUGE_16KB, in vm_mem_backing_src_alias() 224 .flag = ANON_HUGE_FLAGS | MAP_HUGE_64KB, in vm_mem_backing_src_alias() 228 .flag = ANON_HUGE_FLAGS | MAP_HUGE_512KB, in vm_mem_backing_src_alias() 232 .flag = ANON_HUGE_FLAGS | MAP_HUGE_1MB, in vm_mem_backing_src_alias() 236 .flag = ANON_HUGE_FLAGS | MAP_HUGE_2MB, in vm_mem_backing_src_alias() 240 .flag = ANON_HUGE_FLAGS | MAP_HUGE_8MB, in vm_mem_backing_src_alias() 244 .flag = ANON_HUGE_FLAGS | MAP_HUGE_16MB, in vm_mem_backing_src_alias() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_priv.h | 146 static inline void __flow_flag_set(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_set() argument 150 set_bit(flag, &flow->flags); in __flow_flag_set() 153 #define flow_flag_set(flow, flag) __flow_flag_set(flow, MLX5E_TC_FLOW_FLAG_##flag) argument 156 unsigned long flag) in __flow_flag_test_and_set() argument 159 return test_and_set_bit(flag, &flow->flags); in __flow_flag_test_and_set() 162 #define flow_flag_test_and_set(flow, flag) \ argument 164 MLX5E_TC_FLOW_FLAG_##flag) 166 static inline void __flow_flag_clear(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_clear() argument 170 clear_bit(flag, &flow->flags); in __flow_flag_clear() 173 #define flow_flag_clear(flow, flag) __flow_flag_clear(flow, \ argument [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | tipc_netlink.h | 108 TIPC_NLA_UDP_MULTI_REMOTEIP, /* flag */ 119 TIPC_NLA_SOCK_HAS_PUBL, /* flag */ 126 TIPC_NLA_SOCK_PAD, /* flag */ 139 TIPC_NLA_LINK_BROADCAST, /* flag */ 140 TIPC_NLA_LINK_UP, /* flag */ 141 TIPC_NLA_LINK_ACTIVE, /* flag */ 165 TIPC_NLA_NODE_UP, /* flag */ 168 TIPC_NLA_NODE_KEY_MASTER, /* flag */ 182 TIPC_NLA_NET_ADDR_LEGACY, /* flag */ 202 TIPC_NLA_MON_ACTIVE, /* flag */ [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-enum-fmt.rst | 166 This flag can only be used in combination with the 167 ``V4L2_FMT_FLAG_COMPRESSED`` flag, since this applies to compressed 168 formats only. This flag is valid for stateful decoders only. 176 This flag can only be used in combination with the 177 ``V4L2_FMT_FLAG_COMPRESSED`` flag, since this applies to 178 compressed formats only. This flag is valid for stateful codecs only. 185 If this flag is set, then the ``CAPTURE`` coded frame interval can be 192 This flag can only be used in combination with the 193 ``V4L2_FMT_FLAG_COMPRESSED`` flag, since this applies to 194 compressed formats only. This flag is valid for stateful encoders only. [all …]
|