Home
last modified time | relevance | path

Searched refs:cap_val (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/tools/perf/util/ !
Dcap.c23 __u32 cap_val; in perf_cap__capable() local
41 cap_val = data[1].effective; in perf_cap__capable()
47 cap_val = data[0].effective; in perf_cap__capable()
49 return (cap_val & (1 << (cap & 0x1f))) != 0; in perf_cap__capable()
/linux-6.12.1/drivers/crypto/hisilicon/zip/ !
Dzip_main.c443 u32 cap_val; in hisi_zip_alg_support() local
445 cap_val = qm->cap_tables.dev_cap_table[ZIP_DRV_ALG_BITMAP_IDX].cap_val; in hisi_zip_alg_support()
446 if ((alg & cap_val) == alg) in hisi_zip_alg_support()
570 dcomp_bm = qm->cap_tables.dev_cap_table[ZIP_DECOMP_ENABLE_BITMAP_IDX].cap_val; in hisi_zip_set_user_domain_and_cache()
571 comp_bm = qm->cap_tables.dev_cap_table[ZIP_COMP_ENABLE_BITMAP_IDX].cap_val; in hisi_zip_set_user_domain_and_cache()
791 u32 zip_comp_core_num = qm->cap_tables.dev_cap_table[ZIP_CLUSTER_COMP_NUM_CAP_IDX].cap_val; in get_zip_core_addr()
810 zip_core_num = qm->cap_tables.dev_cap_table[ZIP_CORE_NUM_CAP_IDX].cap_val; in hisi_zip_core_debug_init()
811 zip_comp_core_num = qm->cap_tables.dev_cap_table[ZIP_CLUSTER_COMP_NUM_CAP_IDX].cap_val; in hisi_zip_core_debug_init()
915 u32 zip_core_num = qm->cap_tables.dev_cap_table[ZIP_CORE_NUM_CAP_IDX].cap_val; in hisi_zip_debug_regs_clear()
952 zip_core_num = qm->cap_tables.dev_cap_table[ZIP_CORE_NUM_CAP_IDX].cap_val; in hisi_zip_show_last_regs_init()
[all …]
/linux-6.12.1/drivers/crypto/hisilicon/hpre/ !
Dhpre_main.c361 u32 cap_val; in hpre_check_alg_support() local
363 cap_val = qm->cap_tables.dev_cap_table[HPRE_DRV_ALG_BITMAP_CAP_IDX].cap_val; in hpre_check_alg_support()
364 if (alg & cap_val) in hpre_check_alg_support()
512 cluster_core_mask = qm->cap_tables.dev_cap_table[HPRE_CORE_ENABLE_BITMAP_CAP_IDX].cap_val; in hpre_set_cluster()
513 clusters_num = qm->cap_tables.dev_cap_table[HPRE_CLUSTER_NUM_CAP_IDX].cap_val; in hpre_set_cluster()
706 clusters_num = qm->cap_tables.dev_cap_table[HPRE_CLUSTER_NUM_CAP_IDX].cap_val; in hpre_cnt_regs_clear()
1001 clusters_num = qm->cap_tables.dev_cap_table[HPRE_CLUSTER_NUM_CAP_IDX].cap_val; in hpre_cluster_debugfs_init()
1118 hpre_cap[i].cap_val = hisi_qm_get_hw_info(qm, hpre_basic_info, in hpre_pre_store_cap_reg()
1122 if (hpre_cap[HPRE_CLUSTER_NUM_CAP_IDX].cap_val > HPRE_CLUSTERS_NUM_MAX) { in hpre_pre_store_cap_reg()
1124 hpre_cap[HPRE_CLUSTER_NUM_CAP_IDX].cap_val, HPRE_CLUSTERS_NUM_MAX); in hpre_pre_store_cap_reg()
[all …]
/linux-6.12.1/drivers/mmc/host/ !
Dsdhci-of-aspeed.c95 u32 cap_val; in aspeed_sdc_set_slot_capability() local
102 cap_val = sdhci_readl(host, 0x40 + (cap_reg * 4)); in aspeed_sdc_set_slot_capability()
104 cap_val |= BIT(capability % 32); in aspeed_sdc_set_slot_capability()
106 cap_val &= ~BIT(capability % 32); in aspeed_sdc_set_slot_capability()
108 writel(cap_val, sdc->regs + mirror_reg_offset); in aspeed_sdc_set_slot_capability()
/linux-6.12.1/drivers/crypto/hisilicon/sec2/ !
Dsec_main.c403 cap_val_h = qm->cap_tables.dev_cap_table[high].cap_val; in sec_get_alg_bitmap()
404 cap_val_l = qm->cap_tables.dev_cap_table[low].cap_val; in sec_get_alg_bitmap()
1095 sec_cap[i].cap_val = hisi_qm_get_hw_info(qm, sec_basic_info, in sec_pre_store_cap_reg()
/linux-6.12.1/drivers/crypto/hisilicon/ !
Dqm.c4869 val = qm->cap_tables.qm_cap_table[QM_ABN_IRQ_TYPE_CAP_IDX].cap_val; in qm_unregister_abnormal_irq()
4886 val = qm->cap_tables.qm_cap_table[QM_ABN_IRQ_TYPE_CAP_IDX].cap_val; in qm_register_abnormal_irq()
4903 val = qm->cap_tables.qm_cap_table[QM_PF2VF_IRQ_TYPE_CAP_IDX].cap_val; in qm_unregister_mb_cmd_irq()
4917 val = qm->cap_tables.qm_cap_table[QM_PF2VF_IRQ_TYPE_CAP_IDX].cap_val; in qm_register_mb_cmd_irq()
4934 val = qm->cap_tables.qm_cap_table[QM_AEQ_IRQ_TYPE_CAP_IDX].cap_val; in qm_unregister_aeq_irq()
4948 val = qm->cap_tables.qm_cap_table[QM_AEQ_IRQ_TYPE_CAP_IDX].cap_val; in qm_register_aeq_irq()
4966 val = qm->cap_tables.qm_cap_table[QM_EQ_IRQ_TYPE_CAP_IDX].cap_val; in qm_unregister_eq_irq()
4980 val = qm->cap_tables.qm_cap_table[QM_EQ_IRQ_TYPE_CAP_IDX].cap_val; in qm_register_eq_irq()
5081 qm_cap[i].cap_val = hisi_qm_get_hw_info(qm, qm_basic_info, in qm_pre_store_irq_type_caps()
/linux-6.12.1/include/linux/ !
Dhisi_acc_qm.h279 u32 cap_val; member
/linux-6.12.1/drivers/net/wireless/ath/ath6kl/ !
Dcfg80211.c688 u16 cap_val; in ath6kl_add_bss_if_needed() local
693 cap_val = WLAN_CAPABILITY_IBSS; in ath6kl_add_bss_if_needed()
696 cap_val = WLAN_CAPABILITY_ESS; in ath6kl_add_bss_if_needed()
721 bssid, 0, cap_val, 100, in ath6kl_add_bss_if_needed()