Lines Matching refs:mkc
1311 void *mkc; in devx_handle_mkey_indirect() local
1315 mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in devx_handle_mkey_indirect()
1316 key = MLX5_GET(mkc, mkc, mkey_7_0); in devx_handle_mkey_indirect()
1320 mkey->iova = MLX5_GET64(mkc, mkc, start_addr); in devx_handle_mkey_indirect()
1321 mkey->size = MLX5_GET64(mkc, mkc, len); in devx_handle_mkey_indirect()
1322 mkey->pd = MLX5_GET(mkc, mkc, pd); in devx_handle_mkey_indirect()
1323 devx_mr->ndescs = MLX5_GET(mkc, mkc, translations_octword_size); in devx_handle_mkey_indirect()
1336 void *mkc; in devx_handle_mkey_create() local
1342 mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in devx_handle_mkey_create()
1344 access_mode = MLX5_GET(mkc, mkc, access_mode_1_0); in devx_handle_mkey_create()
1345 access_mode |= MLX5_GET(mkc, mkc, access_mode_4_2) << 2; in devx_handle_mkey_create()