Searched refs:element_size (Results 1 – 17 of 17) sorted by relevance
/linux/arch/powerpc/kvm/ |
A D | emulate_loadstore.c | 192 if (op.element_size == 8) { in kvmppc_emulate_loadstore() 199 } else if (op.element_size == 4) { in kvmppc_emulate_loadstore() 209 if (size < op.element_size) { in kvmppc_emulate_loadstore() 215 size/op.element_size; in kvmppc_emulate_loadstore() 216 io_size_each = op.element_size; in kvmppc_emulate_loadstore() 320 if (op.element_size == 8) in kvmppc_emulate_loadstore() 323 else if (op.element_size == 4) in kvmppc_emulate_loadstore() 329 if (size < op.element_size) { in kvmppc_emulate_loadstore() 335 size/op.element_size; in kvmppc_emulate_loadstore() 336 io_size_each = op.element_size; in kvmppc_emulate_loadstore()
|
A D | powerpc.c | 984 int index, int element_size) in kvmppc_get_vmx_offset_generic() argument 987 int elts = sizeof(vector128)/element_size; in kvmppc_get_vmx_offset_generic()
|
/linux/arch/powerpc/lib/ |
A D | sstep.c | 2353 op->element_size = 1; in analyse_instr() 2358 op->element_size = 2; in analyse_instr() 2363 op->element_size = 4; in analyse_instr() 2374 op->element_size = 1; in analyse_instr() 2379 op->element_size = 2; in analyse_instr() 2384 op->element_size = 4; in analyse_instr() 2538 op->element_size = 8; in analyse_instr() 2544 op->element_size = 8; in analyse_instr() 2550 op->element_size = 8; in analyse_instr() 2581 op->element_size = 8; in analyse_instr() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
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 …]
|
/linux/drivers/gpu/drm/qxl/ |
A D | qxl_cmd.c | 44 int element_size; member 63 int element_size, in qxl_ring_create() argument 76 ring->element_size = element_size; in qxl_ring_create() 144 elt = ring->ring->elements + idx * ring->element_size; in qxl_ring_push() 146 memcpy((void *)elt, new_elt, ring->element_size); in qxl_ring_push() 175 ring_elt = ring->ring->elements + idx * ring->element_size; in qxl_ring_pop() 177 memcpy(element, (void *)ring_elt, ring->element_size); in qxl_ring_pop()
|
A D | qxl_drv.h | 281 int element_size,
|
/linux/drivers/scsi/pm8001/ |
A D | pm8001_init.c | 310 pm8001_ha->memoryMap.region[AAP1].element_size = PM8001_EVENT_LOG_SIZE; in pm8001_alloc() 316 pm8001_ha->memoryMap.region[IOP].element_size = PM8001_EVENT_LOG_SIZE; in pm8001_alloc() 325 pm8001_ha->memoryMap.region[ci_offset+i].element_size = 4; in pm8001_alloc() 333 pm8001_ha->memoryMap.region[ib_offset+i].element_size in pm8001_alloc() 342 pm8001_ha->memoryMap.region[ib_offset+i].element_size in pm8001_alloc() 355 pm8001_ha->memoryMap.region[pi_offset+i].element_size = 4; in pm8001_alloc() 363 pm8001_ha->memoryMap.region[ob_offset+i].element_size in pm8001_alloc() 373 pm8001_ha->memoryMap.region[ob_offset+i].element_size in pm8001_alloc() 383 pm8001_ha->memoryMap.region[NVMD].element_size = 4096; in pm8001_alloc() 391 pm8001_ha->memoryMap.region[FORENSIC_MEM].element_size = 0x10000; in pm8001_alloc()
|
A D | pm8001_sas.h | 302 u32 element_size; member
|
/linux/lib/ |
A D | lru_cache.c | 125 lc->element_size = e_size; in lc_create() 138 memset(p, 0, lc->element_size); in lc_create() 216 memset(p, 0, lc->element_size); in lc_reset()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_ras.c | 1247 const unsigned int element_size = in amdgpu_ras_sysfs_badpages_read() local 1249 unsigned int start = div64_ul(ppos + element_size - 1, element_size); in amdgpu_ras_sysfs_badpages_read() 1250 unsigned int end = div64_ul(ppos + count - 1, element_size); in amdgpu_ras_sysfs_badpages_read() 1261 s += scnprintf(&buf[s], element_size + 1, in amdgpu_ras_sysfs_badpages_read() 1556 data->element_size); in amdgpu_ras_interrupt_handler() 1613 data->element_size); in amdgpu_ras_interrupt_dispatch() 1665 .element_size = sizeof(struct amdgpu_iv_entry), in amdgpu_ras_interrupt_add_handler() 1672 data->aligned_element_size = ALIGN(data->element_size, 8); in amdgpu_ras_interrupt_add_handler()
|
A D | amdgpu_ras.h | 397 unsigned int element_size; member
|
/linux/drivers/infiniband/hw/bnxt_re/ |
A D | qplib_res.h | 153 u16 element_size; /* Size of each entry */ member 328 return (void *)(hwq->pbl_ptr[pg_num] + hwq->element_size * pg_idx); in bnxt_qplib_get_qe()
|
A D | qplib_res.c | 175 hwq->element_size = 0; in bnxt_qplib_free_hwq() 355 hwq->element_size = stride; in bnxt_qplib_alloc_init_hwq()
|
/linux/include/linux/ |
A D | lru_cache.h | 175 size_t element_size; member
|
A D | efi.h | 739 size_t element_size);
|
/linux/arch/powerpc/include/asm/ |
A D | sstep.h | 124 u8 element_size; /* for VSX/VMX loads/stores */ member
|
/linux/tools/hv/ |
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()
|
Completed in 69 milliseconds