Lines Matching refs:t3dev
744 static int do_iscsi_hdr(struct t3cdev *t3dev, struct sk_buff *skb, void *ctx) in do_iscsi_hdr() argument
891 struct t3cdev *t3dev = (struct t3cdev *)csk->cdev->lldev; in l2t_put() local
894 l2t_release(t3dev, csk->l2t); in l2t_put()
906 struct t3cdev *t3dev = (struct t3cdev *)csk->cdev->lldev; in release_offload_resources() local
923 cxgb3_remove_tid(t3dev, (void *)csk, csk->tid); in release_offload_resources()
957 struct t3cdev *t3dev = (struct t3cdev *)cdev->lldev; in init_act_open() local
971 csk->l2t = t3_l2t_get(t3dev, dst, ndev, in init_act_open()
979 csk->atid = cxgb3_alloc_atid(t3dev, &t3_client, csk); in init_act_open()
998 csk->wr_max_cred = csk->wr_cred = T3C_DATA(t3dev)->max_wrs - 1; in init_act_open()
1015 cxgb3_free_atid(t3dev, csk->atid); in init_act_open()
1018 l2t_release(t3dev, csk->l2t); in init_act_open()
1041 struct t3cdev *t3dev = (struct t3cdev *)cdev->lldev; in cxgb3i_ofld_init() local
1047 if (t3dev->ctl(t3dev, GET_WR_LEN, &wr_len) < 0 || in cxgb3i_ofld_init()
1048 t3dev->ctl(t3dev, GET_PORTS, &port) < 0 || in cxgb3i_ofld_init()
1049 t3dev->ctl(t3dev, GET_RX_PAGE_INFO, &rx_page_info) < 0) { in cxgb3i_ofld_init()
1050 pr_warn("t3 0x%p, offload up, ioctl failed.\n", t3dev); in cxgb3i_ofld_init()
1287 static void cxgb3i_dev_close(struct t3cdev *t3dev) in cxgb3i_dev_close() argument
1289 struct cxgbi_device *cdev = cxgbi_device_find_by_lldev(t3dev); in cxgb3i_dev_close()
1303 static void cxgb3i_dev_open(struct t3cdev *t3dev) in cxgb3i_dev_open() argument
1305 struct cxgbi_device *cdev = cxgbi_device_find_by_lldev(t3dev); in cxgb3i_dev_open()
1306 struct adapter *adapter = tdev2adap(t3dev); in cxgb3i_dev_open()
1316 pr_warn("device 0x%p register failed.\n", t3dev); in cxgb3i_dev_open()
1321 cdev->lldev = t3dev; in cxgb3i_dev_open()
1354 cdev, cdev ? cdev->flags : 0, t3dev, err); in cxgb3i_dev_open()
1361 static void cxgb3i_dev_event_handler(struct t3cdev *t3dev, u32 event, u32 port) in cxgb3i_dev_event_handler() argument
1363 struct cxgbi_device *cdev = cxgbi_device_find_by_lldev(t3dev); in cxgb3i_dev_event_handler()
1367 t3dev, cdev, event, port); in cxgb3i_dev_event_handler()