[go: nahoru, domu]

Searched defs:table_size (Results 1 - 20 of 20) sorted by relevance

/drivers/infiniband/hw/mthca/
H A Dmthca_mcg.c318 int table_size = dev->limits.num_mgms + dev->limits.num_amgms; local
321 table_size,
322 table_size - 1,
/drivers/acpi/
H A Dtables.c196 unsigned long table_size,
228 ((unsigned long)table_header + table_size);
195 acpi_table_parse_entries(char *id, unsigned long table_size, int entry_id, acpi_tbl_entry_handler handler, unsigned int max_entries) argument
/drivers/cpufreq/
H A Ds3c2440-cpufreq.c200 size_t table_size)
213 index = s3c_cpufreq_addfreq(table, index, table_size, freq);
225 size_t table_size)
235 table, table_size);
197 run_freq_for(unsigned long max_hclk, unsigned long fclk, int *divs, struct cpufreq_frequency_table *table, size_t table_size) argument
223 s3c2440_cpufreq_calctable(struct s3c_cpufreq_config *cfg, struct cpufreq_frequency_table *table, size_t table_size) argument
H A Dcpufreq_stats.c51 unsigned int table_size; member in struct:all_freq_table
188 for (i = 0; i < all_freq_table->table_size; i++) {
489 for (i = 0; i < all_freq_table->table_size; i++) {
508 size = sizeof(unsigned int) * (all_freq_table->table_size + 1);
516 all_freq_table->freq_table[all_freq_table->table_size++] = freq;
558 sort(all_freq_table->freq_table, all_freq_table->table_size,
/drivers/message/i2o/
H A Ddevice.c364 u16 table_size; local
372 table_size = buf & 0xffff;
374 lct = c->lct = kmalloc(table_size * 4, GFP_KERNEL);
382 lct->table_size = table_size;
386 table_size -= 3;
389 lct->table_size);
391 while (table_size > 0) {
430 table_size -= 9;
/drivers/acpi/apei/
H A Deinj.c267 if (trigger_tab->table_size > PAGE_SIZE ||
268 trigger_tab->table_size < trigger_tab->header_size)
271 (trigger_tab->table_size - trigger_tab->header_size) /
307 u32 table_size; local
338 table_size = trigger_tab->table_size;
340 table_size - sizeof(*trigger_tab),
346 (unsigned long long)trigger_paddr + table_size - 1);
350 trigger_tab = ioremap_cache(trigger_paddr, table_size);
407 table_size
[all...]
/drivers/mtd/nand/
H A Dnand_bbt.c1031 u32 table_size; local
1056 table_size = this->chipsize >> this->bbt_erase_shift;
1058 table_size = mtd->size >> this->bbt_erase_shift;
1059 table_size >>= 3;
1060 table_size *= bits;
1062 table_size += pattern_len;
1063 BUG_ON(table_size > (1 << this->bbt_erase_shift));
H A Datmel_nand.c509 int table_size; local
511 table_size = host->pmecc_sector_size == 512 ?
515 table_size * sizeof(int16_t);
/drivers/net/wireless/iwlegacy/
H A D3945-rs.c103 u32 table_size = 0; local
112 table_size = ARRAY_SIZE(il3945_tpt_table_g);
116 table_size = ARRAY_SIZE(il3945_tpt_table_a);
123 while (idx < table_size && rssi < tpt_table[idx].min_rssi)
126 idx = min(idx, table_size - 1);
/drivers/power/
H A Dmax17042_battery.c326 int table_size = ARRAY_SIZE(chip->pdata->config_data->cell_char_tbl); local
329 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL);
335 table_size);
337 table_size);
343 table_size);
354 int table_size = ARRAY_SIZE(chip->pdata->config_data->cell_char_tbl); local
358 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL);
363 table_size);
364 for (i = 0; i < table_size; i++)
/drivers/staging/media/davinci_vpfe/
H A Ddm365_ipipe_hw.c744 int table_size; local
759 table_size = gamma->tbl_size;
763 table_size, GAMMA_R_START_ADDR);
766 table_size, GAMMA_B_START_ADDR);
769 table_size, GAMMA_G_START_ADDR);
H A Ddm365_ipipe.c595 int table_size; local
606 table_size = gamma->tbl_size;
608 err = ipipe_validate_gamma_entry(gamma->table_r, table_size);
616 err = ipipe_validate_gamma_entry(gamma->table_b, table_size);
624 err = ipipe_validate_gamma_entry(gamma->table_g, table_size);
640 int table_size; local
660 table_size = gamma->tbl_size;
663 (table_size * sizeof(struct vpfe_ipipe_gamma_entry)));
667 (table_size * sizeof(struct vpfe_ipipe_gamma_entry)));
671 (table_size * sizeo
684 int table_size; local
[all...]
/drivers/net/wireless/ath/ath5k/
H A Dphy.c3088 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; local
3142 table_size = pwr_max[pdg] - pwr_min[pdg];
3143 max_idx = (pdadc_n < table_size) ? pdadc_n : table_size;
3154 if ((pdadc_tmp[table_size - 1] - pdadc_tmp[table_size - 2]) > 1)
3155 pwr_step = pdadc_tmp[table_size - 1] -
3156 pdadc_tmp[table_size - 2];
3163 s16 tmp = pdadc_tmp[table_size - 1] +
/drivers/staging/rts5208/
H A Dms.c2190 int retval, table_size, disable_cnt, defect_flag, i; local
2209 table_size = 494;
2211 table_size = 496;
2216 segment->l2p_table = vmalloc(table_size * 2);
2220 memset((u8 *)(segment->l2p_table), 0xff, table_size * 2);
/drivers/gpu/drm/radeon/
H A Dni_dpm.c3052 unsigned int i, j, table_size; local
3057 table_size = eg_pi->vddc_voltage_table.count;
3059 if (SMC_NISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES < table_size)
3060 table_size = SMC_NISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES;
3065 for (j = 0; j < table_size; j++) {
3086 for (j = table_size; j < SMC_NISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES; j++) {
3099 u32 i, j, table_size; local
3106 table_size = leakage_table->count;
3108 if (eg_pi->vddc_voltage_table.count != table_size)
3109 table_size
[all...]
H A Dcik.c6690 u32 table_offset, table_size; local
6710 table_size = le32_to_cpu(hdr->jt_size);
6716 table_size = le32_to_cpu(hdr->jt_size);
6722 table_size = le32_to_cpu(hdr->jt_size);
6728 table_size = le32_to_cpu(hdr->jt_size);
6734 table_size = le32_to_cpu(hdr->jt_size);
6737 for (i = 0; i < table_size; i ++) {
6741 bo_offset += table_size;
6744 table_size = CP_ME_TABLE_SIZE;
6760 for (i = 0; i < table_size;
[all...]
H A Dsi_dpm.c2468 u32 table_size; local
2487 table_size = dte_data->k;
2489 if (table_size > SMC_SISLANDS_DTE_MAX_FILTER_STAGES)
2490 table_size = SMC_SISLANDS_DTE_MAX_FILTER_STAGES;
2496 dte_tables->K = cpu_to_be32(table_size);
2505 table_size--;
2507 for (i = 0; i < table_size; i++) {
H A Dradeon.h626 unsigned table_size; member in struct:radeon_gart
/drivers/input/touchscreen/
H A Datmel_mxt_ts.c1410 size_t table_size; local
1417 table_size = data->info.object_num * sizeof(struct mxt_object);
1418 object_table = kzalloc(table_size, GFP_KERNEL);
1424 error = __mxt_read_reg(client, MXT_OBJECT_START, table_size,
/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c2107 u32 rss_hash_opts, u16 table_size, const u8 *rss_hkey)
2130 req->cpu_table_size_log2 = cpu_to_le16(fls(table_size) - 1);
2135 memcpy(req->cpu_table, rsstable, table_size);
2106 be_cmd_rss_config(struct be_adapter *adapter, u8 *rsstable, u32 rss_hash_opts, u16 table_size, const u8 *rss_hkey) argument

Completed in 559 milliseconds