• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-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]);
7162 wr->op_pkd = cpu_to_be32(V_FW_WR_OP(FW_FILTER_WR));
7163 wr->len16_pkd = cpu_to_be32(V_FW_WR_LEN16(sizeof(*wr) / 16));
7164 wr->tid_to_iq = cpu_to_be32(V_FW_FILTER_WR_TID(ftid) |
7166 wr->del_filter_to_l2tix = cpu_to_be32(F_FW_FILTER_WR_DEL_FILTER);
7173 (var).op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_##cmd##_CMD) | \
7176 (var).retval_len16 = cpu_to_be32(FW_LEN16(var)); \
7187 c.op_to_addrspace = cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
7191 c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c));
7192 c.u.addrval.addr = cpu_to_be32(addr);
7193 c.u.addrval.val = cpu_to_be32(val);
7218 c.op_to_addrspace = cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
7221 c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c));
7251 c.op_to_addrspace = cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
7254 c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c));
7438 c.op_to_addrspace = cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
7441 c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c));
7442 c.u.idctxt.msg_ctxtflush = cpu_to_be32(F_FW_LDST_CMD_CTXTFLUSH);
7471 c.err_to_clearinit = cpu_to_be32(
7608 c.val = cpu_to_be32(reset);
7641 c.val = cpu_to_be32(F_PIORST | F_PIORSTMODE);
7642 c.halt_pkd = cpu_to_be32(F_FW_RESET_CMD_HALT);
7783 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_PARAMS_CMD) |
7787 c.retval_len16 = cpu_to_be32(FW_LEN16(c));
7790 *p++ = cpu_to_be32(*params++);
7792 *p = cpu_to_be32(*(val + i));
7836 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_PARAMS_CMD) |
7840 c.retval_len16 = cpu_to_be32(FW_LEN16(c));
7843 *p++ = cpu_to_be32(*params++);
7844 *p++ = cpu_to_be32(*val++);
7901 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_PFVF_CMD) | F_FW_CMD_REQUEST |
7904 c.retval_len16 = cpu_to_be32(FW_LEN16(c));
7905 c.niqflint_niq = cpu_to_be32(V_FW_PFVF_CMD_NIQFLINT(rxqi) |
7907 c.type_to_neq = cpu_to_be32(V_FW_PFVF_CMD_CMASK(cmask) |
7910 c.tc_to_nexactf = cpu_to_be32(V_FW_PFVF_CMD_TC(tc) |
7913 c.r_caps_to_nethctrl = cpu_to_be32(V_FW_PFVF_CMD_R_CAPS(rcaps) |
7949 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_VI_CMD) | F_FW_CMD_REQUEST |
7952 c.alloc_to_len16 = cpu_to_be32(F_FW_VI_CMD_ALLOC | FW_LEN16(c));
8033 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_VI_CMD) |
8038 c.alloc_to_len16 = cpu_to_be32(F_FW_VI_CMD_FREE | FW_LEN16(c));
8077 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_RXMODE_CMD) |
8080 c.retval_len16 = cpu_to_be32(FW_LEN16(c));
8082 cpu_to_be32(V_FW_VI_RXMODE_CMD_MTU(mtu) |
8117 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8122 c.freemacs_to_len16 = cpu_to_be32(val);
8128 p->lookup_type_to_vni = cpu_to_be32(V_FW_VI_MAC_CMD_VNI(vni) |
8131 p->vni_mask_pkd = cpu_to_be32(V_FW_VI_MAC_CMD_VNI_MASK(vni_mask));
8164 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8169 c.freemacs_to_len16 = cpu_to_be32(val);
8172 p->raw_idx_pkd = cpu_to_be32(V_FW_VI_MAC_CMD_RAW_IDX(idx));
8175 p->data0_pkd = cpu_to_be32(V_DATALKPTYPE(lookup_type) |
8240 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8245 c.freemacs_to_len16 = cpu_to_be32(V_FW_VI_MAC_CMD_FREEMACS(free) |
8309 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8315 c.freemacs_to_len16 = cpu_to_be32(V_FW_VI_MAC_CMD_FREEMACS(0) |
8351 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8356 c.freemacs_to_len16 = cpu_to_be32(V_FW_VI_MAC_CMD_FREEMACS(0) |
8360 p->raw_idx_pkd = cpu_to_be32(V_FW_VI_MAC_CMD_RAW_IDX(idx) |
8364 p->data0_pkd = cpu_to_be32(V_DATALKPTYPE(lookup_type) |
8413 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8419 cpu_to_be32(V_FW_VI_MAC_CMD_FREEMACS(0) |
8485 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8488 c.freemacs_to_len16 = cpu_to_be32(V_FW_CMD_LEN16(1));
8531 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
8536 c.freemacs_to_len16 = cpu_to_be32(val);
8559 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_ENABLE_CMD) |
8562 c.ien_to_len16 = cpu_to_be32(V_FW_VI_ENABLE_CMD_IEN(rx_en) |
8601 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_ENABLE_CMD) |
8604 c.ien_to_len16 = cpu_to_be32(F_FW_VI_ENABLE_CMD_LED | FW_LEN16(c));
8631 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_IQ_CMD) | F_FW_CMD_REQUEST |
8634 c.alloc_to_len16 = cpu_to_be32(F_FW_IQ_CMD_IQSTOP | FW_LEN16(c));
8635 c.type_to_iqandstindex = cpu_to_be32(V_FW_IQ_CMD_TYPE(iqtype));
8662 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_IQ_CMD) | F_FW_CMD_REQUEST |
8665 c.alloc_to_len16 = cpu_to_be32(F_FW_IQ_CMD_FREE | FW_LEN16(c));
8666 c.type_to_iqandstindex = cpu_to_be32(V_FW_IQ_CMD_TYPE(iqtype));
8690 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_EQ_ETH_CMD) |
8694 c.alloc_to_len16 = cpu_to_be32(F_FW_EQ_ETH_CMD_EQSTOP | FW_LEN16(c));
8695 c.eqid_pkd = cpu_to_be32(V_FW_EQ_ETH_CMD_EQID(eqid));
8715 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_EQ_ETH_CMD) |
8719 c.alloc_to_len16 = cpu_to_be32(F_FW_EQ_ETH_CMD_FREE | FW_LEN16(c));
8720 c.eqid_pkd = cpu_to_be32(V_FW_EQ_ETH_CMD_EQID(eqid));
8740 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_EQ_CTRL_CMD) |
8744 c.alloc_to_len16 = cpu_to_be32(F_FW_EQ_CTRL_CMD_FREE | FW_LEN16(c));
8745 c.cmpliqid_eqid = cpu_to_be32(V_FW_EQ_CTRL_CMD_EQID(eqid));
8765 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_EQ_OFLD_CMD) |
8769 c.alloc_to_len16 = cpu_to_be32(F_FW_EQ_OFLD_CMD_FREE | FW_LEN16(c));
8770 c.eqid_pkd = cpu_to_be32(V_FW_EQ_OFLD_CMD_EQID(eqid));
9008 cmd.op_to_portid = cpu_to_be32(V_FW_CMD_OP(FW_PORT_CMD) |
9013 cmd.action_to_len16 = cpu_to_be32(V_FW_PORT_CMD_ACTION(action) |
9549 devlog_cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_DEVLOG_CMD) |
9551 devlog_cmd.retval_len16 = cpu_to_be32(FW_LEN16(devlog_cmd));
10347 cmd.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_ACL_MAC_CMD) |
10354 cmd.en_to_len16 = cpu_to_be32((unsigned int)FW_LEN16(cmd));
11029 cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
11033 ldst_cmd.cycles_to_len16 = cpu_to_be32(FW_LEN16(ldst_cmd));
11103 c.op_to_addrspace = cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) |
11106 c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c));
11107 c.u.idctxt.physid = cpu_to_be32(cid);
11150 cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_SCHED_CMD) |
11153 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd));
11171 cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_SCHED_CMD) |
11174 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd));
11184 cmd.u.params.min = cpu_to_be32(minrate);
11185 cmd.u.params.max = cpu_to_be32(maxrate);
11200 cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_SCHED_CMD) |
11203 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd));
11210 cmd.u.params.max = cpu_to_be32(maxrate);/* % or kbps */
11225 cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_SCHED_CMD) |
11228 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd));
11247 cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_SCHED_CMD) |
11250 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd));
11260 cmd.u.params.max = cpu_to_be32(maxrate);
11298 wdog.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_WATCHDOG_CMD) |
11303 wdog.retval_len16 = cpu_to_be32(FW_LEN16(wdog));
11304 wdog.timeout = cpu_to_be32(ticks);
11305 wdog.action = cpu_to_be32(action);
11316 devlog_cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_DEVLOG_CMD) |
11318 devlog_cmd.retval_len16 = cpu_to_be32(FW_LEN16(devlog_cmd));
11333 devlog_cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_DEVLOG_CMD) |
11337 devlog_cmd.retval_len16 = cpu_to_be32(FW_LEN16(devlog_cmd));
11424 vlan_cmd.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_ACL_VLAN_CMD) |
11430 vlan_cmd.en_to_len16 = cpu_to_be32(enable | FW_LEN16(vlan_cmd));
11468 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
11471 c.freemacs_to_len16 = cpu_to_be32(
11521 c.op_to_viid = cpu_to_be32(V_FW_CMD_OP(FW_VI_MAC_CMD) |
11524 c.freemacs_to_len16 = cpu_to_be32(