Home
last modified time | relevance | path

Searched refs:ofbi (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/
Domapfb-sysfs.c30 struct omapfb_info *ofbi = FB2OFB(fbi); in show_rotate_type() local
32 return snprintf(buf, PAGE_SIZE, "%d\n", ofbi->rotation_type); in show_rotate_type()
40 struct omapfb_info *ofbi = FB2OFB(fbi); in store_rotate_type() local
55 if (rot_type == ofbi->rotation_type) in store_rotate_type()
58 rg = omapfb_get_mem_region(ofbi->region); in store_rotate_type()
65 ofbi->rotation_type = rot_type; in store_rotate_type()
84 struct omapfb_info *ofbi = FB2OFB(fbi); in show_mirror() local
86 return snprintf(buf, PAGE_SIZE, "%d\n", ofbi->mirror); in show_mirror()
94 struct omapfb_info *ofbi = FB2OFB(fbi); in store_mirror() local
105 ofbi->mirror = mirror; in store_mirror()
[all …]
Domapfb-ioctl.c27 static u8 get_mem_idx(struct omapfb_info *ofbi) in get_mem_idx() argument
29 if (ofbi->id == ofbi->region->id) in get_mem_idx()
32 return OMAPFB_MEM_IDX_ENABLED | ofbi->region->id; in get_mem_idx()
35 static struct omapfb2_mem_region *get_mem_region(struct omapfb_info *ofbi, in get_mem_region() argument
38 struct omapfb2_device *fbdev = ofbi->fbdev; in get_mem_region()
43 mem_idx = ofbi->id; in get_mem_region()
53 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_setup_plane() local
54 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_setup_plane()
62 if (ofbi->num_overlays == 0) { in omapfb_setup_plane()
68 ovl = ofbi->overlays[0]; in omapfb_setup_plane()
[all …]
Domapfb-main.c150 static unsigned omapfb_get_vrfb_offset(const struct omapfb_info *ofbi, int rot) in omapfb_get_vrfb_offset() argument
152 const struct vrfb *vrfb = &ofbi->region->vrfb; in omapfb_get_vrfb_offset()
178 static u32 omapfb_get_region_rot_paddr(const struct omapfb_info *ofbi, int rot) in omapfb_get_region_rot_paddr() argument
180 if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) { in omapfb_get_region_rot_paddr()
181 return ofbi->region->vrfb.paddr[rot] in omapfb_get_region_rot_paddr()
182 + omapfb_get_vrfb_offset(ofbi, rot); in omapfb_get_region_rot_paddr()
184 return ofbi->region->paddr; in omapfb_get_region_rot_paddr()
188 static u32 omapfb_get_region_paddr(const struct omapfb_info *ofbi) in omapfb_get_region_paddr() argument
190 if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) in omapfb_get_region_paddr()
191 return ofbi->region->vrfb.paddr[0]; in omapfb_get_region_paddr()
[all …]
Domapfb.h136 struct omapfb_info *ofbi = FB2OFB(fbi); in fb2display() local
141 if (ofbi->num_overlays == 0) in fb2display()
144 ovl = ofbi->overlays[0]; in fb2display()