Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/video/fbdev/atmel_lcdfb.c, line 352
- drivers/video/fbdev/core/fbcon.c, line 3076
- drivers/video/fbdev/core/modedb.c, line 1205
- drivers/video/fbdev/smscufx.c, line 1554
- drivers/video/fbdev/udlfb.c, line 1390
Smatch caller information:
drivers/video/fbdev/core/fbcon.c fbcon_new_modelist() -> fb_find_nearest_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 1-u64max |
| PARAM_VALUE | 1 | head | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &info->lock | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &console_sem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fb_info)->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/video/fbdev/udlfb.c dlfb_setup_modes() -> fb_find_nearest_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 3141426156371456000 |
| PARAM_VALUE | 0 | mode->refresh | 60 |
| PARAM_VALUE | 0 | mode->xres | 800 |
| PARAM_VALUE | 0 | mode->yres | 600 |
| PARAM_VALUE | 1 | head | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/video/fbdev/smscufx.c ufx_setup_modes() -> fb_find_nearest_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 6475237860158980096 |
| PARAM_VALUE | 0 | mode->refresh | 60 |
| PARAM_VALUE | 0 | mode->xres | 800 |
| PARAM_VALUE | 0 | mode->yres | 600 |
| PARAM_VALUE | 1 | head | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->lock |
drivers/video/fbdev/atmel_lcdfb.c atmel_lcdfb_choose_mode() -> fb_find_nearest_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 5512561328159682560 |
| PARAM_VALUE | 1 | head | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | mode->hsync_len | 1-256[c] |
| HOST_DATA | 0 | mode->left_margin | 0-4094,4294967040-u32max[c] |
| HOST_DATA | 0 | mode->lower_margin | 0-4095,4294963201-u32max[c] |
| HOST_DATA | 0 | mode->right_margin | 0-u16max,4294963201-u32max[c] |
| HOST_DATA | 0 | mode->upper_margin | 0-4094,4294967232-u32max[c] |
| HOST_DATA | 0 | mode->vsync_len | 1-64[c] |
| HOST_DATA | 0 | mode->xres | 0-u32max |
| HOST_DATA | 0 | mode->yres | 0-u32max |
| USER_DATA | 0 | mode->hsync_len | 0-u32max |
| USER_DATA | 0 | mode->left_margin | 0-u32max |
| USER_DATA | 0 | mode->lower_margin | 0-u32max |
| USER_DATA | 0 | mode->right_margin | 0-u32max |
| USER_DATA | 0 | mode->sync | 0-u32max |
| USER_DATA | 0 | mode->upper_margin | 0-u32max |
| USER_DATA | 0 | mode->vmode | 0-255[c] |
| USER_DATA | 0 | mode->vsync_len | 0-u32max |
| USER_DATA | 0 | mode->xres | 0-u32max |
| USER_DATA | 0 | mode->yres | 0-u32max |
| HALF_LOCKED2 | &info->lock |