Home
last modified time | relevance | path

Searched refs:BITS_TO_BYTES (Results 1 – 25 of 29) sorted by relevance

12

/drivers/iio/adc/
A Dad_sigma_delta.c209 size = BITS_TO_BYTES(reset_length); in ad_sd_reset()
249 unsigned int data_read_len = BITS_TO_BYTES(sigma_delta->info->num_resetclks); in ad_sigma_delta_clear_pending_event()
436 BITS_TO_BYTES(chan->scan_type.realbits + chan->scan_type.shift), in ad_sigma_delta_single_conversion()
514 ALIGN(slot * BITS_TO_BYTES(scan_type->storagebits), in ad_sd_buffer_postenable()
524 scan_size = BITS_TO_BYTES(scan_type->realbits + scan_type->shift); in ad_sd_buffer_postenable()
626 reg_size = BITS_TO_BYTES(scan_type->realbits + scan_type->shift); in ad_sd_trigger_handler()
658 sample_size = BITS_TO_BYTES(scan_type->storagebits); in ad_sd_trigger_handler()
A Dltc2497.c121 st->recv_size = BITS_TO_BYTES(resolution) + 1; in ltc2497_probe()
A Dad4030.c86 #define AD4030_MAX_IIO_SAMPLE_SIZE_BUFFERED BITS_TO_BYTES(64)
618 diff_realbytes = BITS_TO_BYTES(scan_type->realbits); in ad4030_conversion()
619 diff_storagebytes = BITS_TO_BYTES(scan_type->storagebits); in ad4030_conversion()
A Dad4000.c984 xfers[1].len = BITS_TO_BYTES(chan->scan_type.storagebits); in ad4000_prepare_4wire_mode_message()
A Dad7768-1.c1077 BITS_TO_BYTES(scan_type->realbits)); in ad7768_trigger_handler()
A Dad7173.c58 #define AD7173_RESET_LENGTH BITS_TO_BYTES(64)
A Dad4170-4.c2686 st->xfer.len = BITS_TO_BYTES(ad4170_channel_template.scan_type.realbits); in ad4170_prepare_spi_message()
/drivers/mfd/
A Dsec-acpm.c245 size_t val_count = count - BITS_TO_BYTES(ACPM_ADDR_BITS); in sec_pmic_acpm_bus_write()
247 const u8 *vals = &d[BITS_TO_BYTES(ACPM_ADDR_BITS)]; in sec_pmic_acpm_bus_write()
268 if (reg_size != BITS_TO_BYTES(ACPM_ADDR_BITS) || !val_size || in sec_pmic_acpm_bus_read()
/drivers/platform/x86/intel/
A Dishtp_eclite.c42 #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()
/drivers/firmware/efi/
A Dearlycon.c131 bytes = BITS_TO_BYTES(font->width); in efi_earlycon_write_char()
/drivers/irqchip/
A Dqcom-pdc.c28 #define IRQ_ENABLE_BANK_MAX (IRQ_ENABLE_BANK + BITS_TO_BYTES(PDC_MAX_GPIO_IRQS))
/drivers/spi/
A Dspi-rzv2h-rspi.c325 rspi->bytes_per_word = roundup_pow_of_two(BITS_TO_BYTES(bits_per_word)); in rzv2h_rspi_prepare_message()
/drivers/md/dm-vdo/indexer/
A Ddelta-index.c151 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()
/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_fw_defs.h385 (PAGE_SIZE / BITS_TO_BYTES(STRUCT_SIZE(event_ring_elem)))
A Dbnx2x_init.h481 r_param = BITS_TO_BYTES(input_data->port_rate); in bnx2x_init_cmng()
/drivers/video/fbdev/core/
A Dfb_imageblit.h48 iter->data += BITS_TO_BYTES(iter->width); in fb_bitmap_image()
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dmeter.c287 meters_obj = kzalloc(sizeof(*meters_obj) + BITS_TO_BYTES(total), in __mlx5e_flow_meter_alloc()
/drivers/staging/media/atomisp/pci/runtime/frame/src/
A Dframe.c694 return BITS_TO_BYTES(info->raw_bit_depth); in ia_css_elems_bytes_from_info()
/drivers/staging/media/atomisp/pci/runtime/isys/src/
A Dvirtual_isys.c692 bytes_per_pixel = BITS_TO_BYTES(bits_per_pixel); in calculate_ibuf_ctrl_cfg()
/drivers/gpu/drm/tiny/
A Dappletbdrm.c303 (BITS_TO_BYTES(APPLETBDRM_BITS_PER_PIXEL)); in rect_size()
/drivers/base/regmap/
A Dregcache.c177 map->cache_word_size = BITS_TO_BYTES(config->val_bits); in regcache_init()
A Dregmap.c776 map->format.reg_bytes = BITS_TO_BYTES(config->reg_bits); in __regmap_init()
777 map->format.val_bytes = BITS_TO_BYTES(config->val_bits); in __regmap_init()
778 map->format.buf_size = BITS_TO_BYTES(config->reg_bits + config->val_bits + config->pad_bits); in __regmap_init()
/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dcrypto.c575 memset(bulk->need_sync, 0, BITS_TO_BYTES(bulk->num_deks)); in mlx5_crypto_dek_pool_reset_synced()
/drivers/nvmem/
A Dcore.c1778 if (len != BITS_TO_BYTES(cell->nbits) && len != cell->bytes) in __nvmem_cell_entry_write()
/drivers/usb/typec/ucsi/
A Ducsi.c1785 BITS_TO_BYTES(UCSI_GET_CAPABILITY_SIZE)); in ucsi_init()

Completed in 93 milliseconds

12