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()
319 indio_dev->channels = kmemdup(gyro_3d_channels, in hid_gyro_3d_probe()
321 if (!indio_dev->channels) { in hid_gyro_3d_probe()
327 (struct iio_chan_spec *)indio_dev->channels, in hid_gyro_3d_probe()
379 kfree(indio_dev->channels); in hid_gyro_3d_probe()
394 kfree(indio_dev->channels); in hid_gyro_3d_remove()