HomeSort by: relevance | last modified time | path
    Searched refs:table (Results 1 - 25 of 512) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/distrib/utils/more/
position.c 43 * Routines dealing with the "position" table.
44 * This is a table which tells the position (in the input file) of the
47 * {{ The position table is scrolled by moving all the entries.
48 * Would be better to have a circular table
58 static off_t *table; /* The position table */ variable in typeref:typename:off_t *
85 return (table[where]);
89 * Add a new file position to the bottom of the position table.
98 * Scroll the position table up.
101 table[i-1] = table[i]
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/powerplay/
renoir_ppt.h 35 #define GET_DPM_CUR_FREQ(table, clk_type, dpm_level, freq) \
39 freq = table->SocClocks[dpm_level].Freq; \
42 freq = table->MemClocks[dpm_level].Freq; \
45 freq = table->DcfClocks[dpm_level].Freq; \
48 freq = table->FClocks[dpm_level].Freq; \
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
intel_mocs.c 46 const struct drm_i915_mocs_entry *table; member in struct:drm_i915_mocs_table
124 * entries will remain constant and the table will only be updated by
289 struct drm_i915_mocs_table *table)
292 table->size = ARRAY_SIZE(tgl_mocs_table);
293 table->table = tgl_mocs_table;
294 table->n_entries = GEN11_NUM_MOCS_ENTRIES;
296 table->size = ARRAY_SIZE(icl_mocs_table);
297 table->table = icl_mocs_table
418 struct drm_i915_mocs_table table; local in function:intel_mocs_init_engine
441 struct drm_i915_mocs_table table; local in function:init_global_mocs
    [all...]
  /src/sys/dev/sysmon/
sysmon_envsys_tables.c 140 * Returns the entry from specified table with type == key
145 const struct sme_descr_entry *table = sme_find_table(table_id); local in function:sme_find_table_entry
147 if (table != NULL)
148 for (; table->type != -1; table++)
149 if (table->type == key)
150 return table;
158 const struct sme_descr_entry *table = sme_find_table(table_id); local in function:sme_find_table_desc
160 if (table != NULL)
161 for (; table->type != -1; table++
    [all...]
  /src/tests/lib/libc/stdlib/
t_abs.c 50 } table[] = { local in function:ATF_TC_BODY
59 for (size_t i = 0; i < __arraycount(table); i++)
60 ATF_CHECK(abs(table[i].val) == table[i].res);
74 } table[] = { local in function:ATF_TC_BODY
86 for (size_t i = 0; i < __arraycount(table); i++)
87 ATF_CHECK(imaxabs(table[i].val) == table[i].res);
101 } table[] = { local in function:ATF_TC_BODY
112 for (size_t i = 0; i < __arraycount(table); i++
127 } table[] = { local in function:ATF_TC_BODY
    [all...]
  /src/lib/libc/stdlib/
hcreate.c 35 * SysV/XPG4 hash table functions.
91 _DIAGASSERT(htable.table == NULL);
93 /* Make sure this isn't called when a table already exists. */
94 if (htable.table != NULL) {
104 struct internal_head *table; local in function:hcreate_r
124 /* Allocate the table. */
127 table = NULL;
128 errno = reallocarr(&table, nel, sizeof(*table));
131 head->table = (void *)table
160 struct internal_head *table; local in function:hdestroy1_r
201 struct internal_head *table, *chain; local in function:hsearch_r
    [all...]
  /src/sys/lib/libkern/
scanc.c 38 scanc(u_int size, const u_char *cp, const u_char table[], int mask)
42 while (cp < end && (table[*cp] & mask) == 0)
  /src/sys/external/bsd/drm2/dist/drm/amd/powerplay/smumgr/
vega20_smumgr.h 35 void *table; member in struct:smu_table_entry
57 uint8_t *table, uint16_t workload_type);
59 uint8_t *table, uint16_t workload_type);
amdgpu_vegam_smumgr.c 453 SMU75_Discrete_DpmTable *table)
463 table->SmioTable2.Pattern[level].Voltage = PP_HOST_TO_SMC_US(
466 table->SmioTable2.Pattern[level].Smio =
468 table->Smio[level] |=
471 table->SmioMask2 = data->mvdd_voltage_table.mask_low;
473 table->MvddLevelCount = (uint32_t) PP_HOST_TO_SMC_UL(count);
480 struct SMU75_Discrete_DpmTable *table)
491 table->SmioTable1.Pattern[level].Voltage = PP_HOST_TO_SMC_US(
493 table->SmioTable1.Pattern[level].Smio = (uint8_t) level;
495 table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low
725 const SMU75_Discrete_DpmTable *table = &(smu_data->smc_state_table); local in function:vegam_calculate_sclk_params
1445 SMU75_Discrete_DpmTable *table = &(smu_data->smc_state_table); local in function:vegam_populate_bapm_parameters_in_dpm_table
1569 SMU75_Discrete_DpmTable *table = &(smu_data->smc_state_table); local in function:vegam_populate_avfs_parameters
1927 struct SMU75_Discrete_DpmTable *table = &(smu_data->smc_state_table); local in function:vegam_init_smc_table
    [all...]
amdgpu_iceland_smumgr.c 402 "The CAC Leakage table does not exist!", return -EINVAL);
517 /* clock - voltage dependency table is empty table */
529 /* sclk is bigger than max sclk in the dependence table */
544 /* SCLK/VDDC Dependency Table has to exist. */
546 "The SCLK/VDDC Dependency Table does not exist.",
550 pr_warn("CAC Leakage Table does not exist, using vddc.\n");
555 * Since voltage in the sclk/vddc dependency table is not
566 pr_warn("Index from SCLK/VDDC Dependency Table exceeds the CAC Leakage Table index, using maximum index from CAC table.\n")
1939 SMU71_Discrete_DpmTable *table = &(smu_data->smc_state_table); local in function:iceland_init_smc_table
2611 pp_atomctrl_mc_reg_table *table; local in function:iceland_initialize_mc_reg_table
    [all...]
amdgpu_fiji_smumgr.c 240 "communicate starting address of DPM table",
260 "[AVFS][Fiji_SetupGfxLvlStruct] Copying of DPM table failed!",
273 " table over to SMU",
369 /* clock - voltage dependency table is empty table */
403 /* sclk is bigger than max sclk in the dependence table */
762 struct SMU73_Discrete_DpmTable *table)
773 * We are populating vddc CAC data to BapmVddc table
780 table->BapmVddcVidLoSidd[count] =
782 table->BapmVddcVidHiSidd[count]
1932 struct SMU73_Discrete_DpmTable *table = &(smu_data->smc_state_table); local in function:fiji_init_smc_table
    [all...]
