Home
last modified time | relevance | path

Searched refs:table_size (Results 1 – 25 of 82) sorted by relevance

1234

/openbsd/lib/libcurses/tinfo/
H A Dcomp_hash.c69 && (unsigned) hashvalue < data->table_size in NCURSES_EXPORT()
80 + data->table_data[data->table_size]); in NCURSES_EXPORT()
104 && (unsigned) hashvalue < data->table_size in _nc_find_type_entry()
116 ptr = table + (ptr->nte_link + data->table_data[data->table_size]); in _nc_find_type_entry()
136 && (unsigned) hashvalue < data->table_size in _nc_find_user_entry()
147 + data->table_data[data->table_size]); in _nc_find_user_entry()
/openbsd/usr.bin/lex/
H A Dsym.c68 int table_size));
77 static int addsym (sym, str_def, int_def, table, table_size) in addsym() argument
82 int table_size;
84 int hash_val = hashfunct (sym, table_size);
151 static struct hash_entry *findsym (sym, table, table_size) in findsym() argument
154 int table_size;
162 table[hashfunct (sym, table_size)];
/openbsd/sys/dev/pci/drm/radeon/
H A Dradeon_gart.c78 ptr = dma_alloc_coherent(&rdev->pdev->dev, rdev->gart.table_size, in radeon_gart_table_ram_alloc()
87 rdev->gart.table_size >> PAGE_SHIFT); in radeon_gart_table_ram_alloc()
105 dmah = drm_dmamem_alloc(rdev->dmat, rdev->gart.table_size, in radeon_gart_table_ram_alloc()
106 rdev->gart.table_size, 1, rdev->gart.table_size, flags, 0); in radeon_gart_table_ram_alloc()
113 memset((void *)rdev->gart.ptr, 0, rdev->gart.table_size); in radeon_gart_table_ram_alloc()
137 rdev->gart.table_size >> PAGE_SHIFT); in radeon_gart_table_ram_free()
140 dma_free_coherent(&rdev->pdev->dev, rdev->gart.table_size, in radeon_gart_table_ram_free()
155 rdev->gart.table_size >> PAGE_SHIFT); in radeon_gart_table_ram_free()
179 r = radeon_bo_create(rdev, rdev->gart.table_size, in radeon_gart_table_vram_alloc()
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Dmmsch_v3_0.h46 uint32_t table_size; member
100 table_size += size_dw; \
110 table_size += size_dw; \
121 table_size += size_dw; \
129 table_size += size_dw; \
H A Dmmsch_v4_0.h59 uint32_t table_size; member
114 table_size += size_dw; \
124 table_size += size_dw; \
135 table_size += size_dw; \
143 table_size += size_dw; \
H A Dmmsch_v1_0.h51 uint32_t table_size; member
135 table_size += sizeof(struct mmsch_v1_0_cmd_direct_read_modify_write)/4; \
143 table_size += sizeof(struct mmsch_v1_0_cmd_direct_write)/4; \
151 table_size += sizeof(struct mmsch_v1_0_cmd_direct_polling)/4; \
H A Damdgpu_gart.c120 unsigned int order = get_order(adev->gart.table_size); in amdgpu_gart_table_ram_alloc()
140 dma_addr = dma_map_page(&adev->pdev->dev, p, 0, adev->gart.table_size, in amdgpu_gart_table_ram_alloc()
161 sg->sgl->length = adev->gart.table_size; in amdgpu_gart_table_ram_alloc()
163 sg->sgl->dma_length = adev->gart.table_size; in amdgpu_gart_table_ram_alloc()
167 bp.size = adev->gart.table_size; in amdgpu_gart_table_ram_alloc()
227 unsigned int order = get_order(adev->gart.table_size); in amdgpu_gart_table_ram_free()
261 return amdgpu_bo_create_kernel(adev, adev->gart.table_size, PAGE_SIZE, in amdgpu_gart_table_vram_alloc()
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 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 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
/openbsd/usr.bin/less/
H A Dposition.c26 static int table_size; variable
107 if (sc_height <= table_size) in pos_init()
120 table_size = sc_height; in pos_init()
/openbsd/sys/dev/pci/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 …]
/openbsd/sys/dev/pci/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()
/openbsd/sys/dev/pci/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 …]
H A Dprocess_pptables_v1_0.c573 uint32_t table_size; in get_cac_tdp_table() local
576 table_size = sizeof(uint32_t) + sizeof(struct phm_cac_tdp_table); in get_cac_tdp_table()
577 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
582 hwmgr->dyn_state.cac_dtp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
759 uint32_t table_size; in get_gpio_table() local
764 table_size = sizeof(struct phm_ppt_v1_gpio_table); in get_gpio_table()
765 pp_gpio_table = kzalloc(table_size, GFP_KERNEL); in get_gpio_table()
/openbsd/sys/dev/pci/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()
/openbsd/sys/dev/i2c/
H A Diatp.c167 size_t table_size; member
488 sc->table_size = sc->info.id.num_objects * sizeof(struct mxt_object); in iatp_init()
489 sc->table = malloc(sc->table_size, M_DEVBUF, M_NOWAIT | M_ZERO); in iatp_init()
492 if (iatp_read_reg(sc, sizeof(struct mxt_id_info), sc->table_size, in iatp_init()
495 sc->sc_dev.dv_xname, sc->table_size); in iatp_init()
/openbsd/gnu/usr.bin/perl/regen/
H A Dmk_invlists.pl1403 my $table_size = @gcb_short_enums;
1407 for my $i (0 .. $table_size - 1) {
1408 for my $j (0 .. $table_size - 1) {
1549 my $table_size = @lb_short_enums;
1552 for my $i (0 .. $table_size - 1) {
1553 for my $j (0 .. $table_size - 1) {
2157 my $table_size = @wb_short_enums;
2161 for my $i (0 .. $table_size - 1) {
2162 for my $j (0 .. $table_size - 1) {
/openbsd/gnu/gcc/libstdc++-v3/src/
H A Dctype.cc78 const size_t ctype<char>::table_size; member in ctype<char>
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/inc/
H A Dsmu_v13_0_pptable.h142 …uint16_t table_size; //Driver portion table size. The offset to smc_pptab… member
H A Dsmu_v11_0_pptable.h140 …uint16_t table_size; //Driver portion table size. The offset to smc_pptab… member
/openbsd/gnu/llvm/libcxx/include/__random/
H A Dshuffle_order_engine.h68 static _LIBCPP_CONSTEXPR const size_t table_size = __k;
215 _LIBCPP_CONSTEXPR const size_t shuffle_order_engine<_Engine, __k>::table_size;
/openbsd/gnu/lib/libstdc++/libstdc++/src/
H A Dctype.cc78 const size_t ctype<char>::table_size; member in std::ctype<char>

1234