• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/dev/cxgbe/common/

Lines Matching refs:cpu_to_be32

755 			cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
759 ldst_cmd.cycles_to_len16 = cpu_to_be32(FW_LEN16(ldst_cmd));
3217 *data = (__force __u32)(cpu_to_be32(*data));
3257 val = cpu_to_be32(val);
3632 ((struct fw_hdr *)first_page)->fw_ver = cpu_to_be32(0xffffffff);
3667 cpu_to_be32(V_FW_CMD_OP(FW_PARAMS_CMD) |
3671 c.retval_len16 = cpu_to_be32(FW_LEN16(c));
3673 cpu_to_be32(V_FW_PARAMS_MNEM(FW_PARAMS_MNEM_DEV) |
3961 c.op_to_portid = cpu_to_be32(V_FW_CMD_OP(FW_PORT_CMD) |
3966 cpu_to_be32(V_FW_PORT_CMD_ACTION(FW_PORT_ACTION_L1_CFG32) |
3968 c.u.l1cfg32.rcap32 = cpu_to_be32(rcap);
3971 cpu_to_be32(V_FW_PORT_CMD_ACTION(FW_PORT_ACTION_L1_CFG) |
3973 c.u.l1cfg.rcap = cpu_to_be32(fwcaps32_to_caps16(rcap));
3992 c.op_to_portid = cpu_to_be32(V_FW_CMD_OP(FW_PORT_CMD) |
3996 cpu_to_be32(V_FW_PORT_CMD_ACTION(FW_PORT_ACTION_L1_CFG) |
3998 c.u.l1cfg.rcap = cpu_to_be32(FW_PORT_CAP_ANEG);
5548 cmd.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_RSS_IND_TBL_CMD) |
5551 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd));
5602 *qp++ = cpu_to_be32(V_FW_RSS_IND_TBL_CMD_IQ0(qbuf[0]) |
5633 c.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_RSS_GLB_CONFIG_CMD) |
5635 c.retval_len16 = cpu_to_be32(FW_LEN16(c));
5638 cpu_to_be32(V_FW_RSS_GLB_CONFIG_CMD_MODE(mode));
5641 cpu_to_be32(V_FW_RSS_GLB_CONFIG_CMD_MODE(mode));
5642 c.u.basicvirtual.synmapen_to_hashtoeplitz = cpu_to_be32(flags);
5667 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_RSS_VI_CONFIG_CMD) |
5670 c.retval_len16 = cpu_to_be32(FW_LEN16(c));
5671 c.u.basicvirtual.defaultq_to_udpen = cpu_to_be32(flags |
5673 c.u.basicvirtual.secretkeyidx_pkd = cpu_to_be32(
5675 c.u.basicvirtual.secretkeyxor = cpu_to_be32(skey);
5733 c.op_to_addrspace = cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
5738 c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c));
5740 c.u.addrval.addr = cpu_to_be32(start_index + i);
5741 c.u.addrval.val = rw ? 0 : cpu_to_be32(vals[i]);
7111 wr->op_pkd = cpu_to_be32(V_FW_WR_OP(FW_FILTER_WR));
7112 wr->len16_pkd = cpu_to_be32(V_FW_WR_LEN16(sizeof(*wr) / 16));
7113 wr->tid_to_iq = cpu_to_be32(V_FW_FILTER_WR_TID(ftid) |
7115 wr->del_filter_to_l2tix = cpu_to_be32(F_FW_FILTER_WR_DEL_FILTER);
7122 (var).op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_##cmd##_CMD) | \
7125 (var).retval_len16 = cpu_to_be32(FW_LEN16(var)); \
7136 c.op_to_addrspace = cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
7140 c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c));
7141 c.u.addrval.addr = cpu_to_be32(addr);
7142 c.u.addrval.val = cpu_to_be32(val);
7167 c.op_to_addrspace = cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
7170 c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c));
7200 c.op_to_addrspace = cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
7203 c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c));
7387 c.op_to_addrspace = cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
7390 c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c));
7391 c.u.idctxt.msg_ctxtflush = cpu_to_be32(F_FW_LDST_CMD_CTXTFLUSH);
7420 c.err_to_clearinit = cpu_to_be32(
7557 c.val = cpu_to_be32(reset);
7590 c.val = cpu_to_be32(F_PIORST | F_PIORSTMODE);
7591 c.halt_pkd = cpu_to_be32(F_FW_RESET_CMD_HALT);
7732 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_PARAMS_CMD) |
7736 c.retval_len16 = cpu_to_be32(FW_LEN16(c));
7739 *p++ = cpu_to_be32(*params++);
7741 *p = cpu_to_be32(*(val + i));
7785 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_PARAMS_CMD) |
7789 c.retval_len16 = cpu_to_be32(FW_LEN16(c));
7792 *p++ = cpu_to_be32(*params++);
7793 *p++ = cpu_to_be32(*val++);
7850 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_PFVF_CMD) | F_FW_CMD_REQUEST |
7853 c.retval_len16 = cpu_to_be32(FW_LEN16(c));
7854 c.niqflint_niq = cpu_to_be32(V_FW_PFVF_CMD_NIQFLINT(rxqi) |
7856 c.type_to_neq = cpu_to_be32(V_FW_PFVF_CMD_CMASK(cmask) |
7859 c.tc_to_nexactf = cpu_to_be32(V_FW_PFVF_CMD_TC(tc) |
7862 c.r_caps_to_nethctrl = cpu_to_be32(V_FW_PFVF_CMD_R_CAPS(rcaps) |
7898 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_VI_CMD) | F_FW_CMD_REQUEST |
7901 c.alloc_to_len16 = cpu_to_be32(F_FW_VI_CMD_ALLOC | FW_LEN16(c));
7982 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_VI_CMD) |
7987 c.alloc_to_len16 = cpu_to_be32(F_FW_VI_CMD_FREE | FW_LEN16(c));
8026 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_RXMODE_CMD) |
8029 c.retval_len16 = cpu_to_be32(FW_LEN16(c));
8031 cpu_to_be32(V_FW_VI_RXMODE_CMD_MTU(mtu) |
8066 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8071 c.freemacs_to_len16 = cpu_to_be32(val);
8077 p->lookup_type_to_vni = cpu_to_be32(V_FW_VI_MAC_CMD_VNI(vni) |
8080 p->vni_mask_pkd = cpu_to_be32(V_FW_VI_MAC_CMD_VNI_MASK(vni_mask));
8113 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8118 c.freemacs_to_len16 = cpu_to_be32(val);
8121 p->raw_idx_pkd = cpu_to_be32(V_FW_VI_MAC_CMD_RAW_IDX(idx));
8124 p->data0_pkd = cpu_to_be32(V_DATALKPTYPE(lookup_type) |
8189 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8194 c.freemacs_to_len16 = cpu_to_be32(V_FW_VI_MAC_CMD_FREEMACS(free) |
8258 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8264 c.freemacs_to_len16 = cpu_to_be32(V_FW_VI_MAC_CMD_FREEMACS(0) |
8300 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8305 c.freemacs_to_len16 = cpu_to_be32(V_FW_VI_MAC_CMD_FREEMACS(0) |
8309 p->raw_idx_pkd = cpu_to_be32(V_FW_VI_MAC_CMD_RAW_IDX(idx) |
8313 p->data0_pkd = cpu_to_be32(V_DATALKPTYPE(lookup_type) |
8362 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8368 cpu_to_be32(V_FW_VI_MAC_CMD_FREEMACS(0) |
8434 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8437 c.freemacs_to_len16 = cpu_to_be32(V_FW_CMD_LEN16(1));
8480 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8485 c.freemacs_to_len16 = cpu_to_be32(val);
8508 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_ENABLE_CMD) |
8511 c.ien_to_len16 = cpu_to_be32(V_FW_VI_ENABLE_CMD_IEN(rx_en) |
8550 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_ENABLE_CMD) |
8553 c.ien_to_len16 = cpu_to_be32(F_FW_VI_ENABLE_CMD_LED | FW_LEN16(c));
8580 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_IQ_CMD) | F_FW_CMD_REQUEST |
8583 c.alloc_to_len16 = cpu_to_be32(F_FW_IQ_CMD_IQSTOP | FW_LEN16(c));
8584 c.type_to_iqandstindex = cpu_to_be32(V_FW_IQ_CMD_TYPE(iqtype));
8611 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_IQ_CMD) | F_FW_CMD_REQUEST |
8614 c.alloc_to_len16 = cpu_to_be32(F_FW_IQ_CMD_FREE | FW_LEN16(c));
8615 c.type_to_iqandstindex = cpu_to_be32(V_FW_IQ_CMD_TYPE(iqtype));
8638 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_EQ_ETH_CMD) |
8642 c.alloc_to_len16 = cpu_to_be32(F_FW_EQ_ETH_CMD_FREE | FW_LEN16(c));
8643 c.eqid_pkd = cpu_to_be32(V_FW_EQ_ETH_CMD_EQID(eqid));
8663 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_EQ_CTRL_CMD) |
8667 c.alloc_to_len16 = cpu_to_be32(F_FW_EQ_CTRL_CMD_FREE | FW_LEN16(c));
8668 c.cmpliqid_eqid = cpu_to_be32(V_FW_EQ_CTRL_CMD_EQID(eqid));
8688 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_EQ_OFLD_CMD) |
8692 c.alloc_to_len16 = cpu_to_be32(F_FW_EQ_OFLD_CMD_FREE | FW_LEN16(c));
8693 c.eqid_pkd = cpu_to_be32(V_FW_EQ_OFLD_CMD_EQID(eqid));
8931 cmd.op_to_portid = cpu_to_be32(V_FW_CMD_OP(FW_PORT_CMD) |
8936 cmd.action_to_len16 = cpu_to_be32(V_FW_PORT_CMD_ACTION(action) |
9469 devlog_cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_DEVLOG_CMD) |
9471 devlog_cmd.retval_len16 = cpu_to_be32(FW_LEN16(devlog_cmd));
10218 cmd.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_ACL_MAC_CMD) |
10225 cmd.en_to_len16 = cpu_to_be32((unsigned int)FW_LEN16(cmd));
10832 cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
10836 ldst_cmd.cycles_to_len16 = cpu_to_be32(FW_LEN16(ldst_cmd));
10906 c.op_to_addrspace = cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
10909 c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c));
10910 c.u.idctxt.physid = cpu_to_be32(cid);
10953 cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_SCHED_CMD) |
10956 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd));
10974 cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_SCHED_CMD) |
10977 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd));
10987 cmd.u.params.min = cpu_to_be32(minrate);
10988 cmd.u.params.max = cpu_to_be32(maxrate);
11003 cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_SCHED_CMD) |
11006 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd));
11013 cmd.u.params.max = cpu_to_be32(maxrate);/* % or kbps */
11028 cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_SCHED_CMD) |
11031 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd));
11050 cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_SCHED_CMD) |
11053 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd));
11063 cmd.u.params.max = cpu_to_be32(maxrate);
11101 wdog.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_WATCHDOG_CMD) |
11106 wdog.retval_len16 = cpu_to_be32(FW_LEN16(wdog));
11107 wdog.timeout = cpu_to_be32(ticks);
11108 wdog.action = cpu_to_be32(action);
11119 devlog_cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_DEVLOG_CMD) |
11121 devlog_cmd.retval_len16 = cpu_to_be32(FW_LEN16(devlog_cmd));
11136 devlog_cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_DEVLOG_CMD) |
11140 devlog_cmd.retval_len16 = cpu_to_be32(FW_LEN16(devlog_cmd));
11227 vlan_cmd.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_ACL_VLAN_CMD) |
11233 vlan_cmd.en_to_len16 = cpu_to_be32(enable | FW_LEN16(vlan_cmd));
11271 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
11274 c.freemacs_to_len16 = cpu_to_be32(
11324 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
11327 c.freemacs_to_len16 = cpu_to_be32(