/linux-5.19.10/drivers/video/fbdev/ |
D | stifb.c | 156 #define READ_BYTE(fb,reg) gsc_readb((fb)->info.fix.mmio_start + (reg)) argument 157 #define READ_WORD(fb,reg) gsc_readl((fb)->info.fix.mmio_start + (reg)) argument 163 # define WRITE_BYTE(value,fb,reg) gsc_writeb((value),(fb)->info.fix.mmio_start + (reg)) argument 164 # define WRITE_WORD(value,fb,reg) gsc_writel((value),(fb)->info.fix.mmio_start + (reg)) argument 169 # define WRITE_BYTE(value,fb,reg) do { if (debug_on) \ argument 173 # define WRITE_WORD(value,fb,reg) do { if (debug_on) \ argument 187 SETUP_HW(struct stifb_info *fb) in SETUP_HW() 200 SETUP_FB(struct stifb_info *fb) in SETUP_FB() 237 START_IMAGE_COLORMAP_ACCESS(struct stifb_info *fb) in START_IMAGE_COLORMAP_ACCESS() 246 WRITE_IMAGE_COLOR(struct stifb_info *fb, int index, int color) in WRITE_IMAGE_COLOR() [all …]
|
D | amba-clcd.c | 38 static inline void clcdfb_set_start(struct clcd_fb *fb) in clcdfb_set_start() 50 static void clcdfb_disable(struct clcd_fb *fb) in clcdfb_disable() 83 static void clcdfb_enable(struct clcd_fb *fb, u32 cntl) in clcdfb_enable() 123 clcdfb_set_bitfields(struct clcd_fb *fb, struct fb_var_screeninfo *var) in clcdfb_set_bitfields() 262 struct clcd_fb *fb = to_clcd(info); in clcdfb_check_var() local 281 struct clcd_fb *fb = to_clcd(info); in clcdfb_set_par() local 338 struct clcd_fb *fb = to_clcd(info); in clcdfb_setcolreg() local 387 struct clcd_fb *fb = to_clcd(info); in clcdfb_blank() local 400 struct clcd_fb *fb = to_clcd(info); in clcdfb_mmap() local 425 static int clcdfb_register(struct clcd_fb *fb) in clcdfb_register() [all …]
|
D | goldfishfb.c | 44 struct fb_info fb; member 51 struct goldfish_fb *fb = dev_id; in goldfish_fb_interrupt() local 75 struct goldfish_fb *fb = container_of(info, struct goldfish_fb, fb); in goldfish_fb_setcolreg() local 118 struct goldfish_fb *fb = container_of(info, struct goldfish_fb, fb); in goldfish_fb_set_par() local 134 struct goldfish_fb *fb = container_of(info, struct goldfish_fb, fb); in goldfish_fb_pan_display() local 150 struct goldfish_fb *fb = container_of(info, struct goldfish_fb, fb); in goldfish_fb_blank() local 180 struct goldfish_fb *fb; in goldfish_fb_probe() local 289 struct goldfish_fb *fb = platform_get_drvdata(pdev); in goldfish_fb_remove() local
|
/linux-5.19.10/drivers/gpu/drm/ |
D | drm_framebuffer.c | 78 const struct drm_framebuffer *fb) in drm_framebuffer_check_src_coords() 292 struct drm_framebuffer *fb; in drm_internal_framebuffer_create() local 350 struct drm_framebuffer *fb; in drm_mode_addfb2() local 404 struct drm_framebuffer *fb = in drm_mode_rmfb_work_fn() local 431 struct drm_framebuffer *fb = NULL; in drm_mode_rmfb() local 509 struct drm_framebuffer *fb; in drm_mode_getfb() local 571 struct drm_framebuffer *fb; in drm_mode_getfb2_ioctl() local 701 struct drm_framebuffer *fb; in drm_mode_dirtyfb_ioctl() local 776 struct drm_framebuffer *fb, *tfb; in drm_fb_release() local 813 struct drm_framebuffer *fb = in drm_framebuffer_free() local [all …]
|
D | drm_gem_framebuffer_helper.c | 53 struct drm_gem_object *drm_gem_fb_get_obj(struct drm_framebuffer *fb, in drm_gem_fb_get_obj() 65 struct drm_framebuffer *fb, in drm_gem_fb_init() 93 void drm_gem_fb_destroy(struct drm_framebuffer *fb) in drm_gem_fb_destroy() 118 int drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file, in drm_gem_fb_create_handle() 148 struct drm_framebuffer *fb, in drm_gem_fb_init_with_funcs() 226 struct drm_framebuffer *fb; in drm_gem_fb_create_with_funcs() local 337 int drm_gem_fb_vmap(struct drm_framebuffer *fb, in drm_gem_fb_vmap() 388 void drm_gem_fb_vunmap(struct drm_framebuffer *fb, in drm_gem_fb_vunmap() 420 int drm_gem_fb_begin_cpu_access(struct drm_framebuffer *fb, enum dma_data_direction dir) in drm_gem_fb_begin_cpu_access() 473 void drm_gem_fb_end_cpu_access(struct drm_framebuffer *fb, enum dma_data_direction dir) in drm_gem_fb_end_cpu_access()
|
D | drm_format_helper.c | 45 const void *vaddr, const struct drm_framebuffer *fb, in drm_fb_xfrm() 88 const void *vaddr, const struct drm_framebuffer *fb, in drm_fb_xfrm_toio() 143 const struct drm_framebuffer *fb, const struct drm_rect *clip) in drm_fb_memcpy() 173 const struct drm_framebuffer *fb, const struct drm_rect *clip) in drm_fb_memcpy_toio() 227 const struct drm_framebuffer *fb, const struct drm_rect *clip, in drm_fb_swab() 273 const struct drm_framebuffer *fb, const struct drm_rect *clip) in drm_fb_xrgb8888_to_rgb332() 323 const struct drm_framebuffer *fb, const struct drm_rect *clip, in drm_fb_xrgb8888_to_rgb565() 348 const void *vaddr, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb565_toio() 385 const struct drm_framebuffer *fb, const struct drm_rect *clip) in drm_fb_xrgb8888_to_rgb888() 403 const void *vaddr, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb888_toio() [all …]
|
/linux-5.19.10/drivers/gpu/drm/i915/display/ |
D | intel_fb.c | 459 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_ccs_aux_plane() 474 static bool intel_fb_is_gen12_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_gen12_ccs_aux_plane() 490 int intel_fb_rc_ccs_cc_plane(const struct drm_framebuffer *fb) in intel_fb_rc_ccs_cc_plane() 502 static bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int color_plane) in is_gen12_ccs_cc_plane() 507 static bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane) in is_semiplanar_uv_plane() 513 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane) in is_surface_linear() 520 int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane) in main_to_ccs_plane() 528 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane) in skl_ccs_to_main_plane() 539 static unsigned int gen12_ccs_aux_stride(struct intel_framebuffer *fb, int ccs_plane) in gen12_ccs_aux_stride() 548 int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane) in skl_main_to_aux_plane() [all …]
|
D | skl_universal_plane.c | 268 const struct drm_framebuffer *fb = plane_state->hw.fb; in glk_plane_ratio() local 295 const struct drm_framebuffer *fb = plane_state->hw.fb; in skl_plane_ratio() local 317 static int skl_plane_max_width(const struct drm_framebuffer *fb, in skl_plane_max_width() 356 static int glk_plane_max_width(const struct drm_framebuffer *fb, in glk_plane_max_width() 384 static int icl_plane_min_width(const struct drm_framebuffer *fb, in icl_plane_min_width() 424 static int icl_hdr_plane_max_width(const struct drm_framebuffer *fb, in icl_hdr_plane_max_width() 434 static int icl_sdr_plane_max_width(const struct drm_framebuffer *fb, in icl_sdr_plane_max_width() 441 static int skl_plane_max_height(const struct drm_framebuffer *fb, in skl_plane_max_height() 448 static int icl_plane_max_height(const struct drm_framebuffer *fb, in icl_plane_max_height() 583 static unsigned int skl_plane_stride_mult(const struct drm_framebuffer *fb, in skl_plane_stride_mult() [all …]
|
D | intel_fb_pin.c | 20 intel_pin_fb_obj_dpt(struct drm_framebuffer *fb, in intel_pin_fb_obj_dpt() 80 intel_pin_and_fence_fb_obj(struct drm_framebuffer *fb, in intel_pin_and_fence_fb_obj() 217 struct drm_framebuffer *fb = plane_state->hw.fb; in intel_plane_pin_fb() local 259 struct drm_framebuffer *fb = old_plane_state->hw.fb; in intel_plane_unpin_fb() local
|
D | intel_plane_initial.c | 17 struct drm_framebuffer **fb, in intel_reuse_initial_plane_obj() 167 struct drm_framebuffer *fb = &plane_config->fb->base; in intel_alloc_initial_plane_obj() local 218 struct drm_framebuffer *fb; in intel_find_initial_plane_obj() local 289 struct drm_framebuffer *fb = &plane_config->fb->base; in plane_config_fini() local
|
/linux-5.19.10/drivers/staging/fieldbus/ |
D | dev_core.c | 29 struct fieldbus_dev *fb = dev_get_drvdata(dev); in online_show() local 38 struct fieldbus_dev *fb = dev_get_drvdata(dev); in enabled_show() local 48 struct fieldbus_dev *fb = dev_get_drvdata(dev); in enabled_store() local 67 struct fieldbus_dev *fb = dev_get_drvdata(dev); in card_name_show() local 80 struct fieldbus_dev *fb = dev_get_drvdata(dev); in read_area_size_show() local 89 struct fieldbus_dev *fb = dev_get_drvdata(dev); in write_area_size_show() local 98 struct fieldbus_dev *fb = dev_get_drvdata(dev); in fieldbus_id_show() local 107 struct fieldbus_dev *fb = dev_get_drvdata(dev); in fieldbus_type_show() local 138 struct fieldbus_dev *fb = dev_get_drvdata(dev); in fieldbus_is_visible() local 234 void fieldbus_dev_area_updated(struct fieldbus_dev *fb) in fieldbus_dev_area_updated() [all …]
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | base.c | 35 nvkm_fb_tile_fini(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) in nvkm_fb_tile_fini() 41 nvkm_fb_tile_init(struct nvkm_fb *fb, int region, u32 addr, u32 size, in nvkm_fb_tile_init() 48 nvkm_fb_tile_prog(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) in nvkm_fb_tile_prog() 91 struct nvkm_fb *fb = nvkm_fb(subdev); in nvkm_fb_intr() local 99 struct nvkm_fb *fb = nvkm_fb(subdev); in nvkm_fb_oneinit() local 129 nvkm_fb_init_scrub_vpr(struct nvkm_fb *fb) in nvkm_fb_init_scrub_vpr() 159 struct nvkm_fb *fb = nvkm_fb(subdev); in nvkm_fb_init() local 199 struct nvkm_fb *fb = nvkm_fb(subdev); in nvkm_fb_dtor() local 230 enum nvkm_subdev_type type, int inst, struct nvkm_fb *fb) in nvkm_fb_ctor()
|
D | gf100.c | 34 struct gf100_fb *fb = gf100_fb(base); in gf100_fb_intr() local 47 struct gf100_fb *fb = gf100_fb(base); in gf100_fb_oneinit() local 76 gf100_fb_init_page(struct nvkm_fb *fb) in gf100_fb_init_page() 91 struct gf100_fb *fb = gf100_fb(base); in gf100_fb_init() local 106 struct gf100_fb *fb = gf100_fb(base); in gf100_fb_dtor() local 122 struct gf100_fb *fb; in gf100_fb_new_() local
|
D | nv50.c | 34 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_ram_new() local 137 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_intr() local 198 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_oneinit() local 215 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_init() local 232 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_tags() local 241 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_dtor() local 267 struct nv50_fb *fb; in nv50_fb_new_() local
|
D | nv20.c | 30 nv20_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, in nv20_fb_tile_init() 43 nv20_fb_tile_comp(struct nvkm_fb *fb, int i, u32 size, u32 flags, in nv20_fb_tile_comp() 60 nv20_fb_tile_fini(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv20_fb_tile_fini() 70 nv20_fb_tile_prog(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv20_fb_tile_prog() 81 nv20_fb_tags(struct nvkm_fb *fb) in nv20_fb_tags()
|
D | nv30.c | 30 nv30_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, in nv30_fb_tile_init() 49 nv30_fb_tile_comp(struct nvkm_fb *fb, int i, u32 size, u32 flags, in nv30_fb_tile_comp() 66 calc_bias(struct nvkm_fb *fb, int k, int i, int j) in calc_bias() 78 calc_ref(struct nvkm_fb *fb, int l, int k, int i) in calc_ref() 92 nv30_fb_init(struct nvkm_fb *fb) in nv30_fb_init()
|
D | nv44.c | 30 nv44_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, in nv44_fb_tile_init() 40 nv44_fb_tile_prog(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv44_fb_tile_prog() 50 nv44_fb_init(struct nvkm_fb *fb) in nv44_fb_init()
|
/linux-5.19.10/drivers/gpu/drm/msm/ |
D | msm_fb.c | 34 static int msm_framebuffer_dirtyfb(struct drm_framebuffer *fb, in msm_framebuffer_dirtyfb() 58 void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in msm_framebuffer_describe() 77 int msm_framebuffer_prepare(struct drm_framebuffer *fb, in msm_framebuffer_prepare() 100 void msm_framebuffer_cleanup(struct drm_framebuffer *fb, in msm_framebuffer_cleanup() 117 uint32_t msm_framebuffer_iova(struct drm_framebuffer *fb, in msm_framebuffer_iova() 124 struct drm_gem_object *msm_framebuffer_bo(struct drm_framebuffer *fb, int plane) in msm_framebuffer_bo() 129 const struct msm_format *msm_framebuffer_format(struct drm_framebuffer *fb) in msm_framebuffer_format() 141 struct drm_framebuffer *fb; in msm_framebuffer_create() local 174 struct drm_framebuffer *fb; in msm_framebuffer_init() local 254 struct drm_framebuffer *fb; in msm_alloc_stolen_fb() local
|
/linux-5.19.10/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 58 static int omap_framebuffer_dirty(struct drm_framebuffer *fb, in omap_framebuffer_dirty() 82 static u32 get_linear_addr(struct drm_framebuffer *fb, in get_linear_addr() 96 bool omap_framebuffer_supports_rotation(struct drm_framebuffer *fb) in omap_framebuffer_supports_rotation() 133 void omap_framebuffer_update_scanout(struct drm_framebuffer *fb, in omap_framebuffer_update_scanout() 255 int omap_framebuffer_pin(struct drm_framebuffer *fb) in omap_framebuffer_pin() 295 void omap_framebuffer_unpin(struct drm_framebuffer *fb) in omap_framebuffer_unpin() 319 void omap_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in omap_framebuffer_describe() 341 struct drm_framebuffer *fb; in omap_framebuffer_create() local 370 struct drm_framebuffer *fb = NULL; in omap_framebuffer_init() local
|
/linux-5.19.10/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_framebuffer.c | 16 static void komeda_fb_destroy(struct drm_framebuffer *fb) in komeda_fb_destroy() 28 static int komeda_fb_create_handle(struct drm_framebuffer *fb, in komeda_fb_create_handle() 43 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_afbc_size_check() local 115 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_none_afbc_size_check() local 211 const struct drm_framebuffer *fb = &kfb->base; in komeda_fb_check_src_coords() local 241 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_get_pixel_addr() local 270 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_is_layer_supported() local
|
/linux-5.19.10/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 44 struct drm_framebuffer *fb = fb_helper->fb; in psbfb_setcolreg() local 81 struct drm_framebuffer *fb = vma->vm_private_data; in psbfb_vm_fault() local 127 struct drm_framebuffer *fb = fb_helper->fb; in psbfb_mmap() local 166 struct drm_framebuffer *fb, in psb_framebuffer_init() 211 struct drm_framebuffer *fb; in psb_framebuffer_create() local 240 struct drm_framebuffer *fb; in psbfb_create() local 331 struct drm_framebuffer *fb; in psb_user_framebuffer_create() local 383 struct drm_framebuffer *fb = fb_helper->fb; in psb_fbdev_destroy() local
|
/linux-5.19.10/drivers/gpu/drm/gud/ |
D | gud_pipe.c | 55 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_r124() 101 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_color() 149 static int gud_prep_flush(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_prep_flush() 279 static int gud_flush_rect(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_flush_rect() 336 static void gud_retry_failed_flush(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_retry_failed_flush() 363 struct drm_framebuffer *fb; in gud_flush_work() local 421 static void gud_fb_queue_damage(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_fb_queue_damage() 454 struct drm_framebuffer *fb = new_plane_state->fb; in gud_pipe_check() local 566 struct drm_framebuffer *fb = state->fb; in gud_pipe_update() local
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | fbmem.h | 55 fbmem_fini(struct io_mapping *fb) in fbmem_fini() 61 fbmem_peek(struct io_mapping *fb, u32 off) in fbmem_peek() 70 fbmem_poke(struct io_mapping *fb, u32 off, u32 val) in fbmem_poke() 79 fbmem_readback(struct io_mapping *fb, u32 off, u32 val) in fbmem_readback()
|
/linux-5.19.10/drivers/media/platform/mediatek/vcodec/vdec/ |
D | vdec_vp9_if.c | 48 struct vdec_fb *fb; member 82 struct vdec_fb fb; member 143 struct vdec_fb fb; member 206 static bool vp9_is_sf_ref_fb(struct vdec_vp9_inst *inst, struct vdec_fb *fb) in vp9_is_sf_ref_fb() 221 struct vdec_fb *fb = NULL; in vp9_rm_from_fb_use_list() local 236 struct vdec_fb *fb) in vp9_add_to_fb_free_list() 253 static void vp9_free_sf_ref_fb(struct vdec_fb *fb) in vp9_free_sf_ref_fb() 273 struct vdec_fb *fb; in vp9_ref_cnt_fb() local 434 struct vdec_fb *fb) in vp9_add_to_fb_disp_list() 517 struct vdec_fb *fb; in vp9_swap_frm_bufs() local [all …]
|
/linux-5.19.10/include/drm/ |
D | drm_framebuffer.h | 234 static inline void drm_framebuffer_get(struct drm_framebuffer *fb) in drm_framebuffer_get() 246 static inline void drm_framebuffer_put(struct drm_framebuffer *fb) in drm_framebuffer_put() 257 static inline uint32_t drm_framebuffer_read_refcount(const struct drm_framebuffer *fb) in drm_framebuffer_read_refcount() 271 struct drm_framebuffer *fb) in drm_framebuffer_assign() 288 #define drm_for_each_fb(fb, dev) \ argument
|