Searched refs:info_table (Results 1 – 2 of 2) sorted by relevance
581 const struct hisi_qm_cap_info *info_table,584 const struct hisi_qm_cap_query_info *info_table,
798 const struct hisi_qm_cap_info *info_table, in hisi_qm_get_hw_info() argument805 return info_table[index].v1_val; in hisi_qm_get_hw_info()807 return info_table[index].v2_val; in hisi_qm_get_hw_info()810 return info_table[index].v3_val; in hisi_qm_get_hw_info()812 val = readl(qm->io_base + info_table[index].offset); in hisi_qm_get_hw_info()813 return (val >> info_table[index].shift) & info_table[index].mask; in hisi_qm_get_hw_info()819 const struct hisi_qm_cap_query_info *info_table, in hisi_qm_get_cap_value() argument826 return info_table[index].v1_val; in hisi_qm_get_cap_value()828 return info_table[index].v2_val; in hisi_qm_get_cap_value()831 return info_table[index].v3_val; in hisi_qm_get_cap_value()[all …]