Searched refs:ipath_pd (Results 1 – 10 of 10) sorted by relevance
267 dd->ipath_pd = kcalloc(dd->ipath_portcnt, sizeof(*dd->ipath_pd), 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()878 pd = dd->ipath_pd[0]; in ipath_init_chip()890 dd->ipath_pd[0] = npd; in ipath_init_chip()929 &dd->pcidev->dev, dd->ipath_pd[0]->port_rcvhdrq_size, in ipath_init_chip()935 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()
675 dd->ipath_pd[0]->port_rcvhdrq_size, in cleanup_device()731 tmp = dd->ipath_pd; in cleanup_device()732 dd->ipath_pd = NULL; in cleanup_device()2585 if (dd->ipath_pd) in ipath_reset_device()2587 if (!dd->ipath_pd[i] || !dd->ipath_pd[i]->port_cnt) in ipath_reset_device()2593 pid_nr(dd->ipath_pd[i]->port_pid), in ipath_reset_device()2594 dd->ipath_pd[i]->port_comm); in ipath_reset_device()2634 if (!dd->ipath_pd) in ipath_signal_procs()2639 if (!dd->ipath_pd[i] || !dd->ipath_pd[i]->port_cnt) in ipath_signal_procs()2641 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()
591 struct ipath_portdata *pd = dd->ipath_pd[i]; in handle_hdrq_full()812 struct ipath_portdata *pd = dd->ipath_pd[0]; in handle_errors()1037 struct ipath_portdata *pd = dd->ipath_pd[i]; in handle_urcv()1243 ipath_kreceive(dd->ipath_pd[0]); in ipath_intr()
171 struct ipath_pd { struct666 static inline struct ipath_pd *to_ipd(struct ib_pd *ibpd) in to_ipd()668 return container_of(ibpd, struct ipath_pd, ibpd); in to_ipd()
1584 if (!(pd = dd->ipath_pd[port])) { in try_alloc_port()1605 dd->ipath_pd[port] = pd; in try_alloc_port()1606 dd->ipath_pd[port]->port_port = port; in try_alloc_port()1607 dd->ipath_pd[port]->port_dd = dd; in try_alloc_port()1608 dd->ipath_pd[port]->port_tid_pg_list = ptmp; in try_alloc_port()1609 init_waitqueue_head(&dd->ipath_pd[port]->port_wait); in try_alloc_port()1790 struct ipath_portdata *pd = dd->ipath_pd[i]; in find_shared_port()2090 dd->ipath_pd[port] = NULL; in ipath_close()
1722 struct ipath_pd *pd; in ipath_alloc_pd()1760 struct ipath_pd *pd = to_ipd(ibpd); in ipath_dealloc_pd()1870 return ARRAY_SIZE(dd->ipath_pd[0]->port_pkeys); in ipath_get_npkeys()1883 if (index >= ARRAY_SIZE(dd->ipath_pd[0]->port_pkeys)) in ipath_get_pkey()1886 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()
275 struct ipath_portdata **ipath_pd; member