Home
last modified time | relevance | path

Searched refs:table_size (Results 26 – 50 of 176) sorted by relevance

12345678

/openbmc/qemu/tests/image-fuzzer/qcow2/
H A Dlayout.py364 table_size = int(ceil((max(blocks) + 1) / float(size)))
366 table_start = self._get_adjacent_clusters(data, table_size + 1)
368 table_clusters = set(range(table_start, table_start + table_size))
372 table_size + 1))
388 if int(ceil((max(blocks) + 1) / float(size))) > table_size:
389 new_block_id = (table_start + table_size) // block_size
394 table_clusters.add(table_start + table_size)
395 table_size += 1
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Degress_ofld.c188 int table_size = 0; in esw_acl_egress_ofld_setup() local
201 table_size++; in esw_acl_egress_ofld_setup()
203 table_size++; in esw_acl_egress_ofld_setup()
205 MLX5_FLOW_NAMESPACE_ESW_EGRESS, table_size); in esw_acl_egress_ofld_setup()
H A Degress_lgcy.c79 int table_size = 2; in esw_acl_egress_lgcy_setup() local
107 table_size); in esw_acl_egress_lgcy_setup()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dlegacy.c81 int table_size; in esw_create_legacy_fdb_table() local
108 table_size = fdb->max_fte; in esw_create_legacy_fdb_table()
117 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, table_size - 3); in esw_create_legacy_fdb_table()
130 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, table_size - 2); in esw_create_legacy_fdb_table()
131 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, table_size - 2); in esw_create_legacy_fdb_table()
149 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, table_size - 1); in esw_create_legacy_fdb_table()
150 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, table_size - 1); in esw_create_legacy_fdb_table()
/openbmc/linux/drivers/pci/controller/
H A Dpcie-mediatek-gen3.c251 resource_size_t table_size; in mtk_pcie_set_trans_table() local
259 table_size = BIT(fls(remaining) - 1); in mtk_pcie_set_trans_table()
263 table_size = min(table_size, addr_align); in mtk_pcie_set_trans_table()
267 if (table_size < 0x1000) { in mtk_pcie_set_trans_table()
269 (unsigned long long)table_size); in mtk_pcie_set_trans_table()
274 writel_relaxed(lower_32_bits(cpu_addr) | PCIE_ATR_SIZE(fls(table_size) - 1), table); in mtk_pcie_set_trans_table()
291 (unsigned long long)pci_addr, (unsigned long long)table_size); in mtk_pcie_set_trans_table()
293 cpu_addr += table_size; in mtk_pcie_set_trans_table()
294 pci_addr += table_size; in mtk_pcie_set_trans_table()
295 remaining -= table_size; in mtk_pcie_set_trans_table()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_bios.c209 if (ptrs->panel_name.table_size) in lfp_data_min_size()
329 if (ptrs->panel_name.table_size) { in fixup_lfp_data_ptrs()
340 int table_size, int total_size) in make_lfp_data_ptr() argument
342 if (total_size < table_size) in make_lfp_data_ptr()
345 table->table_size = table_size; in make_lfp_data_ptr()
348 return total_size - table_size; in make_lfp_data_ptr()
355 next->table_size = prev->table_size; in next_lfp_data_ptr()
405 table_size = fp_timing_size; in generate_lfp_data_ptrs()
431 ptrs->panel_name.table_size = table_size; in generate_lfp_data_ptrs()
443 if (ptrs->panel_name.table_size) in generate_lfp_data_ptrs()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dmmsch_v2_0.h319 table_size += sizeof(struct mmsch_v2_0_cmd_direct_read_modify_write)/4; \
327 table_size += sizeof(struct mmsch_v2_0_cmd_direct_write)/4; \
335 table_size += sizeof(struct mmsch_v2_0_cmd_direct_polling)/4; \
H A Damdgpu_rlc.c195 u32 table_offset, table_size; in amdgpu_gfx_rlc_setup_cp_table() local
209 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
217 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
225 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
233 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
241 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
244 for (i = 0; i < table_size; i ++) { in amdgpu_gfx_rlc_setup_cp_table()
249 bo_offset += table_size; in amdgpu_gfx_rlc_setup_cp_table()
H A Djpeg_v4_0.c420 uint32_t table_size; in jpeg_v4_0_start_sriov() local
439 header.jpegdec.table_size = 0; in jpeg_v4_0_start_sriov()
444 table_size = 0; in jpeg_v4_0_start_sriov()
463 header.jpegdec.table_size = table_size; in jpeg_v4_0_start_sriov()
464 header.total_size += table_size; in jpeg_v4_0_start_sriov()
H A Djpeg_v4_0_3.c185 uint32_t table_size; in jpeg_v4_0_3_start_sriov() local
214 table_size = 0; in jpeg_v4_0_3_start_sriov()
226 header.mjpegdec0[j].table_size = table_size; in jpeg_v4_0_3_start_sriov()
230 header.mjpegdec1[j - 4].table_size = table_size; in jpeg_v4_0_3_start_sriov()
232 header.total_size += table_size; in jpeg_v4_0_3_start_sriov()
233 item_offset += table_size; in jpeg_v4_0_3_start_sriov()
H A Damdgpu_gart.h48 unsigned table_size; member
/openbmc/linux/drivers/iio/health/
H A Dafe440x.h139 unsigned int table_size; member
152 .table_size = ARRAY_SIZE(_table), \
/openbmc/pldm/pldmtool/
H A Dpldm_fru_cmd.cpp88 explicit FRUTablePrint(const uint8_t* table, size_t table_size) : in FRUTablePrint() argument
89 table(table), table_size(table_size) in FRUTablePrint()
200 size_t table_size; member in pldmtool::fru::FRUTablePrint
205 return (table_size - offset) <= 7; in isTableEnd()
/openbmc/linux/sound/soc/codecs/
H A Dpeb2466.c1192 u32 table_size; in peb2466_fw_parse_axtable() local
1221 table_size = lng - 13; in peb2466_fw_parse_axtable()
1226 if (init_index >= (table_size / 4)) { in peb2466_fw_parse_axtable()
1228 init_index, table_size / 4); in peb2466_fw_parse_axtable()
1241 memcpy(table, data + 13, table_size); in peb2466_fw_parse_axtable()
1251 lookup->count = table_size / 4; in peb2466_fw_parse_axtable()
1296 u32 table_size; in peb2466_fw_parse_artable() local
1325 table_size = lng - 13; in peb2466_fw_parse_artable()
1330 if (init_index >= (table_size / 4)) { in peb2466_fw_parse_artable()
1332 init_index, table_size / 4); in peb2466_fw_parse_artable()
[all …]
/openbmc/qemu/docs/interop/
H A Dqed_spec.txt20 uint32_t table_size; /* for L1 and L2 tables, in clusters */
37 * ''table_size'' must be a power of 2 in range [1, 16].
60 #define TABLE_NOFFSETS (table_size * cluster_size / sizeof(uint64_t))
80 …uous clusters. The table_size header field determines table size for an image file. For example,…
136 # Table offsets must at least ''table_size'' * ''cluster_size'' bytes from the end of the image fil…
/openbmc/qemu/hw/pci/
H A Dmsix.c319 unsigned table_size, pba_size; in msix_init() local
333 table_size = nentries * PCI_MSIX_ENTRY_SIZE; in msix_init()
338 ranges_overlap(table_offset, table_size, pba_offset, pba_size)) || in msix_init()
339 table_offset + table_size > memory_region_size(table_bar) || in msix_init()
368 dev->msix_table = g_malloc0(table_size); in msix_init()
375 "msix-table", table_size); in msix_init()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/
H A Dsmu_cmn.c871 uint32_t table_size; in smu_cmn_update_table() local
876 table_size = smu_table->tables[table_index].size; in smu_cmn_update_table()
879 memcpy(table->cpu_addr, table_data, table_size); in smu_cmn_update_table()
897 memcpy(table_data, table->cpu_addr, table_size); in smu_cmn_update_table()
933 uint32_t table_size = in smu_cmn_get_metrics_table() local
953 memcpy(metrics_table, smu_table->metrics_table, table_size); in smu_cmn_get_metrics_table()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_mcg.c318 int table_size = dev->limits.num_mgms + dev->limits.num_amgms; in mthca_init_mcg_table() local
321 table_size, in mthca_init_mcg_table()
322 table_size - 1, in mthca_init_mcg_table()
/openbmc/linux/drivers/power/supply/
H A Dmax17042_battery.c589 int table_size = ARRAY_SIZE(chip->pdata->config_data->cell_char_tbl); in max17042_init_model() local
592 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_init_model()
598 table_size); in max17042_init_model()
600 table_size); in max17042_init_model()
606 table_size); in max17042_init_model()
617 int table_size = ARRAY_SIZE(chip->pdata->config_data->cell_char_tbl); in max17042_verify_model_lock() local
621 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_verify_model_lock()
626 table_size); in max17042_verify_model_lock()
627 for (i = 0; i < table_size; i++) in max17042_verify_model_lock()
/openbmc/linux/include/linux/platform_data/
H A Dbrcmfmac.h127 int table_size; member
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dprocesspptables.c91 uint16_t table_size = 0; in get_vce_clock_info_array_size() local
96 table_size = sizeof(uint8_t) + p->ucNumEntries * sizeof(VCEClockInfo); in get_vce_clock_info_array_size()
99 return table_size; in get_vce_clock_info_array_size()
119 uint16_t table_size = 0; in get_vce_clock_voltage_limit_table_size() local
127 return table_size; in get_vce_clock_voltage_limit_table_size()
190 uint16_t table_size = 0; in get_uvd_clock_info_array_size() local
196 table_size = sizeof(UCHAR) + in get_uvd_clock_info_array_size()
200 return table_size; in get_uvd_clock_info_array_size()
317 unsigned long table_size; in get_cac_tdp_table() local
320 table_size = sizeof(unsigned long) + sizeof(struct phm_cac_tdp_table); in get_cac_tdp_table()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dsc/
H A Drc_calc_fpu.c39table_size = sizeof(qp_table_##mode##_##bpc##bpc_##max)/sizeof(*qp_table_##mode##_##bpc##bpc_##max…
69 int table_size = 0; in get_qp_set() local
102 if (index >= table_size) { in get_qp_set()
/openbmc/linux/drivers/infiniband/core/
H A Duverbs_std_types.c84 u32 table_size = (1 << rwq_ind_tbl->log_ind_tbl_size); in uverbs_free_rwq_ind_tbl() local
94 for (i = 0; i < table_size; i++) in uverbs_free_rwq_ind_tbl()
/openbmc/qemu/block/
H A Dqed-check.c119 s->header.table_size); in qed_check_l1_table()
143 if (!qed_set_used_clusters(check, offset, s->header.table_size)) { in qed_check_l1_table()
H A Dqed.h90 uint32_t table_size; /* for L1 and L2 tables, in clusters */ member
288 uint64_t end_offset = offset + (s->header.table_size - 1) * in qed_check_table_offset()

12345678