amdgpu_ci_smumgr.c 425 pr_err("vdd_dep_on_sclk table is NULL\n");
589 "The CAC Leakage table does not exist!", return -EINVAL);
777 "The SCLK/VDDC Dependency Table does not exist.\n",
781 pr_warn("CAC Leakage Table does not exist, using vddc.\n");
792 pr_warn("Index from SCLK/VDDC Dependency Table exceeds the CAC Leakage Table index, using maximum index from CAC table.\n");
808 pr_warn("Index from SCLK/VDDC Dependency Table exceeds the CAC Leakage Table index in second look up, using maximum index from CAC table.")
1950 SMU7_Discrete_DpmTable *table = &(smu_data->smc_state_table); local in function:ci_init_smc_table
2682 pp_atomctrl_mc_reg_table *table; local in function:ci_initialize_mc_reg_table
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/virtio/
virtgpu_prime.c 40 struct sg_table *table)
  /src/sys/arch/luna68k/dev/
psgpam_enc.c 85 #define BULK(table) *d++ = table[v]
87 #define W8(table) *d++ = table[v]
89 #define W16(table) do { \
90 uint16_t t = (uint16_t)table[v]; \
94 #define W32(table) do { \
95 uint32_t t = (uint32_t)table[v]; \
102 #define SPLIT3(table) do { \
103 uint16_t t = (uint16_t)table[v];
    [all...]
  /src/sys/arch/ia64/acpi/
madt.c 124 ACPI_TABLE_MADT *table; local in function:ia64_probe_sapics
141 table = (ACPI_TABLE_MADT *)
145 printf("Table '%c%c%c%c' at %p\n",
146 table->Header.Signature[0],
147 table->Header.Signature[1],
148 table->Header.Signature[2],
149 table->Header.Signature[3], table);
151 if (strncmp(table->Header.Signature, ACPI_SIG_MADT,
153 ACPI_FAILURE(AcpiUtChecksum((void *)table,
224 ACPI_TABLE_MADT *table; local in function:ia64_count_cpus
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/
drm_hashtab.c 55 ht->table = NULL;
56 if (size <= PAGE_SIZE / sizeof(*ht->table))
57 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL);
59 ht->table = vzalloc(array_size(size, sizeof(*ht->table)));
60 if (!ht->table) {
61 DRM_ERROR("Out of memory for hash table\n");
77 h_list = &ht->table[hashed_key];
90 h_list = &ht->table[hashed_key]
    [all...]
  /src/usr.sbin/tadpolectl/
tadpolectl.c 84 #define TABLE(n) { __STRING(n), 0, n }
90 } table[NUM_MIBS] = { variable in typeref:struct:__anon6fe6b3a80108[]
91 TABLE(hw_microcontroller_version),
92 TABLE(hw_version),
93 TABLE(hw_poweroncycles),
94 TABLE(hw_poweronseconds),
95 TABLE(hw_power_mains),
96 TABLE(hw_power_battery_int),
97 TABLE(hw_power_battery_ext),
98 TABLE(hw_power_battery_chargedisabled)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_rv730_dpm.c 234 RV770_SMC_STATETABLE *table)
246 table->ACPIState = table->initialState;
247 table->ACPIState.flags &= ~PPSMC_SWSTATE_FLAG_DC;
251 &table->ACPIState.levels[0].vddc);
252 table->ACPIState.levels[0].gen2PCIE = pi->pcie_gen2 ?
254 table->ACPIState.levels[0].gen2XSP =
258 &table->ACPIState.levels[0].vddc);
259 table->ACPIState.levels[0].gen2PCIE = 0;
301 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl)
    [all...]
  /src/usr.bin/xlint/lint2/
