Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 20 files:
- drivers/video/fbdev/atafb.c, line 2616
- drivers/video/fbdev/aty/aty128fb.c, line 2414
- drivers/video/fbdev/aty/radeon_pm.c, line 2776
- drivers/video/fbdev/cg14.c, line 538
- drivers/video/fbdev/cg3.c, line 399
- drivers/video/fbdev/cg6.c, line 805
- drivers/video/fbdev/core/fb_logo.c, line 46
- drivers/video/fbdev/core/fbcmap.c
- drivers/video/fbdev/core/fbcon.c, line 2581
- drivers/video/fbdev/core/fbmem.c, line 334
- drivers/video/fbdev/offb.c, line 249
- drivers/video/fbdev/p9100.c, line 296
- drivers/video/fbdev/pxafb.c, line 595
- drivers/video/fbdev/s3c-fb.c, line 1259
- drivers/video/fbdev/sa1100fb.c, line 552
- drivers/video/fbdev/savage/savagefb_driver.c, line 1530
- drivers/video/fbdev/sbuslib.c
- drivers/video/fbdev/sm501fb.c, line 1836
- drivers/video/fbdev/tcx.c, line 453
- drivers/video/fbdev/vt8500lcdfb.c, line 237
Smatch caller information:
drivers/video/fbdev/core/fbcon.c fbcon_set_palette() -> fb_set_cmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmap | 8771863930535673856 |
| PARAM_VALUE | 0 | cmap->len | 1-u32max |
| PARAM_VALUE | 0 | cmap->start | 0 |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->fbcon_par->graphics | 0 |
| PARAM_VALUE | 1 | info->state | 0 |
| DATA_SOURCE | 1 | info | r fbcon_info_from_console |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &console_sem |
drivers/video/fbdev/core/fbmem.c fb_set_var() -> fb_set_cmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmap | 4096-ptr_max |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->bmove | 358624830283558912,720436299731693568,831468009678733312,5647362587788095488,8504779760420265984 |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->clear | 521403232646520832,551109980336709632,2946937881798750208,5928266012869279744,8021089253971767296 |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->clear_margins | 2332376742054326272,3869344602472914944,6310568554524909568,7948939035621462016,8218489519675916288 |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->cursor | 868574231927816192,1057466323525296128,5348809894935224320,6414243839333818368,8306283402744143872 |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->putcs | 2160703045434204160,3282196084730585088,3915716234231488512,5524593610357645312,5974748255006371840 |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->rotate_font | 0,2820989491178905600 |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->update_start | 1284623903226216448,2343379461867827200,5536275800052752384,8034552877633937408,8573967883634688000 |
| PARAM_VALUE | 1 | info->fbops | 4096-ptr_max |
| PARAM_VALUE | 1 | info->fbops->fb_check_var | 1-u64max |
| PARAM_VALUE | 1 | info->fbops->fb_get_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | info->fix.capabilities | 1-u16max |
| PARAM_VALUE | 1 | info->var.xres | 8-u32max |
| PARAM_VALUE | 1 | info->var.xres_virtual | 8-u32max |
| PARAM_VALUE | 1 | info->var.yres | 8-u32max |
| PARAM_VALUE | 1 | info->var.yres_virtual | 8-u32max |
| BUF_SIZE | 1 | info | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | info | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | info->device | (-1),1616 |
| BUF_SIZE | 1 | info->fbops | (-1),168 |
| CAPPED_DATA | 1 | info | 1 |
| CAPPED_DATA | 1 | info->var.xres | 1 |
| CAPPED_DATA | 1 | info->var.yres | 1 |
| DATA_SOURCE | 1 | info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | info->var.blue.msb_right | 0-u32max |
| HOST_DATA | 1 | info->var.green.msb_right | 0-u32max |
| HOST_DATA | 1 | info->var.red.msb_right | 0-u32max |
| HOST_DATA | 1 | info->var.transp.length | 0-u32max |
| HOST_DATA | 1 | info->var.transp.msb_right | 0-u32max |
| HOST_DATA | 1 | info->var.transp.offset | 0-u32max |
| HOST_DATA | 1 | info->var.xres | 8-u32max |
| HOST_DATA | 1 | info->var.xres_virtual | 8-u32max |
| HOST_DATA | 1 | info->var.yres | 8-s32max[c] |
| USER_DATA | 1 | info->var.accel_flags | 0-u32max |
| USER_DATA | 1 | info->var.activate | 0-u32max[c] |
| USER_DATA | 1 | info->var.bits_per_pixel | 0-u32max |
| USER_DATA | 1 | info->var.blue.length | 0-u32max |
| USER_DATA | 1 | info->var.blue.msb_right | 0-u32max |
| USER_DATA | 1 | info->var.blue.offset | 0-u32max |
| USER_DATA | 1 | info->var.colorspace | 0-u32max |
| USER_DATA | 1 | info->var.grayscale | 0-u32max |
| USER_DATA | 1 | info->var.green.length | 0-u32max |
| USER_DATA | 1 | info->var.green.msb_right | 0-u32max |
| USER_DATA | 1 | info->var.green.offset | 0-u32max |
| USER_DATA | 1 | info->var.height | 0-u32max |
| USER_DATA | 1 | info->var.hsync_len | 0-u32max |
| USER_DATA | 1 | info->var.left_margin | 0-u32max |
| USER_DATA | 1 | info->var.lower_margin | 0-u32max |
| USER_DATA | 1 | info->var.nonstd | 0-u32max |
| USER_DATA | 1 | info->var.pixclock | 0-u32max |
| USER_DATA | 1 | info->var.red.length | 0-u32max |
| USER_DATA | 1 | info->var.red.msb_right | 0-u32max |
| USER_DATA | 1 | info->var.red.offset | 0-u32max |
| USER_DATA | 1 | info->var.right_margin | 0-u32max |
| USER_DATA | 1 | info->var.rotate | 0-u32max |
| USER_DATA | 1 | info->var.sync | 0-u32max |
| USER_DATA | 1 | info->var.transp.length | 0-u32max |
| USER_DATA | 1 | info->var.transp.msb_right | 0-u32max |
| USER_DATA | 1 | info->var.transp.offset | 0-u32max |
| USER_DATA | 1 | info->var.upper_margin | 0-u32max |
| USER_DATA | 1 | info->var.vmode | 0-u32max |
| USER_DATA | 1 | info->var.vsync_len | 0-u32max |
| USER_DATA | 1 | info->var.width | 0-u32max |
| USER_DATA | 1 | info->var.xoffset | 0-u32max |
| USER_DATA | 1 | info->var.xres | 8-u32max |
| USER_DATA | 1 | info->var.xres_virtual | 8-u32max |
| USER_DATA | 1 | info->var.yoffset | 0-u32max |
| USER_DATA | 1 | info->var.yres | 8-u32max |
| USER_DATA | 1 | info->var.yres_virtual | 8-u32max |
| NO_OVERFLOW_SIMPLE | 1 | info->fbdefio_state->npagerefs | |
| NO_OVERFLOW_SIMPLE | 1 | info->fix.mmio_start | |
| NO_OVERFLOW_SIMPLE | 1 | info->var.xres | |
| NO_OVERFLOW_SIMPLE | 1 | info->var.xres_virtual | |
| NO_OVERFLOW_SIMPLE | 1 | info->var.yres | |
| NO_OVERFLOW_SIMPLE | 1 | info->var.yres_virtual | |
| UNITS | 1 | info | unit_byte |
| USER_PTR | 1 | info->var.reserved | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &console_sem | ||
| HALF_LOCKED2 | 1 | &info->lock |
drivers/video/fbdev/savage/savagefb_driver.c savagefb_set_par() -> fb_set_cmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmap | 4096-ptr_max |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->par | 4096-ptr_max |
| BUF_SIZE | 1 | info | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | info | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | info->device | (-1),1616 |
| BUF_SIZE | 1 | info->fbops | (-1),168 |
| CAPPED_DATA | 1 | info | 1 |
| DATA_SOURCE | 1 | info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | info->var.blue.msb_right | 0-u32max |
| HOST_DATA | 1 | info->var.green.msb_right | 0-u32max |
| HOST_DATA | 1 | info->var.red.msb_right | 0-u32max |
| HOST_DATA | 1 | info->var.transp.length | 0-u32max |
| HOST_DATA | 1 | info->var.transp.msb_right | 0-u32max |
| HOST_DATA | 1 | info->var.transp.offset | 0-u32max |
| HOST_DATA | 1 | info->var.xres | 8-u32max[c] |
| HOST_DATA | 1 | info->var.xres_virtual | 8-u32max |
| HOST_DATA | 1 | info->var.yres | 8-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | info->fbdefio_state->npagerefs | |
| NO_OVERFLOW_SIMPLE | 1 | info->fix.mmio_start | |
| NO_OVERFLOW_SIMPLE | 1 | info->var.xres | |
| NO_OVERFLOW_SIMPLE | 1 | info->var.xres_virtual | |
| NO_OVERFLOW_SIMPLE | 1 | info->var.yres | |
| NO_OVERFLOW_SIMPLE | 1 | info->var.yres_virtual | |
| UNITS | 1 | info | unit_byte |
| USER_PTR | 1 | info->var.reserved | |
| HALF_LOCKED2 | &minfo->crtc2.lock | ||
| HALF_LOCKED2 | global &console_sem | ||
| HALF_LOCKED2 | 1 | &info->lock |
drivers/video/fbdev/s3c-fb.c s3c_fb_probe_win() -> fb_set_cmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmap | 4096-ptr_max |
| PARAM_VALUE | 0 | cmap->blue | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | cmap->green | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | cmap->len | 0 |
| PARAM_VALUE | 0 | cmap->red | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | cmap->start | 0 |
| PARAM_VALUE | 0 | cmap->transp | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->bl_curve_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | info->bl_curve_mutex.first_waiter | 0 |
| PARAM_VALUE | 1 | info->bl_curve_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | info->bl_curve_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | info->bl_curve_mutex.owner.counter | 0 |
| PARAM_VALUE | 1 | info->blank | 0 |
| PARAM_VALUE | 1 | info->cmap.blue | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.green | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.len | 0 |
| PARAM_VALUE | 1 | info->cmap.red | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.start | 0 |
| PARAM_VALUE | 1 | info->cmap.transp | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->device | 4096-ptr_max |
| PARAM_VALUE | 1 | info->fbcon_rotate_hint | (-1) |
| PARAM_VALUE | 1 | info->fbops | 8923985971057303552 |
| PARAM_VALUE | 1 | info->fix.accel | 0 |
| PARAM_VALUE | 1 | info->fix.type | 0 |
| PARAM_VALUE | 1 | info->par | 4096-ptr_max |
| PARAM_VALUE | 1 | info->pseudo_palette | 4096-ptr_max |
| PARAM_VALUE | 1 | info->var.activate | 0 |
| PARAM_VALUE | 1 | info->var.bits_per_pixel | 1-2,4,8,16 |
| PARAM_VALUE | 1 | info->var.blue.length | 2,5-6,8 |
| PARAM_VALUE | 1 | info->var.blue.offset | 0 |
| PARAM_VALUE | 1 | info->var.green.length | 3,6,8 |
| PARAM_VALUE | 1 | info->var.green.offset | 2,5-6,8 |
| PARAM_VALUE | 1 | info->var.red.length | 2,5-6,8 |
| PARAM_VALUE | 1 | info->var.red.offset | 5,11-12,16 |
| PARAM_VALUE | 1 | info->var.transp.length | 0-1,4,8 |
| PARAM_VALUE | 1 | info->var.transp.offset | 0,7,18,24 |
| PARAM_VALUE | 1 | info->var.vmode | 0 |
| PARAM_VALUE | 1 | info->var.xoffset | 0 |
| PARAM_VALUE | 1 | info->var.xres | 0-u16max |
| PARAM_VALUE | 1 | info->var.yoffset | 0 |
| PARAM_VALUE | 1 | info->var.yres | 0-u16max |
| BUF_SIZE | 1 | info | s32min-s32max |
| BUF_SIZE | 1 | info->device | 0,1616 |
| BUF_SIZE | 1 | info->fbops | 168 |
| BUF_SIZE | 1 | info->pseudo_palette | 64 |
| DATA_SOURCE | 1 | info | r framebuffer_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/video/fbdev/aty/aty128fb.c aty128_do_resume() -> fb_set_cmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmap | 4096-ptr_max |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->par | 4096-ptr_max |
| PARAM_VALUE | 1 | info->par->mem->Trcd | 1,3 |
| BUF_SIZE | 1 | info | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | info | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | info | unit_byte |
| LOCK2 | global &console_sem | ||
| HALF_LOCKED2 | &fsm->lock |
drivers/video/fbdev/core/fbcmap.c fb_set_user_cmap() -> fb_set_cmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmap | 7005838904439074816 |
| PARAM_VALUE | 0 | cmap->blue | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | cmap->green | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | cmap->len | 0 |
| PARAM_VALUE | 0 | cmap->red | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | cmap->transp | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info | 1-u64max |
| PARAM_VALUE | 1 | info->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | info->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | info->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | info->lock.osq.tail.counter | 0-s32max |
| CAPPED_DATA | 1 | info | 1 |
| DATA_SOURCE | 1 | info | $1 |
| MEM_ZERO | 0 | cmap | |
| USER_DATA | 0 | cmap->start | 0-u32max |
| USER_PTR | 0 | cmap->blue | |
| USER_PTR | 0 | cmap->green | |
| USER_PTR | 0 | cmap->red | |
| USER_PTR | 0 | cmap->transp | |
| LOCK2 | 1 | &info->lock | |
| TYPE_LOCK | (struct fb_info)->lock |
drivers/video/fbdev/core/fb_logo.c fb_set_logocmap() -> fb_set_cmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmap | 7212732332015063040 |
| PARAM_VALUE | 0 | cmap->blue | 1318162146659893248 |
| PARAM_VALUE | 0 | cmap->green | 5113046893821116416 |
| PARAM_VALUE | 0 | cmap->len | 1-16,2147483648-u32max |
| PARAM_VALUE | 0 | cmap->red | 3574379754322472960 |
| PARAM_VALUE | 0 | cmap->start | 0-30,32,2147483680-u32max |
| PARAM_VALUE | 0 | cmap->transp | 0 |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->fbcon_par | 4096-ptr_max |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->bmove | 358624830283558912,720436299731693568,831468009678733312,5647362587788095488,8504779760420265984 |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->clear | 521403232646520832,551109980336709632,2946937881798750208,5928266012869279744,8021089253971767296 |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->clear_margins | 2332376742054326272,3869344602472914944,6310568554524909568,7948939035621462016,8218489519675916288 |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->cursor | 868574231927816192,1057466323525296128,5348809894935224320,6414243839333818368,8306283402744143872 |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->putcs | 2160703045434204160,3282196084730585088,3915716234231488512,5524593610357645312,5974748255006371840 |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->rotate_font | 0,2820989491178905600 |
| PARAM_VALUE | 1 | info->fbcon_par->bitops->update_start | 1284623903226216448,2343379461867827200,5536275800052752384,8034552877633937408,8573967883634688000 |
| PARAM_VALUE | 1 | info->fbcon_par->cursor_reset | 1 |
| PARAM_VALUE | 1 | info->fbcon_par->graphics | 0 |
| PARAM_VALUE | 1 | info->fbcon_par->rotate | s32min-3 |
| PARAM_VALUE | 1 | info->fbcon_par->var.activate | 0 |
| PARAM_VALUE | 1 | info->fbops | 4096-ptr_max |
| PARAM_VALUE | 1 | info->fbops->owner | 0 |
| PARAM_VALUE | 1 | info->state | 0 |
| PARAM_VALUE | 1 | info->var.activate | 0 |
| DATA_SOURCE | 1 | info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &console_sem |
drivers/video/fbdev/aty/radeon_pm.c radeonfb_pci_resume() -> fb_set_cmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmap | 4096-ptr_max |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->flags | s32min-(-1),2-s32max |
| PARAM_VALUE | 1 | info->par | 4096-ptr_max |
| BUF_SIZE | 1 | info | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | info | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | info | unit_byte |
| LOCK2 | global &console_sem |
drivers/video/fbdev/sm501fb.c sm501fb_init_fb() -> fb_set_cmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmap | 4096-ptr_max |
| PARAM_VALUE | 0 | cmap->blue | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | cmap->green | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | cmap->len | 0 |
| PARAM_VALUE | 0 | cmap->red | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | cmap->start | 0 |
| PARAM_VALUE | 0 | cmap->transp | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.blue | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.green | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.len | 0 |
| PARAM_VALUE | 1 | info->cmap.red | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.start | 0 |
| PARAM_VALUE | 1 | info->cmap.transp | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->fbops | 4096-ptr_max |
| PARAM_VALUE | 1 | info->fix.accel | 0 |
| PARAM_VALUE | 1 | info->fix.type | 0 |
| PARAM_VALUE | 1 | info->fix.type_aux | 0 |
| PARAM_VALUE | 1 | info->fix.xpanstep | 1 |
| PARAM_VALUE | 1 | info->fix.ypanstep | 1 |
| PARAM_VALUE | 1 | info->fix.ywrapstep | 0 |
| PARAM_VALUE | 1 | info->flags | 13184,1061760 |
| PARAM_VALUE | 1 | info->par | 4096-ptr_max |
| PARAM_VALUE | 1 | info->var.accel_flags | 0 |
| PARAM_VALUE | 1 | info->var.nonstd | 0 |
| PARAM_VALUE | 1 | info->var.xoffset | 0 |
| PARAM_VALUE | 1 | info->var.yoffset | 0 |
| BUF_SIZE | 1 | info->fbops | 168 |
| DATA_SOURCE | 1 | info | $0 |
| FUZZY_MAX | 1 | info->flags | 13184 |
| BIT_INFO | 1 | info->flags | 0x3380,0x103380 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |