Home
last modified time | relevance | path

Searched refs:ccs_limits (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/media/i2c/ccs/
Dccs-core.c98 linfo = &ccs_limits[ccs_limit_offsets[limit].info]; in ccs_limit_ptr()
100 if (WARN_ON(!sensor->ccs_limits) || in ccs_limit_ptr()
105 *__ptr = sensor->ccs_limits + ccs_limit_offsets[limit].lim + offset; in ccs_limit_ptr()
122 linfo = &ccs_limits[ccs_limit_offsets[limit].info]; in ccs_replace_limit()
141 switch (ccs_reg_width(ccs_limits[ccs_limit_offsets[limit].info].reg)) { in ccs_get_limit()
156 return ccs_reg_conv(sensor, ccs_limits[limit].reg, val); in ccs_get_limit()
166 kfree(sensor->ccs_limits); in ccs_read_all_limits()
167 sensor->ccs_limits = NULL; in ccs_read_all_limits()
175 for (i = 0, l = 0, ptr = alloc; ccs_limits[i].size; i++) { in ccs_read_all_limits()
176 u32 reg = ccs_limits[i].reg; in ccs_read_all_limits()
[all …]
Dccs-limits.c11 const struct ccs_limit ccs_limits[] = { variable
Dccs-limits.h23 extern const struct ccs_limit ccs_limits[];
Dccs.h230 void *ccs_limits; member