sc5 208 drivers/infiniband/hw/hfi1/chip.c sc5, sc5val, \ sc5 217 drivers/infiniband/hw/hfi1/chip.c ((u64)(sc5val) << SEND_SC2VLT##num##_SC##sc5##_SHIFT) | \ sc5 367 drivers/infiniband/hw/hfi1/driver.c u8 svc_type, sl, sc5; sc5 369 drivers/infiniband/hw/hfi1/driver.c sc5 = hfi1_9B_get_sc5(rhdr, packet->rhf); sc5 370 drivers/infiniband/hw/hfi1/driver.c sl = ibp->sc_to_sl[sc5]; sc5 1618 drivers/infiniband/hw/hfi1/hfi.h u16 pkey, u32 slid, u32 dlid, u8 sc5, sc5 1622 drivers/infiniband/hw/hfi1/hfi.h u8 sc5, const struct ib_grh *old_grh); sc5 1625 drivers/infiniband/hw/hfi1/hfi.h u8 sc5, const struct ib_grh *old_grh); sc5 1629 drivers/infiniband/hw/hfi1/hfi.h u8 sc5, int8_t s_pkey_index); sc5 1645 drivers/infiniband/hw/hfi1/hfi.h static inline u8 sc_to_vlt(struct hfi1_devdata *dd, u8 sc5) sc5 1650 drivers/infiniband/hw/hfi1/hfi.h if (sc5 >= OPA_MAX_SCS) sc5 1655 drivers/infiniband/hw/hfi1/hfi.h rval = *(((u8 *)dd->sc2vl) + sc5); sc5 1731 drivers/infiniband/hw/hfi1/hfi.h u8 sc5, u8 idx, u32 slid, bool force) sc5 1737 drivers/infiniband/hw/hfi1/hfi.h if ((sc5 == 0xf) && ((pkey & PKEY_LOW_15_MASK) != PKEY_LOW_15_MASK)) sc5 1764 drivers/infiniband/hw/hfi1/hfi.h u8 sc5, u16 slid) sc5 1770 drivers/infiniband/hw/hfi1/hfi.h if ((sc5 == 0xf) && ((pkey & PKEY_LOW_15_MASK) != PKEY_LOW_15_MASK)) sc5 1841 drivers/infiniband/hw/hfi1/pio.c u32 selector, u8 sc5) sc5 1843 drivers/infiniband/hw/hfi1/pio.c u8 vl = sc_to_vlt(dd, sc5); sc5 275 drivers/infiniband/hw/hfi1/pio.h u32 selector, u8 sc5); sc5 591 drivers/infiniband/hw/hfi1/qp.c struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5) sc5 604 drivers/infiniband/hw/hfi1/qp.c sde = sdma_select_engine_sc(dd, qp->ibqp.qp_num >> dd->qos_shift, sc5); sc5 616 drivers/infiniband/hw/hfi1/qp.c struct send_context *qp_to_send_context(struct rvt_qp *qp, u8 sc5) sc5 629 drivers/infiniband/hw/hfi1/qp.c sc5); sc5 136 drivers/infiniband/hw/hfi1/qp.h struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5); sc5 137 drivers/infiniband/hw/hfi1/qp.h struct send_context *qp_to_send_context(struct rvt_qp *qp, u8 sc5); sc5 1263 drivers/infiniband/hw/hfi1/rc.c u8 sc5, bool is_fecn, sc5 1289 drivers/infiniband/hw/hfi1/rc.c *pbc_flags |= ((!!(sc5 & 0x10)) << PBC_DC_INFO_SHIFT); sc5 1294 drivers/infiniband/hw/hfi1/rc.c lrh0 |= (sc5 & IB_SC_MASK) << IB_SC_SHIFT | sc5 1316 drivers/infiniband/hw/hfi1/rc.c u8 sc5, bool is_fecn, sc5 1358 drivers/infiniband/hw/hfi1/rc.c 16B), len, pkey, becn, 0, l4, sc5); sc5 1369 drivers/infiniband/hw/hfi1/rc.c u8 sc5, bool is_fecn, sc5 1394 drivers/infiniband/hw/hfi1/rc.c u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; sc5 1422 drivers/infiniband/hw/hfi1/rc.c hfi1_make_rc_ack_tbl[priv->hdr_type](packet, &opa_hdr, sc5, is_fecn, sc5 1427 drivers/infiniband/hw/hfi1/rc.c sc_to_vlt(ppd->dd, sc5), plen); sc5 1440 drivers/infiniband/hw/hfi1/rc.c &opa_hdr, ib_is_sc5(sc5)); sc5 1899 drivers/infiniband/hw/hfi1/rc.c u8 sc5; sc5 1902 drivers/infiniband/hw/hfi1/rc.c sc5 = ibp->sl_to_sc[sl]; sc5 1903 drivers/infiniband/hw/hfi1/rc.c engine = qp_to_sdma_engine(qp, sc5); sc5 74 drivers/infiniband/hw/hfi1/ruc.c u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; sc5 105 drivers/infiniband/hw/hfi1/ruc.c sc5, slid))) { sc5 142 drivers/infiniband/hw/hfi1/ruc.c sc5, slid))) { sc5 826 drivers/infiniband/hw/hfi1/sdma.c u8 sc5) sc5 828 drivers/infiniband/hw/hfi1/sdma.c u8 vl = sc_to_vlt(dd, sc5); sc5 1057 drivers/infiniband/hw/hfi1/sdma.h u8 sc5); sc5 190 drivers/infiniband/hw/hfi1/trace.c void hfi1_trace_parse_9b_hdr(struct ib_header *hdr, bool sc5, sc5 197 drivers/infiniband/hw/hfi1/trace.c *sc = ib_get_sc(hdr) | (sc5 << 4); sc5 119 drivers/infiniband/hw/hfi1/trace_ibhdrs.h void hfi1_trace_parse_9b_hdr(struct ib_header *hdr, bool sc5, sc5 158 drivers/infiniband/hw/hfi1/trace_ibhdrs.h bool sc5), sc5 159 drivers/infiniband/hw/hfi1/trace_ibhdrs.h TP_ARGS(dd, packet, sc5), sc5 230 drivers/infiniband/hw/hfi1/trace_ibhdrs.h hfi1_trace_parse_9b_hdr(packet->hdr, sc5, sc5 313 drivers/infiniband/hw/hfi1/trace_ibhdrs.h struct hfi1_packet *packet, bool sc5), sc5 314 drivers/infiniband/hw/hfi1/trace_ibhdrs.h TP_ARGS(dd, packet, sc5)); sc5 318 drivers/infiniband/hw/hfi1/trace_ibhdrs.h struct hfi1_opa_header *opah, bool sc5), sc5 319 drivers/infiniband/hw/hfi1/trace_ibhdrs.h TP_ARGS(dd, opah, sc5), sc5 395 drivers/infiniband/hw/hfi1/trace_ibhdrs.h hfi1_trace_parse_9b_hdr(&opah->ibh, sc5, sc5 476 drivers/infiniband/hw/hfi1/trace_ibhdrs.h struct hfi1_opa_header *opah, bool sc5), sc5 477 drivers/infiniband/hw/hfi1/trace_ibhdrs.h TP_ARGS(dd, opah, sc5)); sc5 481 drivers/infiniband/hw/hfi1/trace_ibhdrs.h struct hfi1_opa_header *opah, bool sc5), sc5 482 drivers/infiniband/hw/hfi1/trace_ibhdrs.h TP_ARGS(dd, opah, sc5)); sc5 486 drivers/infiniband/hw/hfi1/trace_ibhdrs.h struct hfi1_opa_header *opah, bool sc5), sc5 487 drivers/infiniband/hw/hfi1/trace_ibhdrs.h TP_ARGS(dd, opah, sc5)); sc5 114 drivers/infiniband/hw/hfi1/ud.c u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; sc5 119 drivers/infiniband/hw/hfi1/ud.c if (unlikely(ingress_pkey_check(ppd, pkey, sc5, sc5 309 drivers/infiniband/hw/hfi1/ud.c u8 sc5; sc5 341 drivers/infiniband/hw/hfi1/ud.c sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; sc5 347 drivers/infiniband/hw/hfi1/ud.c lrh0 |= (sc5 & 0xf) << 12; sc5 348 drivers/infiniband/hw/hfi1/ud.c priv->s_sc = sc5; sc5 386 drivers/infiniband/hw/hfi1/ud.c u8 l4, sc5; sc5 438 drivers/infiniband/hw/hfi1/ud.c sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; sc5 442 drivers/infiniband/hw/hfi1/ud.c priv->s_sc = sc5; sc5 634 drivers/infiniband/hw/hfi1/ud.c u8 sc5, const struct ib_grh *old_grh) sc5 643 drivers/infiniband/hw/hfi1/ud.c struct send_context *ctxt = qp_to_send_context(qp, sc5); sc5 678 drivers/infiniband/hw/hfi1/ud.c hfi1_make_16b_hdr(&hdr.opah, slid, dlid, len, pkey, 1, 0, l4, sc5); sc5 682 drivers/infiniband/hw/hfi1/ud.c vl = sc_to_vlt(ppd->dd, sc5); sc5 687 drivers/infiniband/hw/hfi1/ud.c trace_pio_output_ibhdr(ppd->dd, &hdr, sc5); sc5 695 drivers/infiniband/hw/hfi1/ud.c u16 pkey, u32 slid, u32 dlid, u8 sc5, sc5 701 drivers/infiniband/hw/hfi1/ud.c u8 sl = ibp->sc_to_sl[sc5]; sc5 705 drivers/infiniband/hw/hfi1/ud.c struct send_context *ctxt = qp_to_send_context(qp, sc5); sc5 726 drivers/infiniband/hw/hfi1/ud.c lrh0 |= (sc5 & 0xf) << 12 | sl << 4; sc5 736 drivers/infiniband/hw/hfi1/ud.c pbc_flags |= (ib_is_sc5(sc5) << PBC_DC_INFO_SHIFT); sc5 737 drivers/infiniband/hw/hfi1/ud.c vl = sc_to_vlt(ppd->dd, sc5); sc5 742 drivers/infiniband/hw/hfi1/ud.c trace_pio_output_ibhdr(ppd->dd, &hdr, sc5); sc5 767 drivers/infiniband/hw/hfi1/ud.c static int opa_smp_check(struct hfi1_ibport *ibp, u16 pkey, u8 sc5, sc5 776 drivers/infiniband/hw/hfi1/ud.c if (sc5 != 0xf) sc5 779 drivers/infiniband/hw/hfi1/ud.c if (rcv_pkey_check(ppd, pkey, sc5, slid)) sc5 866 drivers/infiniband/hw/hfi1/ud.c u8 sc5 = packet->sc; sc5 893 drivers/infiniband/hw/hfi1/ud.c sl_from_sc = ibp->sc_to_sl[sc5]; sc5 920 drivers/infiniband/hw/hfi1/ud.c if (unlikely(rcv_pkey_check(ppd, pkey, sc5, slid))) { sc5 945 drivers/infiniband/hw/hfi1/ud.c (tlen > 2048 || (sc5 == 0xF)))) sc5 951 drivers/infiniband/hw/hfi1/ud.c if (opa_smp_check(ibp, pkey, sc5, qp, slid, smp)) sc5 849 drivers/infiniband/hw/hfi1/verbs.c u8 sc5 = priv->s_sc; sc5 866 drivers/infiniband/hw/hfi1/verbs.c u32 vl = sc_to_vlt(dd_from_ibdev(qp->ibqp.device), sc5); sc5 874 drivers/infiniband/hw/hfi1/verbs.c pbc |= (ib_is_sc5(sc5) << PBC_DC_INFO_SHIFT); sc5 902 drivers/infiniband/hw/hfi1/verbs.c &ps->s_txreq->phdr.hdr, ib_is_sc5(sc5)); sc5 989 drivers/infiniband/hw/hfi1/verbs.c u8 sc5; sc5 1021 drivers/infiniband/hw/hfi1/verbs.c sc5 = priv->s_sc; sc5 1025 drivers/infiniband/hw/hfi1/verbs.c u8 vl = sc_to_vlt(dd_from_ibdev(qp->ibqp.device), sc5); sc5 1031 drivers/infiniband/hw/hfi1/verbs.c pbc |= (ib_is_sc5(sc5) << PBC_DC_INFO_SHIFT); sc5 1099 drivers/infiniband/hw/hfi1/verbs.c &ps->s_txreq->phdr.hdr, ib_is_sc5(sc5)); sc5 1158 drivers/infiniband/hw/hfi1/verbs.c u8 sc5, int8_t s_pkey_index) sc5 1168 drivers/infiniband/hw/hfi1/verbs.c if ((sc5 == 0xf) && ((pkey & PKEY_LOW_15_MASK) != PKEY_LOW_15_MASK)) sc5 1526 drivers/infiniband/hw/hfi1/verbs.c u8 sc5; sc5 1543 drivers/infiniband/hw/hfi1/verbs.c sc5 = ibp->sl_to_sc[sl]; sc5 1544 drivers/infiniband/hw/hfi1/verbs.c if (sc_to_vlt(dd, sc5) > num_vls && sc_to_vlt(dd, sc5) != 0xf) sc5 1556 drivers/infiniband/hw/hfi1/verbs.c u8 sc5; sc5 1566 drivers/infiniband/hw/hfi1/verbs.c sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&ah->attr)]; sc5 1570 drivers/infiniband/hw/hfi1/verbs.c ah->vl = sc_to_vlt(dd, sc5); sc5 1982 drivers/infiniband/hw/hfi1/verbs.c u8 sl, sc5, svc_type; sc5 2005 drivers/infiniband/hw/hfi1/verbs.c sc5 = hfi1_9B_get_sc5(hdr, packet->rhf); sc5 2006 drivers/infiniband/hw/hfi1/verbs.c sl = ibp->sc_to_sl[sc5]; sc5 225 include/rdma/ib_hdrs.h static inline bool ib_is_sc5(u16 sc5) sc5 227 include/rdma/ib_hdrs.h return !!(sc5 & IB_SC5_MASK);