Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/common/st_sensors/
Dst_sensors_core.c526 unsigned int byte_for_channel; in st_sensors_read_axis_data() local
528 byte_for_channel = DIV_ROUND_UP(ch->scan_type.realbits + in st_sensors_read_axis_data()
530 outdata = kmalloc(byte_for_channel, GFP_DMA | GFP_KERNEL); in st_sensors_read_axis_data()
535 outdata, byte_for_channel); in st_sensors_read_axis_data()
539 if (byte_for_channel == 1) in st_sensors_read_axis_data()
541 else if (byte_for_channel == 2) in st_sensors_read_axis_data()
543 else if (byte_for_channel == 3) in st_sensors_read_axis_data()