Lines Matching refs:chan_count
352 int *chan_count, in magn_3d_parse_report() argument
409 for (i = 0, *chan_count = 0; in magn_3d_parse_report()
410 i < MAGN_3D_CHANNEL_MAX && *chan_count < attr_count; in magn_3d_parse_report()
414 (_channels[*chan_count]) = magn_3d_channels[i]; in magn_3d_parse_report()
415 (_channels[*chan_count]).scan_index = *chan_count; in magn_3d_parse_report()
416 (_channels[*chan_count]).address = i; in magn_3d_parse_report()
420 st->magn_val_addr[i] = &st->iio_vals[*chan_count]; in magn_3d_parse_report()
422 *chan_count, in magn_3d_parse_report()
425 (*chan_count)++; in magn_3d_parse_report()
429 if (*chan_count <= 0) { in magn_3d_parse_report()
438 *chan_count); in magn_3d_parse_report()
475 int chan_count = 0; in hid_magn_3d_probe() local
502 &channels, &chan_count, in hid_magn_3d_probe()
510 indio_dev->num_channels = chan_count; in hid_magn_3d_probe()