/linux-6.12.1/kernel/bpf/ |
D | bloom_filter.c | 134 bitset_bytes = BITS_TO_BYTES(U32_MAX); in bloom_map_alloc() 141 bitset_bytes = BITS_TO_BYTES(nr_bits); in bloom_map_alloc() 198 bitset_bytes = BITS_TO_BYTES((u64)bloom->bitset_mask + 1); in bloom_map_mem_usage()
|
/linux-6.12.1/drivers/iio/adc/ |
D | ad7944.c | 167 xfers[2].len = BITS_TO_BYTES(chan->scan_type.storagebits); in ad7944_3wire_cs_mode_init_msg() 196 xfers[1].len = BITS_TO_BYTES(chan->scan_type.storagebits); in ad7944_4wire_mode_init_msg() 231 xfers[1].len = BITS_TO_BYTES(chan->scan_type.storagebits) * n_chain_dev; in ad7944_chain_mode_init_msg() 412 BITS_TO_BYTES(chan[0].scan_type.storagebits), sizeof(u64)) in ad7944_chain_mode_alloc()
|
D | ltc2497.c | 121 st->recv_size = BITS_TO_BYTES(resolution) + 1; in ltc2497_probe()
|
D | ad4000.c | 497 xfers[1].len = BITS_TO_BYTES(chan->scan_type.storagebits); in ad4000_prepare_3wire_mode_message() 528 xfers[1].len = BITS_TO_BYTES(chan->scan_type.storagebits); in ad4000_prepare_4wire_mode_message()
|
D | ad7380.c | 683 BITS_TO_BYTES(scan_type->storagebits) * in ad7380_update_xfers() 696 xfer[1].len = BITS_TO_BYTES(scan_type->storagebits) * in ad7380_update_xfers()
|
D | ad7173.c | 57 #define AD7173_RESET_LENGTH BITS_TO_BYTES(64)
|
/linux-6.12.1/tools/perf/util/ |
D | pmu.y | 36 memset(bits, 0, BITS_TO_BYTES(PERF_PMU_FORMAT_BITS)); in perf_pmu__set_format()
|
/linux-6.12.1/drivers/platform/x86/intel/ |
D | ishtp_eclite.c | 42 #ifndef BITS_TO_BYTES 43 #define BITS_TO_BYTES(x) ((x) / 8) macro 258 unsigned int bytes = BITS_TO_BYTES(bits); in ecl_opregion_data_handler()
|
/linux-6.12.1/tools/include/linux/ |
D | bitops.h | 21 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) macro
|
/linux-6.12.1/drivers/firmware/efi/ |
D | earlycon.c | 131 bytes = BITS_TO_BYTES(font->width); in efi_earlycon_write_char()
|
/linux-6.12.1/include/linux/ |
D | bitops.h | 15 #define BITS_TO_BYTES(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) macro
|
/linux-6.12.1/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_fw_defs.h | 385 (PAGE_SIZE / BITS_TO_BYTES(STRUCT_SIZE(event_ring_elem)))
|
D | bnx2x_init.h | 481 r_param = BITS_TO_BYTES(input_data->port_rate); in bnx2x_init_cmng()
|
/linux-6.12.1/drivers/md/dm-vdo/indexer/ |
D | delta-index.c | 151 return BITS_TO_BYTES(bit_offset + delta_list->size); in get_delta_list_byte_size() 977 byte_count = BITS_TO_BYTES(bit_count); in restore_delta_list_to_zone() 1636 BITS_TO_BYTES(size)); in insert_bits()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | meter.c | 287 meters_obj = kzalloc(sizeof(*meters_obj) + BITS_TO_BYTES(total), in __mlx5e_flow_meter_alloc()
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
D | virtual_isys.c | 701 bytes_per_pixel = BITS_TO_BYTES(bits_per_pixel); in calculate_ibuf_ctrl_cfg()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | crypto.c | 575 memset(bulk->need_sync, 0, BITS_TO_BYTES(bulk->num_deks)); in mlx5_crypto_dek_pool_reset_synced()
|
/linux-6.12.1/drivers/spi/ |
D | spi-dw-core.c | 426 dws->n_bytes = roundup_pow_of_two(BITS_TO_BYTES(transfer->bits_per_word)); in dw_spi_transfer_one()
|
D | spi.c | 3806 maxsize = maxwords * roundup_pow_of_two(BITS_TO_BYTES(xfer->bits_per_word)); in spi_split_transfers_maxwords()
|
/linux-6.12.1/fs/ocfs2/dlm/ |
D | dlmcommon.h | 694 u8 node_map[BITS_TO_BYTES(O2NM_MAX_NODES)];
|
/linux-6.12.1/kernel/time/ |
D | timekeeping.c | 1261 if (BITS_TO_BYTES(fls64(*delta) + tkr->shift) >= sizeof(*delta)) in convert_ns_to_cs()
|
/linux-6.12.1/drivers/base/regmap/ |
D | regmap-kunit.c | 1602 size = array_size(config->max_register + 1, BITS_TO_BYTES(config->reg_bits)); in gen_raw_regmap()
|
/linux-6.12.1/net/netlink/ |
D | af_netlink.c | 1752 if (put_user(ALIGN(BITS_TO_BYTES(nlk->ngroups), sizeof(u32)), optlen)) in netlink_getsockopt()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_err.c | 3435 BITS_TO_BYTES(HCLGE_VPORT_NUM)); in hclge_get_vf_fault_bitmap()
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/ |
D | atomisp_cmd.c | 3550 bytes = BITS_TO_BYTES(br_fmt->depth * width); in atomisp_fill_pix_format()
|