| /f-stack/dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_ofld.h | 14 (w)->wr.wr_hi = cpu_to_be32(V_FW_WR_OP(FW_TP_WR) | \ 16 (w)->wr.wr_mid = cpu_to_be32( \ 24 OPCODE_TID(w) = cpu_to_be32(MK_OPCODE_TID(cpl, tid)); \ 28 (w)->wr.wr_hi = cpu_to_be32(V_FW_WR_OP(FW_ULPTX_WR) | \ 30 (w)->wr.wr_mid = cpu_to_be32(V_FW_WR_LEN16(DIV_ROUND_UP(wrlen, 16)) | \
|
| H A D | cxgbe_filter.c | 233 sc->len = cpu_to_be32(0); in mk_set_tcb_field_ulp() 376 sc->len = cpu_to_be32(sizeof(*abort_req) - in mk_abort_req_ulp() 379 abort_req->rsvd0 = cpu_to_be32(0); in mk_abort_req_ulp() 384 sc->len = cpu_to_be32(0); in mk_abort_req_ulp() 400 sc->len = cpu_to_be32(sizeof(*abort_rpl) - in mk_abort_rpl_ulp() 403 abort_rpl->rsvd0 = cpu_to_be32(0); in mk_abort_rpl_ulp() 408 sc->len = cpu_to_be32(0); in mk_abort_rpl_ulp() 534 req->opt2 = cpu_to_be32(F_RSS_QUEUE_VALID | in mk_act_open_req6() 581 req->opt2 = cpu_to_be32(F_RSS_QUEUE_VALID | in mk_act_open_req() 735 wr->op_pkd = cpu_to_be32(V_FW_WR_OP(FW_FILTER_WR)); in t4_mk_filtdelwr() [all …]
|
| H A D | clip_tbl.c | 20 c.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_CLIP_CMD) | in clip6_get_mbox() 22 c.alloc_to_len16 = cpu_to_be32(F_FW_CLIP_CMD_ALLOC | FW_LEN16(c)); in clip6_get_mbox() 39 c.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_CLIP_CMD) | in clip6_release_mbox() 41 c.alloc_to_len16 = cpu_to_be32(F_FW_CLIP_CMD_FREE | FW_LEN16(c)); in clip6_release_mbox()
|
| H A D | cxgbe_compat.h | 148 #define cpu_to_be32(o) rte_cpu_to_be_32(o) macro 169 #define htonl(o) cpu_to_be32(o)
|
| H A D | smt.c | 97 cpu_to_be32(MK_OPCODE_TID(CPL_SMT_WRITE_REQ, in write_smt_entry() 101 req->params = cpu_to_be32(V_SMTW_NORPL(0) | in write_smt_entry()
|
| H A D | l2t.c | 76 cpu_to_be32(MK_OPCODE_TID(CPL_L2T_WRITE_REQ, in write_l2e()
|
| H A D | cxgbe_main.c | 1168 caps_cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_CAPS_CONFIG_CMD) | in adap_init0_config() 1171 cpu_to_be32(F_FW_CAPS_CONFIG_CMD_CFVALID | in adap_init0_config() 1190 cpu_to_be32(V_FW_CMD_OP(FW_CAPS_CONFIG_CMD) | in adap_init0_config() 1192 caps_cmd.cfvalid_to_len16 = cpu_to_be32(FW_LEN16(caps_cmd)); in adap_init0_config() 1224 caps_cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_CAPS_CONFIG_CMD) | in adap_init0_config()
|
| /f-stack/dpdk/drivers/net/cxgbe/base/ |
| H A D | t4vf_hw.c | 359 cmd.retval_len16 = cpu_to_be32(V_FW_CMD_LEN16(len16)); in t4vf_query_params() 361 p->mnem = cpu_to_be32(*params++); in t4vf_query_params() 455 cmd.retval_len16 = cpu_to_be32(V_FW_CMD_LEN16(len16)); in t4vf_set_params() 457 p->mnem = cpu_to_be32(*params++); in t4vf_set_params() 458 p->val = cpu_to_be32(*vals++); in t4vf_set_params() 533 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_get_rss_glb_config() 605 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_get_vfres() 754 cmd.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_VI_CMD) | in t4vf_alloc_vi() 758 cmd.alloc_to_len16 = cpu_to_be32(FW_LEN16(cmd) | in t4vf_alloc_vi() 833 port_cmd.op_to_portid = cpu_to_be32 in t4vf_port_init() [all …]
|
| H A D | t4_hw.c | 2345 c.retval_len16 = cpu_to_be32(FW_LEN16(c)); in t4_config_vi_rss() 2375 c.retval_len16 = cpu_to_be32(FW_LEN16(c)); in t4_read_config_vi_rss() 2634 *data = cpu_to_be32(*data); in t4_read_flash() 3010 cmd.u.l1cfg32.rcap32 = cpu_to_be32(rcap); in t4_link_l1cfg() 3395 c.err_to_clearinit = cpu_to_be32( in t4_fw_hello() 3532 c.val = cpu_to_be32(reset); in t4_fw_reset() 3934 *p++ = cpu_to_be32(*params++); in t4_query_params_rw() 3936 *p = cpu_to_be32(*(val + i)); in t4_query_params_rw() 3987 *p++ = cpu_to_be32(*params++); in t4_set_params_timeout() 3988 *p++ = cpu_to_be32(*val++); in t4_set_params_timeout() [all …]
|
| /f-stack/dpdk/drivers/common/dpaax/caamflib/ |
| H A D | compat.h | 109 #if !defined(cpu_to_be32) 111 #define cpu_to_be32(x) (x) macro 113 #define cpu_to_be32(x) swab32(x) macro
|
| /f-stack/dpdk/drivers/bus/dpaa/base/qbman/ |
| H A D | qman.c | 241 fd->status = cpu_to_be32(fd->status); in cpu_to_hw_fd() 242 fd->opaque = cpu_to_be32(fd->opaque); in cpu_to_hw_fd() 1494 fq->fqid_le = cpu_to_be32(fqid); in qman_create_fq() 1510 mcc->queryfq.fqid = cpu_to_be32(fqid); in qman_create_fq() 2278 eq->fqid = cpu_to_be32(fq->fqid); in try_p_eq_start() 2280 eq->tag = cpu_to_be32(fq->key); in try_p_eq_start() 2466 eq->orp = cpu_to_be32(orp->fqid); in qman_enqueue_orp() 2706 mcc->queryfq.fqid = cpu_to_be32(fqid); in qman_shutdown_fq() 2724 mcc->alterfq.fqid = cpu_to_be32(fqid); in qman_shutdown_fq() 2864 mcc->alterfq.fqid = cpu_to_be32(fqid); in qman_shutdown_fq() [all …]
|
| H A D | bman.h | 40 #define __bm_out(bm, o, val) __raw_writel(cpu_to_be32(val), \ 52 __raw_writel(cpu_to_be32(val), __tmpclout); \
|
| H A D | qman.h | 55 #define __qm_out(qm, o, val) __raw_writel((cpu_to_be32(val)), \ 67 __raw_writel(cpu_to_be32(val), __tmpclout); \
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | byteorder.h | 48 #define BE_32(x) cpu_to_be32(x)
|
| /f-stack/dpdk/drivers/raw/ifpga/base/osdep_rte/ |
| H A D | osdep_generic.h | 48 #define cpu_to_be32(o) rte_cpu_to_be_32(o) macro
|
| /f-stack/dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_mng.c | 202 command.address = cpu_to_be32(addr); in txgbe_hic_sr_read() 245 command.address = cpu_to_be32(addr); in txgbe_hic_sr_write()
|
| H A D | txgbe_osdep.h | 92 #define cpu_to_be32(v) rte_cpu_to_be_32((u32)(v)) macro
|
| /f-stack/dpdk/drivers/common/dpaax/ |
| H A D | compat.h | 271 #if !defined(cpu_to_be32) 272 #define cpu_to_be32(x) rte_cpu_to_be_32(x) macro
|
| /f-stack/dpdk/drivers/net/hinic/base/ |
| H A D | hinic_pmd_hwif.h | 89 writel(cpu_to_be32(val), hwif->cfg_regs_base + reg); in hinic_hwif_write_reg()
|
| H A D | hinic_pmd_niccfg.c | 849 ctx_tbl->group_index = cpu_to_be32(tmpl_idx); in hinic_set_rss_type() 852 ctx_tbl->size = cpu_to_be32(ctx_tbl->size); in hinic_set_rss_type() 854 ctx_tbl->ctx = cpu_to_be32(ctx); in hinic_set_rss_type() 1036 indir_tbl->group_index = cpu_to_be32(tmpl_idx); in hinic_rss_set_indir_tbl() 1043 *temp = cpu_to_be32(*temp); in hinic_rss_set_indir_tbl() 1050 indir_tbl->size = cpu_to_be32(indir_size); in hinic_rss_set_indir_tbl() 1062 indir_tbl->offset = cpu_to_be32(indir_size); in hinic_rss_set_indir_tbl() 1063 indir_tbl->size = cpu_to_be32(indir_size); in hinic_rss_set_indir_tbl()
|
| H A D | hinic_compat.h | 103 #define cpu_to_be32(o) rte_cpu_to_be_32(o) macro
|
| /f-stack/dpdk/drivers/raw/ifpga/base/ |
| H A D | opae_spi_transaction.c | 31 header.addr = cpu_to_be32(addr); \ 69 *p = cpu_to_be32(*p); in reorder_phy_data()
|
| H A D | opae_spi.c | 170 *p32 = cpu_to_be32(value); in spi_fill_readbuffer()
|
| /f-stack/dpdk/drivers/net/hinic/ |
| H A D | hinic_pmd_rx.c | 932 cpu_to_be32(upper_32_bits(dma_addr)); in hinic_rearm_rxq_mbuf() 934 cpu_to_be32(lower_32_bits(dma_addr)); in hinic_rearm_rxq_mbuf() 971 cpu_to_be32(upper_32_bits(dma_addr)); in hinic_rx_alloc_pkts() 973 cpu_to_be32(lower_32_bits(dma_addr)); in hinic_rx_alloc_pkts()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-xdr.c | 238 *((uint32_t *)xdrs->x_addr) = cpu_to_be32(val); in xdrmem_enc_uint32()
|