/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 71 static void get_mbox_rpl(struct adapter *adapter, __be64 *rpl, int size, in get_mbox_rpl() argument 75 *rpl++ = cpu_to_be64(t4_read_reg64(adapter, mbox_data)); in get_mbox_rpl() 116 void *rpl, bool sleep_ok) in t4vf_wr_mbox_core() argument 210 if (rpl) { in t4vf_wr_mbox_core() 214 get_mbox_rpl(adapter, rpl, size, mbox_data); in t4vf_wr_mbox_core() 215 WARN_ON((be32_to_cpu(*(u32 *)rpl) in t4vf_wr_mbox_core() 370 struct fw_params_cmd cmd, rpl; in t4vf_query_params() local 387 ret = t4vf_wr_mbox(adapter, &cmd, sizeof(cmd), &rpl); in t4vf_query_params() 389 for (i = 0, p = &rpl.param[0]; i < nparams; i++, p++) in t4vf_query_params() 538 struct fw_rss_glb_config_cmd cmd, rpl; in t4vf_get_rss_glb_config() local [all …]
|
D | t4vf_common.h | 243 int size, void *rpl) in t4vf_wr_mbox() argument 245 return t4vf_wr_mbox_core(adapter, cmd, size, rpl, true); in t4vf_wr_mbox() 249 int size, void *rpl) in t4vf_wr_mbox_ns() argument 251 return t4vf_wr_mbox_core(adapter, cmd, size, rpl, false); in t4vf_wr_mbox_ns()
|
D | sge.c | 2046 struct fw_iq_cmd cmd, rpl; in t4vf_sge_alloc_rxq() local 2150 ret = t4vf_wr_mbox(adapter, &cmd, sizeof(cmd), &rpl); in t4vf_sge_alloc_rxq() 2159 rspq->cntxt_id = be16_to_cpu(rpl.iqid); in t4vf_sge_alloc_rxq() 2160 rspq->abs_id = be16_to_cpu(rpl.physiqid); in t4vf_sge_alloc_rxq() 2170 fl->cntxt_id = be16_to_cpu(rpl.fl0id); in t4vf_sge_alloc_rxq() 2216 struct fw_eq_eth_cmd cmd, rpl; in t4vf_sge_alloc_eth_txq() local 2267 ret = t4vf_wr_mbox(adapter, &cmd, sizeof(cmd), &rpl); in t4vf_sge_alloc_eth_txq() 2286 txq->q.cntxt_id = FW_EQ_ETH_CMD_EQID_GET(be32_to_cpu(rpl.eqid_pkd)); in t4vf_sge_alloc_eth_txq() 2288 FW_EQ_ETH_CMD_PHYSEQID_GET(be32_to_cpu(rpl.physeqid_pkd)); in t4vf_sge_alloc_eth_txq()
|
/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 289 struct cpl_abort_rpl *rpl = (struct cpl_abort_rpl *)skb->head; in send_abort_rpl() local 297 INIT_TP_WR(rpl, csk->tid); in send_abort_rpl() 298 OPCODE_TID(rpl) = cpu_to_be32(MK_OPCODE_TID(CPL_ABORT_RPL, csk->tid)); in send_abort_rpl() 299 rpl->cmd = rst_status; in send_abort_rpl() 658 struct cpl_act_open_rpl *rpl = (struct cpl_act_open_rpl *)skb->data; in do_act_open_rpl() local 659 unsigned int tid = GET_TID(rpl); in do_act_open_rpl() 661 GET_TID_TID(GET_AOPEN_ATID(be32_to_cpu(rpl->atid_status))); in do_act_open_rpl() 662 unsigned int status = GET_AOPEN_STATUS(be32_to_cpu(rpl->atid_status)); in do_act_open_rpl() 683 cxgb4_remove_tid(lldi->tids, csk->port_id, GET_TID(rpl)); in do_act_open_rpl() 726 struct cpl_close_con_rpl *rpl = (struct cpl_close_con_rpl *)skb->data; in do_close_con_rpl() local [all …]
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.c | 1180 struct cpl_act_open_rpl *rpl = cplhdr(skb); in act_open_rpl() local 1182 PDBG("%s ep %p status %u errno %d\n", __func__, ep, rpl->status, in act_open_rpl() 1183 status2errno(rpl->status)); in act_open_rpl() 1184 connect_reply_upcall(ep, status2errno(rpl->status)); in act_open_rpl() 1186 if (ep->com.tdev->type != T3A && act_open_has_tid(rpl->status)) in act_open_rpl() 1187 release_tid(ep->com.tdev, GET_TID(rpl), NULL); in act_open_rpl() 1226 struct cpl_pass_open_rpl *rpl = cplhdr(skb); in pass_open_rpl() local 1229 rpl->status, status2errno(rpl->status)); in pass_open_rpl() 1230 ep->com.rpl_err = status2errno(rpl->status); in pass_open_rpl() 1260 struct cpl_close_listserv_rpl *rpl = cplhdr(skb); in close_listsrv_rpl() local [all …]
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_offload.c | 708 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/infiniband/hw/cxgb4/ |
D | cm.c | 1465 struct cpl_abort_rpl_rss *rpl = cplhdr(skb); in abort_rpl() local 1467 unsigned int tid = GET_TID(rpl); in abort_rpl() 1675 struct cpl_act_open_rpl *rpl = cplhdr(skb); in act_open_rpl() local 1677 ntohl(rpl->atid_status))); in act_open_rpl() 1679 int status = GET_AOPEN_STATUS(ntohl(rpl->atid_status)); in act_open_rpl() 1708 ntohl(rpl->atid_status)))); in act_open_rpl() 1739 cxgb4_remove_tid(ep->com.dev->rdev.lldi.tids, 0, GET_TID(rpl)); in act_open_rpl() 1752 struct cpl_pass_open_rpl *rpl = cplhdr(skb); in pass_open_rpl() local 1754 unsigned int stid = GET_TID(rpl); in pass_open_rpl() 1762 rpl->status, status2errno(rpl->status)); in pass_open_rpl() [all …]
|
/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 275 struct cpl_abort_rpl *rpl = (struct cpl_abort_rpl *)skb->head; in send_abort_rpl() local 283 rpl->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_OFLD_HOST_ABORT_CON_RPL)); in send_abort_rpl() 284 rpl->wr.wr_lo = htonl(V_WR_TID(csk->tid)); in send_abort_rpl() 285 OPCODE_TID(rpl) = htonl(MK_OPCODE_TID(CPL_ABORT_RPL, csk->tid)); in send_abort_rpl() 286 rpl->cmd = rst_status; in send_abort_rpl() 572 struct cpl_act_open_rpl *rpl = cplhdr(skb); in do_act_open_rpl() local 575 csk, csk->state, csk->flags, csk->atid, rpl->status, in do_act_open_rpl() 579 if (rpl->status != CPL_ERR_TCAM_FULL && in do_act_open_rpl() 580 rpl->status != CPL_ERR_CONN_EXIST && in do_act_open_rpl() 581 rpl->status != CPL_ERR_ARP_MISS) in do_act_open_rpl() [all …]
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 865 void *rpl, bool sleep_ok); 868 int size, void *rpl) in t4_wr_mbox() argument 870 return t4_wr_mbox_meat(adap, mbox, cmd, size, rpl, true); in t4_wr_mbox() 874 int size, void *rpl) in t4_wr_mbox_ns() argument 876 return t4_wr_mbox_meat(adap, mbox, cmd, size, rpl, false); in t4_wr_mbox_ns() 988 int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl);
|
D | l2t.c | 189 void do_l2t_write_rpl(struct adapter *adap, const struct cpl_l2t_write_rpl *rpl) in do_l2t_write_rpl() argument 191 unsigned int tid = GET_TID(rpl); in do_l2t_write_rpl() 194 if (unlikely(rpl->status != CPL_ERR_NONE)) { in do_l2t_write_rpl() 197 rpl->status, idx); in do_l2t_write_rpl()
|
D | l2t.h | 107 void do_l2t_write_rpl(struct adapter *p, const struct cpl_l2t_write_rpl *rpl);
|
D | t4_hw.c | 148 static void get_mbox_rpl(struct adapter *adap, __be64 *rpl, int nflit, in get_mbox_rpl() argument 152 *rpl++ = cpu_to_be64(t4_read_reg64(adap, mbox_addr)); in get_mbox_rpl() 206 void *rpl, bool sleep_ok) in t4_wr_mbox_meat() argument 265 } else if (rpl) in t4_wr_mbox_meat() 266 get_mbox_rpl(adap, rpl, size / 8, data_reg); in t4_wr_mbox_meat() 3569 int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl) in t4_handle_fw_rpl() argument 3571 u8 opcode = *(const u8 *)rpl; in t4_handle_fw_rpl() 3575 const struct fw_port_cmd *p = (void *)rpl; in t4_handle_fw_rpl()
|
D | cxgb4_main.c | 603 static void filter_rpl(struct adapter *adap, const struct cpl_set_tcb_rpl *rpl) in filter_rpl() argument 605 unsigned int idx = GET_TID(rpl); in filter_rpl() 613 ret = GET_TCB_COOKIE(rpl->cookie); in filter_rpl() 626 f->smtidx = (be64_to_cpu(rpl->oldval) >> 24) & 0xff; in filter_rpl()
|
/drivers/scsi/lpfc/ |
D | lpfc_ct.c | 1417 rh->rpl.EntryCnt = be32_to_cpu(1); in lpfc_fdmi_cmd() 1418 memcpy(&rh->rpl.pe, &vport->fc_sparam.portName, in lpfc_fdmi_cmd()
|
D | lpfc_els.c | 5964 RPL *rpl; in lpfc_els_rcv_rpl() local 5982 rpl = (RPL *) (lp + 1); in lpfc_els_rcv_rpl() 5983 maxsize = be32_to_cpu(rpl->maxsize); in lpfc_els_rcv_rpl() 5986 if ((rpl->index == 0) && in lpfc_els_rcv_rpl()
|
D | lpfc_hw.h | 1136 REG_PORT_LIST rpl; /* variable-length array */ member
|