Home
last modified time | relevance | path

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

1234

/openbsd-src/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-src/usr.bin/lex/
H A Dsym.c68 int table_size));
78 int table_size) in addsym()
80 int hash_val = hashfunct (sym, table_size);
145 int table_size)
153 table[hashfunct (sym, table_size)];
77 addsym(sym,str_def,int_def,table,table_size) addsym() argument
151 findsym(sym,table,table_size) findsym() argument
/openbsd-src/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-src/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.c121 unsigned int order = get_order(adev->gart.table_size); in amdgpu_gart_table_ram_alloc()
141 dma_addr = dma_map_page(&adev->pdev->dev, p, 0, adev->gart.table_size, in amdgpu_gart_table_ram_alloc()
162 sg->sgl->length = adev->gart.table_size; in amdgpu_gart_table_ram_alloc()
164 sg->sgl->dma_length = adev->gart.table_size; in amdgpu_gart_table_ram_alloc()
168 bp.size = adev->gart.table_size; in amdgpu_gart_table_ram_alloc()
228 unsigned int order = get_order(adev->gart.table_size); in amdgpu_gart_table_ram_free()
262 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.c186 uint32_t table_size; in jpeg_v4_0_3_start_sriov()
215 table_size = 0; in jpeg_v4_0_3_start_sriov()
227 header.mjpegdec0[j].table_size = table_size; in jpeg_v4_0_3_start_sriov()
231 header.mjpegdec1[j - 4].table_size = table_size; in jpeg_v4_0_3_start_sriov()
233 header.total_size += table_size; in jpeg_v4_0_3_start_sriov()
234 item_offset += table_size; in jpeg_v4_0_3_start_sriov()
185 uint32_t table_size; jpeg_v4_0_3_start_sriov() local
H A Damdgpu_gart.h48 unsigned table_size; member
/openbsd-src/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-src/sys/dev/pci/drm/i915/display/
H A Dintel_bios.c209 if (ptrs->panel_name.table_size) in lfp_data_min_size()
236 fp_timing_size = ptrs->ptr[0].fp_timing.table_size; in validate_lfp_data_ptrs()
237 dvo_timing_size = ptrs->ptr[0].dvo_timing.table_size; in validate_lfp_data_ptrs()
238 panel_pnp_id_size = ptrs->ptr[0].panel_pnp_id.table_size; in validate_lfp_data_ptrs()
239 panel_name_size = ptrs->panel_name.table_size; in validate_lfp_data_ptrs()
258 if (ptrs->ptr[i].fp_timing.table_size != fp_timing_size || in validate_lfp_data_ptrs()
259 ptrs->ptr[i].dvo_timing.table_size != dvo_timing_size || in validate_lfp_data_ptrs()
260 ptrs->ptr[i].panel_pnp_id.table_size != panel_pnp_id_size) in validate_lfp_data_ptrs()
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
[all …]
/openbsd-src/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-src/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
125 table_size = sizeof(uint8_t) + ptable->numEntries * sizeof(ATOM_PPLIB_VCE_Clock_Voltage_Limit_Record); in get_vce_clock_voltage_limit_table_size()
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
[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-src/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-src/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-src/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-src/gnu/gcc/libstdc++-v3/src/
H A Dctype.cc78 const size_t ctype<char>::table_size; member in ctype<char>
/openbsd-src/sys/dev/pci/drm/amd/pm/swsmu/inc/
H A Dsmu_v11_0_pptable.h140 …uint16_t table_size; //Driver portion table size. The offset to smc_pptab… member
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_7_pptable.h176 …uint16_t table_size; //Driver portion table size. The offset to smc_pptab… member
/openbsd-src/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;

1234