Searched refs:table_id (Results 1 - 17 of 17) sorted by relevance

/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/powerplay/smumgr/
H A Damdgpu_smu10_smumgr.c122 uint8_t *table, int16_t table_id)
128 PP_ASSERT_WITH_CODE(table_id < MAX_SMU_TABLE,
130 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0,
132 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0,
136 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr));
139 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr));
142 priv->smu_tables.entry[table_id].table_id);
147 memcpy(table, (uint8_t *)priv->smu_tables.entry[table_id].table,
148 priv->smu_tables.entry[table_id]
121 smu10_copy_table_from_smc(struct pp_hwmgr *hwmgr, uint8_t *table, int16_t table_id) argument
153 smu10_copy_table_to_smc(struct pp_hwmgr *hwmgr, uint8_t *table, int16_t table_id) argument
294 smu10_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool rw) argument
[all...]
H A Dsmu10_smumgr.h37 uint32_t table_id; member in struct:smu_table_entry
H A Damdgpu_vega10_smumgr.c44 uint8_t *table, int16_t table_id)
49 PP_ASSERT_WITH_CODE(table_id < MAX_SMU_TABLE,
51 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0,
53 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0,
57 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr));
60 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr));
63 priv->smu_tables.entry[table_id].table_id);
68 memcpy(table, priv->smu_tables.entry[table_id].table,
69 priv->smu_tables.entry[table_id]
43 vega10_copy_table_from_smc(struct pp_hwmgr *hwmgr, uint8_t *table, int16_t table_id) argument
74 vega10_copy_table_to_smc(struct pp_hwmgr *hwmgr, uint8_t *table, int16_t table_id) argument
363 vega10_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool rw) argument
[all...]
H A Dvega10_smumgr.h33 uint32_t table_id; member in struct:smu_table_entry
H A Damdgpu_vega12_smumgr.c43 * @param table_id the driver's table ID to copy from
46 uint8_t *table, int16_t table_id)
52 PP_ASSERT_WITH_CODE(table_id < TABLE_COUNT,
54 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0,
56 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0,
60 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr)) == 0,
64 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr)) == 0,
69 table_id) == 0,
76 memcpy(table, priv->smu_tables.entry[table_id].table,
77 priv->smu_tables.entry[table_id]
45 vega12_copy_table_from_smc(struct pp_hwmgr *hwmgr, uint8_t *table, int16_t table_id) argument
87 vega12_copy_table_to_smc(struct pp_hwmgr *hwmgr, uint8_t *table, int16_t table_id) argument
387 vega12_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool rw) argument
[all...]
H A Damdgpu_vega20_smumgr.c164 * @param table_id the driver's table ID to copy from
167 uint8_t *table, int16_t table_id)
174 PP_ASSERT_WITH_CODE(table_id < TABLE_COUNT,
176 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0,
178 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0,
183 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr))) == 0,
188 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr))) == 0,
192 PPSMC_MSG_TransferTableSmu2Dram, table_id)) == 0,
199 memcpy(table, priv->smu_tables.entry[table_id].table,
200 priv->smu_tables.entry[table_id]
166 vega20_copy_table_from_smc(struct pp_hwmgr *hwmgr, uint8_t *table, int16_t table_id) argument
210 vega20_copy_table_to_smc(struct pp_hwmgr *hwmgr, uint8_t *table, int16_t table_id) argument
600 vega20_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool rw) argument
[all...]
H A Damdgpu_smumgr.c218 int smum_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool rw) argument
221 return hwmgr->smumgr_funcs->smc_table_manager(hwmgr, table, table_id, rw);
/netbsd-current/sys/dev/sysmon/
H A Dsysmon_envsys_tables.c116 sme_find_table(enum sme_descr_type table_id) argument
118 switch (table_id) {
143 sme_find_table_entry(enum sme_descr_type table_id, int key) argument
145 const struct sme_descr_entry *table = sme_find_table(table_id);
156 sme_find_table_desc(enum sme_descr_type table_id, const char *str) argument
158 const struct sme_descr_entry *table = sme_find_table(table_id);
/netbsd-current/sys/dev/dm/
H A Ddm_table.c62 * of table_id table.
67 dm_table_busy(dm_table_head_t *head, uint8_t table_id) argument
73 if (table_id == DM_TABLE_ACTIVE)
105 dm_table_get_entry(dm_table_head_t *head, uint8_t table_id) argument
109 id = dm_table_busy(head, table_id);
117 dm_table_release(dm_table_head_t *head, uint8_t table_id) argument
147 dm_table_destroy(dm_table_head_t *head, uint8_t table_id) argument
155 aprint_debug("dm_Table_destroy called with %d--%d\n", table_id, head->io_cnt);
160 if (table_id == DM_TABLE_ACTIVE)
281 dm_table_get_target_count(dm_table_head_t *head, uint8_t table_id) argument
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/powerplay/inc/
H A Dsmumgr.h117 extern int smum_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool rw);
H A Damdgpu_smu.h172 #define SMU_TABLE_INIT(tables, table_id, s, a, d) \
174 tables[table_id].size = s; \
175 tables[table_id].align = a; \
176 tables[table_id].domain = d; \
269 * And the table_id for SMU_MSG_TransferTableSmu2Dram/
H A Dhwmgr.h233 int (*smc_table_manager)(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool rw); /*rw: true for read, false for write */
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/include/
H A Ddiscovery.h118 uint32_t table_id; /* table ID */ member in struct:gpu_info_header
/netbsd-current/sys/dev/pci/
H A Dtwe.c1064 twe_param_get_1(struct twe_softc *sc, int table_id, int param_id, argument
1070 rv = twe_param_get(sc, table_id, param_id, 1, NULL, &tp);
1079 twe_param_get_2(struct twe_softc *sc, int table_id, int param_id, argument
1085 rv = twe_param_get(sc, table_id, param_id, 2, NULL, &tp);
1094 twe_param_get_4(struct twe_softc *sc, int table_id, int param_id, argument
1100 rv = twe_param_get(sc, table_id, param_id, 4, NULL, &tp);
1119 twe_param_get(struct twe_softc *sc, int table_id, int param_id, size_t size, argument
1147 tp->tp_table_id = htole16(table_id);
1187 twe_param_set(struct twe_softc *sc, int table_id, int param_id, size_t size, argument
1210 tp->tp_table_id = htole16(table_id);
[all...]
H A Dtwareg.h508 uint16_t table_id; member in struct:twa_param_9k
H A Dtwa.c2304 * table_id -- parameter table #
2314 twa_get_param(struct twa_softc *sc, int table_id, int param_id, argument
2355 (*param)->table_id = table_id | TWA_9K_PARAM_DESCRIPTOR;
2390 * table_id -- parameter table #
2400 twa_set_param(struct twa_softc *sc, int table_id, int param_id, int param_size, argument
2436 param->table_id = table_id | TWA_9K_PARAM_DESCRIPTOR;
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/powerplay/
H A Damdgpu_smu.c531 int table_id = smu_table_get_index(smu, table_index); local
535 if (!table_data || table_id >= SMU_TABLE_COUNT || table_id < 0)
552 table_id | ((argument & 0xFFFF) << 16));

Completed in 325 milliseconds