Home
last modified time | relevance | path

Searched refs:bnx2i_conn (Results 1 – 4 of 4) sorted by relevance

/drivers/scsi/bnx2i/
Dbnx2i_hwi.c193 void bnx2i_get_rq_buf(struct bnx2i_conn *bnx2i_conn, char *ptr, int len) in bnx2i_get_rq_buf() argument
195 if (!bnx2i_conn->ep->qp.rqe_left) in bnx2i_get_rq_buf()
198 bnx2i_conn->ep->qp.rqe_left--; in bnx2i_get_rq_buf()
199 memcpy(ptr, (u8 *) bnx2i_conn->ep->qp.rq_cons_qe, len); in bnx2i_get_rq_buf()
200 if (bnx2i_conn->ep->qp.rq_cons_qe == bnx2i_conn->ep->qp.rq_last_qe) { in bnx2i_get_rq_buf()
201 bnx2i_conn->ep->qp.rq_cons_qe = bnx2i_conn->ep->qp.rq_first_qe; in bnx2i_get_rq_buf()
202 bnx2i_conn->ep->qp.rq_cons_idx = 0; in bnx2i_get_rq_buf()
204 bnx2i_conn->ep->qp.rq_cons_qe++; in bnx2i_get_rq_buf()
205 bnx2i_conn->ep->qp.rq_cons_idx++; in bnx2i_get_rq_buf()
210 static void bnx2i_ring_577xx_doorbell(struct bnx2i_conn *conn) in bnx2i_ring_577xx_doorbell()
[all …]
Dbnx2i_iscsi.c239 struct bnx2i_conn *bnx2i_conn, in bnx2i_bind_conn_to_iscsi_cid() argument
243 iscsi_conn_printk(KERN_ALERT, bnx2i_conn->cls_conn->dd_data, in bnx2i_bind_conn_to_iscsi_cid()
248 hba->cid_que.conn_cid_tbl[iscsi_cid] = bnx2i_conn; in bnx2i_bind_conn_to_iscsi_cid()
258 struct bnx2i_conn *bnx2i_get_conn_from_id(struct bnx2i_hba *hba, in bnx2i_get_conn_from_id()
336 mem_size = hba->max_active_conns * sizeof(struct bnx2i_conn *); in bnx2i_setup_free_cid_que()
937 struct bnx2i_conn *bnx2i_conn) in bnx2i_conn_free_login_resources() argument
939 if (bnx2i_conn->gen_pdu.resp_bd_tbl) { in bnx2i_conn_free_login_resources()
941 bnx2i_conn->gen_pdu.resp_bd_tbl, in bnx2i_conn_free_login_resources()
942 bnx2i_conn->gen_pdu.resp_bd_dma); in bnx2i_conn_free_login_resources()
943 bnx2i_conn->gen_pdu.resp_bd_tbl = NULL; in bnx2i_conn_free_login_resources()
[all …]
Dbnx2i.h259 struct bnx2i_conn *conn;
283 struct bnx2i_conn { struct
329 struct bnx2i_conn **conn_cid_tbl;
751 struct bnx2i_conn *conn;
773 struct bnx2i_conn *bnx2i_conn; member
815 struct bnx2i_conn *bnx2i_get_conn_from_id(struct bnx2i_hba *hba,
828 void bnx2i_get_rq_buf(struct bnx2i_conn *conn, char *ptr, int len);
829 void bnx2i_put_rq_buf(struct bnx2i_conn *conn, int count);
836 extern int bnx2i_send_iscsi_login(struct bnx2i_conn *conn,
838 extern int bnx2i_send_iscsi_tmf(struct bnx2i_conn *conn,
[all …]
Dbnx2i_init.c455 work->bnx2i_conn, &work->cqe); in bnx2i_percpu_thread_destroy()