Searched refs:dev_chem (Results 1 – 1 of 1) sorted by relevance
198 struct sbs_gauge_device_chemistry *dev_chem = (struct sbs_gauge_device_chemistry *)val; in emul_sbs_gauge_buffer_read() local211 dev_chem->device_chemistry_length = MIN(sizeof(chem), in emul_sbs_gauge_buffer_read()212 sizeof(dev_chem->device_chemistry)); in emul_sbs_gauge_buffer_read()213 memcpy(dev_chem->device_chemistry, chem, dev_chem->device_chemistry_length); in emul_sbs_gauge_buffer_read()