Home
last modified time | relevance | path

Searched refs:table_size (Results 76 – 100 of 176) sorted by relevance

12345678

/openbmc/linux/arch/sparc/kernel/
H A Dpci_sun4v.c745 u64 table_size; in pci_sun4v_atu_alloc_iotsb() local
758 table_size = (atu->size / IO_PAGE_SIZE) * 8; in pci_sun4v_atu_alloc_iotsb()
759 order = get_order(table_size); in pci_sun4v_atu_alloc_iotsb()
769 iotsb->table_size = table_size; in pci_sun4v_atu_alloc_iotsb()
775 iotsb->table_size, in pci_sun4v_atu_alloc_iotsb()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dof.c43 cc->table_size = count; in brcmf_of_get_country_codes()
H A Dfirmware.c796 u32 table_size, struct brcmf_fw_name *fwnames, in brcmf_fw_alloc_request() argument
811 for (i = 0; i < table_size; i++) { in brcmf_fw_alloc_request()
819 if (i == table_size) { in brcmf_fw_alloc_request()
/openbmc/linux/drivers/gpu/drm/amd/pm/inc/
H A Dsmu_v13_0_0_pptable.h176 …uint16_t table_size; //Driver portion table size. The offset to smc_pptable inc… member
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Dsmu_v11_0_7_pptable.h176 …uint16_t table_size; //Driver portion table size. The offset to smc_pptab… member
H A Dsmu_v13_0_7_pptable.h176 …uint16_t table_size; //Driver portion table size. The offset to smc_pptable inc… member
/openbmc/linux/arch/arc/include/asm/
H A Dunwind.h113 unsigned long table_size);
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dprocess_pptables_v1_0.c573 uint32_t table_size; in get_cac_tdp_table() local
576 table_size = sizeof(uint32_t) + sizeof(struct phm_cac_tdp_table); in get_cac_tdp_table()
577 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
582 hwmgr->dyn_state.cac_dtp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
759 uint32_t table_size; in get_gpio_table() local
764 table_size = sizeof(struct phm_ppt_v1_gpio_table); in get_gpio_table()
765 pp_gpio_table = kzalloc(table_size, GFP_KERNEL); in get_gpio_table()
/openbmc/qemu/block/
H A Dqcow2-refcount.c539 int total_refblock_count, table_size, area_reftable_index, table_clusters; in qcow2_refcount_area() local
564 table_size = total_refblock_count; in qcow2_refcount_area()
566 table_size = total_refblock_count + in qcow2_refcount_area()
570 table_size = ROUND_UP(table_size, s->cluster_size / REFTABLE_ENTRY_SIZE); in qcow2_refcount_area()
571 table_clusters = (table_size * REFTABLE_ENTRY_SIZE) / s->cluster_size; in qcow2_refcount_area()
573 if (table_size > QCOW_MAX_REFTABLE_SIZE) { in qcow2_refcount_area()
577 new_table = g_try_new0(uint64_t, table_size); in qcow2_refcount_area()
579 assert(table_size > 0); in qcow2_refcount_area()
586 if (table_size > s->max_refcount_table_index) { in qcow2_refcount_area()
690 table_size * REFTABLE_ENTRY_SIZE, new_table, 0); in qcow2_refcount_area()
[all …]
H A Dqed-table.c27 unsigned int bytes = s->header.cluster_size * s->header.table_size; in qed_read_table()
/openbmc/linux/security/apparmor/
H A Dmatch.c103 tsize = table_size(th.td_lolen, th.td_flags); in unpack_table()
387 data += table_size(table->td_lolen, table->td_flags); in aa_dfa_unpack()
388 size -= table_size(table->td_lolen, table->td_flags); in aa_dfa_unpack()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Datmel_nand.c108 int table_size; in pmecc_get_alpha_to() local
110 table_size = host->pmecc_sector_size == 512 ? in pmecc_get_alpha_to()
115 table_size * sizeof(int16_t); in pmecc_get_alpha_to()
792 int table_size = (sector_size == 512) ? in create_lookup_table() local
796 int16_t *addr = kzalloc(2 * table_size * sizeof(uint16_t), GFP_KERNEL); in create_lookup_table()
797 if (addr && build_gf_tables(degree, poly, addr, addr + table_size)) in create_lookup_table()
/openbmc/linux/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c615 long ret, table_size; in tce_iommu_create_table() local
617 table_size = table_group->ops->get_table_size(page_shift, window_size, in tce_iommu_create_table()
619 if (!table_size) in tce_iommu_create_table()
622 ret = account_locked_vm(container->mm, table_size >> PAGE_SHIFT, true); in tce_iommu_create_table()
630 WARN_ON(!ret && ((*ptbl)->it_allocated_size > table_size)); in tce_iommu_create_table()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dingress_lgcy.c159 int table_size = 4; in esw_acl_ingress_lgcy_setup() local
187 table_size); in esw_acl_ingress_lgcy_setup()
/openbmc/linux/arch/arc/kernel/
H A Dunwind.c187 const void *table_start, unsigned long table_size, in init_unwind_table() argument
195 table->size = table_size; in init_unwind_table()
369 unsigned long table_size) in unwind_add_table() argument
375 if (table_size <= 0) in unwind_add_table()
386 init_text->base, init_text->size, table_start, table_size, NULL, 0); in unwind_add_table()
/openbmc/linux/drivers/iommu/
H A Dio-pgtable-arm.c503 unsigned long table_size; in __arm_lpae_free_pgtable() local
506 table_size = ARM_LPAE_PGD_SIZE(data); in __arm_lpae_free_pgtable()
508 table_size = ARM_LPAE_GRANULE(data); in __arm_lpae_free_pgtable()
516 end = (void *)ptep + table_size; in __arm_lpae_free_pgtable()
527 __arm_lpae_free_pages(start, table_size, &data->iop.cfg); in __arm_lpae_free_pgtable()
/openbmc/linux/security/apparmor/include/
H A Dmatch.h120 static inline size_t table_size(size_t len, size_t el_size) in table_size() function
/openbmc/linux/drivers/media/dvb-frontends/
H A Dstv6111.c533 int table_size, u16 reg_value) in table_lookup() argument
538 int imax = table_size - 1; in table_lookup()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser.c657 uint32_t table_size; in get_ss_info_v3_1() local
670 table_size = in get_ss_info_v3_1()
680 for (i = 0; i < table_size; i++) { in get_ss_info_v3_1()
1098 uint32_t table_size; in get_ss_info_from_ss_info_table() local
1137 table_size = (le16_to_cpu(tbl->sHeader.usStructureSize) - in get_ss_info_from_ss_info_table()
1141 for (i = 0; i < table_size; i++) { in get_ss_info_from_ss_info_table()
1623 uint32_t table_size; in get_ss_entry_number_from_ss_info_tbl() local
1663 table_size = (le16_to_cpu(tbl->sHeader.usStructureSize) - in get_ss_entry_number_from_ss_info_tbl()
1667 for (i = 0; i < table_size; i++) in get_ss_entry_number_from_ss_info_tbl()
/openbmc/linux/drivers/phy/qualcomm/
H A Dphy-qcom-snps-femto-v2.c95 u8 table_size; member
527 for (i = 0; i < map.table_size - 1; i++) { in qcom_snps_hsphy_override_param_update_val()
/openbmc/linux/drivers/clk/mvebu/
H A Darmada-37xx-periph.c657 int table_size = 0; in armada_3700_add_composite_clk() local
661 table_size++; in armada_3700_add_composite_clk()
662 rate->width = order_base_2(table_size); in armada_3700_add_composite_clk()
/openbmc/linux/net/devlink/
H A Ddpipe.c160 u64 table_size; in devlink_dpipe_table_put() local
162 table_size = table->table_ops->size_get(table->priv); in devlink_dpipe_table_put()
168 nla_put_u64_64bit(skb, DEVLINK_ATTR_DPIPE_TABLE_SIZE, table_size, in devlink_dpipe_table_put()
/openbmc/linux/drivers/crypto/hisilicon/
H A Ddebugfs.c452 int table_size, i, ret; in qm_cmd_write_dump() local
470 table_size = ARRAY_SIZE(qm_cmd_dump_table); in qm_cmd_write_dump()
471 for (i = 0; i < table_size; i++) { in qm_cmd_write_dump()
479 if (i == table_size) { in qm_cmd_write_dump()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dni_dpm.c3055 unsigned int i, j, table_size; in ni_init_driver_calculated_leakage_table() local
3060 table_size = eg_pi->vddc_voltage_table.count; in ni_init_driver_calculated_leakage_table()
3062 if (SMC_NISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES < table_size) in ni_init_driver_calculated_leakage_table()
3063 table_size = SMC_NISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES; in ni_init_driver_calculated_leakage_table()
3068 for (j = 0; j < table_size; j++) { in ni_init_driver_calculated_leakage_table()
3102 u32 i, j, table_size; in ni_init_simplified_leakage_table() local
3109 table_size = leakage_table->count; in ni_init_simplified_leakage_table()
3111 if (eg_pi->vddc_voltage_table.count != table_size) in ni_init_simplified_leakage_table()
3116 table_size = SMC_NISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES; in ni_init_simplified_leakage_table()
3118 if (table_size == 0) in ni_init_simplified_leakage_table()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dphy.c3081 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local
3135 table_size = pwr_max[pdg] - pwr_min[pdg]; in ath5k_combine_pwr_to_pdadc_curves()
3136 max_idx = min(pdadc_n, table_size); in ath5k_combine_pwr_to_pdadc_curves()
3147 if ((pdadc_tmp[table_size - 1] - pdadc_tmp[table_size - 2]) > 1) in ath5k_combine_pwr_to_pdadc_curves()
3148 pwr_step = pdadc_tmp[table_size - 1] - in ath5k_combine_pwr_to_pdadc_curves()
3149 pdadc_tmp[table_size - 2]; in ath5k_combine_pwr_to_pdadc_curves()
3156 s16 tmp = pdadc_tmp[table_size - 1] + in ath5k_combine_pwr_to_pdadc_curves()

12345678