Documented in 1 files:
Defined in 1 files as a member:
Defined in 19 files as a function:
- drivers/media/usb/gspca/sn9c20x.c, line 1333 (as a function)
- drivers/staging/fbtft/fb_hx8340bn.c, line 145 (as a function)
- drivers/staging/fbtft/fb_hx8347d.c, line 118 (as a function)
- drivers/staging/fbtft/fb_hx8353d.c, line 100 (as a function)
- drivers/staging/fbtft/fb_ili9320.c, line 211 (as a function)
- drivers/staging/fbtft/fb_ili9325.c, line 205 (as a function)
- drivers/staging/fbtft/fb_ili9341.c, line 104 (as a function)
- drivers/staging/fbtft/fb_pcd8544.c, line 131 (as a function)
- drivers/staging/fbtft/fb_s6d1121.c, line 120 (as a function)
- drivers/staging/fbtft/fb_sh1106.c, line 97 (as a function)
- drivers/staging/fbtft/fb_ssd1289.c, line 123 (as a function)
- drivers/staging/fbtft/fb_ssd1305.c, line 142 (as a function)
- drivers/staging/fbtft/fb_ssd1306.c, line 159 (as a function)
- drivers/staging/fbtft/fb_ssd1325.c, line 101 (as a function)
- drivers/staging/fbtft/fb_ssd1331.c, line 131 (as a function)
- drivers/staging/fbtft/fb_ssd1351.c, line 120 (as a function)
- drivers/staging/fbtft/fb_st7735r.c, line 126 (as a function)
- drivers/staging/fbtft/fb_st7789v.c, line 310 (as a function)
- drivers/staging/fbtft/fb_tls8204.c, line 124 (as a function)
Referenced in 24 files:
- drivers/gpu/drm/drm_color_mgmt.c
- drivers/media/usb/gspca/sn9c20x.c
- drivers/staging/fbtft/fb_hx8340bn.c
- drivers/staging/fbtft/fb_hx8347d.c
- drivers/staging/fbtft/fb_hx8353d.c
- drivers/staging/fbtft/fb_ili9163.c, line 246
- drivers/staging/fbtft/fb_ili9320.c
- drivers/staging/fbtft/fb_ili9325.c
- drivers/staging/fbtft/fb_ili9341.c
- drivers/staging/fbtft/fb_pcd8544.c
- drivers/staging/fbtft/fb_s6d1121.c
- drivers/staging/fbtft/fb_sh1106.c
- drivers/staging/fbtft/fb_ssd1289.c
- drivers/staging/fbtft/fb_ssd1305.c
- drivers/staging/fbtft/fb_ssd1306.c
- drivers/staging/fbtft/fb_ssd1325.c
- drivers/staging/fbtft/fb_ssd1331.c
- drivers/staging/fbtft/fb_ssd1351.c
- drivers/staging/fbtft/fb_st7735r.c
- drivers/staging/fbtft/fb_st7789v.c
- drivers/staging/fbtft/fb_tls8204.c
- drivers/staging/fbtft/fbtft-core.c
- drivers/staging/fbtft/fbtft-sysfs.c
- include/drm/drm_color_mgmt.h
Smatch caller information:
drivers/media/usb/gspca/sn9c20x.c sd_s_ctrl() -> set_gamma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | par | 4096-ptr_max |
| PARAM_VALUE | 0 | par->streaming | 1 |
| PARAM_VALUE | 0 | par->usb_err | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/usb/gspca/sn9c20x.c sd_start() -> set_gamma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | par | 4096-ptr_max |
| PARAM_VALUE | 0 | par->brightness | 4096-ptr_max |
| PARAM_VALUE | 0 | par->cam.cam_mode | 4096-ptr_max |
| PARAM_VALUE | 0 | par->cam.needs_full_bandwidth | 0-1 |
| PARAM_VALUE | 0 | par->contrast | 4096-ptr_max |
| PARAM_VALUE | 0 | par->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | par->dev->actconfig | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->fmt | 36,45,47 |
| PARAM_VALUE | 0 | par->gamma | 4096-ptr_max |
| PARAM_VALUE | 0 | par->hstart | 60,140 |
| PARAM_VALUE | 0 | par->hue | 4096-ptr_max |
| PARAM_VALUE | 0 | par->image | 0 |
| PARAM_VALUE | 0 | par->image_len | 0 |
| PARAM_VALUE | 0 | par->int_urb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->int_urb->anchor | 0 |
| PARAM_VALUE | 0 | par->int_urb->anchor_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | par->int_urb->anchor_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | par->int_urb->complete | 3955764357836926976 |
| PARAM_VALUE | 0 | par->int_urb->context | 4096-ptr_max |
| PARAM_VALUE | 0 | par->int_urb->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | par->int_urb->ep | 4096-ptr_max |
| PARAM_VALUE | 0 | par->int_urb->error_count | 0 |
| PARAM_VALUE | 0 | par->int_urb->hcpriv | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->int_urb->interval | s32min-32768 |
| PARAM_VALUE | 0 | par->int_urb->num_mapped_sgs | 0-s32max |
| PARAM_VALUE | 0 | par->int_urb->num_sgs | 0 |
| PARAM_VALUE | 0 | par->int_urb->number_of_packets | 0 |
| PARAM_VALUE | 0 | par->int_urb->pipe | 0,128-u32max |
| PARAM_VALUE | 0 | par->int_urb->reject.counter | 0 |
| PARAM_VALUE | 0 | par->int_urb->sg | 0 |
| PARAM_VALUE | 0 | par->int_urb->sgt | 0 |
| PARAM_VALUE | 0 | par->int_urb->start_frame | (-1) |
| PARAM_VALUE | 0 | par->int_urb->status | (-4095)-0 |
| PARAM_VALUE | 0 | par->int_urb->stream_id | 0 |
| PARAM_VALUE | 0 | par->int_urb->transfer_buffer_length | 0-u16max |
| PARAM_VALUE | 0 | par->jpeg_hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | par->jpegqual | 4096-ptr_max |
| PARAM_VALUE | 0 | par->last_packet_type | 0 |
| PARAM_VALUE | 0 | par->saturation | 4096-ptr_max |
| PARAM_VALUE | 0 | par->sd_desc | 4096-ptr_max |
| PARAM_VALUE | 0 | par->sd_desc->isoc_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->sd_desc->isoc_nego | 0,5597140758607159296,7839014778267959296 |
| PARAM_VALUE | 0 | par->sd_desc->stop0 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->sd_desc->stopN | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->vstart | 11,19 |
| PARAM_VALUE | 0 | *par->dev->toggle | 0-4294967295 |
| BUF_SIZE | 0 | par | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | par | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | par->dev | 1 |
| CAPPED_DATA | 0 | par->dev->actconfig->desc.bNumInterfaces | 1 |
| DATA_SOURCE | 0 | par | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | par->int_urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 0 | par->int_urb->transfer_buffer_length | |
| HALF_LOCKED2 | 0 | &par->usb_lock |
drivers/staging/fbtft/fbtft-core.c fbtft_register_framebuffer() -> (struct fbtft_ops)->set_gamma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | par | 4096-ptr_max |
| PARAM_VALUE | 0 | par->fbtftops.init_display | 1-u64max |
| PARAM_VALUE | 0 | par->fbtftops.set_gamma | 1-u64max |
| PARAM_VALUE | 0 | par->first_update_done | 1 |
| PARAM_VALUE | 0 | par->gamma.curves | 1-u64max |
| PARAM_VALUE | 0 | par->gpio.cs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->gpio.dc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->gpio.latch | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->gpio.rd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->gpio.reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->gpio.wr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->info | 4096-ptr_max |
| PARAM_VALUE | 0 | par->info->device->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | par->info->device->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | par->info->device->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | par->pdev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | par->pdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | par->spi | 0,4096-ptr_max |
| PARAM_VALUE | 1 | curves | 1-u64max |
| BUF_SIZE | 0 | par | 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864 |
| BUF_SIZE | 0 | par | 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864 |
| BUF_SIZE | 1 | curves | 1-504 |
| CONTAINER | 0 | -128-136+0 | $(-1) |
| CONTAINER | 1 | *(-128-136+152+792) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/staging/fbtft/fbtft-sysfs.c store_gamma_curve() -> (struct fbtft_ops)->set_gamma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | par | 4096-ptr_max |
| PARAM_VALUE | 0 | par->gamma.num_curves | 1-s32max |
| PARAM_VALUE | 0 | par->gamma.num_values | 1-s32max |
| PARAM_VALUE | 1 | curves | 6205045597310943232 |
| BUF_SIZE | 0 | par | 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864 |
| BUF_SIZE | 0 | par | 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864 |
| BUF_SIZE | 1 | curves | 512 |
| CAPPED_DATA | 0 | par->gamma.num_curves | 1 |
| CAPPED_DATA | 0 | par->gamma.num_values | 1 |
| CONTAINER | 0 | -128-136+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |