Searched refs:ccs_limits (Results 1 – 4 of 4) sorted by relevance
99 linfo = &ccs_limits[ccs_limit_offsets[limit].info]; in ccs_limit_ptr()101 if (WARN_ON(!sensor->ccs_limits) || in ccs_limit_ptr()106 *__ptr = sensor->ccs_limits + ccs_limit_offsets[limit].lim + offset; in ccs_limit_ptr()123 linfo = &ccs_limits[ccs_limit_offsets[limit].info]; in ccs_replace_limit()142 switch (ccs_reg_width(ccs_limits[ccs_limit_offsets[limit].info].reg)) { in ccs_get_limit()157 return ccs_reg_conv(sensor, ccs_limits[limit].reg, val); in ccs_get_limit()167 kfree(sensor->ccs_limits); in ccs_read_all_limits()168 sensor->ccs_limits = NULL; in ccs_read_all_limits()176 for (i = 0, l = 0, ptr = alloc; ccs_limits[i].size; i++) { in ccs_read_all_limits()177 u32 reg = ccs_limits[i].reg; in ccs_read_all_limits()[all …]
11 const struct ccs_limit ccs_limits[] = { variable
23 extern const struct ccs_limit ccs_limits[];
230 void *ccs_limits; member