Lines Matching defs:t3dev

233 		"t3dev 0x%p, tid %u, skb 0x%p.\n",
743 static int do_iscsi_hdr(struct t3cdev *t3dev, struct sk_buff *skb, void *ctx)
890 struct t3cdev *t3dev = (struct t3cdev *)csk->cdev->lldev;
893 l2t_release(t3dev, csk->l2t);
905 struct t3cdev *t3dev = (struct t3cdev *)csk->cdev->lldev;
922 cxgb3_remove_tid(t3dev, (void *)csk, csk->tid);
956 struct t3cdev *t3dev = (struct t3cdev *)cdev->lldev;
970 csk->l2t = t3_l2t_get(t3dev, dst, ndev,
978 csk->atid = cxgb3_alloc_atid(t3dev, &t3_client, csk);
997 csk->wr_max_cred = csk->wr_cred = T3C_DATA(t3dev)->max_wrs - 1;
1014 cxgb3_free_atid(t3dev, csk->atid);
1017 l2t_release(t3dev, csk->l2t);
1040 struct t3cdev *t3dev = (struct t3cdev *)cdev->lldev;
1046 if (t3dev->ctl(t3dev, GET_WR_LEN, &wr_len) < 0 ||
1047 t3dev->ctl(t3dev, GET_PORTS, &port) < 0 ||
1048 t3dev->ctl(t3dev, GET_RX_PAGE_INFO, &rx_page_info) < 0) {
1049 pr_warn("t3 0x%p, offload up, ioctl failed.\n", t3dev);
1286 static void cxgb3i_dev_close(struct t3cdev *t3dev)
1288 struct cxgbi_device *cdev = cxgbi_device_find_by_lldev(t3dev);
1300 * @t3dev: t3cdev adapter
1302 static void cxgb3i_dev_open(struct t3cdev *t3dev)
1304 struct cxgbi_device *cdev = cxgbi_device_find_by_lldev(t3dev);
1305 struct adapter *adapter = tdev2adap(t3dev);
1315 pr_warn("device 0x%p register failed.\n", t3dev);
1320 cdev->lldev = t3dev;
1352 pr_info("cdev 0x%p, f 0x%x, t3dev 0x%p open, err %d.\n",
1353 cdev, cdev ? cdev->flags : 0, t3dev, err);
1360 static void cxgb3i_dev_event_handler(struct t3cdev *t3dev, u32 event, u32 port)
1362 struct cxgbi_device *cdev = cxgbi_device_find_by_lldev(t3dev);
1366 t3dev, cdev, event, port);