Searched refs:BYTES_TO_BITS (Results 1 – 1 of 1) sorted by relevance
505 #define BYTES_TO_BITS(nb) ((BITS_PER_LONG * (nb)) / sizeof(long)) macro535 code->lshift = BYTES_TO_BITS(t->size) - (bw + bo); in __parse_bitfield_probe_arg()536 code->rshift = BYTES_TO_BITS(t->size) - bw; in __parse_bitfield_probe_arg()539 return (BYTES_TO_BITS(t->size) < (bw + bo)) ? -EINVAL : 0; in __parse_bitfield_probe_arg()