/openbmc/linux/arch/powerpc/kvm/ |
H A D | emulate_loadstore.c | 193 if (op.element_size == 8) { in kvmppc_emulate_loadstore() 200 } else if (op.element_size == 4) { in kvmppc_emulate_loadstore() 210 if (size < op.element_size) { in kvmppc_emulate_loadstore() 216 size/op.element_size; in kvmppc_emulate_loadstore() 217 io_size_each = op.element_size; in kvmppc_emulate_loadstore() 321 if (op.element_size == 8) in kvmppc_emulate_loadstore() 324 else if (op.element_size == 4) in kvmppc_emulate_loadstore() 330 if (size < op.element_size) { in kvmppc_emulate_loadstore() 336 size/op.element_size; in kvmppc_emulate_loadstore() 337 io_size_each = op.element_size; in kvmppc_emulate_loadstore()
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | sstep.c | 795 switch (op->element_size) { in emulate_vsx_load() 879 switch (op->element_size) { in emulate_vsx_store() 2347 op->element_size = 1; in analyse_instr() 2352 op->element_size = 2; in analyse_instr() 2357 op->element_size = 4; in analyse_instr() 2363 op->element_size = 16; in analyse_instr() 2368 op->element_size = 1; in analyse_instr() 2373 op->element_size = 2; in analyse_instr() 2378 op->element_size = 4; in analyse_instr() 2532 op->element_size = 8; in analyse_instr() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | item.h | 16 unsigned char element_size; /* size of element in bit array */ member 212 BUG_ON(index && !item->element_size); in __mlxsw_item_bit_array_offset() 214 BITS_PER_BYTE % item->element_size != 0) { in __mlxsw_item_bit_array_offset() 216 item->name, item->offset, item->element_size); in __mlxsw_item_bit_array_offset() 220 max_index = (item->size.bytes << 3) / item->element_size - 1; in __mlxsw_item_bit_array_offset() 222 offset = be_index * item->element_size >> 3; in __mlxsw_item_bit_array_offset() 223 in_byte_index = index % (BITS_PER_BYTE / item->element_size); in __mlxsw_item_bit_array_offset() 224 *shift = in_byte_index * item->element_size; in __mlxsw_item_bit_array_offset() 238 tmp &= GENMASK(item->element_size - 1, 0); in __mlxsw_item_bit_array_get() 248 u8 mask = GENMASK(item->element_size - 1, 0) << shift; in __mlxsw_item_bit_array_set() [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-a64.h | 83 int element_size = 1 << size; in vec_reg_offset() local 84 int offs = element * element_size; in vec_reg_offset() 100 if (element_size < 8) { in vec_reg_offset() 101 offs ^= 8 - element_size; in vec_reg_offset()
|
/openbmc/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_cmd.c | 44 int element_size; member 58 int element_size, in qxl_ring_create() argument 70 ring->element_size = element_size; in qxl_ring_create() 136 elt = ring->ring->elements + idx * ring->element_size; in qxl_ring_push() 138 memcpy((void *)elt, new_elt, ring->element_size); in qxl_ring_push() 167 ring_elt = ring->ring->elements + idx * ring->element_size; in qxl_ring_pop() 169 memcpy(element, (void *)ring_elt, ring->element_size); in qxl_ring_pop()
|
H A D | qxl_drv.h | 275 int element_size,
|
/openbmc/sdbusplus/test/vtable/ |
H A D | vtable.cpp | 44 return t1.x.start.element_size == t2.x.start.element_size && in operator ==()
|
/openbmc/qemu/target/hexagon/imported/mmvec/ |
H A D | ext.idef | 2349 fHIDE(int element_size = 4;) 2350 fHIDE(fGATHER_INIT( RtV, MuV, element_size);) 2351 fVLASTBYTE(MuV, element_size); 2352 fVALIGN(RtV, element_size); 2362 fHIDE(int element_size = 2;) 2363 fHIDE(fGATHER_INIT( RtV, MuV, element_size);) 2364 fVLASTBYTE(MuV, element_size); 2365 fVALIGN(RtV, element_size); 2379 fHIDE(int element_size = 2;) 2380 fHIDE(fGATHER_INIT( RtV, MuV, element_size);) [all …]
|
/openbmc/linux/drivers/scsi/pm8001/ |
H A D | pm8001_init.c | 321 pm8001_ha->memoryMap.region[AAP1].element_size = PM8001_EVENT_LOG_SIZE; in pm8001_alloc() 327 pm8001_ha->memoryMap.region[IOP].element_size = PM8001_EVENT_LOG_SIZE; in pm8001_alloc() 336 pm8001_ha->memoryMap.region[ci_offset+i].element_size = 4; in pm8001_alloc() 344 pm8001_ha->memoryMap.region[ib_offset+i].element_size in pm8001_alloc() 353 pm8001_ha->memoryMap.region[ib_offset+i].element_size in pm8001_alloc() 366 pm8001_ha->memoryMap.region[pi_offset+i].element_size = 4; in pm8001_alloc() 374 pm8001_ha->memoryMap.region[ob_offset+i].element_size in pm8001_alloc() 384 pm8001_ha->memoryMap.region[ob_offset+i].element_size in pm8001_alloc() 394 pm8001_ha->memoryMap.region[NVMD].element_size = 4096; in pm8001_alloc() 402 pm8001_ha->memoryMap.region[FORENSIC_MEM].element_size = 0x10000; in pm8001_alloc()
|
H A D | pm8001_sas.h | 304 u32 element_size; member
|
/openbmc/linux/lib/ |
H A D | lru_cache.c | 114 lc->element_size = e_size; in lc_create() 127 memset(p, 0, lc->element_size); in lc_create() 205 memset(p, 0, lc->element_size); in lc_reset()
|
/openbmc/qemu/plugins/ |
H A D | plugin.h | 117 struct qemu_plugin_scoreboard *plugin_scoreboard_new(size_t element_size);
|
H A D | api.c | 590 struct qemu_plugin_scoreboard *qemu_plugin_scoreboard_new(size_t element_size) in qemu_plugin_scoreboard_new() argument 592 return plugin_scoreboard_new(element_size); in qemu_plugin_scoreboard_new()
|
H A D | core.c | 748 struct qemu_plugin_scoreboard *plugin_scoreboard_new(size_t element_size) in plugin_scoreboard_new() argument 752 score->data = g_array_new(FALSE, TRUE, element_size); in plugin_scoreboard_new()
|
/openbmc/linux/include/linux/ |
H A D | lru_cache.h | 175 size_t element_size; member
|
H A D | efi.h | 827 size_t element_size);
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | sstep.h | 124 u8 element_size; /* for VSX/VMX loads/stores */ member
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_res.h | 174 u16 element_size; /* Size of each entry */ member 374 return (void *)(hwq->pbl_ptr[pg_num] + hwq->element_size * pg_idx); in bnxt_qplib_get_qe()
|
H A D | qplib_res.c | 175 hwq->element_size = 0; in bnxt_qplib_free_hwq() 336 hwq->element_size = stride; in bnxt_qplib_alloc_init_hwq()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras.c | 1341 const unsigned int element_size = in amdgpu_ras_sysfs_badpages_read() local 1343 unsigned int start = div64_ul(ppos + element_size - 1, element_size); in amdgpu_ras_sysfs_badpages_read() 1344 unsigned int end = div64_ul(ppos + count - 1, element_size); in amdgpu_ras_sysfs_badpages_read() 1355 s += scnprintf(&buf[s], element_size + 1, in amdgpu_ras_sysfs_badpages_read() 1749 data->element_size); in amdgpu_ras_interrupt_handler() 1797 data->element_size); in amdgpu_ras_interrupt_dispatch() 1852 .element_size = sizeof(struct amdgpu_iv_entry), in amdgpu_ras_interrupt_add_handler() 1859 data->aligned_element_size = ALIGN(data->element_size, 8); in amdgpu_ras_interrupt_add_handler()
|
H A D | amdgpu_ras.h | 472 unsigned int element_size; member
|
/openbmc/u-boot/drivers/ddr/fsl/ |
H A D | interactive.c | 104 unsigned int element_size, in fsl_ddr_generic_edit() argument 110 pcdata += element_num * element_size; in fsl_ddr_generic_edit() 111 if ((pcdata + element_size) > (char *) pend) { in fsl_ddr_generic_edit() 116 switch (element_size) { in fsl_ddr_generic_edit() 127 printf("unexpected element size %u\n", element_size); in fsl_ddr_generic_edit()
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | hv-gpci.c | 465 int element_size, char *buf, size_t *last_element, in affinity_domain_via_partition_result_parse() argument 486 for (; k < j + element_size; k++) in affinity_domain_via_partition_result_parse()
|
/openbmc/qemu/include/qemu/ |
H A D | qemu-plugin.h | 943 struct qemu_plugin_scoreboard *qemu_plugin_scoreboard_new(size_t element_size);
|
/openbmc/linux/tools/hv/ |
H A D | hv_kvp_daemon.c | 639 int element_size, int offset) in kvp_process_ipconfig_file() argument 656 if (len < strlen(config_buf) + element_size + 1) in kvp_process_ipconfig_file()
|