Lines Matching refs:hipz_acl
1034 u32 hipz_acl; in ehca_reg_mr() local
1037 ehca_mrmw_map_acl(acl, &hipz_acl); in ehca_reg_mr()
1038 ehca_mrmw_set_pgsize_hipz_acl(pginfo->hwpage_size, &hipz_acl); in ehca_reg_mr()
1040 hipz_acl |= 0x00000001; in ehca_reg_mr()
1043 (u64)iova_start, size, hipz_acl, in ehca_reg_mr()
1209 u32 hipz_acl; in ehca_rereg_mr_rereg1() local
1215 ehca_mrmw_map_acl(acl, &hipz_acl); in ehca_rereg_mr_rereg1()
1216 ehca_mrmw_set_pgsize_hipz_acl(pginfo->hwpage_size, &hipz_acl); in ehca_rereg_mr_rereg1()
1241 (u64)iova_start, size, hipz_acl, in ehca_rereg_mr_rereg1()
1482 u32 hipz_acl; in ehca_reg_smr() local
1485 ehca_mrmw_map_acl(acl, &hipz_acl); in ehca_reg_smr()
1486 ehca_mrmw_set_pgsize_hipz_acl(e_origmr->hwpage_size, &hipz_acl); in ehca_reg_smr()
1489 (u64)iova_start, hipz_acl, e_pd->fw_pd, in ehca_reg_smr()
1697 u32 hipz_acl; in ehca_reg_maxmr() local
1700 ehca_mrmw_map_acl(acl, &hipz_acl); in ehca_reg_maxmr()
1701 ehca_mrmw_set_pgsize_hipz_acl(e_origmr->hwpage_size, &hipz_acl); in ehca_reg_maxmr()
1704 (u64)iova_start, hipz_acl, e_pd->fw_pd, in ehca_reg_maxmr()
2223 u32 *hipz_acl) in ehca_mrmw_map_acl() argument
2225 *hipz_acl = 0; in ehca_mrmw_map_acl()
2227 *hipz_acl |= HIPZ_ACCESSCTRL_R_READ; in ehca_mrmw_map_acl()
2229 *hipz_acl |= HIPZ_ACCESSCTRL_R_WRITE; in ehca_mrmw_map_acl()
2231 *hipz_acl |= HIPZ_ACCESSCTRL_R_ATOMIC; in ehca_mrmw_map_acl()
2233 *hipz_acl |= HIPZ_ACCESSCTRL_L_WRITE; in ehca_mrmw_map_acl()
2235 *hipz_acl |= HIPZ_ACCESSCTRL_MW_BIND; in ehca_mrmw_map_acl()
2241 void ehca_mrmw_set_pgsize_hipz_acl(u32 pgsize, u32 *hipz_acl) /*INOUT*/ in ehca_mrmw_set_pgsize_hipz_acl() argument
2243 *hipz_acl |= (ehca_encode_hwpage_size(pgsize) << 24); in ehca_mrmw_set_pgsize_hipz_acl()
2252 void ehca_mrmw_reverse_map_acl(const u32 *hipz_acl, in ehca_mrmw_reverse_map_acl() argument
2256 if (*hipz_acl & HIPZ_ACCESSCTRL_R_READ) in ehca_mrmw_reverse_map_acl()
2258 if (*hipz_acl & HIPZ_ACCESSCTRL_R_WRITE) in ehca_mrmw_reverse_map_acl()
2260 if (*hipz_acl & HIPZ_ACCESSCTRL_R_ATOMIC) in ehca_mrmw_reverse_map_acl()
2262 if (*hipz_acl & HIPZ_ACCESSCTRL_L_WRITE) in ehca_mrmw_reverse_map_acl()
2264 if (*hipz_acl & HIPZ_ACCESSCTRL_MW_BIND) in ehca_mrmw_reverse_map_acl()