Lines Matching refs:payload
133 const void *payload, const void *endp) in ccs_data_parse_version() argument
135 const struct __ccs_data_block_version *v = payload; in ccs_data_parse_version()
173 const void **payload, in ccs_data_block_parse_header() argument
203 if (payload) in ccs_data_block_parse_header()
204 *payload = (void *)&block->length + hlen; in ccs_data_block_parse_header()
214 size_t *__num_regs, const void *payload, in ccs_data_parse_regs() argument
227 while (payload < endp && num_regs < INT_MAX) { in ccs_data_parse_regs()
228 const struct __ccs_data_block_regs *r = payload; in ccs_data_parse_regs()
247 const struct __ccs_data_block_regs2 *r2 = payload; in ccs_data_parse_regs()
265 const struct __ccs_data_block_regs3 *r3 = payload; in ccs_data_parse_regs()
302 payload = data + len; in ccs_data_parse_regs()
324 const void *payload, in ccs_data_parse_reg_rules() argument
330 return ccs_data_parse_regs(bin, NULL, NULL, payload, endp, dev); in ccs_data_parse_reg_rules()
332 rval = ccs_data_parse_regs(bin, NULL, __num_regs, payload, endp, dev); in ccs_data_parse_reg_rules()
336 return ccs_data_parse_regs(bin, __regs, __num_regs, payload, endp, in ccs_data_parse_reg_rules()
349 const void *payload, in ccs_data_parse_ffd() argument
352 const struct __ccs_data_block_ffd *__ffd = payload; in ccs_data_parse_ffd()
407 const void *payload, in ccs_data_parse_pdaf_readout() argument
410 const struct __ccs_data_block_pdaf_readout *__pdaf = payload; in ccs_data_parse_pdaf_readout()
432 size_t *__num_rules, const void *payload, in ccs_data_parse_rules() argument
437 const void *__next_rule = payload; in ccs_data_parse_rules()
589 const void *payload, const void *endp, in ccs_data_parse_pdaf() argument
592 const struct __ccs_data_block_pdaf_pix_loc *__pdaf = payload; in ccs_data_parse_pdaf()
766 const void *payload, const void *endp) in ccs_data_parse_license() argument
768 size_t size = endp - payload; in ccs_data_parse_license()
780 memcpy(license, payload, size); in ccs_data_parse_license()
788 static int ccs_data_parse_end(bool *end, const void *payload, const void *endp, in ccs_data_parse_end() argument
791 const struct __ccs_data_block_end *__end = payload; in ccs_data_parse_end()
795 (unsigned int)(endp - payload)); in ccs_data_parse_end()
830 const void *payload; in __ccs_data_parse() local
833 &payload, &next_block, endp, in __ccs_data_parse()
844 rval = ccs_data_parse_version(bin, ccsdata, payload, in __ccs_data_parse()
852 &ccsdata->num_sensor_read_only_regs, payload, in __ccs_data_parse()
860 &ccsdata->num_sensor_manufacturer_regs, payload, in __ccs_data_parse()
868 &ccsdata->num_module_read_only_regs, payload, in __ccs_data_parse()
876 &ccsdata->num_module_manufacturer_regs, payload, in __ccs_data_parse()
883 payload, next_block, dev); in __ccs_data_parse()
889 payload, next_block, dev); in __ccs_data_parse()
896 &ccsdata->num_sensor_rules, payload, next_block, in __ccs_data_parse()
904 &ccsdata->num_module_rules, payload, next_block, in __ccs_data_parse()
912 payload, next_block); in __ccs_data_parse()
917 rval = ccs_data_parse_end(&ccsdata->end, payload, in __ccs_data_parse()