Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/libarena/include/libarena/
H A Dbitmap.h4 #define BYTES_TO_BITS(nb) ((nb) * BITS_PER_BYTE) macro
/linux/tools/include/linux/
H A Dbitops.h23 #define BYTES_TO_BITS(nb) ((nb) * BITS_PER_BYTE) macro
/linux/drivers/iio/pressure/
H A Dhid-sensor-press.c215 .realbits = BYTES_TO_BITS(st->press_attr.size), in press_parse_report()
/linux/drivers/video/fbdev/core/
H A Dfb_fillrect.h259 unsigned int bits_per_line = BYTES_TO_BITS(p->fix.line_length); in fb_fillrect()
/linux/drivers/iio/light/
H A Dhid-sensor-prox.c240 .realbits = BYTES_TO_BITS(st->prox_attr[index].size), in prox_parse_report()
H A Dhid-sensor-als.c327 .realbits = BYTES_TO_BITS(st->als[i].size), in als_parse_report()
/linux/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c246 .realbits = BYTES_TO_BITS(st->gyro[ch].size), in gyro_3d_parse_report()
/linux/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c296 .realbits = BYTES_TO_BITS(st->accel[ch].size), in accel_3d_parse_report()
/linux/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c406 .realbits = BYTES_TO_BITS(st->magn[i].size), in magn_3d_parse_report()
/linux/drivers/iio/common/st_sensors/
H A Dst_sensors_core.c527 *data = sign_extend32(tmp, BYTES_TO_BITS(byte_for_channel) - 1); in st_sensors_read_axis_data()
/linux/kernel/trace/
H A Dtrace_probe.c1837 code->lshift = BYTES_TO_BITS(t->size) - (bw + bo); in __parse_bitfield_probe_arg()
1838 code->rshift = BYTES_TO_BITS(t->size) - bw; in __parse_bitfield_probe_arg()
1841 return (BYTES_TO_BITS(t->size) < (bw + bo)) ? -EINVAL : 0; in __parse_bitfield_probe_arg()
/linux/tools/perf/util/
H A Dprobe-finder.c235 BYTES_TO_BITS(total)); in convert_variable_type()
301 ret = BYTES_TO_BITS(ret); in convert_variable_type()
/linux/sound/usb/
H A Dquirks.c2712 for_each_set_bit(bit, &flag, BYTES_TO_BITS(sizeof(flag))) { in snd_usb_apply_flag_dbg()
/linux/kernel/bpf/
H A Dhelpers.c3528 u32 nr_bits = BYTES_TO_BITS(nr_bytes); in bpf_iter_bits_new()