Lines Matching refs:st
309 struct magn_3d_state *st) in magn_3d_parse_report() argument
325 &(st->magn[i])); in magn_3d_parse_report()
339 st->magn[0].index, in magn_3d_parse_report()
340 st->magn[0].report_id, in magn_3d_parse_report()
341 st->magn[1].index, st->magn[1].report_id, in magn_3d_parse_report()
342 st->magn[2].index, st->magn[2].report_id); in magn_3d_parse_report()
354 st->iio_vals = devm_kcalloc(&pdev->dev, attr_count, in magn_3d_parse_report()
357 if (!st->iio_vals) { in magn_3d_parse_report()
366 if (st->magn[i].index >= 0) { in magn_3d_parse_report()
373 st->magn_val_addr[i] = &(st->iio_vals[*chan_count]); in magn_3d_parse_report()
376 st->magn[i].size); in magn_3d_parse_report()
392 st->scale_precision = hid_sensor_format_scale( in magn_3d_parse_report()
394 &st->magn[CHANNEL_SCAN_INDEX_X], in magn_3d_parse_report()
395 &st->scale_pre_decml, &st->scale_post_decml); in magn_3d_parse_report()
398 if (st->common_attributes.sensitivity.index < 0) { in magn_3d_parse_report()
403 &st->common_attributes.sensitivity); in magn_3d_parse_report()
405 st->common_attributes.sensitivity.index, in magn_3d_parse_report()
406 st->common_attributes.sensitivity.report_id); in magn_3d_parse_report()