hash.c 75 * Look for a hash table entry. If no hash table entry for the
79 hash_search(hte_t **table, const char *s, bool mknew)
84 if (table == NULL)
85 table = htab;
88 for (hte = table[h]; hte != NULL; hte = hte->h_link) {
108 hte->h_link = table[h];
110 table[h] = hte;
148 * Call the action for each name in the hash table.
155 hte_t **table = htab local in function:symtab_forall
170 hte_t **table = htab; local in function:symtab_forall_sorted
    [all...]
  /src/usr.sbin/ypserv/revnetgroup/
hash.c 110 * We mask off all but the lower 8 bits since our table array
122 /* Find an entry in the hash table (may be hanging off a linked list). */
124 lookup(struct group_entry **table, const char *key)
128 cur = table[hashkey(key)];
140 * Store an entry in the main netgroup hash table. Here's how this
141 * works: the table can only be so big when we initialize it (TABLESIZE)
143 * much larger than the table. Since our hash values are adjusted to
147 * One way to deal with this is to malloc(2) a second table and start
150 * we turn each table entry into a linked list and simply link keys
152 * the table
    [all...]
  /src/sys/dev/acpi/
acpi_slit.c 46 ACPI_TABLE_HEADER *table; local in function:acpislit_exist
49 rv = AcpiGetTable(ACPI_SIG_SLIT, 1, (ACPI_TABLE_HEADER **)&table);
54 if (table == NULL)
57 if (table->Length == 0xffffffff)
60 slit = (ACPI_TABLE_SLIT *)table;
  /src/games/backgammon/common_source/
odds.c 51 table[i][j] = 0;
57 table[i][r1] += val;
58 table[r1][i] += val;
61 table[r2][r1] += val;
62 table[r1][r2] += val;
77 total += table[i][j];
  /src/bin/ksh/
table.h 1 /* $NetBSD: table.h,v 1.4 2018/06/03 12:18:29 kamil Exp $ */
4 * generic hashed associative table for commands and variables.
7 struct table { struct
10 struct tbl **tbls; /* hashed table items */
13 struct tbl { /* table item */
114 struct table vars; /* local variables */
115 struct table funs; /* local functions */
138 EXTERN struct table taliases; /* tracked aliases */
139 EXTERN struct table builtins; /* built-in commands */
140 EXTERN struct table aliases; /* aliases *
    [all...]
  /src/sys/arch/ia64/ia64/
mainbus.c 72 ACPI_TABLE_MADT *table; local in function:mainbus_attach
94 table = (ACPI_TABLE_MADT *)
97 sig = table->Header.Signature;
100 len = table->Header.Length;
101 if (ACPI_FAILURE(AcpiUtChecksum((void *)table, len)))
104 end = (char *)table + table->Header.Length;
105 p = (char *)(table + 1);
  /src/sys/netcan/
can_pcb.c 56 #define CANPCBHASH_BIND(table, ifindex) \
57 &(table)->canpt_bindhashtbl[ \
58 (ifindex) & (table)->canpt_bindhash]
59 #define CANPCBHASH_CONNECT(table, ifindex) \
60 &(table)->canpt_connecthashtbl[ \
61 (ifindex) & (table)->canpt_bindhash]
66 can_pcbinit(struct canpcbtable *table, int bindhashsize, int connecthashsize)
76 TAILQ_INIT(&table->canpt_queue);
77 table->canpt_bindhashtbl = hashinit(bindhashsize, HASH_LIST, true,
78 &table->canpt_bindhash)
86 struct canpcbtable *table = v; local in function:can_pcballoc
    [all...]

Completed in 101 milliseconds

1 2 3 4 5 6 7 8 91011>>