Home
last modified time | relevance | path

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

/drivers/iio/common/st_sensors/
Dst_sensors_core.c495 unsigned int byte_for_channel; in st_sensors_read_axis_data() local
497 byte_for_channel = DIV_ROUND_UP(ch->scan_type.realbits + in st_sensors_read_axis_data()
499 outdata = kmalloc(byte_for_channel, GFP_KERNEL); in st_sensors_read_axis_data()
504 ch->address, byte_for_channel, in st_sensors_read_axis_data()
509 if (byte_for_channel == 1) in st_sensors_read_axis_data()
511 else if (byte_for_channel == 2) in st_sensors_read_axis_data()
513 else if (byte_for_channel == 3) in st_sensors_read_axis_data()