Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/ti/omap3isp/isphist.c hist_set_params() -> hist_get_buf_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | conf | 32,48,76 |
| BUF_SIZE | 0 | conf | 32,48,76 |
| USER_DATA | 0 | conf->buf_size | 0-u32max[u] |
| USER_DATA | 0 | conf->cfa | 0-255 |
| USER_DATA | 0 | conf->config_counter | 0-u16max[u] |
| USER_DATA | 0 | conf->hist_bins | 0-u16max |
| USER_DATA | 0 | conf->num_acc_frames | 0-255 |
| USER_DATA | 0 | conf->num_regions | 0-255 |
| USER_PTR | 0 | conf->region | |
| USER_PTR | 0 | conf->wg | |
| LOCK2 | &hist->ioctl_lock | ||
| LOCK2 | &hist->isp->stat_lock | ||
| LOCK2 | irqflags | ||
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock | ||
| TYPE_LOCK | (struct isp_device)->stat_lock | ||
| TYPE_LOCK | (struct ispstat)->ioctl_lock |
drivers/media/platform/ti/omap3isp/isphist.c hist_validate_params() -> hist_get_buf_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->hist_bins | 0-3 |
| PARAM_VALUE | 0 | conf->num_regions | 1-4 |
| BUF_SIZE | 0 | conf | (-1),128-16383 |
| BUF_SIZE | 0 | conf | (-1),128-16383 |
| CAPPED_DATA | 0 | conf->num_regions | 1 |
| DATA_SOURCE | 0 | conf | $1 |
| FUZZY_MAX | 0 | conf->hist_bins | 3 |
| HARD_MAX | 0 | conf->hist_bins | 3 |
| USER_DATA | 0 | conf->buf_size | 0-u32max[u] |
| USER_DATA | 0 | conf->cfa | 0-1[u] |
| USER_DATA | 0 | conf->config_counter | 0-u16max[u] |
| USER_DATA | 0 | conf->hist_bins | 0-3[u] |
| USER_DATA | 0 | conf->num_acc_frames | 0-255[u] |
| USER_DATA | 0 | conf->num_regions | 1-4[c] |
| USER_PTR | 0 | conf | |
| LOCK2 | &hist->ioctl_lock | ||
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock | ||
| TYPE_LOCK | (struct ispstat)->ioctl_lock |