BITS_TO_BYTES
map->cache_word_size = BITS_TO_BYTES(config->val_bits);
size = array_size(config->max_register + 1, BITS_TO_BYTES(config->reg_bits));
map->format.reg_bytes = BITS_TO_BYTES(config->reg_bits);
map->format.val_bytes = BITS_TO_BYTES(config->val_bits);
map->format.buf_size = BITS_TO_BYTES(config->reg_bits + config->val_bits + config->pad_bits);
bytes = BITS_TO_BYTES(font->width);
(BITS_TO_BYTES(APPLETBDRM_BITS_PER_PIXEL));
xfers[1].len = BITS_TO_BYTES(chan->scan_type.storagebits);
diff_realbytes = BITS_TO_BYTES(scan_type->realbits);
diff_storagebytes = BITS_TO_BYTES(scan_type->storagebits);
#define AD4030_MAX_IIO_SAMPLE_SIZE_BUFFERED BITS_TO_BYTES(64)
return BITS_TO_BYTES(scan_type->storagebits);
BITS_TO_BYTES(AD4134_CHAN_PRECISION_BITS));
st->xfer.len = BITS_TO_BYTES(ad4170_channel_template.scan_type.realbits);
#define AD7173_RESET_LENGTH BITS_TO_BYTES(64)
BITS_TO_BYTES(scan_type->realbits));
size = BITS_TO_BYTES(reset_length);
unsigned int data_read_len = BITS_TO_BYTES(sigma_delta->info->num_resetclks);
BITS_TO_BYTES(chan->scan_type.realbits + chan->scan_type.shift),
ALIGN(slot * BITS_TO_BYTES(scan_type->storagebits),
scan_size = BITS_TO_BYTES(scan_type->realbits + scan_type->shift);
reg_size = BITS_TO_BYTES(scan_type->realbits + scan_type->shift);
sample_size = BITS_TO_BYTES(scan_type->storagebits);
st->recv_size = BITS_TO_BYTES(resolution) + 1;
#define IRQ_ENABLE_BANK_MAX (IRQ_ENABLE_BANK + BITS_TO_BYTES(PDC_MAX_GPIO_IRQS))
return BITS_TO_BYTES(bit_offset + delta_list->size);
BITS_TO_BYTES(size));
byte_count = BITS_TO_BYTES(bit_count);
size_t val_count = count - BITS_TO_BYTES(ACPM_ADDR_BITS);
const u8 *vals = &d[BITS_TO_BYTES(ACPM_ADDR_BITS)];
if (reg_size != BITS_TO_BYTES(ACPM_ADDR_BITS) || !val_size ||
(PAGE_SIZE / BITS_TO_BYTES(STRUCT_SIZE(event_ring_elem)))
r_param = BITS_TO_BYTES(input_data->port_rate);
BITS_TO_BYTES(HCLGE_VPORT_NUM));
meters_obj = kzalloc(sizeof(*meters_obj) + BITS_TO_BYTES(total),
memset(bulk->need_sync, 0, BITS_TO_BYTES(bulk->num_deks));
u8 macid_bitmap[BITS_TO_BYTES(RTW89_MAX_MAC_ID_NUM)];
if (len != BITS_TO_BYTES(cell->nbits) && len != cell->bytes)
unsigned int bytes = BITS_TO_BYTES(bits);
#ifndef BITS_TO_BYTES
rspi->bytes_per_word = roundup_pow_of_two(BITS_TO_BYTES(bits_per_word));
bytes = BITS_TO_BYTES(br_fmt->depth * width);
return BITS_TO_BYTES(info->raw_bit_depth);
bytes_per_pixel = BITS_TO_BYTES(bits_per_pixel);
BITS_TO_BYTES(UCSI_GET_CAPABILITY_SIZE));
iter->data += BITS_TO_BYTES(iter->width);
u8 node_map[BITS_TO_BYTES(O2NM_MAX_NODES)];
return roundup_pow_of_two(BITS_TO_BYTES(bpw));
bitset_bytes = BITS_TO_BYTES(U32_MAX);
bitset_bytes = BITS_TO_BYTES(nr_bits);
bitset_bytes = BITS_TO_BYTES((u64)bloom->bitset_mask + 1);
if (BITS_TO_BYTES(fls64(*delta) + tkr->shift) >= sizeof(*delta))
if (put_user(ALIGN(BITS_TO_BYTES(nlk->ngroups), sizeof(u32)), optlen))
memset(bits, 0, BITS_TO_BYTES(PERF_PMU_FORMAT_BITS));