Searched refs:cap_val (Results 1 – 7 of 7) sorted by relevance
/linux/tools/perf/util/ |
H A D | cap.c | 23 __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/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_main.c | 371 u32 cap_val; in hpre_check_alg_support() local 373 cap_val = qm->cap_tables.dev_cap_table[HPRE_DRV_ALG_BITMAP].cap_val; in hpre_check_alg_support() 374 if (alg & cap_val) in hpre_check_alg_support() 523 cluster_core_mask = qm->cap_tables.dev_cap_table[HPRE_CORE_EN].cap_val; in hpre_set_cluster() 524 hpre_core_info = qm->cap_tables.dev_cap_table[HPRE_CORE_INFO].cap_val; in hpre_set_cluster() 625 hpre_core_info = qm->cap_tables.dev_cap_table[HPRE_CORE_INFO].cap_val; in hpre_enable_clock_gate() 658 hpre_core_info = qm->cap_tables.dev_cap_table[HPRE_CORE_INFO].cap_val; in hpre_disable_clock_gate() 738 hpre_core_info = qm->cap_tables.dev_cap_table[HPRE_CORE_INFO].cap_val; in hpre_cnt_regs_clear() 1036 hpre_core_info = qm->cap_tables.dev_cap_table[HPRE_CORE_INFO].cap_val; in hpre_cluster_debugfs_init() 1089 qm->cap_tables.qm_cap_table[i].cap_val); in hpre_cap_regs_show() [all …]
|
/linux/drivers/crypto/hisilicon/zip/ |
H A D | zip_main.c | 442 u32 cap_val; in hisi_zip_alg_support() local 444 cap_val = qm->cap_tables.dev_cap_table[ZIP_DRV_ALG_BITMAP_TB].cap_val; in hisi_zip_alg_support() 445 if ((alg & cap_val) == alg) in hisi_zip_alg_support() 571 zip_core_en = qm->cap_tables.dev_cap_table[ZIP_CORE_EN].cap_val; in hisi_zip_set_user_domain_and_cache() 798 zip_core_info = qm->cap_tables.dev_cap_table[ZIP_CORE_INFO].cap_val; in get_zip_core_addr() 820 zip_core_info = qm->cap_tables.dev_cap_table[ZIP_CORE_INFO].cap_val; in hisi_zip_core_debug_init() 858 qm->cap_tables.qm_cap_table[i].cap_val); in zip_cap_regs_show() 863 qm->cap_tables.dev_cap_table[i].cap_val); in zip_cap_regs_show() 955 zip_core_info = qm->cap_tables.dev_cap_table[ZIP_CORE_INFO].cap_val; in hisi_zip_debug_regs_clear() 994 zip_core_info = qm->cap_tables.dev_cap_table[ZIP_CORE_INFO].cap_val; in hisi_zip_show_last_regs_init() [all …]
|
/linux/drivers/mmc/host/ |
H A D | sdhci-of-aspeed.c | 95 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/drivers/crypto/hisilicon/sec2/ |
H A D | sec_main.c | 426 cap_val_h = qm->cap_tables.dev_cap_table[high].cap_val; in sec_get_alg_bitmap() 427 cap_val_l = qm->cap_tables.dev_cap_table[low].cap_val; in sec_get_alg_bitmap() 872 qm->cap_tables.qm_cap_table[i].cap_val); in sec_cap_regs_show() 877 qm->cap_tables.dev_cap_table[i].cap_val); in sec_cap_regs_show() 1167 sec_cap[i].cap_val = hisi_qm_get_cap_value(qm, sec_cap_query_info, in sec_pre_store_cap_reg()
|
/linux/drivers/crypto/hisilicon/ |
H A D | qm.c | 4911 val = qm->cap_tables.qm_cap_table[QM_ABNORMAL_IRQ].cap_val; in qm_unregister_abnormal_irq() 4928 val = qm->cap_tables.qm_cap_table[QM_ABNORMAL_IRQ].cap_val; in qm_register_abnormal_irq() 4945 val = qm->cap_tables.qm_cap_table[QM_MB_IRQ].cap_val; in qm_unregister_mb_cmd_irq() 4959 val = qm->cap_tables.qm_cap_table[QM_MB_IRQ].cap_val; in qm_register_mb_cmd_irq() 4976 val = qm->cap_tables.qm_cap_table[QM_AEQ_IRQ].cap_val; in qm_unregister_aeq_irq() 4990 val = qm->cap_tables.qm_cap_table[QM_AEQ_IRQ].cap_val; in qm_register_aeq_irq() 5008 val = qm->cap_tables.qm_cap_table[QM_EQ_IRQ].cap_val; in qm_unregister_eq_irq() 5022 val = qm->cap_tables.qm_cap_table[QM_EQ_IRQ].cap_val; in qm_register_eq_irq() 5124 qm_cap[i].cap_val = hisi_qm_get_cap_value(qm, qm_cap_query_info, in qm_pre_store_caps()
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 688 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()
|