Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ata/
Dahci_qoriq.c172 struct ahci_qoriq_priv *qpriv = hpriv->plat_data; in ahci_qoriq_phy_init() local
175 switch (qpriv->type) { in ahci_qoriq_phy_init()
177 if (!(qpriv->ecc_addr || ecc_initialized)) in ahci_qoriq_phy_init()
179 else if (qpriv->ecc_addr && !ecc_initialized) in ahci_qoriq_phy_init()
180 writel(SATA_ECC_DISABLE, qpriv->ecc_addr); in ahci_qoriq_phy_init()
187 if (qpriv->is_dmacoherent) in ahci_qoriq_phy_init()
193 if (!(qpriv->ecc_addr || ecc_initialized)) in ahci_qoriq_phy_init()
195 else if (qpriv->ecc_addr && !ecc_initialized) in ahci_qoriq_phy_init()
196 writel(readl(qpriv->ecc_addr) | in ahci_qoriq_phy_init()
198 qpriv->ecc_addr); in ahci_qoriq_phy_init()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dtid_rdma.c340 struct hfi1_qp_priv *qpriv = qp->priv; in hfi1_qp_priv_init() local
343 qpriv->rcd = qp_to_rcd(rdi, qp); in hfi1_qp_priv_init()
345 spin_lock_init(&qpriv->opfn.lock); in hfi1_qp_priv_init()
346 INIT_WORK(&qpriv->opfn.opfn_work, opfn_send_conn_request); in hfi1_qp_priv_init()
347 INIT_WORK(&qpriv->tid_rdma.trigger_work, tid_rdma_trigger_resume); in hfi1_qp_priv_init()
348 qpriv->flow_state.psn = 0; in hfi1_qp_priv_init()
349 qpriv->flow_state.index = RXE_NUM_TID_FLOWS; in hfi1_qp_priv_init()
350 qpriv->flow_state.last_index = RXE_NUM_TID_FLOWS; in hfi1_qp_priv_init()
351 qpriv->flow_state.generation = KERN_GENERATION_RESERVED; in hfi1_qp_priv_init()
352 qpriv->s_state = TID_OP(WRITE_RESP); in hfi1_qp_priv_init()
[all …]
Dopfn.c114 struct hfi1_qp_priv *qpriv; in opfn_send_conn_request() local
117 qpriv = container_of(od, struct hfi1_qp_priv, opfn); in opfn_send_conn_request()
119 opfn_conn_request(qpriv->owner); in opfn_send_conn_request()
Drc.c120 struct hfi1_qp_priv *qpriv = qp->priv; in make_rc_ack() local
132 if (qpriv->hdr_type == HFI1_PKT_TYPE_9B) in make_rc_ack()
175 if ((qpriv->s_flags & HFI1_R_TID_WAIT_INTERLCK) || in make_rc_ack()
177 iowait_set_flag(&qpriv->s_iowait, IOWAIT_PENDING_IB); in make_rc_ack()
320 if (qpriv->rnr_nak_state == TID_RNR_NAK_SEND && in make_rc_ack()
321 qp->s_tail_ack_queue == qpriv->r_tid_alloc && in make_rc_ack()
323 qpriv->rnr_nak_state = TID_RNR_NAK_SENT; in make_rc_ack()
395 ps->s_txreq->sde = qpriv->s_sde; in make_rc_ack()
1975 struct hfi1_qp_priv *qpriv = qp->priv; in update_qp_retry_state() local
1985 qp->s_cur = qpriv->s_tid_cur + 1; in update_qp_retry_state()
[all …]