/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
H A D | fbcmap.c | 80 * @cmap: frame buffer colormap structure 81 * @len: length of @cmap 85 * Allocates memory for a colormap @cmap. @len is the 92 int fb_alloc_cmap_gfp(struct fb_cmap *cmap, int len, int transp, gfp_t flags) in fb_alloc_cmap_gfp() argument 99 if (cmap->len != len) { in fb_alloc_cmap_gfp() 100 fb_dealloc_cmap(cmap); in fb_alloc_cmap_gfp() 104 cmap->red = kzalloc(size, flags); in fb_alloc_cmap_gfp() 105 if (!cmap->red) in fb_alloc_cmap_gfp() 107 cmap->green = kzalloc(size, flags); in fb_alloc_cmap_gfp() 108 if (!cmap in fb_alloc_cmap_gfp() 133 fb_alloc_cmap(struct fb_cmap *cmap, int len, int transp) fb_alloc_cmap() argument 147 fb_dealloc_cmap(struct fb_cmap *cmap) fb_dealloc_cmap() argument 231 fb_set_cmap(struct fb_cmap *cmap, struct fb_info *info) fb_set_cmap() argument 267 fb_set_user_cmap(struct fb_cmap_user *cmap, struct fb_info *info) fb_set_user_cmap() argument [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
H A D | fbcmap.c | 80 * @cmap: frame buffer colormap structure 81 * @len: length of @cmap 85 * Allocates memory for a colormap @cmap. @len is the 92 int fb_alloc_cmap_gfp(struct fb_cmap *cmap, int len, int transp, gfp_t flags) in fb_alloc_cmap_gfp() argument 99 if (cmap->len != len) { in fb_alloc_cmap_gfp() 100 fb_dealloc_cmap(cmap); in fb_alloc_cmap_gfp() 104 cmap->red = kzalloc(size, flags); in fb_alloc_cmap_gfp() 105 if (!cmap->red) in fb_alloc_cmap_gfp() 107 cmap->green = kzalloc(size, flags); in fb_alloc_cmap_gfp() 108 if (!cmap in fb_alloc_cmap_gfp() 133 fb_alloc_cmap(struct fb_cmap *cmap, int len, int transp) fb_alloc_cmap() argument 147 fb_dealloc_cmap(struct fb_cmap *cmap) fb_dealloc_cmap() argument 231 fb_set_cmap(struct fb_cmap *cmap, struct fb_info *info) fb_set_cmap() argument 267 fb_set_user_cmap(struct fb_cmap_user *cmap, struct fb_info *info) fb_set_user_cmap() argument [all...] |
H A D | fb_chrdev.c | 69 struct fb_cmap_user cmap; in do_fb_ioctl() local 108 if (copy_from_user(&cmap, argp, sizeof(cmap))) in do_fb_ioctl() 110 ret = fb_set_user_cmap(&cmap, info); in do_fb_ioctl() 113 if (copy_from_user(&cmap, argp, sizeof(cmap))) in do_fb_ioctl() 116 cmap_from = info->cmap; in do_fb_ioctl() 118 ret = fb_cmap_to_user(&cmap_from, &cmap); in do_fb_ioctl() 204 struct fb_cmap_user cmap; in fb_getput_cmap() local 209 cmap in fb_getput_cmap() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | sbuslib.c | 119 struct fb_cmap cmap; in sbusfb_ioctl_helper() local 134 cmap.len = 1; in sbusfb_ioctl_helper() 135 cmap.red = &red; in sbusfb_ioctl_helper() 136 cmap.green = &green; in sbusfb_ioctl_helper() 137 cmap.blue = &blue; in sbusfb_ioctl_helper() 138 cmap.transp = NULL; in sbusfb_ioctl_helper() 151 cmap.start = index + i; in sbusfb_ioctl_helper() 152 err = fb_set_cmap(&cmap, info); in sbusfb_ioctl_helper() 163 struct fb_cmap *cmap = &info->cmap; in sbusfb_ioctl_helper() local 213 struct fb_cmap cmap; sbusfb_compat_ioctl() local 256 struct fb_cmap *cmap = &info->cmap; sbusfb_compat_ioctl() local [all...] |
H A D | cg3.c | 90 struct bt_regs cmap; member 136 * We keep a sw copy of the hw cmap to assist us in this esoteric 144 struct bt_regs __iomem *bt = &par->regs->cmap; in cg3_setcolreg() 343 regp = (u8 __iomem *)&par->regs->cmap.addr; in cg3_do_default_mode() 345 regp = (u8 __iomem *)&par->regs->cmap.control; in cg3_do_default_mode() 402 err = fb_alloc_cmap(&info->cmap, 256, 0); in cg3_probe() 406 fb_set_cmap(&info->cmap, info); in cg3_probe() 422 fb_dealloc_cmap(&info->cmap); in cg3_probe() 443 fb_dealloc_cmap(&info->cmap); in cg3_remove()
|
H A D | pmag-ba-fb.c | 100 if (regno >= info->cmap.len) in pmagbafb_setcolreg() 103 red >>= 8; /* The cmap fields are 16 bits */ in pmagbafb_setcolreg() 157 if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) { in pmagbafb_probe() 226 fb_dealloc_cmap(&info->cmap); in pmagbafb_probe() 247 fb_dealloc_cmap(&info->cmap); in pmagbafb_remove()
|
H A D | uvesafb.c | 997 if (regno >= info->cmap.len) in uvesafb_setcolreg() 1040 static int uvesafb_setcmap(struct fb_cmap *cmap, struct fb_info *info) in uvesafb_setcmap() argument 1047 if (cmap->start + cmap->len > info->cmap.start + in uvesafb_setcmap() 1048 info->cmap.len || cmap->start < info->cmap.start) in uvesafb_setcmap() 1051 entries = kmalloc_array(cmap->len, sizeof(*entries), in uvesafb_setcmap() 1056 for (i = 0; i < cmap in uvesafb_setcmap() [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | irq_matrix.h | 68 struct cpumap *cmap), 70 TP_ARGS(bit, cpu, matrix, cmap), 88 __entry->online = cmap->online; 89 __entry->available = cmap->available; 90 __entry->allocated = cmap->allocated; 91 __entry->managed = cmap->managed; 144 struct irq_matrix *matrix, struct cpumap *cmap), 146 TP_ARGS(bit, cpu, matrix, cmap) 152 struct irq_matrix *matrix, struct cpumap *cmap), 154 TP_ARGS(bit, cpu, matrix, cmap) [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | irq_matrix.h | 68 struct cpumap *cmap), 70 TP_ARGS(bit, cpu, matrix, cmap), 88 __entry->online = cmap->online; 89 __entry->available = cmap->available; 90 __entry->allocated = cmap->allocated; 91 __entry->managed = cmap->managed; 144 struct irq_matrix *matrix, struct cpumap *cmap), 146 TP_ARGS(bit, cpu, matrix, cmap) 152 struct irq_matrix *matrix, struct cpumap *cmap), 154 TP_ARGS(bit, cpu, matrix, cmap) [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | sbuslib.c | 119 struct fb_cmap cmap; in sbusfb_ioctl_helper() local 134 cmap.len = 1; in sbusfb_ioctl_helper() 135 cmap.red = &red; in sbusfb_ioctl_helper() 136 cmap.green = &green; in sbusfb_ioctl_helper() 137 cmap.blue = &blue; in sbusfb_ioctl_helper() 138 cmap.transp = NULL; in sbusfb_ioctl_helper() 151 cmap.start = index + i; in sbusfb_ioctl_helper() 152 err = fb_set_cmap(&cmap, info); in sbusfb_ioctl_helper() 163 struct fb_cmap *cmap = &info->cmap; in sbusfb_ioctl_helper() local [all...] |
H A D | cg3.c | 89 struct bt_regs cmap; member 135 * We keep a sw copy of the hw cmap to assist us in this esoteric 143 struct bt_regs __iomem *bt = &par->regs->cmap; in cg3_setcolreg() 342 regp = (u8 __iomem *)&par->regs->cmap.addr; in cg3_do_default_mode() 344 regp = (u8 __iomem *)&par->regs->cmap.control; in cg3_do_default_mode() 402 err = fb_alloc_cmap(&info->cmap, 256, 0); in cg3_probe() 406 fb_set_cmap(&info->cmap, info); in cg3_probe() 422 fb_dealloc_cmap(&info->cmap); in cg3_probe() 443 fb_dealloc_cmap(&info->cmap); in cg3_remove()
|
H A D | pmag-ba-fb.c | 100 if (regno >= info->cmap.len) in pmagbafb_setcolreg() 103 red >>= 8; /* The cmap fields are 16 bits */ in pmagbafb_setcolreg() 159 if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) { in pmagbafb_probe() 229 fb_dealloc_cmap(&info->cmap); in pmagbafb_probe() 250 fb_dealloc_cmap(&info->cmap); in pmagbafb_remove()
|
H A D | uvesafb.c | 995 if (regno >= info->cmap.len) in uvesafb_setcolreg() 1038 static int uvesafb_setcmap(struct fb_cmap *cmap, struct fb_info *info) in uvesafb_setcmap() argument 1045 if (cmap->start + cmap->len > info->cmap.start + in uvesafb_setcmap() 1046 info->cmap.len || cmap->start < info->cmap.start) in uvesafb_setcmap() 1049 entries = kmalloc_array(cmap->len, sizeof(*entries), in uvesafb_setcmap() 1054 for (i = 0; i < cmap in uvesafb_setcmap() [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | cpumap.c | 59 struct bpf_cpu_map *cmap; member 85 struct bpf_cpu_map *cmap; in cpu_map_alloc() local 100 cmap = kzalloc(sizeof(*cmap), GFP_USER); in cpu_map_alloc() 101 if (!cmap) in cpu_map_alloc() 104 bpf_map_init_from_attr(&cmap->map, attr); in cpu_map_alloc() 107 if (cmap->map.max_entries > NR_CPUS) { in cpu_map_alloc() 113 cost = (u64) cmap->map.max_entries * sizeof(struct bpf_cpu_map_entry *); in cpu_map_alloc() 116 ret = bpf_map_charge_init(&cmap->map.memory, cost); in cpu_map_alloc() 123 cmap in cpu_map_alloc() 520 __cpu_map_entry_replace(struct bpf_cpu_map *cmap, u32 key_cpu, struct bpf_cpu_map_entry *rcpu) __cpu_map_entry_replace() argument 535 struct bpf_cpu_map *cmap = container_of(map, struct bpf_cpu_map, map); cpu_map_delete_elem() local 549 struct bpf_cpu_map *cmap = container_of(map, struct bpf_cpu_map, map); cpu_map_update_elem() local 587 struct bpf_cpu_map *cmap = container_of(map, struct bpf_cpu_map, map); cpu_map_free() local 621 struct bpf_cpu_map *cmap = container_of(map, struct bpf_cpu_map, map); __cpu_map_lookup_elem() local 641 struct bpf_cpu_map *cmap = container_of(map, struct bpf_cpu_map, map); cpu_map_get_next_key() local [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | cpumap.c | 86 struct bpf_cpu_map *cmap; in cpu_map_alloc() local 99 cmap = bpf_map_area_alloc(sizeof(*cmap), NUMA_NO_NODE); in cpu_map_alloc() 100 if (!cmap) in cpu_map_alloc() 103 bpf_map_init_from_attr(&cmap->map, attr); in cpu_map_alloc() 106 cmap->cpu_map = bpf_map_area_alloc(cmap->map.max_entries * in cpu_map_alloc() 108 cmap->map.numa_node); in cpu_map_alloc() 109 if (!cmap->cpu_map) { in cpu_map_alloc() 110 bpf_map_area_free(cmap); in cpu_map_alloc() 501 __cpu_map_entry_replace(struct bpf_cpu_map *cmap, u32 key_cpu, struct bpf_cpu_map_entry *rcpu) __cpu_map_entry_replace() argument 515 struct bpf_cpu_map *cmap = container_of(map, struct bpf_cpu_map, map); cpu_map_delete_elem() local 529 struct bpf_cpu_map *cmap = container_of(map, struct bpf_cpu_map, map); cpu_map_update_elem() local 566 struct bpf_cpu_map *cmap = container_of(map, struct bpf_cpu_map, map); cpu_map_free() local 602 struct bpf_cpu_map *cmap = container_of(map, struct bpf_cpu_map, map); __cpu_map_lookup_elem() local 623 struct bpf_cpu_map *cmap = container_of(map, struct bpf_cpu_map, map); cpu_map_get_next_key() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_reflink.c | 312 struct xfs_bmbt_irec *cmap, in xfs_find_trim_cow_extent() 326 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, cmap)) in xfs_find_trim_cow_extent() 327 cmap->br_startoff = offset_fsb + count_fsb; in xfs_find_trim_cow_extent() 328 if (cmap->br_startoff > offset_fsb) { in xfs_find_trim_cow_extent() 330 cmap->br_startoff - imap->br_startoff); in xfs_find_trim_cow_extent() 335 if (isnullstartblock(cmap->br_startblock)) { in xfs_find_trim_cow_extent() 336 xfs_trim_extent(imap, cmap->br_startoff, cmap->br_blockcount); in xfs_find_trim_cow_extent() 341 xfs_trim_extent(cmap, offset_fsb, count_fsb); in xfs_find_trim_cow_extent() 350 struct xfs_bmbt_irec *cmap, in xfs_reflink_convert_unwritten() 309 xfs_find_trim_cow_extent( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, bool *found) xfs_find_trim_cow_extent() argument 347 xfs_reflink_convert_unwritten( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool convert_now) xfs_reflink_convert_unwritten() argument 380 xfs_reflink_fill_cow_hole( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, uint *lockmode, bool convert_now) xfs_reflink_fill_cow_hole() argument 448 xfs_reflink_fill_delalloc( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, uint *lockmode, bool convert_now) xfs_reflink_fill_delalloc() argument 519 xfs_reflink_allocate_cow( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, uint *lockmode, bool convert_now) xfs_reflink_allocate_cow() argument [all...] |
H A D | xfs_iomap.c | 784 struct xfs_bmbt_irec imap, cmap; in xfs_direct_write_iomap_begin() local 821 error = xfs_reflink_allocate_cow(ip, &imap, &cmap, &shared, in xfs_direct_write_iomap_begin() 898 length = XFS_FSB_TO_B(mp, cmap.br_startoff + cmap.br_blockcount); in xfs_direct_write_iomap_begin() 899 trace_xfs_iomap_found(ip, offset, length - offset, XFS_COW_FORK, &cmap); in xfs_direct_write_iomap_begin() 908 return xfs_bmbt_to_iomap(ip, iomap, &cmap, flags, IOMAP_F_SHARED, seq); in xfs_direct_write_iomap_begin() 960 struct xfs_bmbt_irec imap, cmap; in xfs_buffered_write_iomap_begin() local 1030 &ccur, &cmap); in xfs_buffered_write_iomap_begin() 1031 if (!cow_eof && cmap.br_startoff <= offset_fsb) { in xfs_buffered_write_iomap_begin() 1032 trace_xfs_reflink_cow_found(ip, &cmap); in xfs_buffered_write_iomap_begin() 1289 struct xfs_bmbt_irec imap, cmap; xfs_seek_iomap_begin() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_fb_helper.c | 514 * A helper to alloc fb_info and the members cmap and apertures. Called 533 ret = fb_alloc_cmap(&info->cmap, 256, 0); in drm_fb_helper_alloc_fbi() 557 fb_dealloc_cmap(&info->cmap); in drm_fb_helper_alloc_fbi() 602 if (info->cmap.len) in drm_fb_helper_fini() 603 fb_dealloc_cmap(&info->cmap); in drm_fb_helper_fini() 883 static int setcmap_pseudo_palette(struct fb_cmap *cmap, struct fb_info *info) in setcmap_pseudo_palette() argument 888 if (cmap->start + cmap->len > 16) in setcmap_pseudo_palette() 891 for (i = 0; i < cmap->len; ++i) { in setcmap_pseudo_palette() 892 u16 red = cmap in setcmap_pseudo_palette() 915 setcmap_legacy(struct fb_cmap *cmap, struct fb_info *info) setcmap_legacy() argument 955 setcmap_new_gamma_lut(struct drm_crtc *crtc, struct fb_cmap *cmap) setcmap_new_gamma_lut() argument 998 setcmap_atomic(struct fb_cmap *cmap, struct fb_info *info) setcmap_atomic() argument 1086 drm_fb_helper_setcmap(struct fb_cmap *cmap, struct fb_info *info) drm_fb_helper_setcmap() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_fb_helper.c | 508 * A helper to alloc fb_info and the member cmap. Called by the driver 527 ret = fb_alloc_cmap(&info->cmap, 256, 0); in drm_fb_helper_alloc_info() 546 * A helper to release fb_info and the member cmap. Drivers do not 559 if (info->cmap.len) in drm_fb_helper_release_info() 560 fb_dealloc_cmap(&info->cmap); in drm_fb_helper_release_info() 801 static int setcmap_pseudo_palette(struct fb_cmap *cmap, struct fb_info *info) in setcmap_pseudo_palette() argument 806 if (cmap->start + cmap->len > 16) in setcmap_pseudo_palette() 809 for (i = 0; i < cmap->len; ++i) { in setcmap_pseudo_palette() 810 u16 red = cmap in setcmap_pseudo_palette() 833 setcmap_legacy(struct fb_cmap *cmap, struct fb_info *info) setcmap_legacy() argument 873 setcmap_new_gamma_lut(struct drm_crtc *crtc, struct fb_cmap *cmap) setcmap_new_gamma_lut() argument 916 setcmap_atomic(struct fb_cmap *cmap, struct fb_info *info) setcmap_atomic() argument 1009 drm_fb_helper_setcmap(struct fb_cmap *cmap, struct fb_info *info) drm_fb_helper_setcmap() argument [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/ |
H A D | mach64_cursor.c | 131 fg = ((info->cmap.red[fg_idx] & 0xff) << 24) | in atyfb_cursor() 132 ((info->cmap.green[fg_idx] & 0xff) << 16) | in atyfb_cursor() 133 ((info->cmap.blue[fg_idx] & 0xff) << 8) | 0xff; in atyfb_cursor() 135 bg = ((info->cmap.red[bg_idx] & 0xff) << 24) | in atyfb_cursor() 136 ((info->cmap.green[bg_idx] & 0xff) << 16) | in atyfb_cursor() 137 ((info->cmap.blue[bg_idx] & 0xff) << 8); in atyfb_cursor()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/ |
H A D | mach64_cursor.c | 131 fg = ((info->cmap.red[fg_idx] & 0xff) << 24) | in atyfb_cursor() 132 ((info->cmap.green[fg_idx] & 0xff) << 16) | in atyfb_cursor() 133 ((info->cmap.blue[fg_idx] & 0xff) << 8) | 0xff; in atyfb_cursor() 135 bg = ((info->cmap.red[bg_idx] & 0xff) << 24) | in atyfb_cursor() 136 ((info->cmap.green[bg_idx] & 0xff) << 16) | in atyfb_cursor() 137 ((info->cmap.blue[bg_idx] & 0xff) << 8); in atyfb_cursor()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_reflink.c | 309 struct xfs_bmbt_irec *cmap, in xfs_find_trim_cow_extent() 323 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, cmap)) in xfs_find_trim_cow_extent() 324 cmap->br_startoff = offset_fsb + count_fsb; in xfs_find_trim_cow_extent() 325 if (cmap->br_startoff > offset_fsb) { in xfs_find_trim_cow_extent() 327 cmap->br_startoff - imap->br_startoff); in xfs_find_trim_cow_extent() 332 if (isnullstartblock(cmap->br_startblock)) { in xfs_find_trim_cow_extent() 333 xfs_trim_extent(imap, cmap->br_startoff, cmap->br_blockcount); in xfs_find_trim_cow_extent() 338 xfs_trim_extent(cmap, offset_fsb, count_fsb); in xfs_find_trim_cow_extent() 348 struct xfs_bmbt_irec *cmap, in xfs_reflink_allocate_cow() 306 xfs_find_trim_cow_extent( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, bool *found) xfs_find_trim_cow_extent() argument 345 xfs_reflink_allocate_cow( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, uint *lockmode, bool convert_now) xfs_reflink_allocate_cow() argument [all...] |
H A D | xfs_iomap.c | 737 struct xfs_bmbt_irec imap, cmap; in xfs_direct_write_iomap_begin() local 773 error = xfs_reflink_allocate_cow(ip, &imap, &cmap, &shared, in xfs_direct_write_iomap_begin() 835 length = XFS_FSB_TO_B(mp, cmap.br_startoff + cmap.br_blockcount); in xfs_direct_write_iomap_begin() 836 trace_xfs_iomap_found(ip, offset, length - offset, XFS_COW_FORK, &cmap); in xfs_direct_write_iomap_begin() 842 return xfs_bmbt_to_iomap(ip, iomap, &cmap, IOMAP_F_SHARED); in xfs_direct_write_iomap_begin() 866 struct xfs_bmbt_irec imap, cmap; in xfs_buffered_write_iomap_begin() local 929 &ccur, &cmap); in xfs_buffered_write_iomap_begin() 930 if (!cow_eof && cmap.br_startoff <= offset_fsb) { in xfs_buffered_write_iomap_begin() 931 trace_xfs_reflink_cow_found(ip, &cmap); in xfs_buffered_write_iomap_begin() 1200 struct xfs_bmbt_irec imap, cmap; xfs_seek_iomap_begin() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/sm750fb/ |
H A D | sm750.c | 136 fg = ((info->cmap.red[fbcursor->image.fg_color] & 0xf800)) | in lynxfb_ops_cursor() 137 ((info->cmap.green[fbcursor->image.fg_color] & 0xfc00) >> 5) | in lynxfb_ops_cursor() 138 ((info->cmap.blue[fbcursor->image.fg_color] & 0xf800) >> 11); in lynxfb_ops_cursor() 140 bg = ((info->cmap.red[fbcursor->image.bg_color] & 0xf800)) | in lynxfb_ops_cursor() 141 ((info->cmap.green[fbcursor->image.bg_color] & 0xfc00) >> 5) | in lynxfb_ops_cursor() 142 ((info->cmap.blue[fbcursor->image.bg_color] & 0xf800) >> 11); in lynxfb_ops_cursor() 844 pr_debug("#1 show info->cmap :\nstart=%d,len=%d,red=%p,green=%p,blue=%p,transp=%p\n", in lynxfb_set_fbinfo() 845 info->cmap.start, info->cmap.len, in lynxfb_set_fbinfo() 846 info->cmap in lynxfb_set_fbinfo() [all...] |
/kernel/linux/linux-6.6/drivers/staging/sm750fb/ |
H A D | sm750.c | 136 fg = ((info->cmap.red[fbcursor->image.fg_color] & 0xf800)) | in lynxfb_ops_cursor() 137 ((info->cmap.green[fbcursor->image.fg_color] & 0xfc00) >> 5) | in lynxfb_ops_cursor() 138 ((info->cmap.blue[fbcursor->image.fg_color] & 0xf800) >> 11); in lynxfb_ops_cursor() 140 bg = ((info->cmap.red[fbcursor->image.bg_color] & 0xf800)) | in lynxfb_ops_cursor() 141 ((info->cmap.green[fbcursor->image.bg_color] & 0xfc00) >> 5) | in lynxfb_ops_cursor() 142 ((info->cmap.blue[fbcursor->image.bg_color] & 0xf800) >> 11); in lynxfb_ops_cursor() 846 pr_debug("#1 show info->cmap :\nstart=%d,len=%d,red=%p,green=%p,blue=%p,transp=%p\n", in lynxfb_set_fbinfo() 847 info->cmap.start, info->cmap.len, in lynxfb_set_fbinfo() 848 info->cmap in lynxfb_set_fbinfo() [all...] |