Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/drivers/infiniband/core/
Dcache.c49 u16 table[0]; member
172 struct ib_gid_table *table, int ix, in write_gid() argument
177 __releases(&table->rwlock) __acquires(&table->rwlock) in write_gid()
188 table->data_vec[ix].props |= GID_TABLE_ENTRY_INVALID; in write_gid()
189 write_unlock_irq(&table->rwlock); in write_gid()
195 &table->data_vec[ix].context); in write_gid()
198 &table->data_vec[ix].context); in write_gid()
199 write_lock_irq(&table->rwlock); in write_gid()
202 old_net_dev = table->data_vec[ix].attr.ndev; in write_gid()
203 old_gid_type = table->data_vec[ix].attr.gid_type; in write_gid()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Drl.c44 static struct mlx5_rl_entry *find_rl_entry(struct mlx5_rl_table *table, in find_rl_entry() argument
51 for (i = 0; i < table->max_size; i++) { in find_rl_entry()
52 if (table->rl_entry[i].rate == rate) in find_rl_entry()
53 return &table->rl_entry[i]; in find_rl_entry()
54 if (!empty_found && !table->rl_entry[i].rate) { in find_rl_entry()
56 ret_entry = &table->rl_entry[i]; in find_rl_entry()
78 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_is_in_range() local
80 return (rate <= table->max_rate && rate >= table->min_rate); in mlx5_rl_is_in_range()
86 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_add_rate() local
90 mutex_lock(&table->rl_lock); in mlx5_rl_add_rate()
[all …]
/drivers/infiniband/hw/hns/
Dhns_roce_hem.c129 struct hns_roce_hem_table *table, unsigned long obj) in hns_roce_set_hem() argument
144 unsigned long i = (obj & (table->num_obj - 1)) / in hns_roce_set_hem()
145 (HNS_ROCE_TABLE_CHUNK_SIZE / table->obj_size); in hns_roce_set_hem()
147 switch (table->type) { in hns_roce_set_hem()
175 for (hns_roce_hem_first(table->hem[i], &iter); in hns_roce_set_hem()
213 struct hns_roce_hem_table *table, unsigned long obj) in hns_roce_table_get() argument
219 i = (obj & (table->num_obj - 1)) / (HNS_ROCE_TABLE_CHUNK_SIZE / in hns_roce_table_get()
220 table->obj_size); in hns_roce_table_get()
222 mutex_lock(&table->mutex); in hns_roce_table_get()
224 if (table->hem[i]) { in hns_roce_table_get()
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Dicm.c254 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj, in mlx4_table_get() argument
257 u32 i = (obj & (table->num_obj - 1)) / in mlx4_table_get()
258 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get()
261 mutex_lock(&table->mutex); in mlx4_table_get()
263 if (table->icm[i]) { in mlx4_table_get()
264 ++table->icm[i]->refcount; in mlx4_table_get()
268 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mlx4_table_get()
269 (table->lowmem ? gfp : GFP_HIGHUSER) | in mlx4_table_get()
270 __GFP_NOWARN, table->coherent); in mlx4_table_get()
271 if (!table->icm[i]) { in mlx4_table_get()
[all …]
Dport.c57 void mlx4_init_mac_table(struct mlx4_dev *dev, struct mlx4_mac_table *table) in mlx4_init_mac_table() argument
61 mutex_init(&table->mutex); in mlx4_init_mac_table()
63 table->entries[i] = 0; in mlx4_init_mac_table()
64 table->refs[i] = 0; in mlx4_init_mac_table()
65 table->is_dup[i] = false; in mlx4_init_mac_table()
67 table->max = 1 << dev->caps.log_num_macs; in mlx4_init_mac_table()
68 table->total = 0; in mlx4_init_mac_table()
71 void mlx4_init_vlan_table(struct mlx4_dev *dev, struct mlx4_vlan_table *table) in mlx4_init_vlan_table() argument
75 mutex_init(&table->mutex); in mlx4_init_vlan_table()
77 table->entries[i] = 0; in mlx4_init_vlan_table()
[all …]
/drivers/gpu/drm/i915/
Dintel_mocs.c35 const struct drm_i915_mocs_entry *table; member
177 struct drm_i915_mocs_table *table) in get_mocs_settings() argument
182 table->size = ARRAY_SIZE(skylake_mocs_table); in get_mocs_settings()
183 table->table = skylake_mocs_table; in get_mocs_settings()
186 table->size = ARRAY_SIZE(broxton_mocs_table); in get_mocs_settings()
187 table->table = broxton_mocs_table; in get_mocs_settings()
198 for (i = 0; i < table->size; i++) in get_mocs_settings()
199 if (WARN_ON(table->table[i].l3cc_value & in get_mocs_settings()
238 struct drm_i915_mocs_table table; in intel_mocs_init_engine() local
241 if (!get_mocs_settings(dev_priv, &table)) in intel_mocs_init_engine()
[all …]
/drivers/media/i2c/
Dks0127.c221 u8 *table = reg_defaults; in init_reg_defaults() local
227 table[KS_CMDA] = 0x2c; /* VSE=0, CCIR 601, autodetect standard */ in init_reg_defaults()
228 table[KS_CMDB] = 0x12; /* VALIGN=0, AGC control and input */ in init_reg_defaults()
229 table[KS_CMDC] = 0x00; /* Test options */ in init_reg_defaults()
231 table[KS_CMDD] = 0x01; in init_reg_defaults()
232 table[KS_HAVB] = 0x00; /* HAV Start Control */ in init_reg_defaults()
233 table[KS_HAVE] = 0x00; /* HAV End Control */ in init_reg_defaults()
234 table[KS_HS1B] = 0x10; /* HS1 Start Control */ in init_reg_defaults()
235 table[KS_HS1E] = 0x00; /* HS1 End Control */ in init_reg_defaults()
236 table[KS_HS2B] = 0x00; /* HS2 Start Control */ in init_reg_defaults()
[all …]
/drivers/gpu/drm/amd/powerplay/smumgr/
Dpolaris10_smc.c154 SMU74_Discrete_DpmTable *table = &(smu_data->smc_state_table); in polaris10_populate_bapm_parameters_in_dpm_table() local
164 table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()
165 table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()
171 table->TemperatureLimitEdge = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()
173 table->TemperatureLimitHotspot = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()
175 table->FanGainEdge = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()
177 table->FanGainHotspot = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()
186 table->BAPMTI_R[i][j][k] = PP_HOST_TO_SMC_US(*pdef1); in polaris10_populate_bapm_parameters_in_dpm_table()
187 table->BAPMTI_RC[i][j][k] = PP_HOST_TO_SMC_US(*pdef2); in polaris10_populate_bapm_parameters_in_dpm_table()
389 SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_mvdd_table() argument
[all …]
Dtonga_smc.c165 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_vddc_table() argument
171 table->VddcLevelCount = data->vddc_voltage_table.count; in tonga_populate_smc_vddc_table()
172 for (count = 0; count < table->VddcLevelCount; count++) { in tonga_populate_smc_vddc_table()
173 table->VddcTable[count] = in tonga_populate_smc_vddc_table()
176 CONVERT_FROM_HOST_TO_SMC_UL(table->VddcLevelCount); in tonga_populate_smc_vddc_table()
189 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_vdd_gfx_table() argument
195 table->VddGfxLevelCount = data->vddgfx_voltage_table.count; in tonga_populate_smc_vdd_gfx_table()
197 table->VddGfxTable[count] = in tonga_populate_smc_vdd_gfx_table()
200 CONVERT_FROM_HOST_TO_SMC_UL(table->VddGfxLevelCount); in tonga_populate_smc_vdd_gfx_table()
213 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_vdd_ci_table() argument
[all …]
Diceland_smc.c454 SMU71_Discrete_DpmTable *table) in iceland_populate_smc_vddc_table() argument
460 table->VddcLevelCount = data->vddc_voltage_table.count; in iceland_populate_smc_vddc_table()
461 for (count = 0; count < table->VddcLevelCount; count++) { in iceland_populate_smc_vddc_table()
464 &(table->VddcLevel[count])); in iceland_populate_smc_vddc_table()
469 table->VddcLevel[count].Smio |= data->vddc_voltage_table.entries[count].smio_low; in iceland_populate_smc_vddc_table()
471 table->VddcLevel[count].Smio = 0; in iceland_populate_smc_vddc_table()
474 CONVERT_FROM_HOST_TO_SMC_UL(table->VddcLevelCount); in iceland_populate_smc_vddc_table()
480 SMU71_Discrete_DpmTable *table) in iceland_populate_smc_vdd_ci_table() argument
486 table->VddciLevelCount = data->vddci_voltage_table.count; in iceland_populate_smc_vdd_ci_table()
488 for (count = 0; count < table->VddciLevelCount; count++) { in iceland_populate_smc_vdd_ci_table()
[all …]
Dfiji_smc.c505 struct SMU73_Discrete_DpmTable *table) in fiji_populate_cac_table() argument
523 table->BapmVddcVidLoSidd[count] = in fiji_populate_cac_table()
525 table->BapmVddcVidHiSidd[count] = in fiji_populate_cac_table()
541 struct SMU73_Discrete_DpmTable *table) in fiji_populate_smc_voltage_tables() argument
545 result = fiji_populate_cac_table(hwmgr, table); in fiji_populate_smc_voltage_tables()
579 struct SMU73_Discrete_DpmTable *table) in fiji_populate_ulv_state() argument
581 return fiji_populate_ulv_level(hwmgr, &table->Ulv); in fiji_populate_ulv_state()
585 struct SMU73_Discrete_DpmTable *table) in fiji_populate_smc_link_level() argument
595 table->LinkLevel[i].PcieGenSpeed = in fiji_populate_smc_link_level()
597 table->LinkLevel[i].PcieLaneCount = (uint8_t)encode_pcie_lane_width( in fiji_populate_smc_link_level()
[all …]
/drivers/clk/
Dclk-divider.c33 static unsigned int _get_table_maxdiv(const struct clk_div_table *table, in _get_table_maxdiv() argument
39 for (clkt = table; clkt->div; clkt++) in _get_table_maxdiv()
45 static unsigned int _get_table_mindiv(const struct clk_div_table *table) in _get_table_mindiv() argument
50 for (clkt = table; clkt->div; clkt++) in _get_table_mindiv()
56 static unsigned int _get_maxdiv(const struct clk_div_table *table, u8 width, in _get_maxdiv() argument
63 if (table) in _get_maxdiv()
64 return _get_table_maxdiv(table, width); in _get_maxdiv()
68 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div() argument
73 for (clkt = table; clkt->div; clkt++) in _get_table_div()
79 static unsigned int _get_div(const struct clk_div_table *table, in _get_div() argument
[all …]
/drivers/infiniband/hw/mthca/
Dmthca_memfree.c222 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) in mthca_table_get() argument
224 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_get()
227 mutex_lock(&table->mutex); in mthca_table_get()
229 if (table->icm[i]) { in mthca_table_get()
230 ++table->icm[i]->refcount; in mthca_table_get()
234 table->icm[i] = mthca_alloc_icm(dev, MTHCA_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mthca_table_get()
235 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) | in mthca_table_get()
236 __GFP_NOWARN, table->coherent); in mthca_table_get()
237 if (!table->icm[i]) { in mthca_table_get()
242 if (mthca_MAP_ICM(dev, table->icm[i], in mthca_table_get()
[all …]
/drivers/clk/ti/
Ddivider.c31 static unsigned int _get_table_maxdiv(const struct clk_div_table *table) in _get_table_maxdiv() argument
36 for (clkt = table; clkt->div; clkt++) in _get_table_maxdiv()
48 if (divider->table) in _get_maxdiv()
49 return _get_table_maxdiv(divider->table); in _get_maxdiv()
53 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div() argument
58 for (clkt = table; clkt->div; clkt++) in _get_table_div()
70 if (divider->table) in _get_div()
71 return _get_table_div(divider->table, val); in _get_div()
75 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val() argument
80 for (clkt = table; clkt->div; clkt++) in _get_table_val()
[all …]
/drivers/gpu/drm/radeon/
Drv730_dpm.c230 RV770_SMC_STATETABLE *table) in rv730_populate_smc_acpi_state() argument
242 table->ACPIState = table->initialState; in rv730_populate_smc_acpi_state()
243 table->ACPIState.flags &= ~PPSMC_SWSTATE_FLAG_DC; in rv730_populate_smc_acpi_state()
247 &table->ACPIState.levels[0].vddc); in rv730_populate_smc_acpi_state()
248 table->ACPIState.levels[0].gen2PCIE = pi->pcie_gen2 ? in rv730_populate_smc_acpi_state()
250 table->ACPIState.levels[0].gen2XSP = in rv730_populate_smc_acpi_state()
254 &table->ACPIState.levels[0].vddc); in rv730_populate_smc_acpi_state()
255 table->ACPIState.levels[0].gen2PCIE = 0; in rv730_populate_smc_acpi_state()
297 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in rv730_populate_smc_acpi_state()
298 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL2 = cpu_to_be32(mpll_func_cntl_2); in rv730_populate_smc_acpi_state()
[all …]
Dci_dpm.c1308 SMU7_Discrete_DpmTable *table = &pi->smc_state_table; in ci_init_fps_limits() local
1314 table->FpsHighT = cpu_to_be16(tmp); in ci_init_fps_limits()
1317 table->FpsLowT = cpu_to_be16(tmp); in ci_init_fps_limits()
2201 SMU7_Discrete_DpmTable *table) in ci_populate_smc_vddc_table() argument
2206 table->VddcLevelCount = pi->vddc_voltage_table.count; in ci_populate_smc_vddc_table()
2207 for (count = 0; count < table->VddcLevelCount; count++) { in ci_populate_smc_vddc_table()
2210 &table->VddcLevel[count]); in ci_populate_smc_vddc_table()
2213 table->VddcLevel[count].Smio |= in ci_populate_smc_vddc_table()
2216 table->VddcLevel[count].Smio = 0; in ci_populate_smc_vddc_table()
2218 table->VddcLevelCount = cpu_to_be32(table->VddcLevelCount); in ci_populate_smc_vddc_table()
[all …]
/drivers/acpi/
Dtables.c399 struct acpi_table_header *table = NULL; in acpi_table_parse() local
409 acpi_get_table_with_size(id, acpi_apic_instance, &table, &tbl_size); in acpi_table_parse()
411 acpi_get_table_with_size(id, 0, &table, &tbl_size); in acpi_table_parse()
413 if (table) { in acpi_table_parse()
414 handler(table); in acpi_table_parse()
415 early_acpi_os_unmap_memory(table, tbl_size); in acpi_table_parse()
428 struct acpi_table_header *table = NULL; in check_multiple_madt() local
431 acpi_get_table_with_size(ACPI_SIG_MADT, 2, &table, &tbl_size); in check_multiple_madt()
432 if (table) { in check_multiple_madt()
438 early_acpi_os_unmap_memory(table, tbl_size); in check_multiple_madt()
[all …]
/drivers/net/ethernet/sfc/
Dfarch.c1903 struct efx_farch_filter_table table[EFX_FARCH_FILTER_TABLE_COUNT]; member
1908 struct efx_farch_filter_table *table,
1957 struct efx_farch_filter_table *table; in efx_farch_filter_push_rx_config() local
1962 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_IP]; in efx_farch_filter_push_rx_config()
1964 table->search_limit[EFX_FARCH_FILTER_TCP_FULL] + in efx_farch_filter_push_rx_config()
1967 table->search_limit[EFX_FARCH_FILTER_TCP_WILD] + in efx_farch_filter_push_rx_config()
1970 table->search_limit[EFX_FARCH_FILTER_UDP_FULL] + in efx_farch_filter_push_rx_config()
1973 table->search_limit[EFX_FARCH_FILTER_UDP_WILD] + in efx_farch_filter_push_rx_config()
1976 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_MAC]; in efx_farch_filter_push_rx_config()
1977 if (table->size) { in efx_farch_filter_push_rx_config()
[all …]
/drivers/cpufreq/
Dfreq_table.c23 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in policy_has_boost_freq() local
25 if (!table) in policy_has_boost_freq()
28 cpufreq_for_each_valid_entry(pos, table) in policy_has_boost_freq()
37 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_cpuinfo() argument
44 cpufreq_for_each_valid_entry(pos, table) { in cpufreq_frequency_table_cpuinfo()
51 pr_debug("table entry %u: %u kHz\n", (int)(pos - table), freq); in cpufreq_frequency_table_cpuinfo()
68 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_verify() argument
79 cpufreq_for_each_valid_entry(pos, table) { in cpufreq_frequency_table_verify()
129 struct cpufreq_frequency_table *table = policy->freq_table; in cpufreq_table_index_unsorted() local
146 cpufreq_for_each_valid_entry(pos, table) { in cpufreq_table_index_unsorted()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c461 struct iwl_umac_error_event_table table; in iwl_mvm_dump_umac_error_log() local
475 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_mvm_dump_umac_error_log()
477 if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { in iwl_mvm_dump_umac_error_log()
480 mvm->status, table.valid); in iwl_mvm_dump_umac_error_log()
483 IWL_ERR(mvm, "0x%08X | %s\n", table.error_id, in iwl_mvm_dump_umac_error_log()
484 desc_lookup(table.error_id)); in iwl_mvm_dump_umac_error_log()
485 IWL_ERR(mvm, "0x%08X | umac branchlink1\n", table.blink1); in iwl_mvm_dump_umac_error_log()
486 IWL_ERR(mvm, "0x%08X | umac branchlink2\n", table.blink2); in iwl_mvm_dump_umac_error_log()
487 IWL_ERR(mvm, "0x%08X | umac interruptlink1\n", table.ilink1); in iwl_mvm_dump_umac_error_log()
488 IWL_ERR(mvm, "0x%08X | umac interruptlink2\n", table.ilink2); in iwl_mvm_dump_umac_error_log()
[all …]
/drivers/clk/tegra/
Dcvb.c64 static int build_opp_table(struct device *dev, const struct cvb_table *table, in build_opp_table() argument
67 const struct rail_alignment *align = &table->alignment; in build_opp_table()
70 min_mv = round_voltage(table->min_millivolts, align, UP); in build_opp_table()
71 max_mv = round_voltage(table->max_millivolts, align, DOWN); in build_opp_table()
74 const struct cvb_table_freq_entry *entry = &table->entries[i]; in build_opp_table()
79 dfll_mv = get_cvb_voltage(speedo_value, table->speedo_scale, in build_opp_table()
81 dfll_mv = round_cvb_voltage(dfll_mv, table->voltage_scale, in build_opp_table()
119 const struct cvb_table *table = &tables[i]; in tegra_cvb_add_opp_table() local
121 if (table->speedo_id != -1 && table->speedo_id != speedo_id) in tegra_cvb_add_opp_table()
124 if (table->process_id != -1 && table->process_id != process_id) in tegra_cvb_add_opp_table()
[all …]
/drivers/staging/android/ion/
Dion_chunk_heap.c43 struct sg_table *table; in ion_chunk_heap_allocate() local
58 table = kmalloc(sizeof(*table), GFP_KERNEL); in ion_chunk_heap_allocate()
59 if (!table) in ion_chunk_heap_allocate()
61 ret = sg_alloc_table(table, num_chunks, GFP_KERNEL); in ion_chunk_heap_allocate()
63 kfree(table); in ion_chunk_heap_allocate()
67 sg = table->sgl; in ion_chunk_heap_allocate()
78 buffer->sg_table = table; in ion_chunk_heap_allocate()
82 sg = table->sgl; in ion_chunk_heap_allocate()
88 sg_free_table(table); in ion_chunk_heap_allocate()
89 kfree(table); in ion_chunk_heap_allocate()
[all …]
/drivers/acpi/acpica/
Dtbxfload.c143 struct acpi_table_desc *table; in ACPI_EXPORT_SYMBOL_INIT() local
155 table = &acpi_gbl_root_table_list.tables[acpi_gbl_dsdt_index]; in ACPI_EXPORT_SYMBOL_INIT()
158 !ACPI_COMPARE_NAME(table->signature.ascii, ACPI_SIG_DSDT) || in ACPI_EXPORT_SYMBOL_INIT()
159 ACPI_FAILURE(acpi_tb_validate_table(table))) { in ACPI_EXPORT_SYMBOL_INIT()
170 acpi_gbl_DSDT = table->pointer; in ACPI_EXPORT_SYMBOL_INIT()
207 table = &acpi_gbl_root_table_list.tables[i]; in ACPI_EXPORT_SYMBOL_INIT()
210 (!ACPI_COMPARE_NAME(table->signature.ascii, ACPI_SIG_SSDT) in ACPI_EXPORT_SYMBOL_INIT()
211 && !ACPI_COMPARE_NAME(table->signature.ascii, in ACPI_EXPORT_SYMBOL_INIT()
213 && !ACPI_COMPARE_NAME(table->signature.ascii, in ACPI_EXPORT_SYMBOL_INIT()
215 || ACPI_FAILURE(acpi_tb_validate_table(table))) { in ACPI_EXPORT_SYMBOL_INIT()
[all …]
/drivers/gpu/drm/amd/powerplay/hwmgr/
Dprocesspptables.c312 const ATOM_PowerTune_Table *table, in get_cac_tdp_table() argument
324 tdp_table->usTDP = le16_to_cpu(table->usTDP); in get_cac_tdp_table()
325 tdp_table->usConfigurableTDP = le16_to_cpu(table->usConfigurableTDP); in get_cac_tdp_table()
326 tdp_table->usTDC = le16_to_cpu(table->usTDC); in get_cac_tdp_table()
327 tdp_table->usBatteryPowerLimit = le16_to_cpu(table->usBatteryPowerLimit); in get_cac_tdp_table()
328 tdp_table->usSmallPowerLimit = le16_to_cpu(table->usSmallPowerLimit); in get_cac_tdp_table()
329 tdp_table->usLowCACLeakage = le16_to_cpu(table->usLowCACLeakage); in get_cac_tdp_table()
330 tdp_table->usHighCACLeakage = le16_to_cpu(table->usHighCACLeakage); in get_cac_tdp_table()
377 const ATOM_PPLIB_Clock_Voltage_Dependency_Table *table) in get_clock_voltage_dependency_table() argument
385 * table->ucNumEntries; in get_clock_voltage_dependency_table()
[all …]
/drivers/thermal/
Drockchip_thermal.c121 int (*get_temp)(struct chip_tsadc_table table,
123 void (*set_alarm_temp)(struct chip_tsadc_table table,
125 void (*set_tshut_temp)(struct chip_tsadc_table table,
130 struct chip_tsadc_table table; member
400 static u32 rk_tsadcv2_temp_to_code(struct chip_tsadc_table table, in rk_tsadcv2_temp_to_code() argument
407 high = table.length - 1; in rk_tsadcv2_temp_to_code()
411 if (temp < table.id[low].temp || temp > table.id[high].temp) { in rk_tsadcv2_temp_to_code()
412 error = table.data_mask; in rk_tsadcv2_temp_to_code()
417 if (temp == table.id[mid].temp) in rk_tsadcv2_temp_to_code()
418 return table.id[mid].code; in rk_tsadcv2_temp_to_code()
[all …]

12345678910>>...19