Searched refs:num_data_channels (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/drivers/iio/common/st_sensors/
H A Dst_sensors_buffer.c30 unsigned int num_data_channels = sdata->num_data_channels; st_sensors_get_buffer_element() local
34 addr = kmalloc(num_data_channels, GFP_KERNEL); st_sensors_get_buffer_element()
40 for (i = 0; i < num_data_channels; i++) { st_sensors_get_buffer_element()
58 rx_array = kmalloc(byte_for_channel * num_data_channels, st_sensors_get_buffer_element()
67 byte_for_channel * num_data_channels, st_sensors_get_buffer_element()
86 addr[0], byte_for_channel * num_data_channels, st_sensors_get_buffer_element()
/linux-4.1.27/include/linux/iio/common/
H A Dst_sensors.h207 * num_data_channels: Number of data channels used in buffer.
227 unsigned int num_data_channels; member in struct:st_sensor_data
/linux-4.1.27/drivers/iio/gyro/
H A Dst_gyro_core.c413 gdata->num_data_channels = ST_GYRO_NUMBER_DATA_CHANNELS; st_gyro_common_probe()
/linux-4.1.27/drivers/iio/magnetometer/
H A Dst_magn_core.c382 mdata->num_data_channels = ST_MAGN_NUMBER_DATA_CHANNELS; st_magn_common_probe()
/linux-4.1.27/drivers/iio/pressure/
H A Dst_pressure_core.c430 press_data->num_data_channels = ST_PRESS_NUMBER_DATA_CHANNELS; st_press_common_probe()
/linux-4.1.27/drivers/iio/accel/
H A Dst_accel_core.c553 adata->num_data_channels = ST_ACCEL_NUMBER_DATA_CHANNELS; st_accel_common_probe()

Completed in 202 milliseconds