Searched refs:ipath_pd (Results 1 – 10 of 10) sorted by relevance
267 dd->ipath_pd = kzalloc(sizeof(*dd->ipath_pd) * dd->ipath_portcnt, in init_chip_first()270 if (!dd->ipath_pd) { in init_chip_first()284 dd->ipath_pd[0] = pd; in init_chip_first()528 dd->ipath_pd[0]->port_head, 0); in enable_chip()888 pd = dd->ipath_pd[0]; in ipath_init_chip()900 dd->ipath_pd[0] = npd; in ipath_init_chip()939 &dd->pcidev->dev, dd->ipath_pd[0]->port_rcvhdrq_size, in ipath_init_chip()945 dd->ipath_pd[0]->port_rcvhdrq_size); in ipath_init_chip()
136 struct ipath_pd *pd = to_ipd(qp->ibqp.pd); in ipath_lkey_ok()216 struct ipath_pd *pd = to_ipd(qp->ibqp.pd); in ipath_rkey_ok()
673 dd->ipath_pd[0]->port_rcvhdrq_size, in cleanup_device()729 tmp = dd->ipath_pd; in cleanup_device()730 dd->ipath_pd = NULL; in cleanup_device()2590 if (dd->ipath_pd) in ipath_reset_device()2592 if (!dd->ipath_pd[i] || !dd->ipath_pd[i]->port_cnt) in ipath_reset_device()2598 pid_nr(dd->ipath_pd[i]->port_pid), in ipath_reset_device()2599 dd->ipath_pd[i]->port_comm); in ipath_reset_device()2639 if (!dd->ipath_pd) in ipath_signal_procs()2644 if (!dd->ipath_pd[i] || !dd->ipath_pd[i]->port_cnt) in ipath_signal_procs()2646 pid = dd->ipath_pd[i]->port_pid; in ipath_signal_procs()[all …]
144 struct ipath_portdata *pd = dd->ipath_pd[0]; in ipath_qcheck()337 struct ipath_portdata *pd = dd->ipath_pd[i]; in ipath_get_faststats()
594 struct ipath_portdata *pd = dd->ipath_pd[i]; in handle_hdrq_full()815 struct ipath_portdata *pd = dd->ipath_pd[0]; in handle_errors()1040 struct ipath_portdata *pd = dd->ipath_pd[i]; in handle_urcv()1246 ipath_kreceive(dd->ipath_pd[0]); in ipath_intr()
171 struct ipath_pd { struct660 static inline struct ipath_pd *to_ipd(struct ib_pd *ibpd) in to_ipd()662 return container_of(ibpd, struct ipath_pd, ibpd); in to_ipd()
1579 if (!(pd = dd->ipath_pd[port])) { in try_alloc_port()1600 dd->ipath_pd[port] = pd; in try_alloc_port()1601 dd->ipath_pd[port]->port_port = port; in try_alloc_port()1602 dd->ipath_pd[port]->port_dd = dd; in try_alloc_port()1603 dd->ipath_pd[port]->port_tid_pg_list = ptmp; in try_alloc_port()1604 init_waitqueue_head(&dd->ipath_pd[port]->port_wait); in try_alloc_port()1785 struct ipath_portdata *pd = dd->ipath_pd[i]; in find_shared_port()2086 dd->ipath_pd[port] = NULL; in ipath_close()
1705 struct ipath_pd *pd; in ipath_alloc_pd()1743 struct ipath_pd *pd = to_ipd(ibpd); in ipath_dealloc_pd()1853 return ARRAY_SIZE(dd->ipath_pd[0]->port_pkeys); in ipath_get_npkeys()1866 if (index >= ARRAY_SIZE(dd->ipath_pd[0]->port_pkeys)) in ipath_get_pkey()1869 ret = dd->ipath_pd[0]->port_pkeys[index]; in ipath_get_pkey()
353 struct ipath_portdata *pd = dd->ipath_pd[0]; in get_pkeys()736 pd = dd->ipath_pd[0]; in set_pkeys()
274 struct ipath_portdata **ipath_pd; member