Home
last modified time | relevance | path

Searched refs:new_var (Results 1 – 7 of 7) sorted by relevance

/drivers/firmware/efi/
Defivars.c120 efivar_create_sysfs_entry(struct efivar_entry *new_var);
258 struct efi_variable *new_var, *var = &entry->var; in efivar_store_raw() local
288 new_var = (struct efi_variable *)buf; in efivar_store_raw()
290 attributes = new_var->Attributes; in efivar_store_raw()
291 vendor = new_var->VendorGuid; in efivar_store_raw()
292 name = new_var->VariableName; in efivar_store_raw()
293 size = new_var->DataSize; in efivar_store_raw()
294 data = new_var->Data; in efivar_store_raw()
300 memcpy(&entry->var, new_var, count); in efivar_store_raw()
419 struct efi_variable *new_var = (struct efi_variable *)buf; in efivar_create() local
[all …]
/drivers/video/fbdev/omap/
Domapfb_main.c610 struct fb_var_screeninfo *new_var = &fbdev->new_var; in omapfb_rotate() local
612 memcpy(new_var, &fbi->var, sizeof(*new_var)); in omapfb_rotate()
613 new_var->rotate = rotate; in omapfb_rotate()
614 if (set_fb_var(fbi, new_var) == 0 && in omapfb_rotate()
615 memcmp(new_var, &fbi->var, sizeof(*new_var))) { in omapfb_rotate()
616 memcpy(&fbi->var, new_var, sizeof(*new_var)); in omapfb_rotate()
637 struct fb_var_screeninfo *new_var = &fbdev->new_var; in omapfb_pan_display() local
639 memcpy(new_var, &fbi->var, sizeof(*new_var)); in omapfb_pan_display()
640 new_var->xoffset = var->xoffset; in omapfb_pan_display()
641 new_var->yoffset = var->yoffset; in omapfb_pan_display()
[all …]
Domapfb.h223 struct fb_var_screeninfo new_var; /* for mode changes */ member
/drivers/video/fbdev/omap2/omapfb/
Domapfb-sysfs.c109 struct fb_var_screeninfo new_var; in store_mirror() local
122 memcpy(&new_var, &fbi->var, sizeof(new_var)); in store_mirror()
123 r = check_fb_var(fbi, &new_var); in store_mirror()
126 memcpy(&fbi->var, &new_var, sizeof(fbi->var)); in store_mirror()
Domapfb-main.c1052 struct fb_var_screeninfo new_var; in omapfb_pan_display() local
1061 new_var = fbi->var; in omapfb_pan_display()
1062 new_var.xoffset = var->xoffset; in omapfb_pan_display()
1063 new_var.yoffset = var->yoffset; in omapfb_pan_display()
1065 fbi->var = new_var; in omapfb_pan_display()
1647 struct fb_var_screeninfo new_var; in omapfb_realloc_fbmem() local
1648 memcpy(&new_var, &fbi->var, sizeof(new_var)); in omapfb_realloc_fbmem()
1649 r = check_fb_var(fbi, &new_var); in omapfb_realloc_fbmem()
1652 memcpy(&fbi->var, &new_var, sizeof(fbi->var)); in omapfb_realloc_fbmem()
/drivers/video/fbdev/
Dda8xx-fb.c1222 struct fb_var_screeninfo new_var; in da8xx_pan_display() local
1231 memcpy(&new_var, &fbi->var, sizeof(new_var)); in da8xx_pan_display()
1232 new_var.xoffset = var->xoffset; in da8xx_pan_display()
1233 new_var.yoffset = var->yoffset; in da8xx_pan_display()
1234 if (fb_check_var(&new_var, fbi)) in da8xx_pan_display()
1237 memcpy(&fbi->var, &new_var, sizeof(new_var)); in da8xx_pan_display()
1240 new_var.yoffset * fix->line_length + in da8xx_pan_display()
1241 new_var.xoffset * fbi->var.bits_per_pixel / 8; in da8xx_pan_display()
Dmx3fb.c780 struct fb_var_screeninfo new_var = fbi->var; in mx3fb_must_set_par() local
790 old_var.xoffset = new_var.xoffset; in mx3fb_must_set_par()
791 old_var.yoffset = new_var.yoffset; in mx3fb_must_set_par()
793 return !!memcmp(&old_var, &new_var, sizeof(struct fb_var_screeninfo)); in mx3fb_must_set_par()