Home
last modified time | relevance | path

Searched refs:sq_head (Results 1 – 13 of 13) sorted by relevance

/drivers/infiniband/hw/nes/
Dnes_nic.c372 nic_sqe = &nesnic->sq_vbase[nesnic->sq_head]; in nes_nic_send()
405 memcpy(&nesnic->first_frag_vbase[nesnic->sq_head].buffer, in nes_nic_send()
418 set_bit(nesnic->sq_head, nesnic->first_frag_overflow); in nes_nic_send()
426 nesnic->tx_skb[nesnic->sq_head] = skb; in nes_nic_send()
432 nesnic->tx_skb[nesnic->sq_head] = skb; in nes_nic_send()
436 nesnic->tx_skb[nesnic->sq_head] = skb; in nes_nic_send()
455 nesnic->sq_head++; in nes_nic_send()
456 nesnic->sq_head &= nesnic->sq_size - 1; in nes_nic_send()
505 if ((((nesnic->sq_tail+(nesnic->sq_size*2))-nesnic->sq_head) & (nesnic->sq_size - 1)) == 1) { in nes_netdev_start_xmit()
509 …if ((((((volatile u16)nesnic->sq_tail)+(nesnic->sq_size*2))-nesnic->sq_head) & (nesnic->sq_size - … in nes_netdev_start_xmit()
[all …]
Dnes_hw.c1032 nesdev->cqp.sq_head = 0; in nes_init_cqp()
1109 cqp_head = nesdev->cqp.sq_head++; in nes_init_cqp()
1129 cqp_head = nesdev->cqp.sq_head++; in nes_init_cqp()
1139 cqp_head = nesdev->cqp.sq_head++; in nes_init_cqp()
1149 cqp_head = nesdev->cqp.sq_head++; in nes_init_cqp()
1214 } while (!(nesdev->cqp.sq_head == nesdev->cqp.sq_tail)); in nes_destroy_cqp()
1226 cqp_head = nesdev->cqp.sq_head++; in nes_destroy_cqp()
1227 nesdev->cqp.sq_head &= nesdev->cqp.sq_size-1; in nes_destroy_cqp()
1234 cqp_head = nesdev->cqp.sq_head++; in nes_destroy_cqp()
1235 nesdev->cqp.sq_head &= nesdev->cqp.sq_size-1; in nes_destroy_cqp()
[all …]
Dnes_mgt.h48 u16 sq_head; member
Dnes_mgt.c945 cqp_head = nesdev->cqp.sq_head; in nes_init_mgt_qp()
996 nesdev->cqp.sq_head = cqp_head; in nes_init_mgt_qp()
1103 cqp_head = nesdev->cqp.sq_head; in nes_destroy_mgt()
1127 nesdev->cqp.sq_head = cqp_head; in nes_destroy_mgt()
1136 cqp_head, nesdev->cqp.sq_head, in nes_destroy_mgt()
1144 ret, cqp_head, nesdev->cqp.sq_head, nesdev->cqp.sq_tail); in nes_destroy_mgt()
Dnes_utils.c640 if (((((nesdev->cqp.sq_tail+(nesdev->cqp.sq_size*2))-nesdev->cqp.sq_head) & in nes_post_cqp_request()
643 cqp_head = nesdev->cqp.sq_head++; in nes_post_cqp_request()
644 nesdev->cqp.sq_head &= nesdev->cqp.sq_size-1; in nes_post_cqp_request()
658 nesdev->cqp.sq_head, nesdev->cqp.sq_tail, nesdev->cqp.sq_size, in nes_post_cqp_request()
Dnes_hw.h899 u16 sq_head; member
921 u16 sq_head; member
954 u16 sq_head; member
Dnes_verbs.c1164 nesqp->hwqp.sq_head = 1; in nes_create_qp()
1277 nesqp->hwqp.qp_id, ret, nesdev->cqp.sq_head, nesdev->cqp.sq_tail, in nes_create_qp()
2826 nesqp->hwqp.qp_id, nesqp->hwqp.sq_head, nesqp->hwqp.sq_tail); in nes_modify_qp()
3109 head = nesqp->hwqp.sq_head; in nes_post_send()
3327 nesqp->hwqp.sq_head = head; in nes_post_send()
3445 if (nesqp->hwqp.sq_tail != nesqp->hwqp.sq_head) in nes_drain_sq()
3572 if ((entry->status != IB_WC_SUCCESS) && (nesqp->hwqp.sq_tail != nesqp->hwqp.sq_head)) { in nes_poll_cq()
3591 if (nesqp->hwqp.sq_tail == nesqp->hwqp.sq_head) in nes_poll_cq()
Dnes_cm.c2979 nesqp->hwqp.qp_id, nesqp->hwqp.sq_head, in nes_cm_disconn_true()
/drivers/infiniband/hw/ocrdma/
Docrdma.h343 struct list_head sq_head, rq_head; member
Docrdma_hw.c905 struct list_head *head = sq?(&cq->sq_head):(&cq->rq_head); in _ocrdma_qp_buddy_cq_handler()
2092 list_for_each_entry(tmp, &cq->sq_head, sq_entry) { in ocrdma_is_qp_in_sq_flushlist()
2123 list_add_tail(&qp->sq_entry, &qp->sq_cq->sq_head); in ocrdma_flush_qp()
Docrdma_verbs.c1095 INIT_LIST_HEAD(&cq->sq_head); in ocrdma_create_cq()
2983 list_for_each_entry(qp, &cq->sq_head, sq_entry) { in ocrdma_poll_cq()
/drivers/nvme/host/
Dlightnvm.c151 __le16 sq_head; /* how much of this queue may be reclaimed */ member
/drivers/nvme/target/
Dcore.c390 req->rsp->sq_head = 0; in __nvmet_req_complete()