Home
last modified time | relevance | path

Searched refs:var (Results 1 – 22 of 22) sorted by relevance

/include/linux/amba/
Dclcd.h136 int (*check)(struct clcd_fb *fb, struct fb_var_screeninfo *var);
191 struct fb_var_screeninfo *var = &fb->fb.var; in clcdfb_decode() local
197 val = ((var->xres / 16) - 1) << 2; in clcdfb_decode()
198 val |= (var->hsync_len - 1) << 8; in clcdfb_decode()
199 val |= (var->right_margin - 1) << 16; in clcdfb_decode()
200 val |= (var->left_margin - 1) << 24; in clcdfb_decode()
203 val = var->yres; in clcdfb_decode()
207 val |= (var->vsync_len - 1) << 10; in clcdfb_decode()
208 val |= var->lower_margin << 16; in clcdfb_decode()
209 val |= var->upper_margin << 24; in clcdfb_decode()
[all …]
/include/linux/byteorder/
Dgeneric.h143 static inline void le16_add_cpu(__le16 *var, u16 val) in le16_add_cpu() argument
145 *var = cpu_to_le16(le16_to_cpu(*var) + val); in le16_add_cpu()
148 static inline void le32_add_cpu(__le32 *var, u32 val) in le32_add_cpu() argument
150 *var = cpu_to_le32(le32_to_cpu(*var) + val); in le32_add_cpu()
153 static inline void le64_add_cpu(__le64 *var, u64 val) in le64_add_cpu() argument
155 *var = cpu_to_le64(le64_to_cpu(*var) + val); in le64_add_cpu()
158 static inline void be16_add_cpu(__be16 *var, u16 val) in be16_add_cpu() argument
160 *var = cpu_to_be16(be16_to_cpu(*var) + val); in be16_add_cpu()
163 static inline void be32_add_cpu(__be32 *var, u32 val) in be32_add_cpu() argument
165 *var = cpu_to_be32(be32_to_cpu(*var) + val); in be32_add_cpu()
[all …]
/include/linux/
Dhighuid.h69 #define SET_UID(var, uid) do { (var) = __convert_uid(sizeof(var), (uid)); } while (0) argument
70 #define SET_GID(var, gid) do { (var) = __convert_gid(sizeof(var), (gid)); } while (0) argument
Dpercpu-defs.h181 #define EXPORT_PER_CPU_SYMBOL(var) EXPORT_SYMBOL(var) argument
182 #define EXPORT_PER_CPU_SYMBOL_GPL(var) EXPORT_SYMBOL_GPL(var) argument
184 #define EXPORT_PER_CPU_SYMBOL(var) argument
185 #define EXPORT_PER_CPU_SYMBOL_GPL(var) argument
256 #define per_cpu(var, cpu) (*per_cpu_ptr(&(var), cpu)) argument
257 #define __raw_get_cpu_var(var) (*raw_cpu_ptr(&(var))) argument
258 #define __get_cpu_var(var) (*this_cpu_ptr(&(var))) argument
264 #define get_cpu_var(var) \ argument
267 this_cpu_ptr(&var); \
274 #define put_cpu_var(var) \ argument
[all …]
Dkmemcheck.h84 #define kmemcheck_annotate_variable(var) \ argument
86 kmemcheck_mark_initialized(&(var), sizeof(var)); \
165 #define kmemcheck_annotate_variable(var) \ argument
Dsvga.h115 struct fb_var_screeninfo *var);
118 int svga_check_timings(const struct svga_timing_regs *tm, struct fb_var_screeninfo *var, int node);
119 …mem *regbase, const struct svga_timing_regs *tm, struct fb_var_screeninfo *var, u32 hmul, u32 hdiv…
121 int svga_match_format(const struct svga_fb_format *frm, struct fb_var_screeninfo *var, struct fb_fi…
Dfb.h253 int (*fb_check_var)(struct fb_var_screeninfo *var, struct fb_info *info);
269 int (*fb_pan_display)(struct fb_var_screeninfo *var, struct fb_info *info);
300 struct fb_var_screeninfo *var);
454 struct fb_var_screeninfo var; /* Current var */ member
596 extern int fb_set_var(struct fb_info *info, struct fb_var_screeninfo *var);
597 extern int fb_pan_display(struct fb_info *info, struct fb_var_screeninfo *var);
626 extern int fb_get_color_depth(struct fb_var_screeninfo *var,
708 extern int fb_get_mode(int flags, u32 val, struct fb_var_screeninfo *var,
710 extern int fb_validate_mode(const struct fb_var_screeninfo *var,
712 extern int fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var);
[all …]
Dcompiler-intel.h28 #define OPTIMIZER_HIDE_VAR(var) barrier() argument
Dcompiler-gcc.h41 #define OPTIMIZER_HIDE_VAR(var) __asm__ ("" : "=r" (var) : "0" (var)) argument
Dedac.h531 #define EDAC_DIMM_PTR(layers, var, nlayers, layer0, layer1, layer2) ({ \ argument
532 typeof(*var) __p; \
537 __p = (var)[___i]; \
Dmcb.h66 int var; member
Dvmw_vmci_defs.h740 static inline void vmci_qp_add_pointer(atomic64_t *var, in vmci_qp_add_pointer() argument
744 u64 new_val = atomic64_read(var); in vmci_qp_add_pointer()
751 atomic64_set(var, new_val); in vmci_qp_add_pointer()
Dmoduleparam.h310 #define core_param(name, var, type, perm) \ argument
311 param_check_##type(name, &(var)); \
312 __module_param_call("", name, &param_ops_##type, &var, perm, -1, 0)
Dcompiler.h181 #define OPTIMIZER_HIDE_VAR(var) barrier() argument
Defi.h1091 struct efi_variable var; member
1119 efivar_unregister(struct efivar_entry *var) in efivar_unregister() argument
1121 kobject_put(&var->kobj); in efivar_unregister()
Ddevice.h523 void *var; member
/include/video/
Dadf_fbdev.h56 int adf_fbdev_check_var(struct fb_var_screeninfo *var, struct fb_info *info);
59 int adf_fbdev_pan_display(struct fb_var_screeninfo *var, struct fb_info *info);
95 static inline int adf_fbdev_check_var(struct fb_var_screeninfo *var, in adf_fbdev_check_var() argument
111 static inline int adf_fbdev_pan_display(struct fb_var_screeninfo *var, in adf_fbdev_pan_display() argument
/include/sound/
Dpcm.h225 int var; member
241 snd_pcm_hw_param_t var) in constrs_mask() argument
243 return &constrs->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK]; in constrs_mask()
247 snd_pcm_hw_param_t var) in constrs_interval() argument
249 return &constrs->intervals[var - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL]; in constrs_interval()
810 static inline int hw_is_mask(int var) in hw_is_mask() argument
812 return var >= SNDRV_PCM_HW_PARAM_FIRST_MASK && in hw_is_mask()
813 var <= SNDRV_PCM_HW_PARAM_LAST_MASK; in hw_is_mask()
816 static inline int hw_is_interval(int var) in hw_is_interval() argument
818 return var >= SNDRV_PCM_HW_PARAM_FIRST_INTERVAL && in hw_is_interval()
[all …]
Dpcm_params.h29 snd_pcm_hw_param_t var, int *dir);
32 snd_pcm_hw_param_t var, int *dir);
34 snd_pcm_hw_param_t var, int *dir);
/include/asm-generic/
Dbarrier.h62 #define set_mb(var, value) do { (var) = (value); mb(); } while (0) argument
/include/drm/
Ddrm_fb_helper.h107 int drm_fb_helper_pan_display(struct fb_var_screeninfo *var,
110 int drm_fb_helper_check_var(struct fb_var_screeninfo *var,
/include/linux/fsl/bestcomm/
Dbestcomm_priv.h55 u32 var; member
75 u32 *var; member
291 return bcom_sram_pa2va(bcom_eng->tdt[task].var); in bcom_task_var()