Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c71 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()
371 struct fw_params_cmd cmd, rpl; in t4vf_query_params() local
388 ret = t4vf_wr_mbox(adapter, &cmd, sizeof(cmd), &rpl); in t4vf_query_params()
390 for (i = 0, p = &rpl.param[0]; i < nparams; i++, p++) in t4vf_query_params()
539 struct fw_rss_glb_config_cmd cmd, rpl; in t4vf_get_rss_glb_config() local
[all …]
Dt4vf_common.h224 int size, void *rpl) in t4vf_wr_mbox() argument
226 return t4vf_wr_mbox_core(adapter, cmd, size, rpl, true); in t4vf_wr_mbox()
230 int size, void *rpl) in t4vf_wr_mbox_ns() argument
232 return t4vf_wr_mbox_core(adapter, cmd, size, rpl, false); in t4vf_wr_mbox_ns()
Dsge.c2040 struct fw_iq_cmd cmd, rpl; in t4vf_sge_alloc_rxq() local
2144 ret = t4vf_wr_mbox(adapter, &cmd, sizeof(cmd), &rpl); in t4vf_sge_alloc_rxq()
2153 rspq->cntxt_id = be16_to_cpu(rpl.iqid); in t4vf_sge_alloc_rxq()
2154 rspq->abs_id = be16_to_cpu(rpl.physiqid); in t4vf_sge_alloc_rxq()
2164 fl->cntxt_id = be16_to_cpu(rpl.fl0id); in t4vf_sge_alloc_rxq()
2210 struct fw_eq_eth_cmd cmd, rpl; in t4vf_sge_alloc_eth_txq() local
2261 ret = t4vf_wr_mbox(adapter, &cmd, sizeof(cmd), &rpl); in t4vf_sge_alloc_eth_txq()
2280 txq->q.cntxt_id = FW_EQ_ETH_CMD_EQID_GET(be32_to_cpu(rpl.eqid_pkd)); in t4vf_sge_alloc_eth_txq()
2282 FW_EQ_ETH_CMD_PHYSEQID_GET(be32_to_cpu(rpl.physeqid_pkd)); in t4vf_sge_alloc_eth_txq()
/linux-3.4.99/drivers/net/tokenring/
Dtms380tr.c179 static void tms380tr_write_rpl_status(RPL *rpl, unsigned int Status);
2023 RPL *rpl; in tms380tr_rcv_status_irq() local
2035 rpl = tp->RplHead; in tms380tr_rcv_status_irq()
2036 if(rpl->Status & RX_VALID) in tms380tr_rcv_status_irq()
2041 tp->RplHead = rpl->NextRPLPtr; in tms380tr_rcv_status_irq()
2046 Length = be16_to_cpu(rpl->FrameSize); in tms380tr_rcv_status_irq()
2051 if((rpl->Status & VALID_SINGLE_BUFFER_FRAME) in tms380tr_rcv_status_irq()
2054 ReceiveDataPtr = rpl->MData; in tms380tr_rcv_status_irq()
2062 Length2 = be16_to_cpu(rpl->FrameSize); in tms380tr_rcv_status_irq()
2079 skb = rpl->Skb; in tms380tr_rcv_status_irq()
[all …]
/linux-3.4.99/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c289 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 …]
/linux-3.4.99/drivers/infiniband/hw/cxgb3/
Diwch_cm.c1181 struct cpl_act_open_rpl *rpl = cplhdr(skb); in act_open_rpl() local
1183 PDBG("%s ep %p status %u errno %d\n", __func__, ep, rpl->status, in act_open_rpl()
1184 status2errno(rpl->status)); in act_open_rpl()
1185 connect_reply_upcall(ep, status2errno(rpl->status)); in act_open_rpl()
1187 if (ep->com.tdev->type != T3A && act_open_has_tid(rpl->status)) in act_open_rpl()
1188 release_tid(ep->com.tdev, GET_TID(rpl), NULL); in act_open_rpl()
1227 struct cpl_pass_open_rpl *rpl = cplhdr(skb); in pass_open_rpl() local
1230 rpl->status, status2errno(rpl->status)); in pass_open_rpl()
1231 ep->com.rpl_err = status2errno(rpl->status); in pass_open_rpl()
1261 struct cpl_close_listserv_rpl *rpl = cplhdr(skb); in close_listsrv_rpl() local
[all …]
/linux-3.4.99/drivers/infiniband/hw/cxgb4/
Dcm.c1358 struct cpl_abort_rpl_rss *rpl = cplhdr(skb); in abort_rpl() local
1360 unsigned int tid = GET_TID(rpl); in abort_rpl()
1396 struct cpl_act_open_rpl *rpl = cplhdr(skb); in act_open_rpl() local
1398 ntohl(rpl->atid_status))); in act_open_rpl()
1400 int status = GET_AOPEN_STATUS(ntohl(rpl->atid_status)); in act_open_rpl()
1417 cxgb4_remove_tid(ep->com.dev->rdev.lldi.tids, 0, GET_TID(rpl)); in act_open_rpl()
1429 struct cpl_pass_open_rpl *rpl = cplhdr(skb); in pass_open_rpl() local
1431 unsigned int stid = GET_TID(rpl); in pass_open_rpl()
1439 rpl->status, status2errno(rpl->status)); in pass_open_rpl()
1440 c4iw_wake_up(&ep->com.wr_wait, status2errno(rpl->status)); in pass_open_rpl()
[all …]
Ddevice.c491 const struct cpl_act_establish *rpl; in c4iw_uld_rx_handler() local
515 rpl = cplhdr(skb); in c4iw_uld_rx_handler()
516 opcode = rpl->ot.opcode; in c4iw_uld_rx_handler()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c704 struct cpl_smt_write_rpl *rpl = cplhdr(skb); in do_smt_write_rpl() local
706 if (rpl->status != CPL_ERR_NONE) in do_smt_write_rpl()
709 rpl->status, GET_TID(rpl)); in do_smt_write_rpl()
716 struct cpl_l2t_write_rpl *rpl = cplhdr(skb); in do_l2t_write_rpl() local
718 if (rpl->status != CPL_ERR_NONE) in do_l2t_write_rpl()
721 rpl->status, GET_TID(rpl)); in do_l2t_write_rpl()
728 struct cpl_rte_write_rpl *rpl = cplhdr(skb); in do_rte_write_rpl() local
730 if (rpl->status != CPL_ERR_NONE) in do_rte_write_rpl()
733 rpl->status, GET_TID(rpl)); in do_rte_write_rpl()
740 struct cpl_act_open_rpl *rpl = cplhdr(skb); in do_act_open_rpl() local
[all …]
/linux-3.4.99/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c275 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 …]
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h627 void *rpl, bool sleep_ok);
630 int size, void *rpl) in t4_wr_mbox() argument
632 return t4_wr_mbox_meat(adap, mbox, cmd, size, rpl, true); in t4_wr_mbox()
636 int size, void *rpl) in t4_wr_mbox_ns() argument
638 return t4_wr_mbox_meat(adap, mbox, cmd, size, rpl, false); in t4_wr_mbox_ns()
721 int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl);
Dl2t.h104 void do_l2t_write_rpl(struct adapter *p, const struct cpl_l2t_write_rpl *rpl);
Dl2t.c189 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()
Dt4_hw.c126 static void get_mbox_rpl(struct adapter *adap, __be64 *rpl, int nflit, in get_mbox_rpl() argument
130 *rpl++ = cpu_to_be64(t4_read_reg64(adap, mbox_addr)); in get_mbox_rpl()
184 void *rpl, bool sleep_ok) in t4_wr_mbox_meat() argument
243 } else if (rpl) in t4_wr_mbox_meat()
244 get_mbox_rpl(adap, rpl, size / 8, data_reg); in t4_wr_mbox_meat()
2643 int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl) in t4_handle_fw_rpl() argument
2645 u8 opcode = *(const u8 *)rpl; in t4_handle_fw_rpl()
2649 const struct fw_port_cmd *p = (void *)rpl; in t4_handle_fw_rpl()
/linux-3.4.99/fs/ncpfs/
Ddir.c764 char* rpl; in ncp_do_readdir() local
767 err = ncp_search_for_fileset(server, &seq, &more, &cnt, buf, bufsize, &rpl, &rpls); in ncp_do_readdir()
777 ncp_extract_file_info(rpl, &entry.i); in ncp_do_readdir()
782 rpl += onerpl; in ncp_do_readdir()
Dsock.c794 void* rpl, int size) in ncp_request2() argument
797 struct ncp_reply_header* reply = rpl; in ncp_request2()
/linux-3.4.99/arch/ia64/xen/
Dxen_pv_ops.c56 unsigned int rpl = (rsc & IA64_RSC_PL_MASK) >> IA64_RSC_PL_SHIFT; in xen_info_init() local
57 xen_info.kernel_rpl = rpl; in xen_info_init()
/linux-3.4.99/arch/x86/kvm/
Demulate.c570 unsigned cpl, rpl; in __linearize() local
605 rpl = sel & 3; in __linearize()
606 cpl = max(cpl, rpl); in __linearize()
1231 u8 dpl, rpl, cpl; in load_segment_descriptor() local
1280 rpl = selector & 3; in load_segment_descriptor()
1290 if (rpl != cpl || (seg_desc.type & 0xa) != 0x2 || dpl != cpl) in load_segment_descriptor()
1303 if (rpl > cpl || dpl != cpl) in load_segment_descriptor()
1325 (rpl > dpl && cpl > dpl))) in load_segment_descriptor()
Dvmx.c3309 unsigned int rpl; in data_segment_valid() local
3312 rpl = var.selector & SELECTOR_RPL_MASK; in data_segment_valid()
3321 if (var.dpl < rpl) /* DPL < RPL */ in data_segment_valid()
/linux-3.4.99/drivers/scsi/lpfc/
Dlpfc_ct.c1424 rh->rpl.EntryCnt = be32_to_cpu(1); in lpfc_fdmi_cmd()
1425 memcpy(&rh->rpl.pe, &vport->fc_sparam.portName, in lpfc_fdmi_cmd()
Dlpfc_els.c5730 RPL *rpl; in lpfc_els_rcv_rpl() local
5748 rpl = (RPL *) (lp + 1); in lpfc_els_rcv_rpl()
5749 maxsize = be32_to_cpu(rpl->maxsize); in lpfc_els_rcv_rpl()
5752 if ((rpl->index == 0) && in lpfc_els_rcv_rpl()
Dlpfc_hw.h1134 REG_PORT_LIST rpl; /* variable-length array */ member