Lines Matching refs:chan_count
342 int *chan_count, in magn_3d_parse_report() argument
398 for (i = 0, *chan_count = 0; in magn_3d_parse_report()
399 i < MAGN_3D_CHANNEL_MAX && *chan_count < attr_count; in magn_3d_parse_report()
403 (_channels[*chan_count]) = magn_3d_channels[i]; in magn_3d_parse_report()
404 (_channels[*chan_count]).scan_index = *chan_count; in magn_3d_parse_report()
405 (_channels[*chan_count]).address = i; in magn_3d_parse_report()
408 st->magn_val_addr[i] = &(st->iio_vals[*chan_count]); in magn_3d_parse_report()
410 *chan_count, in magn_3d_parse_report()
412 (*chan_count)++; in magn_3d_parse_report()
416 if (*chan_count <= 0) { in magn_3d_parse_report()
425 *chan_count); in magn_3d_parse_report()
483 int chan_count = 0; in hid_magn_3d_probe() local
506 &channels, &chan_count, in hid_magn_3d_probe()
514 indio_dev->num_channels = chan_count; in hid_magn_3d_probe()