Lines Matching refs:channels
94 static void gyro_3d_adjust_channel_bit_mask(struct iio_chan_spec *channels, in gyro_3d_adjust_channel_bit_mask() argument
97 channels[channel].scan_type.sign = 's'; in gyro_3d_adjust_channel_bit_mask()
99 channels[channel].scan_type.realbits = size * 8; in gyro_3d_adjust_channel_bit_mask()
101 channels[channel].scan_type.storagebits = sizeof(u32) * 8; in gyro_3d_adjust_channel_bit_mask()
249 struct iio_chan_spec *channels, in gyro_3d_parse_report() argument
264 gyro_3d_adjust_channel_bit_mask(channels, in gyro_3d_parse_report()
301 struct iio_chan_spec *channels; in hid_gyro_3d_probe() local
320 channels = kmemdup(gyro_3d_channels, sizeof(gyro_3d_channels), in hid_gyro_3d_probe()
322 if (!channels) { in hid_gyro_3d_probe()
327 ret = gyro_3d_parse_report(pdev, hsdev, channels, in hid_gyro_3d_probe()
334 indio_dev->channels = channels; in hid_gyro_3d_probe()
380 kfree(indio_dev->channels); in hid_gyro_3d_probe()
395 kfree(indio_dev->channels); in hid_gyro_3d_remove()