Home
last modified time | relevance | path

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

12345678910>>...15

/linux/drivers/gpu/drm/amd/amdkfd/
H A 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 …]
H A Dcwsr_trap_handler_gfx10.asm72 var SQ_WAVE_STATUS_SPI_PRIO_MASK = 0x00000006 label
73 var SQ_WAVE_STATUS_HALT_MASK = 0x2000 label
74 var SQ_WAVE_STATUS_ECC_ERR_MASK = 0x20000 label
75 var SQ_WAVE_STATUS_TRAP_EN_SHIFT = 6 label
76 var SQ_WAVE_IB_STS2_WAVE64_SHIFT = 11 label
77 var SQ_WAVE_IB_STS2_WAVE64_SIZE = 1 label
78 var SQ_WAVE_LDS_ALLOC_GRANULARITY = 8 label
79 var S_STATUS_HWREG = HW_REG_STATUS label
80 var S_STATUS_ALWAYS_CLEAR_MASK = SQ_WAVE_STATUS_SPI_PRIO_MASK|SQ_WAVE_STATUS_ECC_ERR_MASK label
81 var S_STATUS_HALT_MASK = SQ_WAVE_STATUS_HALT_MASK label
[all …]
H A Dcwsr_trap_handler_gfx9.asm47 var ACK_SQC_STORE = 1 //workaround for suspected SQC store bug causing incorrect stores u… label
48 var SAVE_AFTER_XNACK_ERROR = 1 //workaround for TCP store failure after XNACK error when A… label
49 var SINGLE_STEP_MISSED_WORKAROUND = (ASIC_FAMILY <= CHIP_ALDEBARAN) //workaround for lost MODE.DE… label
54 var SQ_WAVE_STATUS_SPI_PRIO_SHIFT = 1 label
55 var SQ_WAVE_STATUS_SPI_PRIO_MASK = 0x00000006 label
56 var SQ_WAVE_STATUS_HALT_MASK = 0x2000 label
57 var SQ_WAVE_STATUS_PRE_SPI_PRIO_SHIFT = 0 label
58 var SQ_WAVE_STATUS_PRE_SPI_PRIO_SIZE = 1 label
59 var SQ_WAVE_STATUS_POST_SPI_PRIO_SHIFT = 3 label
60 var SQ_WAVE_STATUS_POST_SPI_PRIO_SIZE = 29 label
[all …]
/linux/kernel/sched/
H A Dstats.h38 #define __schedstat_inc(var) do { var++; } while (0) argument
39 #define schedstat_inc(var) do { if (schedstat_enabled()) { var++; } } while (0) argument
40 #define __schedstat_add(var, amt) do { var += (amt); } while (0) argument
41 #define schedstat_add(var, amt) do { if (schedstat_enabled()) { var += (amt); } } while (0) argument
42 #define __schedstat_set(var, val) do { var = (val); } while (0) argument
43 #define schedstat_set(var, val) do { if (schedstat_enabled()) { var = (val); } } while (0) argument
44 #define schedstat_val(var) (var) argument
45 #define schedstat_val_or_zero(var) ((schedstat_enabled()) ? (var) : 0) argument
76 # define __schedstat_inc(var) do { } while (0) argument
77 # define schedstat_inc(var) do { } while (0) argument
[all …]
/linux/tools/testing/shared/linux/
H A 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/tools/testing/selftests/rseq/
H A Drseq-arm64.h140 #define RSEQ_ASM_OP_STORE(value, var) \ argument
143 #define RSEQ_ASM_OP_STORE_RELEASE(value, var) \ argument
146 #define RSEQ_ASM_OP_FINAL_STORE(value, var, post_commit_label) \ argument
150 #define RSEQ_ASM_OP_FINAL_STORE_RELEASE(value, var, post_commit_label) \ argument
154 #define RSEQ_ASM_OP_CMPEQ(var, expect, label) \ argument
160 #define RSEQ_ASM_OP_CMPEQ32(var, expect, label) \ argument
166 #define RSEQ_ASM_OP_CMPNE(var, expect, label) \ argument
176 #define RSEQ_ASM_OP_R_LOAD(var) \ argument
179 #define RSEQ_ASM_OP_R_STORE(var) \ argument
190 #define RSEQ_ASM_OP_R_FINAL_STORE(var, post_commit_label) \ argument
H A Drseq-riscv.h97 #define RSEQ_ASM_OP_STORE(value, var) \ argument
100 #define RSEQ_ASM_OP_CMPEQ(var, expect, label) \ argument
105 #define RSEQ_ASM_OP_CMPEQ32(var, expect, label) \ argument
110 #define RSEQ_ASM_OP_CMPNE(var, expect, label) \ argument
119 #define RSEQ_ASM_OP_R_LOAD(var) \ argument
122 #define RSEQ_ASM_OP_R_STORE(var) \ argument
134 #define RSEQ_ASM_OP_FINAL_STORE(value, var, post_commit_label) \ argument
138 #define RSEQ_ASM_OP_FINAL_STORE_RELEASE(value, var, post_commit_label) \ argument
143 #define RSEQ_ASM_OP_R_FINAL_STORE(var, post_commit_label) \ argument
H A Drseq-ppc.h157 #define RSEQ_ASM_OP_CMPEQ(var, expect, label) \ argument
162 #define RSEQ_ASM_OP_CMPNE(var, expectnot, label) \ argument
167 #define RSEQ_ASM_OP_STORE(value, var) \ argument
171 #define RSEQ_ASM_OP_R_LOAD(var) \ argument
175 #define RSEQ_ASM_OP_R_STORE(var) \ argument
200 #define RSEQ_ASM_OP_R_FINAL_STORE(var, post_commit_label) \ argument
204 #define RSEQ_ASM_OP_FINAL_STORE(value, var, post_commit_label) \ argument
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A 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/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.c14 static int var_to_pixfmt(struct fb_var_screeninfo *var) in var_to_pixfmt()
98 static void pixfmt_to_var(struct fb_var_screeninfo *var, int pix_fmt) in pixfmt_to_var()
272 static int mmpfb_check_var(struct fb_var_screeninfo *var, in mmpfb_check_var()
333 static int mmpfb_pan_display(struct fb_var_screeninfo *var, in mmpfb_pan_display()
350 struct fb_var_screeninfo *var = &info->var; in var_update() local
383 struct fb_var_screeninfo *var = &info->var; in mmpfb_set_win() local
401 struct fb_var_screeninfo *var = &info->var; in mmpfb_set_par() local
429 struct fb_var_screeninfo *var = &fbi->fb_info->var; in mmpfb_power() local
/linux/arch/x86/include/asm/
H A Drmwcc.h40 #define GEN_UNARY_RMWcc_4(op, var, cc, arg0) \ argument
43 #define GEN_UNARY_RMWcc_3(op, var, cc) \ argument
48 #define GEN_BINARY_RMWcc_6(op, var, cc, vcon, _val, arg0) \ argument
52 #define GEN_BINARY_RMWcc_5(op, var, cc, vcon, val) \ argument
57 #define GEN_UNARY_SUFFIXED_RMWcc(op, suffix, var, cc, clobbers...) \ argument
61 #define GEN_BINARY_SUFFIXED_RMWcc(op, suffix, var, cc, vcon, _val, clobbers...)\ argument
/linux/drivers/video/fbdev/
H A Dpxa168fb.c37 static int determine_best_pix_fmt(struct fb_var_screeninfo *var) in determine_best_pix_fmt()
93 static void set_pix_fmt(struct fb_var_screeninfo *var, int pix_fmt) in set_pix_fmt()
162 static void set_mode(struct pxa168fb_info *fbi, struct fb_var_screeninfo *var, in set_mode()
191 static int pxa168fb_check_var(struct fb_var_screeninfo *var, in pxa168fb_check_var()
350 struct fb_var_screeninfo *var = &info->var; in set_graphics_start() local
401 struct fb_var_screeninfo *var = &info->var; in pxa168fb_set_par() local
521 static int pxa168fb_pan_display(struct fb_var_screeninfo *var, in pxa168fb_pan_display()
558 struct fb_var_screeninfo *var = &info->var; in pxa168fb_init_mode() local
H A 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 …]
H A Dacornfb.c114 struct fb_var_screeninfo *var = &info->var; in acornfb_set_timing() local
316 acornfb_adjust_timing(struct fb_info *info, struct fb_var_screeninfo *var, u_int fontht) in acornfb_adjust_timing()
412 acornfb_validate_timing(struct fb_var_screeninfo *var, in acornfb_validate_timing()
435 acornfb_update_dma(struct fb_info *info, struct fb_var_screeninfo *var) in acornfb_update_dma()
447 acornfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in acornfb_check_var()
591 acornfb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) in acornfb_pan_display()
/linux/drivers/net/ethernet/apm/xgene-v2/
H A 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/drivers/video/fbdev/omap2/omapfb/
H A 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/drivers/md/bcache/
H A Dsysfs.h57 #define sysfs_print(file, var) \ argument
90 #define sysfs_strtoul(file, var) \ argument
96 #define sysfs_strtoul_bool(file, var) \ argument
106 #define sysfs_strtoul_clamp(file, var, min, max) \ argument
136 #define sysfs_hatoi(file, var) \ argument
/linux/drivers/crypto/bcm/
H A Dutil.h27 #define flow_dump(msg, var, var_len) \ argument
45 #define packet_dump(msg, var, var_len) \ argument
65 static inline void flow_dump(const char *msg, const void *var, size_t var_len) in flow_dump()
73 static inline void packet_dump(const char *msg, const void *var, size_t var_len) in packet_dump()
/linux/include/linux/byteorder/
H A 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/tools/net/ynl/
H A Dynl-gen-c.py142 def free(self, ri, var, ref): argument
188 def _attr_put_line(self, ri, var, line): argument
195 def _attr_put_simple(self, ri, var, put_type): argument
199 def attr_put(self, ri, var): argument
202 def _attr_get(self, ri, var): argument
205 def attr_get(self, ri, var, first): argument
270 def _attr_get(self, ri, var): argument
279 def attr_put(self, ri, var): argument
282 def attr_get(self, ri, var, first): argument
299 def attr_put(self, ri, var): argument
[all …]
/linux/drivers/video/fbdev/core/
H A Dmodedb.c547 static int fb_try_mode(struct fb_var_screeninfo *var, struct fb_info *info, in fb_try_mode()
622 int fb_find_mode(struct fb_var_screeninfo *var, in fb_find_mode()
856 const struct fb_var_screeninfo *var) in fb_var_to_videomode()
902 void fb_videomode_to_var(struct fb_var_screeninfo *var, in fb_videomode_to_var()
963 const struct fb_videomode *fb_find_best_mode(const struct fb_var_screeninfo *var, in fb_find_best_mode()
1035 const struct fb_videomode *fb_match_mode(const struct fb_var_screeninfo *var, in fb_match_mode()
1175 struct fb_var_screeninfo var; in fb_find_best_display() local
/linux/tools/arch/x86/include/asm/
H A Drmwcc.h5 #define __GEN_RMWcc(fullop, var, cc, ...) \ argument
15 #define GEN_UNARY_RMWcc(op, var, arg0, cc) \ argument
18 #define GEN_BINARY_RMWcc(op, var, vcon, val, arg0, cc) \ argument
/linux/arch/arm/mach-rpc/include/mach/
H A 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/drivers/video/fbdev/mb862xx/
H A Dmb862xxfbdrv.c36 static inline int h_total(struct fb_var_screeninfo *var) in h_total()
42 static inline int v_total(struct fb_var_screeninfo *var) in v_total()
48 static inline int hsp(struct fb_var_screeninfo *var) in hsp()
53 static inline int vsp(struct fb_var_screeninfo *var) in vsp()
58 static inline int d_pitch(struct fb_var_screeninfo *var) in d_pitch()
101 static int mb862xxfb_check_var(struct fb_var_screeninfo *var, in mb862xxfb_check_var()
264 static int mb862xxfb_pan(struct fb_var_screeninfo *var, in mb862xxfb_pan()
/linux/drivers/media/test-drivers/vivid/
H A 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