Searched refs:var (Results 176 - 200 of 598) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wireless/broadcom/brcm80211/include/
H A Dbrcmu_utils.h172 static inline void brcmu_maskset32(u32 *var, u32 mask, u8 shift, u32 value) argument
175 *var = (*var & ~mask) | value;
177 static inline u32 brcmu_maskget32(u32 var, u32 mask, u8 shift) argument
179 return (var & mask) >> shift;
181 static inline void brcmu_maskset16(u16 *var, u16 mask, u8 shift, u16 value) argument
184 *var = (*var & ~mask) | value;
186 static inline u16 brcmu_maskget16(u16 var, u16 mask, u8 shift) argument
188 return (var
[all...]
/linux-master/tools/testing/selftests/livepatch/test_modules/
H A Dtest_klp_shadow_vars.c76 int **var = ctor_data; local
79 sv = klp_shadow_alloc(obj, id, size, gfp_flags, ctor, var);
82 ptr_id(*var), ptr_id(sv));
91 int **var = ctor_data; local
94 sv = klp_shadow_get_or_alloc(obj, id, size, gfp_flags, ctor, var);
97 ptr_id(*var), ptr_id(sv));
120 int **var = ctor_data; local
122 if (!var)
125 *sv = *var;
126 pr_info("%s: PTR%d -> PTR%d\n", __func__, ptr_id(sv), ptr_id(*var));
[all...]
/linux-master/drivers/staging/fbtft/
H A Dfb_uc1611.c113 switch (par->info->var.rotate) {
151 par->info->var.grayscale = 1;
152 par->info->var.red.offset = 0;
153 par->info->var.red.length = 8;
154 par->info->var.green.offset = 0;
155 par->info->var.green.length = 8;
156 par->info->var.blue.offset = 0;
157 par->info->var.blue.length = 8;
158 par->info->var.transp.offset = 0;
159 par->info->var
[all...]
H A Dfb_ssd1306.c38 if (par->info->var.yres == 64)
54 if (par->info->var.yres == 64)
56 else if (par->info->var.yres == 48)
88 if (par->info->var.yres == 64)
91 else if (par->info->var.yres == 48)
145 if (par->info->var.xres == 64 && par->info->var.yres == 48)
177 u32 xres = par->info->var.xres;
178 u32 yres = par->info->var.yres;
/linux-master/tools/perf/
H A Dbuiltin-help.c221 static void unsupported_man_viewer(const char *name, const char *var) argument
224 "Please consider using 'man.<tool>.%s' instead.", name, var);
251 static int add_man_viewer_info(const char *var, const char *value) argument
253 const char *name = var + 4;
263 return config_error_nonbool(var);
268 return config_error_nonbool(var);
276 static int perf_help_config(const char *var, const char *value, void *cb) argument
280 if (!strcmp(var, "help.format")) {
282 return config_error_nonbool(var);
288 if (!strcmp(var, "ma
[all...]
H A Dperf.c103 static bool same_cmd_with_prefix(const char *var, struct pager_config *c, argument
106 return (strstarts(var, header) && !strcmp(var + strlen(header), c->cmd));
109 static int pager_command_config(const char *var, const char *value, void *data) argument
112 if (same_cmd_with_prefix(var, c, "pager."))
113 c->val = perf_config_bool(var, value);
128 static int browser_command_config(const char *var, const char *value, void *data) argument
131 if (same_cmd_with_prefix(var, c, "tui."))
132 c->val = perf_config_bool(var, value);
133 if (same_cmd_with_prefix(var,
[all...]
/linux-master/drivers/video/fbdev/
H A Dsunxvr500.c203 struct fb_var_screeninfo *var = &info->var; local
221 var->xres = ep->width;
222 var->yres = ep->height;
223 var->xres_virtual = var->xres;
224 var->yres_virtual = var->yres;
225 var->bits_per_pixel = ep->depth;
227 var
[all...]
H A Dsbuslib.c20 void sbusfb_fill_var(struct fb_var_screeninfo *var, struct device_node *dp, argument
23 memset(var, 0, sizeof(*var));
25 var->xres = of_getintprop_default(dp, "width", 1152);
26 var->yres = of_getintprop_default(dp, "height", 900);
27 var->xres_virtual = var->xres;
28 var->yres_virtual = var->yres;
29 var
[all...]
H A Dhyperv_fb.c325 msg.situ.video_output[0].depth_bits = info->var.bits_per_pixel;
326 msg.situ.video_output[0].width_pixels = info->var.xres;
327 msg.situ.video_output[0].height_pixels = info->var.yres;
378 x2 = info->var.xres;
380 y2 = info->var.yres;
390 (x2 < x1 || x2 > info->var.xres) ? info->var.xres : x2;
392 (y2 < y1 || y2 > info->var.yres) ? info->var.yres : y2;
444 synthvid_update(p, 0, miny, p->var
803 hvfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) argument
[all...]
H A Dplatinumfb.c81 static int platinumfb_check_var (struct fb_var_screeninfo *var, struct fb_info *info);
91 static int platinum_var_to_par(struct fb_var_screeninfo *var,
109 * Checks a var structure
111 static int platinumfb_check_var (struct fb_var_screeninfo *var, struct fb_info *info) argument
113 return platinum_var_to_par(var, info->par, 1);
117 * Applies current var to display
125 if((err = platinum_var_to_par(&info->var, pinfo, 0))) {
340 struct fb_var_screeninfo var; local
368 /* Setup default var */
369 if (mac_vmode_to_var(default_vmode, default_cmode, &var) <
436 platinum_var_to_par(struct fb_var_screeninfo *var, struct fb_info_platinum *pinfo, int check_only) argument
[all...]
H A Dvalkyriefb.c95 static int valkyriefb_check_var(struct fb_var_screeninfo *var,
104 static int valkyrie_var_to_par(struct fb_var_screeninfo *var,
120 /* Sets the video mode according to info->var */
130 if ((err = valkyrie_var_to_par(&info->var, par, info)))
153 struct fb_var_screeninfo *var)
155 return mac_vmode_to_var(par->vmode, par->cmode, var);
159 valkyriefb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) argument
164 if ((err = valkyrie_var_to_par(var, &par, info)))
166 valkyrie_par_to_var(&par, var);
368 mac_vmode_to_var(default_vmode, default_cmode, &p->info.var);
152 valkyrie_par_to_var(struct fb_par_valkyrie *par, struct fb_var_screeninfo *var) argument
449 valkyrie_var_to_par(struct fb_var_screeninfo *var, struct fb_par_valkyrie *par, const struct fb_info *fb_info) argument
[all...]
H A Dsimplefb.c51 u32 cr = red >> (16 - info->var.red.length);
52 u32 cg = green >> (16 - info->var.green.length);
53 u32 cb = blue >> (16 - info->var.blue.length);
59 value = (cr << info->var.red.offset) |
60 (cg << info->var.green.offset) |
61 (cb << info->var.blue.offset);
62 if (info->var.transp.length > 0) {
63 u32 mask = (1 << info->var.transp.length) - 1;
64 mask <<= info->var.transp.offset;
583 info->var
[all...]
H A Dpmagb-b-fb.c152 info->var.xres = ((sfb_read(par, SFB_REG_VID_HOR) >>
154 info->var.xres_virtual = info->var.xres;
155 info->var.yres = (sfb_read(par, SFB_REG_VID_VER) >>
157 info->var.yres_virtual = info->var.yres;
158 info->var.left_margin = ((sfb_read(par, SFB_REG_VID_HOR) >>
161 info->var.right_margin = ((sfb_read(par, SFB_REG_VID_HOR) >>
164 info->var.upper_margin = (sfb_read(par, SFB_REG_VID_VER) >>
166 info->var
[all...]
H A Dhgafb.c420 * @var:contains new xoffset, yoffset and vmode values
424 * flag in @var. If input parameters are correct it calls hga_pan() to
425 * program the hardware. @info->var is updated to the new values.
430 static int hgafb_pan_display(struct fb_var_screeninfo *var, argument
433 if (var->vmode & FB_VMODE_YWRAP) {
434 if (var->yoffset >= info->var.yres_virtual ||
435 var->xoffset)
438 if (var->xoffset + info->var
[all...]
H A Dtgafb.c57 static int tgafb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info);
169 * tgafb_check_var - Optional function. Validates a var passed in.
170 * @var: frame buffer variable screen structure
174 tgafb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) argument
178 if (!var->pixclock)
182 if (var->bits_per_pixel != 8)
185 if (var->bits_per_pixel != 32)
188 var->red.length = var->green.length = var
1392 tgafb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) argument
[all...]
H A Dcarminefb.c129 static int carmine_find_mode(const struct fb_var_screeninfo *var) argument
134 if (car_modes[i].hdp == var->xres &&
135 car_modes[i].vdp == var->yres)
180 static int carmine_check_var(struct fb_var_screeninfo *var, argument
185 ret = carmine_find_mode(var);
189 if (var->grayscale || var->rotate || var->nonstd)
192 var->xres_virtual = var
[all...]
H A Dleo.c213 par->extent = ((info->var.xres - 1) |
214 ((info->var.yres - 1) << 16));
224 sbus_writel((info->var.xres-1) | ((info->var.yres-1) << 11),
245 static int leo_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) argument
252 if (var->xoffset || var->yoffset || var->vmode)
515 static void leo_fixup_var_rgb(struct fb_var_screeninfo *var) argument
517 var
[all...]
/linux-master/drivers/firmware/broadcom/
H A Dbcm47xx_nvram.c187 char *var, *value, *end, *eq; local
200 var = &nvram_buf[sizeof(struct nvram_header)];
202 while (var < end && *var) {
203 eq = strchr(var, '=');
207 if (eq - var == strlen(name) &&
208 strncmp(var, name, eq - var) == 0)
210 var = value + strlen(value) + 1;
/linux-master/drivers/video/fbdev/via/
H A Ddvi.h48 void viafb_dvi_set_mode(const struct fb_var_screeninfo *var,
/linux-master/drivers/crypto/caam/
H A Ddpseci_cmd.h51 #define dpseci_set_field(var, field, val) \
52 ((var) |= (((val) << DPSECI_##field##_SHIFT) & DPSECI_MASK(field)))
54 #define dpseci_get_field(var, field) \
55 (((var) & DPSECI_MASK(field)) >> DPSECI_##field##_SHIFT)
/linux-master/drivers/video/fbdev/core/
H A Dfbcon_rotate.h16 (i)->var.yres : (i)->var.yres_virtual; })
20 (i)->var.xres : (i)->var.xres_virtual; })
/linux-master/include/linux/
H A Dpercpu-defs.h194 #define EXPORT_PER_CPU_SYMBOL(var) EXPORT_SYMBOL(var)
195 #define EXPORT_PER_CPU_SYMBOL_GPL(var) EXPORT_SYMBOL_GPL(var)
197 #define EXPORT_PER_CPU_SYMBOL(var)
198 #define EXPORT_PER_CPU_SYMBOL_GPL(var)
269 #define per_cpu(var, cpu) (*per_cpu_ptr(&(var), cpu))
272 * Must be an lvalue. Since @var must be a simple identifier,
275 #define get_cpu_var(var) \
[all...]
H A Dfbcon.h19 struct fb_var_screeninfo *var);
39 struct fb_var_screeninfo *var) { return 0; }
38 fbcon_modechange_possible(struct fb_info *info, struct fb_var_screeninfo *var) argument
/linux-master/tools/perf/util/
H A Dcolor.h34 int perf_color_default_config(const char *var, const char *value, void *cb);
36 int perf_config_colorbool(const char *var, const char *value, int stdout_is_tty);
/linux-master/arch/mips/mti-malta/
H A Dmalta-dtshim.c139 char *var, param_name[10], *var_names[] = { local
150 var = fw_getenv(var_names[i]);
151 if (!var)
154 err = kstrtoul(var, 0, &physical_memsize);
159 var_names[i], var);
181 var = strstr(arcs_cmdline, param_name);
182 if (!var)
185 memsize = memparse(var + strlen(param_name), NULL);

Completed in 255 milliseconds

1234567891011>>