Home
last modified time | relevance | path

Searched defs:var (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dcwsr_trap_handler_gfx8.asm30 var SQ_WAVE_STATUS_INST_ATC_SHIFT = 23 label
31 var SQ_WAVE_STATUS_INST_ATC_MASK = 0x00800000 label
32 var SQ_WAVE_STATUS_SPI_PRIO_SHIFT = 1 label
33 var SQ_WAVE_STATUS_SPI_PRIO_MASK = 0x00000006 label
34 var SQ_WAVE_STATUS_PRE_SPI_PRIO_SHIFT = 0 label
35 var SQ_WAVE_STATUS_PRE_SPI_PRIO_SIZE = 1 label
36 var SQ_WAVE_STATUS_POST_SPI_PRIO_SHIFT = 3 label
37 var SQ_WAVE_STATUS_POST_SPI_PRIO_SIZE = 29 label
39 var SQ_WAVE_LDS_ALLOC_LDS_SIZE_SHIFT = 12 label
40 var SQ_WAVE_LDS_ALLOC_LDS_SIZE_SIZE = 9 label
[all …]
Dcwsr_trap_handler_gfx9.asm27 var ACK_SQC_STORE = 1 //workaround for suspected SQC store bug causing incorrect stores u… label
28 var SAVE_AFTER_XNACK_ERROR = 1 //workaround for TCP store failure after XNACK error when A… label
29 var SINGLE_STEP_MISSED_WORKAROUND = 1 //workaround for lost MODE.DEBUG_EN exception when SAV… label
34 var SQ_WAVE_STATUS_INST_ATC_SHIFT = 23 label
35 var SQ_WAVE_STATUS_INST_ATC_MASK = 0x00800000 label
36 var SQ_WAVE_STATUS_SPI_PRIO_SHIFT = 1 label
37 var SQ_WAVE_STATUS_SPI_PRIO_MASK = 0x00000006 label
38 var SQ_WAVE_STATUS_HALT_MASK = 0x2000 label
39 var SQ_WAVE_STATUS_PRE_SPI_PRIO_SHIFT = 0 label
40 var SQ_WAVE_STATUS_PRE_SPI_PRIO_SIZE = 1 label
[all …]
Dcwsr_trap_handler_gfx10.asm23 var SQ_WAVE_STATUS_INST_ATC_SHIFT = 23 label
24 var SQ_WAVE_STATUS_INST_ATC_MASK = 0x00800000 label
25 var SQ_WAVE_STATUS_SPI_PRIO_MASK = 0x00000006 label
26 var SQ_WAVE_STATUS_HALT_MASK = 0x2000 label
28 var SQ_WAVE_LDS_ALLOC_LDS_SIZE_SHIFT = 12 label
29 var SQ_WAVE_LDS_ALLOC_LDS_SIZE_SIZE = 9 label
30 var SQ_WAVE_GPR_ALLOC_VGPR_SIZE_SHIFT = 8 label
31 var SQ_WAVE_GPR_ALLOC_VGPR_SIZE_SIZE = 6 label
32 var SQ_WAVE_GPR_ALLOC_SGPR_SIZE_SHIFT = 24 label
33 var SQ_WAVE_GPR_ALLOC_SGPR_SIZE_SIZE = 4 label
[all …]
/Linux-v5.4/kernel/sched/
Dstats.h34 #define __schedstat_inc(var) do { var++; } while (0) argument
35 #define schedstat_inc(var) do { if (schedstat_enabled()) { var++; } } while (0) argument
36 #define __schedstat_add(var, amt) do { var += (amt); } while (0) argument
37 #define schedstat_add(var, amt) do { if (schedstat_enabled()) { var += (amt); } } while (0) argument
38 #define __schedstat_set(var, val) do { var = (val); } while (0) argument
39 #define schedstat_set(var, val) do { if (schedstat_enabled()) { var = (val); } } while (0) argument
40 #define schedstat_val(var) (var) argument
41 #define schedstat_val_or_zero(var) ((schedstat_enabled()) ? (var) : 0) argument
48 # define __schedstat_inc(var) do { } while (0) argument
49 # define schedstat_inc(var) do { } while (0) argument
[all …]
/Linux-v5.4/tools/testing/radix-tree/linux/
Dpercpu.h5 #define __get_cpu_var(var) var argument
6 #define this_cpu_ptr(var) var argument
7 #define this_cpu_read(var) var argument
8 #define this_cpu_xchg(var, val) uatomic_xchg(&var, val) argument
9 #define this_cpu_cmpxchg(var, old, new) uatomic_cmpxchg(&var, old, new) argument
11 #define per_cpu(var, cpu) (*per_cpu_ptr(&(var), cpu)) argument
/Linux-v5.4/tools/arch/x86/include/asm/
Drmwcc.h7 #define __GEN_RMWcc(fullop, var, cc, ...) \ argument
17 #define GEN_UNARY_RMWcc(op, var, arg0, cc) \ argument
20 #define GEN_BINARY_RMWcc(op, var, vcon, val, arg0, cc) \ argument
25 #define __GEN_RMWcc(fullop, var, cc, ...) \ argument
34 #define GEN_UNARY_RMWcc(op, var, arg0, cc) \ argument
37 #define GEN_BINARY_RMWcc(op, var, vcon, val, arg0, cc) \ argument
/Linux-v5.4/include/linux/
Dwait_bit.h242 #define ___wait_var_event(var, condition, state, exclusive, ret, cmd) \ argument
269 #define __wait_var_event(var, condition) \ argument
273 #define wait_var_event(var, condition) \ argument
281 #define __wait_var_event_killable(var, condition) \ argument
285 #define wait_var_event_killable(var, condition) \ argument
294 #define __wait_var_event_timeout(var, condition, timeout) \ argument
299 #define wait_var_event_timeout(var, condition, timeout) \ argument
308 #define __wait_var_event_interruptible(var, condition) \ argument
312 #define wait_var_event_interruptible(var, condition) \ argument
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dtypes.h173 #define NREV_IS(var, val) \ argument
176 #define NREV_GE(var, val) \ argument
179 #define NREV_GT(var, val) \ argument
182 #define NREV_LT(var, val) \ argument
185 #define NREV_LE(var, val) \ argument
188 #define LCNREV_IS(var, val) \ argument
191 #define LCNREV_GE(var, val) \ argument
194 #define LCNREV_GT(var, val) \ argument
197 #define LCNREV_LT(var, val) \ argument
200 #define LCNREV_LE(var, val) \ argument
[all …]
/Linux-v5.4/drivers/video/fbdev/mmp/fb/
Dmmpfb.c14 static int var_to_pixfmt(struct fb_var_screeninfo *var) in var_to_pixfmt()
100 static void pixfmt_to_var(struct fb_var_screeninfo *var, int pix_fmt) in pixfmt_to_var()
274 static int mmpfb_check_var(struct fb_var_screeninfo *var, in mmpfb_check_var()
335 static int mmpfb_pan_display(struct fb_var_screeninfo *var, in mmpfb_pan_display()
352 struct fb_var_screeninfo *var = &info->var; in var_update() local
385 struct fb_var_screeninfo *var = &info->var; in mmpfb_set_win() local
403 struct fb_var_screeninfo *var = &info->var; in mmpfb_set_par() local
431 struct fb_var_screeninfo *var = &fbi->fb_info->var; in mmpfb_power() local
/Linux-v5.4/tools/testing/selftests/rseq/
Drseq-arm64.h142 #define RSEQ_ASM_OP_STORE(value, var) \ argument
145 #define RSEQ_ASM_OP_STORE_RELEASE(value, var) \ argument
148 #define RSEQ_ASM_OP_FINAL_STORE(value, var, post_commit_label) \ argument
152 #define RSEQ_ASM_OP_FINAL_STORE_RELEASE(value, var, post_commit_label) \ argument
156 #define RSEQ_ASM_OP_CMPEQ(var, expect, label) \ argument
162 #define RSEQ_ASM_OP_CMPEQ32(var, expect, label) \ argument
168 #define RSEQ_ASM_OP_CMPNE(var, expect, label) \ argument
178 #define RSEQ_ASM_OP_R_LOAD(var) \ argument
181 #define RSEQ_ASM_OP_R_STORE(var) \ argument
192 #define RSEQ_ASM_OP_R_FINAL_STORE(var, post_commit_label) \ argument
/Linux-v5.4/drivers/net/ethernet/apm/xgene-v2/
Dmac.h60 static inline void xgene_set_reg_bits(u32 *var, int pos, int len, u32 val) in xgene_set_reg_bits()
68 static inline u32 xgene_get_reg_bits(u32 var, int pos, int len) in xgene_get_reg_bits()
75 #define SET_REG_BITS(var, field, val) \ argument
78 #define SET_REG_BIT(var, field, val) \ argument
81 #define GET_REG_BITS(var, field) \ argument
84 #define GET_REG_BIT(var, field) ((var) & (field)) argument
/Linux-v5.4/drivers/video/fbdev/
Dchipsfb.c42 #define read_ind(num, var, ap, dp) do { \ argument
48 #define read_xr(num, var) read_ind(num, var, 0x3d6, 0x3d7) argument
51 #define read_fr(num, var) read_ind(num, var, 0x3d0, 0x3d1) argument
54 #define read_cr(num, var) read_ind(num, var, 0x3d4, 0x3d5) argument
57 #define read_gr(num, var) read_ind(num, var, 0x3ce, 0x3cf) argument
60 #define read_sr(num, var) read_ind(num, var, 0x3c4, 0x3c5) argument
65 #define read_ar(num, var) do { \ argument
93 static int chipsfb_check_var(struct fb_var_screeninfo *var, in chipsfb_check_var()
Dpxa168fb.c37 static int determine_best_pix_fmt(struct fb_var_screeninfo *var) in determine_best_pix_fmt()
97 static void set_pix_fmt(struct fb_var_screeninfo *var, int pix_fmt) in set_pix_fmt()
166 static void set_mode(struct pxa168fb_info *fbi, struct fb_var_screeninfo *var, in set_mode()
195 static int pxa168fb_check_var(struct fb_var_screeninfo *var, in pxa168fb_check_var()
354 struct fb_var_screeninfo *var = &info->var; in set_graphics_start() local
405 struct fb_var_screeninfo *var = &info->var; in pxa168fb_set_par() local
525 static int pxa168fb_pan_display(struct fb_var_screeninfo *var, in pxa168fb_pan_display()
564 struct fb_var_screeninfo *var = &info->var; in pxa168fb_init_mode() local
Dpxafb.c242 static inline int var_to_depth(struct fb_var_screeninfo *var) in var_to_depth()
249 static int pxafb_var_to_bpp(struct fb_var_screeninfo *var) in pxafb_var_to_bpp()
288 static uint32_t pxafb_var_to_lccr3(struct fb_var_screeninfo *var) in pxafb_var_to_lccr3()
321 static void pxafb_set_pixfmt(struct fb_var_screeninfo *var, int depth) in pxafb_set_pixfmt()
354 static unsigned int pxafb_display_dma_period(struct fb_var_screeninfo *var) in pxafb_display_dma_period()
369 struct fb_var_screeninfo *var) in pxafb_getmode()
391 static void pxafb_setmode(struct fb_var_screeninfo *var, in pxafb_setmode()
413 struct fb_var_screeninfo *var) in pxafb_adjust_timing()
461 static int pxafb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in pxafb_check_var()
502 struct fb_var_screeninfo *var = &info->var; in pxafb_set_par() local
[all …]
Dacornfb.c115 struct fb_var_screeninfo *var = &info->var; in acornfb_set_timing() local
317 acornfb_adjust_timing(struct fb_info *info, struct fb_var_screeninfo *var, u_int fontht) in acornfb_adjust_timing()
413 acornfb_validate_timing(struct fb_var_screeninfo *var, in acornfb_validate_timing()
436 acornfb_update_dma(struct fb_info *info, struct fb_var_screeninfo *var) in acornfb_update_dma()
448 acornfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in acornfb_check_var()
592 acornfb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) in acornfb_pan_display()
/Linux-v5.4/arch/x86/include/asm/
Dpercpu.h28 #define PER_CPU(var, reg) \ argument
31 #define PER_CPU_VAR(var) %__percpu_seg:var argument
33 #define PER_CPU(var, reg) __percpu_mov_op $var, reg argument
34 #define PER_CPU_VAR(var) var argument
38 #define INIT_PER_CPU_VAR(var) init_per_cpu__##var argument
40 #define INIT_PER_CPU_VAR(var) var argument
77 #define DECLARE_INIT_PER_CPU(var) \ argument
81 #define init_per_cpu_var(var) init_per_cpu__##var argument
83 #define init_per_cpu_var(var) var argument
90 #define percpu_to_op(qual, op, var, val) \ argument
[all …]
Drmwcc.h45 #define GEN_UNARY_RMWcc_4(op, var, cc, arg0) \ argument
48 #define GEN_UNARY_RMWcc_3(op, var, cc) \ argument
53 #define GEN_BINARY_RMWcc_6(op, var, cc, vcon, _val, arg0) \ argument
57 #define GEN_BINARY_RMWcc_5(op, var, cc, vcon, val) \ argument
62 #define GEN_UNARY_SUFFIXED_RMWcc(op, suffix, var, cc, clobbers...) \ argument
66 #define GEN_BINARY_SUFFIXED_RMWcc(op, suffix, var, cc, vcon, _val, clobbers...)\ argument
/Linux-v5.4/drivers/crypto/bcm/
Dutil.h27 #define flow_dump(msg, var, var_len) \ argument
45 #define packet_dump(msg, var, var_len) \ argument
62 #define flow_dump(msg, var, var_len) do {} while (0) argument
64 #define packet_dump(msg, var, var_len) do {} while (0) argument
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c56 struct fb_var_screeninfo *var = &fbi->var; in draw_pixel() local
91 struct fb_var_screeninfo *var = &fbi->var; in fill_fb() local
272 static bool cmp_var_to_colormode(struct fb_var_screeninfo *var, in cmp_var_to_colormode()
288 static void assign_colormode_to_var(struct fb_var_screeninfo *var, in assign_colormode_to_var()
299 static int fb_mode_to_dss_mode(struct fb_var_screeninfo *var, in fb_mode_to_dss_mode()
372 static int check_fb_res_bounds(struct fb_var_screeninfo *var) in check_fb_res_bounds()
407 struct fb_var_screeninfo *var) in shrink_height()
421 struct fb_var_screeninfo *var) in shrink_width()
435 const struct fb_var_screeninfo *var) in check_vrfb_fb_size()
444 struct fb_var_screeninfo *var) in check_fb_size()
[all …]
/Linux-v5.4/drivers/md/bcache/
Dsysfs.h57 #define sysfs_print(file, var) \ argument
76 #define sysfs_strtoul(file, var) \ argument
82 #define sysfs_strtoul_bool(file, var) \ argument
92 #define sysfs_strtoul_clamp(file, var, min, max) \ argument
122 #define sysfs_hatoi(file, var) \ argument
/Linux-v5.4/drivers/firmware/efi/
Defivars.c69 struct efi_variable *var = &entry->var; in efivar_guid_read() local
85 struct efi_variable *var = &entry->var; in efivar_attr_read() local
118 struct efi_variable *var = &entry->var; in efivar_size_read() local
135 struct efi_variable *var = &entry->var; in efivar_data_read() local
149 sanity_check(struct efi_variable *var, efi_char16_t *name, efi_guid_t vendor, in sanity_check()
194 struct efi_variable *new_var, *var = &entry->var; in efivar_store_raw() local
251 struct efi_variable *var = &entry->var; in efivar_show_raw() local
289 struct efivar_entry *var = to_efivar_entry(kobj); in efivar_attr_show() local
305 struct efivar_entry *var = to_efivar_entry(kobj); in efivar_attr_store() local
325 struct efivar_entry *var = to_efivar_entry(kobj); in efivar_release() local
/Linux-v5.4/include/linux/byteorder/
Dgeneric.h144 static inline void le16_add_cpu(__le16 *var, u16 val) in le16_add_cpu()
149 static inline void le32_add_cpu(__le32 *var, u32 val) in le32_add_cpu()
154 static inline void le64_add_cpu(__le64 *var, u64 val) in le64_add_cpu()
176 static inline void be16_add_cpu(__be16 *var, u16 val) in be16_add_cpu()
181 static inline void be32_add_cpu(__be32 *var, u32 val) in be32_add_cpu()
186 static inline void be64_add_cpu(__be64 *var, u64 val) in be64_add_cpu()
/Linux-v5.4/arch/arm/mach-rpc/include/mach/
Dacornfb.h10 #define acornfb_bandwidth(var) ((var)->pixclock * 8 / (var)->bits_per_pixel) argument
13 acornfb_valid_pixrate(struct fb_var_screeninfo *var) in acornfb_valid_pixrate()
80 struct fb_var_screeninfo *var) in acornfb_vidc20_find_rates()
/Linux-v5.4/drivers/video/fbdev/core/
Dmodedb.c542 static int fb_try_mode(struct fb_var_screeninfo *var, struct fb_info *info, in fb_try_mode()
617 int fb_find_mode(struct fb_var_screeninfo *var, in fb_find_mode()
847 const struct fb_var_screeninfo *var) in fb_var_to_videomode()
893 void fb_videomode_to_var(struct fb_var_screeninfo *var, in fb_videomode_to_var()
954 const struct fb_videomode *fb_find_best_mode(const struct fb_var_screeninfo *var, in fb_find_best_mode()
1032 const struct fb_videomode *fb_match_mode(const struct fb_var_screeninfo *var, in fb_match_mode()
1178 struct fb_var_screeninfo var; in fb_find_best_display() local
/Linux-v5.4/drivers/media/platform/vivid/
Dvivid-osd.c96 static int vivid_fb_set_var(struct vivid_dev *dev, struct fb_var_screeninfo *var) in vivid_fb_set_var()
129 static int _vivid_fb_check_var(struct fb_var_screeninfo *var, struct vivid_dev *dev) in _vivid_fb_check_var()
169 static int vivid_fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in vivid_fb_check_var()
177 static int vivid_fb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) in vivid_fb_pan_display()

12345678910>>...15