Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/
H A Dqm.c867 const struct hisi_qm_cap_info *info_table, in hisi_qm_get_hw_info() argument
874 return info_table[index].v1_val; in hisi_qm_get_hw_info()
876 return info_table[index].v2_val; in hisi_qm_get_hw_info()
879 return info_table[index].v3_val; in hisi_qm_get_hw_info()
881 val = readl(qm->io_base + info_table[index].offset); in hisi_qm_get_hw_info()
882 return (val >> info_table[index].shift) & info_table[index].mask; in hisi_qm_get_hw_info()
888 const struct hisi_qm_cap_query_info *info_table, in hisi_qm_get_cap_value() argument
895 return info_table[index].v1_val; in hisi_qm_get_cap_value()
897 return info_table[index].v2_val; in hisi_qm_get_cap_value()
900 return info_table[index].v3_val; in hisi_qm_get_cap_value()
[all …]