Home
last modified time | relevance | path

Searched refs:rpl (Results 1 – 25 of 27) sorted by relevance

12

/drivers/net/ethernet/chelsio/cxgb4/
Dsrq.c113 const struct cpl_srq_table_rpl *rpl) in do_srq_table_rpl() argument
115 unsigned int idx = TID_TID_G(GET_TID(rpl)); in do_srq_table_rpl()
119 if (unlikely(rpl->status != CPL_CONTAINS_READ_RPL)) { in do_srq_table_rpl()
122 rpl->status, idx); in do_srq_table_rpl()
130 e->pdid = SRQT_PDID_G(be64_to_cpu(rpl->rsvd_pdid)); in do_srq_table_rpl()
131 e->qlen = SRQT_QLEN_G(be32_to_cpu(rpl->qlen_qbase)); in do_srq_table_rpl()
132 e->qbase = SRQT_QBASE_G(be32_to_cpu(rpl->qlen_qbase)); in do_srq_table_rpl()
133 e->cur_msn = be16_to_cpu(rpl->cur_msn); in do_srq_table_rpl()
134 e->max_msn = be16_to_cpu(rpl->max_msn); in do_srq_table_rpl()
Dcxgb4_filter.h42 void filter_rpl(struct adapter *adap, const struct cpl_set_tcb_rpl *rpl);
43 void hash_filter_rpl(struct adapter *adap, const struct cpl_act_open_rpl *rpl);
45 const struct cpl_abort_rpl_rss *rpl);
Dsmt.c120 void do_smt_write_rpl(struct adapter *adap, const struct cpl_smt_write_rpl *rpl) in do_smt_write_rpl() argument
122 unsigned int smtidx = TID_TID_G(GET_TID(rpl)); in do_smt_write_rpl()
125 if (unlikely(rpl->status != CPL_ERR_NONE)) { in do_smt_write_rpl()
130 rpl->status, smtidx); in do_smt_write_rpl()
Dsmt.h75 void do_smt_write_rpl(struct adapter *p, const struct cpl_smt_write_rpl *rpl);
Dsrq.h64 const struct cpl_srq_table_rpl *rpl);
Dcxgb4.h1714 int size, void *rpl, bool sleep_ok, int timeout);
1716 void *rpl, bool sleep_ok);
1719 const void *cmd, int size, void *rpl, in t4_wr_mbox_timeout() argument
1722 return t4_wr_mbox_meat_timeout(adap, mbox, cmd, size, rpl, true, in t4_wr_mbox_timeout()
1727 int size, void *rpl) in t4_wr_mbox() argument
1729 return t4_wr_mbox_meat(adap, mbox, cmd, size, rpl, true); in t4_wr_mbox()
1733 int size, void *rpl) in t4_wr_mbox_ns() argument
1735 return t4_wr_mbox_meat(adap, mbox, cmd, size, rpl, false); in t4_wr_mbox_ns()
2058 void t4_handle_get_port_info(struct port_info *pi, const __be64 *rpl);
2062 int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl);
Dl2t.c186 void do_l2t_write_rpl(struct adapter *adap, const struct cpl_l2t_write_rpl *rpl) in do_l2t_write_rpl() argument
189 unsigned int tid = GET_TID(rpl); in do_l2t_write_rpl()
192 if (unlikely(rpl->status != CPL_ERR_NONE)) { in do_l2t_write_rpl()
195 rpl->status, l2t_idx); in do_l2t_write_rpl()
Dl2t.h124 void do_l2t_write_rpl(struct adapter *p, const struct cpl_l2t_write_rpl *rpl);
Dcxgb4_filter.c1968 const struct cpl_abort_rpl_rss *rpl) in hash_del_filter_rpl() argument
1970 unsigned int status = rpl->status; in hash_del_filter_rpl()
1972 unsigned int tid = GET_TID(rpl); in hash_del_filter_rpl()
1996 void hash_filter_rpl(struct adapter *adap, const struct cpl_act_open_rpl *rpl) in hash_filter_rpl() argument
1998 unsigned int ftid = TID_TID_G(AOPEN_ATID_G(ntohl(rpl->atid_status))); in hash_filter_rpl()
1999 unsigned int status = AOPEN_STATUS_G(ntohl(rpl->atid_status)); in hash_filter_rpl()
2001 unsigned int tid = GET_TID(rpl); in hash_filter_rpl()
2074 void filter_rpl(struct adapter *adap, const struct cpl_set_tcb_rpl *rpl) in filter_rpl() argument
2076 unsigned int tid = GET_TID(rpl); in filter_rpl()
2102 unsigned int ret = TCB_COOKIE_G(rpl->cookie); in filter_rpl()
Dt4_hw.c208 static void get_mbox_rpl(struct adapter *adap, __be64 *rpl, int nflit, in get_mbox_rpl() argument
212 *rpl++ = cpu_to_be64(t4_read_reg64(adap, mbox_addr)); in get_mbox_rpl()
283 int size, void *rpl, bool sleep_ok, int timeout) in t4_wr_mbox_meat_timeout() argument
414 } else if (rpl) { in t4_wr_mbox_meat_timeout()
415 memcpy(rpl, cmd_rpl, size); in t4_wr_mbox_meat_timeout()
443 void *rpl, bool sleep_ok) in t4_wr_mbox_meat() argument
445 return t4_wr_mbox_meat_timeout(adap, mbox, cmd, size, rpl, sleep_ok, in t4_wr_mbox_meat()
2890 struct fw_pfvf_cmd cmd, rpl; in t4_get_pfres() local
2904 v = t4_wr_mbox(adapter, adapter->mbox, &cmd, sizeof(cmd), &rpl); in t4_get_pfres()
2910 word = be32_to_cpu(rpl.niqflint_niq); in t4_get_pfres()
[all …]
/drivers/powercap/
Dintel_rapl_common.c205 if (rd->rpl[i].name) in find_nr_power_limit()
302 if ((rd->rpl[i].name) && j++ == cid) { in contraint_to_pl()
337 switch (rd->rpl[id].prim_id) { in set_power_limit()
374 switch (rd->rpl[id].prim_id) { in get_current_power_limit()
414 switch (rd->rpl[id].prim_id) { in set_time_window()
446 switch (rd->rpl[id].prim_id) { in get_time_window()
482 return rd->rpl[id].name; in get_constraint_name()
496 switch (rd->rpl[id].prim_id) { in get_max_power()
516 if (rd->rpl[id].prim_id == PL4_ENABLE) in get_max_power()
556 rd->rpl[0].prim_id = PL1_ENABLE; in rapl_init_domains()
[all …]
/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c72 static void get_mbox_rpl(struct adapter *adapter, __be64 *rpl, int size, in get_mbox_rpl() argument
76 *rpl++ = cpu_to_be64(t4_read_reg64(adapter, mbox_data)); in get_mbox_rpl()
129 void *rpl, bool sleep_ok) in t4vf_wr_mbox_core() argument
286 if (rpl) { in t4vf_wr_mbox_core()
290 memcpy(rpl, cmd_rpl, size); in t4vf_wr_mbox_core()
291 WARN_ON((be32_to_cpu(*(__be32 *)rpl) in t4vf_wr_mbox_core()
625 struct fw_params_cmd cmd, rpl; in t4vf_query_params() local
642 ret = t4vf_wr_mbox(adapter, &cmd, sizeof(cmd), &rpl); in t4vf_query_params()
644 for (i = 0, p = &rpl.param[0]; i < nparams; i++, p++) in t4vf_query_params()
1017 struct fw_rss_glb_config_cmd cmd, rpl; in t4vf_get_rss_glb_config() local
[all …]
Dt4vf_common.h329 int size, void *rpl) in t4vf_wr_mbox() argument
331 return t4vf_wr_mbox_core(adapter, cmd, size, rpl, true); in t4vf_wr_mbox()
335 int size, void *rpl) in t4vf_wr_mbox_ns() argument
337 return t4vf_wr_mbox_core(adapter, cmd, size, rpl, false); in t4vf_wr_mbox_ns()
Dsge.c2211 struct fw_iq_cmd cmd, rpl; in t4vf_sge_alloc_rxq() local
2338 ret = t4vf_wr_mbox(adapter, &cmd, sizeof(cmd), &rpl); in t4vf_sge_alloc_rxq()
2347 rspq->cntxt_id = be16_to_cpu(rpl.iqid); in t4vf_sge_alloc_rxq()
2352 rspq->abs_id = be16_to_cpu(rpl.physiqid); in t4vf_sge_alloc_rxq()
2362 fl->cntxt_id = be16_to_cpu(rpl.fl0id); in t4vf_sge_alloc_rxq()
2419 struct fw_eq_eth_cmd cmd, rpl; in t4vf_sge_alloc_eth_txq() local
2475 ret = t4vf_wr_mbox(adapter, &cmd, sizeof(cmd), &rpl); in t4vf_sge_alloc_eth_txq()
2494 txq->q.cntxt_id = FW_EQ_ETH_CMD_EQID_G(be32_to_cpu(rpl.eqid_pkd)); in t4vf_sge_alloc_eth_txq()
2500 FW_EQ_ETH_CMD_PHYSEQID_G(be32_to_cpu(rpl.physeqid_pkd)); in t4vf_sge_alloc_eth_txq()
/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.h132 struct cpl_abort_rpl *rpl; in cxgb_mk_abort_rpl() local
134 rpl = __skb_put_zero(skb, len); in cxgb_mk_abort_rpl()
136 INIT_TP_WR(rpl, tid); in cxgb_mk_abort_rpl()
137 OPCODE_TID(rpl) = cpu_to_be32(MK_OPCODE_TID(CPL_ABORT_RPL, tid)); in cxgb_mk_abort_rpl()
138 rpl->cmd = CPL_ABORT_NO_RST; in cxgb_mk_abort_rpl()
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c511 struct cpl_abort_rpl *rpl = (struct cpl_abort_rpl *)skb->head; in send_abort_rpl() local
519 INIT_TP_WR(rpl, csk->tid); in send_abort_rpl()
520 OPCODE_TID(rpl) = cpu_to_be32(MK_OPCODE_TID(CPL_ABORT_RPL, csk->tid)); in send_abort_rpl()
521 rpl->cmd = rst_status; in send_abort_rpl()
1045 struct cpl_act_open_rpl *rpl = (struct cpl_act_open_rpl *)skb->data; in do_act_open_rpl() local
1046 unsigned int tid = GET_TID(rpl); in do_act_open_rpl()
1048 TID_TID_G(AOPEN_ATID_G(be32_to_cpu(rpl->atid_status))); in do_act_open_rpl()
1049 unsigned int status = AOPEN_STATUS_G(be32_to_cpu(rpl->atid_status)); in do_act_open_rpl()
1071 cxgb4_remove_tid(lldi->tids, csk->port_id, GET_TID(rpl), in do_act_open_rpl()
1115 struct cpl_close_con_rpl *rpl = (struct cpl_close_con_rpl *)skb->data; in do_close_con_rpl() local
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c708 struct cpl_smt_write_rpl *rpl = cplhdr(skb); in do_smt_write_rpl() local
710 if (rpl->status != CPL_ERR_NONE) in do_smt_write_rpl()
712 rpl->status, GET_TID(rpl)); in do_smt_write_rpl()
719 struct cpl_l2t_write_rpl *rpl = cplhdr(skb); in do_l2t_write_rpl() local
721 if (rpl->status != CPL_ERR_NONE) in do_l2t_write_rpl()
723 rpl->status, GET_TID(rpl)); in do_l2t_write_rpl()
730 struct cpl_rte_write_rpl *rpl = cplhdr(skb); in do_rte_write_rpl() local
732 if (rpl->status != CPL_ERR_NONE) in do_rte_write_rpl()
734 rpl->status, GET_TID(rpl)); in do_rte_write_rpl()
741 struct cpl_act_open_rpl *rpl = cplhdr(skb); in do_act_open_rpl() local
[all …]
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c278 struct cpl_abort_rpl *rpl = (struct cpl_abort_rpl *)skb->head; in send_abort_rpl() local
286 rpl->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_OFLD_HOST_ABORT_CON_RPL)); in send_abort_rpl()
287 rpl->wr.wr_lo = htonl(V_WR_TID(csk->tid)); in send_abort_rpl()
288 OPCODE_TID(rpl) = htonl(MK_OPCODE_TID(CPL_ABORT_RPL, csk->tid)); in send_abort_rpl()
289 rpl->cmd = rst_status; in send_abort_rpl()
573 struct cpl_act_open_rpl *rpl = cplhdr(skb); in do_act_open_rpl() local
576 csk, csk->state, csk->flags, csk->atid, rpl->status, in do_act_open_rpl()
580 if (rpl->status != CPL_ERR_TCAM_FULL && in do_act_open_rpl()
581 rpl->status != CPL_ERR_CONN_EXIST && in do_act_open_rpl()
582 rpl->status != CPL_ERR_ARP_MISS) in do_act_open_rpl()
[all …]
/drivers/crypto/chelsio/
Dchcr_core.c209 const struct cpl_fw6_pld *rpl = (struct cpl_fw6_pld *)rsp; in chcr_uld_rx_handler() local
211 if (!work_handlers[rpl->opcode]) { in chcr_uld_rx_handler()
212 pr_err("Unsupported opcode %d received\n", rpl->opcode); in chcr_uld_rx_handler()
217 work_handlers[rpl->opcode](adap, (unsigned char *)&rsp[1]); in chcr_uld_rx_handler()
219 work_handlers[rpl->opcode](adap, pgl->va); in chcr_uld_rx_handler()
/drivers/infiniband/hw/cxgb4/
Dcm.c520 struct cpl_act_establish *rpl = cplhdr(skb); in queue_arp_failure_cpl() local
523 rpl->ot.opcode = cpl; in queue_arp_failure_cpl()
1921 struct cpl_abort_rpl_rss6 *rpl = cplhdr(skb); in abort_rpl() local
1923 unsigned int tid = GET_TID(rpl); in abort_rpl()
1932 srqidx = ABORT_RSS_SRQIDX_G(be32_to_cpu(rpl->srqidx_status)); in abort_rpl()
2270 struct cpl_act_open_rpl *rpl = cplhdr(skb); in act_open_rpl() local
2272 ntohl(rpl->atid_status))); in act_open_rpl()
2274 int status = AOPEN_STATUS_G(ntohl(rpl->atid_status)); in act_open_rpl()
2316 ntohl(rpl->atid_status)))); in act_open_rpl()
2368 cxgb4_remove_tid(ep->com.dev->rdev.lldi.tids, 0, GET_TID(rpl), in act_open_rpl()
[all …]
/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c762 struct cpl_pass_open_rpl *rpl = cplhdr(skb) + RSS_HDR; in chtls_pass_open_rpl() local
763 unsigned int stid = GET_TID(rpl); in chtls_pass_open_rpl()
775 if (rpl->status != CPL_ERR_NONE) { in chtls_pass_open_rpl()
777 rpl->status, stid); in chtls_pass_open_rpl()
789 struct cpl_close_listsvr_rpl *rpl = cplhdr(skb) + RSS_HDR; in chtls_close_listsrv_rpl() local
794 stid = GET_TID(rpl); in chtls_close_listsrv_rpl()
798 if (rpl->status != CPL_ERR_NONE) { in chtls_close_listsrv_rpl()
800 rpl->status, stid); in chtls_close_listsrv_rpl()
1290 struct cpl_t5_pass_accept_rpl *rpl; in chtls_pass_accept_request() local
1322 len = roundup(sizeof(*rpl), 16); in chtls_pass_accept_request()
[all …]
/drivers/target/iscsi/cxgbit/
Dcxgbit_main.c433 struct cpl_tx_data *rpl = NULL; in cxgbit_uld_lro_rx_handler() local
455 rpl = gl ? (struct cpl_tx_data *)gl->va : in cxgbit_uld_lro_rx_handler()
457 tid = GET_TID(rpl); in cxgbit_uld_lro_rx_handler()
504 rpl = (struct cpl_tx_data *)skb->data; in cxgbit_uld_lro_rx_handler()
505 op = rpl->ot.opcode; in cxgbit_uld_lro_rx_handler()
509 cdev, op, rpl->ot.opcode_tid, in cxgbit_uld_lro_rx_handler()
510 ntohl(rpl->ot.opcode_tid), skb); in cxgbit_uld_lro_rx_handler()
Dcxgbit_cm.c1580 struct cpl_pass_open_rpl *rpl = cplhdr(skb); in cxgbit_pass_open_rpl() local
1582 unsigned int stid = GET_TID(rpl); in cxgbit_pass_open_rpl()
1586 __func__, cnp, stid, rpl->status); in cxgbit_pass_open_rpl()
1593 cxgbit_wake_up(&cnp->com.wr_wait, __func__, rpl->status); in cxgbit_pass_open_rpl()
1602 struct cpl_close_listsvr_rpl *rpl = cplhdr(skb); in cxgbit_close_listsrv_rpl() local
1604 unsigned int stid = GET_TID(rpl); in cxgbit_close_listsrv_rpl()
1608 __func__, cnp, stid, rpl->status); in cxgbit_close_listsrv_rpl()
1615 cxgbit_wake_up(&cnp->com.wr_wait, __func__, rpl->status); in cxgbit_close_listsrv_rpl()
1789 struct cpl_abort_rpl_rss *rpl = cplhdr(skb); in cxgbit_abort_rpl_rss() local
1799 rpl->status); in cxgbit_abort_rpl_rss()
[all …]
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c2147 const struct cpl_act_open_rpl *rpl = (struct cpl_act_open_rpl *)rsp; in chcr_ktls_uld_rx_handler() local
2149 u8 opcode = rpl->ot.opcode; in chcr_ktls_uld_rx_handler()
/drivers/scsi/lpfc/
Dlpfc_ct.c3116 rh->rpl.EntryCnt = cpu_to_be32(1); in lpfc_fdmi_cmd()
3117 memcpy(&rh->rpl.pe.PortName, in lpfc_fdmi_cmd()

12