Searched refs:cpu_to_be32 (Results 1 – 7 of 7) sorted by relevance
984 cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) | in t4_read_pcie_cfg4()988 ldst_cmd.cycles_to_len16 = cpu_to_be32(FW_LEN16(ldst_cmd)); in t4_read_pcie_cfg4()3368 cmd.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_PFVF_CMD) | in t4_get_pfres()3373 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4_get_pfres()3535 *data = (__force __u32)(cpu_to_be32(*data)); in t4_read_flash()3575 val = cpu_to_be32(val); in t4_write_flash()4238 ((struct fw_hdr *)first_page)->fw_ver = cpu_to_be32(0xffffffff); in t4_load_fw()4425 cpu_to_be32(V_FW_CMD_OP(FW_PARAMS_CMD) | in t4_fwcache()4429 c.retval_len16 = cpu_to_be32(FW_LEN16(c)); in t4_fwcache()4431 cpu_to_be32(V_FW_PARAMS_MNEM(FW_PARAMS_MNEM_DEV) | in t4_fwcache()[all …]
10 #define cpu_to_be32(x) (x) macro
10 #define cpu_to_be32(x) __bswap_32(x) macro
1327 c.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_IQ_CMD) | F_FW_CMD_REQUEST | in alloc_iq_fl()1331 c.alloc_to_len16 = cpu_to_be32(F_FW_IQ_CMD_ALLOC | F_FW_IQ_CMD_IQSTART | in alloc_iq_fl()1344 c.type_to_iqandstindex = cpu_to_be32(v | in alloc_iq_fl()1380 cpu_to_be32(V_FW_IQ_CMD_FL0HOSTFCMODE(X_HOSTFCMODE_NONE) | in alloc_iq_fl()2571 txinfo->sgl.sge[n / 2].len[1] = cpu_to_be32(0); in get_frame_txinfo()2573 txinfo->sgl.cmd_nsge = cpu_to_be32(V_ULPTX_CMD((u32)ULP_TX_SC_DSGL) | in get_frame_txinfo()2646 txinfo->sgl.sge[idx / 2].len[idx & 1] = cpu_to_be32(len); in add_seg()2649 txinfo->sgl.len0 = cpu_to_be32(len); in add_seg()2846 wr->op_pkd = cpu_to_be32(V_FW_WR_OP(FW_ETH_TX_PKTS_WR) | in write_txpkts_wr()2851 wr->equiq_to_len16 = cpu_to_be32(ctrl); in write_txpkts_wr()[all …]
164 #define cpu_to_be32(x) BE_32((uint32_t)(x)) macro
55 #define cpu_to_be32(x) (x) macro60 #define cpu_to_be32(x) BSWAP_32(x) macro
854 scsi_req->hdr.sg_list_len_bytes = cpu_to_be32(sg_byte_count); in skd_start()1380 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); in skd_send_internal_skspcl()1396 scsi->hdr.sg_list_len_bytes = cpu_to_be32(SKD_N_INTERNAL_BYTES); in skd_send_internal_skspcl()1406 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); in skd_send_internal_skspcl()1416 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); in skd_send_internal_skspcl()