Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dmemswap.c6 void mem_bswap_32(void *src, int byte_size) in mem_bswap_32() argument
9 while (byte_size > 0) { in mem_bswap_32()
11 byte_size -= sizeof(u32); in mem_bswap_32()
16 void mem_bswap_64(void *src, int byte_size) in mem_bswap_64() argument
20 while (byte_size > 0) { in mem_bswap_64()
22 byte_size -= sizeof(u64); in mem_bswap_64()
H A Dmemswap.h12 void mem_bswap_64(void *src, int byte_size);
13 void mem_bswap_32(void *src, int byte_size);
/openbmc/qemu/include/
H A Dglib-compat.h89 static inline gpointer g_memdup2_qemu(gconstpointer mem, gsize byte_size) in g_memdup2_qemu() argument
92 return g_memdup2(mem, byte_size); in g_memdup2_qemu()
96 if (mem && byte_size != 0) { in g_memdup2_qemu()
97 new_mem = g_malloc(byte_size); in g_memdup2_qemu()
98 memcpy(new_mem, mem, byte_size); in g_memdup2_qemu()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/
H A D0001-Bug-fix-for-data-type-length-judgment.patch7 if (byte_size == sizeof(long)) {
31 @@ -190,7 +190,7 @@ static bool get_integer_base_type(enum arg_type *type, int byte_size,
35 - if (byte_size == sizeof(long)) {
36 + if (byte_size == sizeof(long long)) {
/openbmc/qemu/contrib/plugins/
H A Dlockstep.c110 static inline gpointer g_memdup2_qemu(gconstpointer mem, gsize byte_size) in g_memdup2_qemu() argument
113 return g_memdup2(mem, byte_size); in g_memdup2_qemu()
117 if (mem && byte_size != 0) { in g_memdup2_qemu()
118 new_mem = g_malloc(byte_size); in g_memdup2_qemu()
119 memcpy(new_mem, mem, byte_size); in g_memdup2_qemu()
/openbmc/linux/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_log.c33 byte_size = 3, in mod_hdcp_dump_binary_message() local
38 uint32_t target_size = (byte_size * bytes_per_line + newline_size) * line_count + in mod_hdcp_dump_binary_message()
39 byte_size * trailing_bytes + newline_size + terminator_size; in mod_hdcp_dump_binary_message()
48 buf_pos += byte_size; in mod_hdcp_dump_binary_message()
/openbmc/u-boot/cmd/
H A Dpci.c493 int byte_size; in pci_cfg_display() local
496 byte_size = pci_byte_size(size); in pci_cfg_display()
498 length = 0x40 / byte_size; /* Standard PCI config space */ in pci_cfg_display()
503 nbytes = length * byte_size; in pci_cfg_display()
507 for (i = 0; i < linebytes; i += byte_size) { in pci_cfg_display()
516 addr += byte_size; in pci_cfg_display()
/openbmc/linux/drivers/mailbox/
H A Dimx-mailbox.c362 u32 byte_size; in imx_mu_seco_tx() local
370 byte_size = msg->hdr.size * sizeof(u32); in imx_mu_seco_tx()
371 if (byte_size > sizeof(*msg)) { in imx_mu_seco_tx()
378 sizeof(*msg), byte_size); in imx_mu_seco_tx()
383 data, byte_size, false); in imx_mu_seco_tx()
429 u32 byte_size; in imx_mu_seco_rxdb() local
438 byte_size = msg.hdr.size * sizeof(u32); in imx_mu_seco_rxdb()
439 if (byte_size > sizeof(msg)) { in imx_mu_seco_rxdb()
441 sizeof(msg), byte_size); in imx_mu_seco_rxdb()
461 &msg, byte_size, false); in imx_mu_seco_rxdb()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_send.c657 u32 *byte_size, in dr_get_tbl_copy_details() argument
666 *byte_size = dmn->send_ring->max_post_send_size; in dr_get_tbl_copy_details()
667 alloc_size = *byte_size; in dr_get_tbl_copy_details()
668 *num_stes = *byte_size / DR_STE_SIZE; in dr_get_tbl_copy_details()
716 u32 byte_size = mlx5dr_icm_pool_get_chunk_byte_size(htbl->chunk); in mlx5dr_send_postsend_htbl() local
724 ret = dr_get_tbl_copy_details(dmn, htbl, &data, &byte_size, in mlx5dr_send_postsend_htbl()
733 u32 ste_index = i * (byte_size / DR_STE_SIZE); in mlx5dr_send_postsend_htbl()
763 send_info.write.length = byte_size; in mlx5dr_send_postsend_htbl()
793 ret = dr_get_tbl_copy_details(dmn, htbl, &data, &byte_size, in mlx5dr_send_postsend_formatted_htbl()
816 u8 ste_index = i * (byte_size / DR_STE_SIZE); in mlx5dr_send_postsend_formatted_htbl()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-sipe/
H A D0001-Migrate-to-use-g_memdup2.patch18 g_memdup2(gconstpointer mem, gsize byte_size) {
21 if(mem && byte_size != 0) {
22 new_mem = g_malloc (byte_size);
23 memcpy (new_mem, mem, byte_size);
/openbmc/linux/sound/hda/
H A Dhdac_stream.c907 unsigned int byte_size, struct snd_dma_buffer *bufp) in snd_hdac_dsp_prepare() argument
924 byte_size, bufp); in snd_hdac_dsp_prepare()
929 azx_dev->bufsize = byte_size; in snd_hdac_dsp_prepare()
930 azx_dev->period_bytes = byte_size; in snd_hdac_dsp_prepare()
941 err = setup_bdle(bus, bufp, azx_dev, &bdl, 0, byte_size, 0); in snd_hdac_dsp_prepare()
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-sst-dsp.h163 unsigned int byte_size,
/openbmc/linux/include/sound/
H A Dhdaudio.h653 unsigned int byte_size, struct snd_dma_buffer *bufp);
665 unsigned int byte_size, struct snd_dma_buffer *bufp) in snd_hdac_dsp_prepare() argument
/openbmc/linux/sound/pci/hda/
H A Dhda_controller.c956 unsigned int byte_size, in snd_hda_codec_load_dsp_prepare() argument
975 err = snd_hdac_dsp_prepare(hstr, format, byte_size, bufp); in snd_hda_codec_load_dsp_prepare()