Lines Matching refs:doorbell

99 	struct lpfc_register doorbell;  in lpfc_sli4_wq_put()  local
128 doorbell.word0 = 0; in lpfc_sli4_wq_put()
130 bf_set(lpfc_wq_db_list_fm_num_posted, &doorbell, 1); in lpfc_sli4_wq_put()
131 bf_set(lpfc_wq_db_list_fm_index, &doorbell, host_index); in lpfc_sli4_wq_put()
132 bf_set(lpfc_wq_db_list_fm_id, &doorbell, q->queue_id); in lpfc_sli4_wq_put()
134 bf_set(lpfc_wq_db_ring_fm_num_posted, &doorbell, 1); in lpfc_sli4_wq_put()
135 bf_set(lpfc_wq_db_ring_fm_id, &doorbell, q->queue_id); in lpfc_sli4_wq_put()
139 writel(doorbell.word0, q->db_regaddr); in lpfc_sli4_wq_put()
189 struct lpfc_register doorbell; in lpfc_sli4_mq_put() local
207 doorbell.word0 = 0; in lpfc_sli4_mq_put()
208 bf_set(lpfc_mq_doorbell_num_posted, &doorbell, 1); in lpfc_sli4_mq_put()
209 bf_set(lpfc_mq_doorbell_id, &doorbell, q->queue_id); in lpfc_sli4_mq_put()
210 writel(doorbell.word0, q->phba->sli4_hba.MQDBregaddr); in lpfc_sli4_mq_put()
287 struct lpfc_register doorbell; in lpfc_sli4_eq_clr_intr() local
289 doorbell.word0 = 0; in lpfc_sli4_eq_clr_intr()
290 bf_set(lpfc_eqcq_doorbell_eqci, &doorbell, 1); in lpfc_sli4_eq_clr_intr()
291 bf_set(lpfc_eqcq_doorbell_qt, &doorbell, LPFC_QUEUE_TYPE_EVENT); in lpfc_sli4_eq_clr_intr()
292 bf_set(lpfc_eqcq_doorbell_eqid_hi, &doorbell, in lpfc_sli4_eq_clr_intr()
294 bf_set(lpfc_eqcq_doorbell_eqid_lo, &doorbell, q->queue_id); in lpfc_sli4_eq_clr_intr()
295 writel(doorbell.word0, q->phba->sli4_hba.EQCQDBregaddr); in lpfc_sli4_eq_clr_intr()
318 struct lpfc_register doorbell; in lpfc_sli4_eq_release() local
335 doorbell.word0 = 0; in lpfc_sli4_eq_release()
337 bf_set(lpfc_eqcq_doorbell_arm, &doorbell, 1); in lpfc_sli4_eq_release()
338 bf_set(lpfc_eqcq_doorbell_eqci, &doorbell, 1); in lpfc_sli4_eq_release()
340 bf_set(lpfc_eqcq_doorbell_num_released, &doorbell, released); in lpfc_sli4_eq_release()
341 bf_set(lpfc_eqcq_doorbell_qt, &doorbell, LPFC_QUEUE_TYPE_EVENT); in lpfc_sli4_eq_release()
342 bf_set(lpfc_eqcq_doorbell_eqid_hi, &doorbell, in lpfc_sli4_eq_release()
344 bf_set(lpfc_eqcq_doorbell_eqid_lo, &doorbell, q->queue_id); in lpfc_sli4_eq_release()
345 writel(doorbell.word0, q->phba->sli4_hba.EQCQDBregaddr); in lpfc_sli4_eq_release()
415 struct lpfc_register doorbell; in lpfc_sli4_cq_release() local
431 doorbell.word0 = 0; in lpfc_sli4_cq_release()
433 bf_set(lpfc_eqcq_doorbell_arm, &doorbell, 1); in lpfc_sli4_cq_release()
434 bf_set(lpfc_eqcq_doorbell_num_released, &doorbell, released); in lpfc_sli4_cq_release()
435 bf_set(lpfc_eqcq_doorbell_qt, &doorbell, LPFC_QUEUE_TYPE_COMPLETION); in lpfc_sli4_cq_release()
436 bf_set(lpfc_eqcq_doorbell_cqid_hi, &doorbell, in lpfc_sli4_cq_release()
438 bf_set(lpfc_eqcq_doorbell_cqid_lo, &doorbell, q->queue_id); in lpfc_sli4_cq_release()
439 writel(doorbell.word0, q->phba->sli4_hba.EQCQDBregaddr); in lpfc_sli4_cq_release()
461 struct lpfc_register doorbell; in lpfc_sli4_rq_put() local
487 doorbell.word0 = 0; in lpfc_sli4_rq_put()
489 bf_set(lpfc_rq_db_ring_fm_num_posted, &doorbell, in lpfc_sli4_rq_put()
491 bf_set(lpfc_rq_db_ring_fm_id, &doorbell, hq->queue_id); in lpfc_sli4_rq_put()
493 bf_set(lpfc_rq_db_list_fm_num_posted, &doorbell, in lpfc_sli4_rq_put()
495 bf_set(lpfc_rq_db_list_fm_index, &doorbell, in lpfc_sli4_rq_put()
497 bf_set(lpfc_rq_db_list_fm_id, &doorbell, hq->queue_id); in lpfc_sli4_rq_put()
501 writel(doorbell.word0, hq->db_regaddr); in lpfc_sli4_rq_put()