Home
last modified time | relevance | path

Searched refs:byte_for_channel (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/common/st_sensors/
A Dst_sensors_core.c520 unsigned int byte_for_channel; in st_sensors_read_axis_data() local
522 byte_for_channel = DIV_ROUND_UP(ch->scan_type.realbits + in st_sensors_read_axis_data()
524 outdata = kmalloc(byte_for_channel, GFP_DMA | GFP_KERNEL); in st_sensors_read_axis_data()
529 outdata, byte_for_channel); in st_sensors_read_axis_data()
533 if (byte_for_channel == 1) in st_sensors_read_axis_data()
535 else if (byte_for_channel == 2) in st_sensors_read_axis_data()
537 else if (byte_for_channel == 3) in st_sensors_read_axis_data()

Completed in 4 milliseconds