Home
last modified time | relevance | path

Searched refs:db_data (Results 1 – 23 of 23) sorted by relevance

/drivers/infiniband/hw/erdma/
Derdma_cmdq.c12 u64 db_data = FIELD_PREP(ERDMA_CQDB_CI_MASK, cmdq->cq.ci) | in arm_cmdq_cq() local
17 *cmdq->cq.db_record = db_data; in arm_cmdq_cq()
18 writeq(db_data, dev->func_bar + ERDMA_CMDQ_CQDB_REG); in arm_cmdq_cq()
26 u64 db_data = FIELD_PREP(ERDMA_CMD_HDR_WQEBB_INDEX_MASK, cmdq->sq.pi); in kick_cmdq_db() local
28 *cmdq->sq.db_record = db_data; in kick_cmdq_db()
29 writeq(db_data, dev->func_bar + ERDMA_CMDQ_SQDB_REG); in kick_cmdq_db()
Derdma_cq.c21 u64 db_data = in notify_cq() local
29 *cq->kern_cq.db_record = db_data; in notify_cq()
30 writeq(db_data, cq->kern_cq.db); in notify_cq()
Derdma_eq.c13 u64 db_data = FIELD_PREP(ERDMA_EQDB_CI_MASK, eq->ci) | in notify_eq() local
16 *eq->db_record = db_data; in notify_eq()
17 writeq(db_data, eq->db); in notify_eq()
Derdma_qp.c492 u64 db_data = FIELD_PREP(ERDMA_SQE_HDR_QPN_MASK, QP_ID(qp)) | in kick_sq_db() local
495 *(u64 *)qp->kern_qp.sq_db_info = db_data; in kick_sq_db()
496 writeq(db_data, qp->kern_qp.hw_sq_db); in kick_sq_db()
/drivers/net/ethernet/qlogic/qed/
Dqed_dev_api.h510 void *db_data,
526 void __iomem *db_addr, void *db_data);
Dqed_spq.c237 struct core_db_data *p_db_data = &p_spq->db_data; in qed_spq_hw_post()
531 p_db_data = &p_spq->db_data; in qed_spq_setup()
542 rc = qed_db_recovery_add(p_hwfn->cdev, db_addr, &p_spq->db_data, in qed_spq_setup()
612 qed_db_recovery_del(p_hwfn->cdev, db_addr, &p_spq->db_data); in qed_spq_free()
Dqed_dev.c56 void *db_data; member
73 db_entry->db_data, in qed_db_recovery_dp_entry()
83 void *db_data) in qed_db_rec_sanity() argument
100 if (!db_data) { in qed_db_rec_sanity()
101 WARN(true, "Illegal doorbell data pointer: %p", db_data); in qed_db_rec_sanity()
127 void *db_data, in qed_db_recovery_add() argument
142 if (!qed_db_rec_sanity(cdev, db_addr, db_width, db_data)) in qed_db_recovery_add()
157 db_entry->db_data = db_data; in qed_db_recovery_add()
175 void __iomem *db_addr, void *db_data) in qed_db_recovery_del() argument
196 if (db_entry->db_data == db_data) { in qed_db_recovery_del()
[all …]
Dqed_ll2.h75 struct core_pwm_prod_update_data db_data; member
Dqed_ll2.c1517 &p_ll2_conn->rx_queue.db_data, in qed_ll2_establish_connection_rx()
1675 p_rx->db_data.icid = cpu_to_le16((u16)p_ll2_conn->cid); in qed_ll2_establish_connection()
1676 SET_FIELD(p_rx->db_data.params, in qed_ll2_establish_connection()
1678 SET_FIELD(p_rx->db_data.params, in qed_ll2_establish_connection()
1753 p_rx->db_data.prod.bd_prod = cpu_to_le16(bd_prod); in qed_ll2_post_rx_buffer_notify_fw()
1754 p_rx->db_data.prod.cqe_prod = cpu_to_le16(cq_prod); in qed_ll2_post_rx_buffer_notify_fw()
1760 *((u64 *)&p_rx->db_data)); in qed_ll2_post_rx_buffer_notify_fw()
2125 &p_ll2_conn->rx_queue.db_data); in qed_ll2_terminate_connection()
Dqed_sp.h200 struct core_db_data db_data; member
/drivers/infiniband/hw/qedr/
Dverbs.c674 void *db_data, in qedr_db_recovery_add() argument
678 if (!db_data) { in qedr_db_recovery_add()
683 return dev->ops->common->db_recovery_add(dev->cdev, db_addr, db_data, in qedr_db_recovery_add()
689 void *db_data) in qedr_db_recovery_del() argument
691 if (!db_data) { in qedr_db_recovery_del()
699 dev->ops->common->db_recovery_del(dev->cdev, db_addr, db_data); in qedr_db_recovery_del()
1007 &cq->q.db_rec_data->db_data, in qedr_create_cq()
1087 &cq->q.db_rec_data->db_data); in qedr_destroy_cq()
1339 qph->db_data.data.value = cpu_to_le16(0); in qedr_reset_qp_hwq_info()
1400 qp->sq.db_data.data.icid = qp->icid + 1; in qedr_set_roce_db_info()
[all …]
Dqedr.h333 union db_prod32 db_data; member
/drivers/ntb/hw/intel/
Dntb_hw_gen3.c536 u64 *db_data, int db_bit) in intel_ntb3_peer_db_addr() argument
556 if (db_data) { in intel_ntb3_peer_db_addr()
557 *db_data = 1; in intel_ntb3_peer_db_addr()
559 *db_data, db_bit); in intel_ntb3_peer_db_addr()
Dntb_hw_gen3.h114 u64 *db_data, int db_bit);
Dntb_hw_gen1.c1116 resource_size_t *db_size, u64 *db_data, int db_bit) in intel_ntb_peer_db_addr() argument
1132 if (db_data) in intel_ntb_peer_db_addr()
1133 *db_data = db_bits; in intel_ntb_peer_db_addr()
/drivers/scsi/qedi/
Dqedi_iscsi.c582 qedi_ep->db_data.agg_flags = 0; in qedi_iscsi_offload_conn()
583 qedi_ep->db_data.params = 0; in qedi_iscsi_offload_conn()
584 SET_FIELD(qedi_ep->db_data.params, ISCSI_DB_DATA_DEST, DB_DEST_XCM); in qedi_iscsi_offload_conn()
585 SET_FIELD(qedi_ep->db_data.params, ISCSI_DB_DATA_AGG_CMD, in qedi_iscsi_offload_conn()
587 SET_FIELD(qedi_ep->db_data.params, ISCSI_DB_DATA_AGG_VAL_SEL, in qedi_iscsi_offload_conn()
589 SET_FIELD(qedi_ep->db_data.params, ISCSI_DB_DATA_BYPASS_EN, 1); in qedi_iscsi_offload_conn()
594 &qedi_ep->db_data, in qedi_iscsi_offload_conn()
607 &qedi_ep->db_data); in qedi_iscsi_offload_conn()
1174 &qedi_ep->db_data); in qedi_ep_disconnect()
Dqedi_iscsi.h83 struct iscsi_db_data db_data; member
Dqedi_fw.c925 qedi_conn->ep->db_data.sq_prod = qedi_conn->ep->fw_sq_prod_idx; in qedi_ring_doorbell()
929 writel(*(u32 *)&qedi_conn->ep->db_data, qedi_conn->ep->p_doorbell); in qedi_ring_doorbell()
/drivers/pci/endpoint/functions/
Dpci-epf-ntb.c120 u32 db_data[MAX_DB_COUNT]; member
387 u32 db_entry_size, db_data, db_offset; in epf_ntb_configure_msi() local
410 db_entry_size, &db_data, &db_offset); in epf_ntb_configure_msi()
418 peer_ctrl->db_data[i] = db_data | i; in epf_ntb_configure_msi()
535 peer_ctrl->db_data[i] = msg_data; in epf_ntb_configure_msix()
Dpci-epf-vntb.c114 u32 db_data[MAX_DB_COUNT]; member
467 ntb->reg->db_data[i] = 1 + i; in epf_ntb_config_spad_bar_alloc()
/drivers/ntb/hw/epf/
Dntb_hw_epf.c476 u32 db_data; in ntb_epf_peer_db_set() local
486 db_data = readl(ndev->ctrl_reg + NTB_EPF_DB_DATA(interrupt_num)); in ntb_epf_peer_db_set()
488 writel(db_data, ndev->db_reg + (db_entry_size * interrupt_num) + in ntb_epf_peer_db_set()
/drivers/accel/qaic/
Dqaic_data.c113 __le32 db_data; member
249 __le32 db_data = cpu_to_le32(req->db_data); in encode_reqs() local
347 slice->reqs[i].db_data = db_data; in encode_reqs()
/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c690 u64 *db_data, in switchtec_ntb_peer_db_addr() argument
708 if (db_data) in switchtec_ntb_peer_db_addr()
709 *db_data = BIT_ULL(db_bit) << sndev->db_peer_shift; in switchtec_ntb_peer_db_addr()