Lines Matching refs:sport
533 struct ehca_sport *sport = &shca->sport[port - 1]; in ehca_create_aqp1() local
539 if (sport->ibcq_aqp1) { in ehca_create_aqp1()
549 sport->ibcq_aqp1 = ibcq; in ehca_create_aqp1()
551 if (sport->ibqp_sqp[IB_QPT_GSI]) { in ehca_create_aqp1()
577 sport->ibqp_sqp[IB_QPT_GSI] = ibqp; in ehca_create_aqp1()
582 ib_destroy_cq(sport->ibcq_aqp1); in ehca_create_aqp1()
586 static int ehca_destroy_aqp1(struct ehca_sport *sport) in ehca_destroy_aqp1() argument
590 ret = ib_destroy_qp(sport->ibqp_sqp[IB_QPT_GSI]); in ehca_destroy_aqp1()
596 ret = ib_destroy_cq(sport->ibcq_aqp1); in ehca_destroy_aqp1()
750 for (i = 0; i < ARRAY_SIZE(shca->sport); i++) in ehca_probe()
751 spin_lock_init(&shca->sport[i].mod_sqp_lock); in ehca_probe()
812 shca->sport[0].port_state = IB_PORT_DOWN; in ehca_probe()
823 shca->sport[1].port_state = IB_PORT_DOWN; in ehca_probe()
844 ret = ehca_destroy_aqp1(&shca->sport[0]); in ehca_probe()
893 ret = ehca_destroy_aqp1(&shca->sport[i]); in ehca_remove()