Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iio/common/st_sensors/
Dst_sensors_core.c501 unsigned int byte_for_channel; in st_sensors_read_axis_data() local
503 byte_for_channel = DIV_ROUND_UP(ch->scan_type.realbits + in st_sensors_read_axis_data()
505 outdata = kmalloc(byte_for_channel, GFP_DMA | GFP_KERNEL); in st_sensors_read_axis_data()
510 outdata, byte_for_channel); in st_sensors_read_axis_data()
514 if (byte_for_channel == 1) in st_sensors_read_axis_data()
516 else if (byte_for_channel == 2) in st_sensors_read_axis_data()
518 else if (byte_for_channel == 3) in st_sensors_read_axis_data()