/drivers/staging/tidspbridge/pmgr/ |
D | dmm.c | 66 static u32 table_size; /* The size of virt and phys pages tables */ variable 88 table_size = PG_ALIGN_HIGH(size, PG_SIZE4K) / PG_SIZE4K; in dmm_create_tables() 90 virtual_mapping_table = __vmalloc(table_size * in dmm_create_tables() 99 free_size = table_size * PG_SIZE4K; in dmm_create_tables() 100 virtual_mapping_table[0].region_size = table_size; in dmm_create_tables() 370 if (i < table_size) in get_region() 396 while (i < table_size) { in get_free_region() 401 if (next_i < table_size && in get_free_region() 440 if (i < table_size && (virtual_mapping_table[i].mapped || in get_mapped_region() 457 for (i = 0; i < table_size; i += in dmm_mem_map_dump() [all …]
|
/drivers/message/i2o/ |
D | device.c | 354 u16 table_size; in i2o_device_parse_lct() local 362 table_size = buf & 0xffff; in i2o_device_parse_lct() 364 lct = c->lct = kmalloc(table_size * 4, GFP_KERNEL); in i2o_device_parse_lct() 372 lct->table_size = table_size; in i2o_device_parse_lct() 376 table_size -= 3; in i2o_device_parse_lct() 379 lct->table_size); in i2o_device_parse_lct() 381 while (table_size > 0) { in i2o_device_parse_lct() 420 table_size -= 9; in i2o_device_parse_lct()
|
D | i2o_config.c | 150 len = (unsigned int)lct->table_size << 2; in i2o_cfg_getlct()
|
/drivers/acpi/apei/ |
D | einj.c | 264 if (trigger_tab->table_size > PAGE_SIZE || in einj_check_trigger_header() 265 trigger_tab->table_size < trigger_tab->header_size) in einj_check_trigger_header() 268 (trigger_tab->table_size - trigger_tab->header_size) / in einj_check_trigger_header() 304 u32 table_size; in __einj_error_trigger() local 335 table_size = trigger_tab->table_size; in __einj_error_trigger() 337 table_size - sizeof(*trigger_tab), in __einj_error_trigger() 343 (unsigned long long)trigger_paddr + table_size - 1); in __einj_error_trigger() 347 trigger_tab = ioremap_cache(trigger_paddr, table_size); in __einj_error_trigger() 404 table_size - sizeof(*trigger_tab)); in __einj_error_trigger()
|
/drivers/power/ |
D | max17042_battery.c | 328 int table_size = in max17042_init_model() local 332 temp_data = kzalloc(table_size, GFP_KERNEL); in max17042_init_model() 338 table_size); in max17042_init_model() 340 table_size); in max17042_init_model() 346 table_size); in max17042_init_model() 357 int table_size = in max17042_verify_model_lock() local 362 temp_data = kzalloc(table_size, GFP_KERNEL); in max17042_verify_model_lock() 367 table_size); in max17042_verify_model_lock() 368 for (i = 0; i < table_size; i++) in max17042_verify_model_lock()
|
/drivers/gpu/drm/ |
D | ati_pcigart.c | 42 gart_info->table_handle = drm_pci_alloc(dev, gart_info->table_size, in drm_ati_alloc_pcigart_table() 72 max_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_cleanup() 140 max_ati_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_init()
|
/drivers/cpufreq/ |
D | cpufreq_stats.c | 57 unsigned int table_size; member 151 for (i = 0; i < all_freq_table->table_size; i++) { in show_all_time_in_state() 387 for (i = 0; i < all_freq_table->table_size; i++) { in check_all_freq_table() 406 size = sizeof(unsigned int) * (all_freq_table->table_size + 1); in add_all_freq_table() 414 all_freq_table->freq_table[all_freq_table->table_size++] = freq; in add_all_freq_table() 466 sort(all_freq_table->freq_table, all_freq_table->table_size, in cpufreq_allstats_create()
|
/drivers/gpu/drm/radeon/ |
D | radeon_gart.c | 40 ptr = pci_alloc_consistent(rdev->pdev, rdev->gart.table_size, in radeon_gart_table_ram_alloc() 49 rdev->gart.table_size >> PAGE_SHIFT); in radeon_gart_table_ram_alloc() 53 memset((void *)rdev->gart.ptr, 0, rdev->gart.table_size); in radeon_gart_table_ram_alloc() 66 rdev->gart.table_size >> PAGE_SHIFT); in radeon_gart_table_ram_free() 69 pci_free_consistent(rdev->pdev, rdev->gart.table_size, in radeon_gart_table_ram_free() 81 r = radeon_bo_create(rdev, rdev->gart.table_size, in radeon_gart_table_vram_alloc()
|
D | rs400.c | 103 rdev->gart.table_size = rdev->gart.num_gpu_pages * 4; in rs400_gart_init()
|
D | radeon_cp.c | 1168 vp->upper = vp->lower + gart_info->table_size; in radeon_setup_pcigart_surface() 1490 dev_priv->gart_info.table_size; in radeon_do_init_cp() 2199 dev_priv->gart_info.table_size = RADEON_PCIGART_TABLE_SIZE; in radeon_driver_firstopen()
|
D | r600_cp.c | 161 max_pages = (gart_info->table_size / sizeof(u64)); in r600_page_table_cleanup() 191 max_ati_pages = (gart_info->table_size / sizeof(u64)); in r600_page_table_init() 2240 dev_priv->gart_info.table_size; in r600_do_init_cp()
|
D | radeon_state.c | 3163 dev_priv->gart_info.table_size = sp->value; in radeon_cp_setparam() 3164 if (dev_priv->gart_info.table_size < RADEON_PCIGART_TABLE_SIZE) in radeon_cp_setparam() 3165 dev_priv->gart_info.table_size = RADEON_PCIGART_TABLE_SIZE; in radeon_cp_setparam()
|
D | rs600.c | 441 rdev->gart.table_size = rdev->gart.num_gpu_pages * 8; in rs600_gart_init()
|
D | r300.c | 107 rdev->gart.table_size = rdev->gart.num_gpu_pages * 4; in rv370_pcie_gart_init()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_mcg.c | 318 int table_size = dev->limits.num_mgms + dev->limits.num_amgms; in mthca_init_mcg_table() local 321 table_size, in mthca_init_mcg_table() 322 table_size - 1, in mthca_init_mcg_table()
|
/drivers/net/wireless/iwlegacy/ |
D | 3945-rs.c | 104 u32 table_size = 0; in il3945_get_rate_idx_by_rssi() local 113 table_size = ARRAY_SIZE(il3945_tpt_table_g); in il3945_get_rate_idx_by_rssi() 117 table_size = ARRAY_SIZE(il3945_tpt_table_a); in il3945_get_rate_idx_by_rssi() 124 while (idx < table_size && rssi < tpt_table[idx].min_rssi) in il3945_get_rate_idx_by_rssi() 127 idx = min(idx, table_size - 1); in il3945_get_rate_idx_by_rssi()
|
/drivers/mtd/nand/ |
D | nand_bbt.c | 1074 u32 table_size; in verify_bbt_descr() local 1099 table_size = this->chipsize >> this->bbt_erase_shift; in verify_bbt_descr() 1101 table_size = mtd->size >> this->bbt_erase_shift; in verify_bbt_descr() 1102 table_size >>= 3; in verify_bbt_descr() 1103 table_size *= bits; in verify_bbt_descr() 1105 table_size += pattern_len; in verify_bbt_descr() 1106 BUG_ON(table_size > (1 << this->bbt_erase_shift)); in verify_bbt_descr()
|
/drivers/acpi/ |
D | tables.c | 205 unsigned long table_size, in acpi_table_parse_entries() argument 237 ((unsigned long)table_header + table_size); in acpi_table_parse_entries()
|
/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 3089 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local 3143 table_size = pwr_max[pdg] - pwr_min[pdg]; in ath5k_combine_pwr_to_pdadc_curves() 3144 max_idx = (pdadc_n < table_size) ? pdadc_n : table_size; in ath5k_combine_pwr_to_pdadc_curves() 3155 if ((pdadc_tmp[table_size - 1] - pdadc_tmp[table_size - 2]) > 1) in ath5k_combine_pwr_to_pdadc_curves() 3156 pwr_step = pdadc_tmp[table_size - 1] - in ath5k_combine_pwr_to_pdadc_curves() 3157 pdadc_tmp[table_size - 2]; in ath5k_combine_pwr_to_pdadc_curves() 3164 s16 tmp = pdadc_tmp[table_size - 1] + in ath5k_combine_pwr_to_pdadc_curves()
|
/drivers/media/video/davinci/ |
D | dm355_ccdc.c | 520 if (dfc->table_size > CCDC_DFT_TABLE_SIZE) in ccdc_config_vdfc() 536 for (i = 0; i < dfc->table_size; i++) { in ccdc_config_vdfc()
|
/drivers/scsi/ |
D | dpt_i2o.c | 1563 max = lct->table_size; in adpt_i2o_parse_lct() 2617 max = lct->table_size; in adpt_i2o_reparse_lct() 3166 if ((pHba->lct->table_size << 2) > pHba->lct_size) { in adpt_i2o_lct_get() 3167 pHba->lct_size = pHba->lct->table_size << 2; in adpt_i2o_lct_get()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 1678 int be_cmd_rss_config(struct be_adapter *adapter, u8 *rsstable, u16 table_size) in be_cmd_rss_config() argument 1699 req->cpu_table_size_log2 = cpu_to_le16(fls(table_size) - 1); in be_cmd_rss_config() 1700 memcpy(req->cpu_table, rsstable, table_size); in be_cmd_rss_config()
|
/drivers/staging/rts_pstor/ |
D | ms.c | 2235 int retval, table_size, disable_cnt, defect_flag, i; in ms_build_l2p_tbl() local 2254 table_size = 494; in ms_build_l2p_tbl() 2256 table_size = 496; in ms_build_l2p_tbl() 2262 segment->l2p_table = (u16 *)vmalloc(table_size * 2); in ms_build_l2p_tbl() 2267 memset((u8 *)(segment->l2p_table), 0xff, table_size * 2); in ms_build_l2p_tbl()
|
/drivers/staging/rts5139/ |
D | ms.c | 2378 int retval, table_size, disable_cnt, defect_flag, i; local 2397 table_size = 494; 2399 table_size = 496; 2404 segment->l2p_table = vmalloc(table_size * 2); 2408 memset((u8 *) (segment->l2p_table), 0xff, table_size * 2);
|
/drivers/gpu/drm/r128/ |
D | r128_cce.c | 561 dev_priv->gart_info.table_size = R128_PCIGART_TABLE_SIZE; in r128_do_init_cce()
|