Lines Matching refs:ccsdata

132 				  struct ccs_data_container *ccsdata,  in ccs_data_parse_version()  argument
142 bin_reserve(bin, sizeof(*ccsdata->version)); in ccs_data_parse_version()
146 ccsdata->version = bin_alloc(bin, sizeof(*ccsdata->version)); in ccs_data_parse_version()
147 if (!ccsdata->version) in ccs_data_parse_version()
150 vv = ccsdata->version; in ccs_data_parse_version()
794 struct ccs_data_container *ccsdata, in __ccs_data_parse() argument
814 *ccsdata = (struct ccs_data_container){ 0 }; in __ccs_data_parse()
833 rval = ccs_data_parse_version(bin, ccsdata, payload, in __ccs_data_parse()
840 bin, &ccsdata->sensor_read_only_regs, in __ccs_data_parse()
841 &ccsdata->num_sensor_read_only_regs, payload, in __ccs_data_parse()
848 bin, &ccsdata->sensor_manufacturer_regs, in __ccs_data_parse()
849 &ccsdata->num_sensor_manufacturer_regs, payload, in __ccs_data_parse()
856 bin, &ccsdata->module_read_only_regs, in __ccs_data_parse()
857 &ccsdata->num_module_read_only_regs, payload, in __ccs_data_parse()
864 bin, &ccsdata->module_manufacturer_regs, in __ccs_data_parse()
865 &ccsdata->num_module_manufacturer_regs, payload, in __ccs_data_parse()
871 rval = ccs_data_parse_pdaf(bin, &ccsdata->sensor_pdaf, in __ccs_data_parse()
877 rval = ccs_data_parse_pdaf(bin, &ccsdata->module_pdaf, in __ccs_data_parse()
884 bin, &ccsdata->sensor_rules, in __ccs_data_parse()
885 &ccsdata->num_sensor_rules, payload, next_block, in __ccs_data_parse()
892 bin, &ccsdata->module_rules, in __ccs_data_parse()
893 &ccsdata->num_module_rules, payload, next_block, in __ccs_data_parse()
899 rval = ccs_data_parse_license(bin, &ccsdata->license, in __ccs_data_parse()
900 &ccsdata->license_length, in __ccs_data_parse()
906 rval = ccs_data_parse_end(&ccsdata->end, payload, in __ccs_data_parse()
932 int ccs_data_parse(struct ccs_data_container *ccsdata, const void *data, in ccs_data_parse() argument
938 rval = __ccs_data_parse(&bin, ccsdata, data, len, dev, verbose); in ccs_data_parse()
946 rval = __ccs_data_parse(&bin, ccsdata, data, len, dev, false); in ccs_data_parse()
950 if (verbose && ccsdata->version) in ccs_data_parse()
951 print_ccs_data_version(dev, ccsdata->version); in ccs_data_parse()
960 ccsdata->backing = bin.base; in ccs_data_parse()