Lines Matching refs:t3cdev_p
66 if (rdev->t3cdev_p == tdev)
82 ret = rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_CQ_OP, &setup);
134 return (rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_CQ_SETUP, &setup));
155 return iwch_cxgb3_ofld_send(rdev_p->t3cdev_p, skb);
184 if (rdev_p->t3cdev_p->type != T3A)
188 return (rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_CQ_SETUP, &setup));
200 return (rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_CQ_SETUP, &setup));
508 return (rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_CQ_SETUP, &setup));
575 return iwch_cxgb3_ofld_send(rdev_p->t3cdev_p, skb);
864 return iwch_cxgb3_ofld_send(rdev_p->t3cdev_p, skb);
877 static int cxio_hal_ev_handler(struct t3cdev *t3cdev_p, struct sk_buff *skb)
894 rdev_p = (struct cxio_rdev *)t3cdev_p->ulp;
897 t3cdev_p);
928 } else if (rdev_p->t3cdev_p) {
929 if (cxio_hal_find_rdev_by_t3cdev(rdev_p->t3cdev_p)) {
932 netdev_p = rdev_p->t3cdev_p->lldev;
933 strncpy(rdev_p->dev_name, rdev_p->t3cdev_p->name,
936 PDBG("%s t3cdev_p or dev_name must be set\n", __func__);
944 if (!rdev_p->t3cdev_p)
945 rdev_p->t3cdev_p = dev2t3cdev(netdev_p);
946 rdev_p->t3cdev_p->ulp = (void *) rdev_p;
948 err = rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, GET_EMBEDDED_INFO,
951 printk(KERN_ERR "%s t3cdev_p(%p)->ctl returned error %d.\n",
952 __func__, rdev_p->t3cdev_p, err);
964 err = rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_GET_PARAMS,
967 printk(KERN_ERR "%s t3cdev_p(%p)->ctl returned error %d.\n",
968 __func__, rdev_p->t3cdev_p, err);
971 err = rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, GET_PORTS,
974 printk(KERN_ERR "%s t3cdev_p(%p)->ctl returned error %d.\n",
975 __func__, rdev_p->t3cdev_p, err);
1037 rdev_p->t3cdev_p->ulp = NULL;
1050 rdev_p->t3cdev_p->ulp = NULL;