Home
last modified time | relevance | path

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

/drivers/ata/
Dahci_qoriq.c168 struct ahci_qoriq_priv *qpriv = hpriv->plat_data; in ahci_qoriq_phy_init() local
171 switch (qpriv->type) { in ahci_qoriq_phy_init()
173 if (!(qpriv->ecc_addr || ecc_initialized)) in ahci_qoriq_phy_init()
175 else if (qpriv->ecc_addr && !ecc_initialized) in ahci_qoriq_phy_init()
176 writel(SATA_ECC_DISABLE, qpriv->ecc_addr); in ahci_qoriq_phy_init()
183 if (qpriv->is_dmacoherent) in ahci_qoriq_phy_init()
189 if (!(qpriv->ecc_addr || ecc_initialized)) in ahci_qoriq_phy_init()
191 else if (qpriv->ecc_addr && !ecc_initialized) in ahci_qoriq_phy_init()
192 writel(readl(qpriv->ecc_addr) | in ahci_qoriq_phy_init()
194 qpriv->ecc_addr); in ahci_qoriq_phy_init()
[all …]
/drivers/infiniband/hw/hfi1/
Dtid_rdma.c341 struct hfi1_qp_priv *qpriv = qp->priv; in hfi1_qp_priv_init() local
344 qpriv->rcd = qp_to_rcd(rdi, qp); in hfi1_qp_priv_init()
346 spin_lock_init(&qpriv->opfn.lock); in hfi1_qp_priv_init()
347 INIT_WORK(&qpriv->opfn.opfn_work, opfn_send_conn_request); in hfi1_qp_priv_init()
348 INIT_WORK(&qpriv->tid_rdma.trigger_work, tid_rdma_trigger_resume); in hfi1_qp_priv_init()
349 qpriv->flow_state.psn = 0; in hfi1_qp_priv_init()
350 qpriv->flow_state.index = RXE_NUM_TID_FLOWS; in hfi1_qp_priv_init()
351 qpriv->flow_state.last_index = RXE_NUM_TID_FLOWS; in hfi1_qp_priv_init()
352 qpriv->flow_state.generation = KERN_GENERATION_RESERVED; in hfi1_qp_priv_init()
353 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.c78 struct hfi1_qp_priv *qpriv = qp->priv; in make_rc_ack() local
90 if (qpriv->hdr_type == HFI1_PKT_TYPE_9B) in make_rc_ack()
133 if ((qpriv->s_flags & HFI1_R_TID_WAIT_INTERLCK) || in make_rc_ack()
135 iowait_set_flag(&qpriv->s_iowait, IOWAIT_PENDING_IB); in make_rc_ack()
278 if (qpriv->rnr_nak_state == TID_RNR_NAK_SEND && in make_rc_ack()
279 qp->s_tail_ack_queue == qpriv->r_tid_alloc && in make_rc_ack()
281 qpriv->rnr_nak_state = TID_RNR_NAK_SENT; in make_rc_ack()
353 ps->s_txreq->sde = qpriv->s_sde; in make_rc_ack()
1933 struct hfi1_qp_priv *qpriv = qp->priv; in update_qp_retry_state() local
1943 qp->s_cur = qpriv->s_tid_cur + 1; in update_qp_retry_state()
[all …]