Searched refs:cpu_to_le32 (Results 26 - 50 of 1604) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wireless/ath/ath12k/
H A Dwmi.c789 cmd->vdev_id = cpu_to_le32(vdev_id);
790 cmd->desc_id = cpu_to_le32(buf_id);
791 cmd->chanfreq = cpu_to_le32(ath12k_wmi_mgmt_get_freq(ar, info));
792 cmd->paddr_lo = cpu_to_le32(lower_32_bits(ATH12K_SKB_CB(frame)->paddr));
793 cmd->paddr_hi = cpu_to_le32(upper_32_bits(ATH12K_SKB_CB(frame)->paddr));
794 cmd->frame_len = cpu_to_le32(frame->len);
795 cmd->buf_len = cpu_to_le32(buf_len);
839 cmd->vdev_id = cpu_to_le32(args->if_id);
840 cmd->vdev_type = cpu_to_le32(args->type);
841 cmd->vdev_subtype = cpu_to_le32(arg
[all...]
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dchain_mode.c38 desc->des2 = cpu_to_le32(des2);
56 desc->des2 = cpu_to_le32(des2);
69 desc->des2 = cpu_to_le32(des2);
112 p->basic.des3 = cpu_to_le32((unsigned int)dma_phy);
115 p->basic.des3 = cpu_to_le32((unsigned int)phy_addr);
121 p->des3 = cpu_to_le32((unsigned int)dma_phy);
124 p->des3 = cpu_to_le32((unsigned int)phy_addr);
137 p->des3 = cpu_to_le32((unsigned int)(rx_q->dma_rx_phy +
154 p->des3 = cpu_to_le32((unsigned int)((tx_q->dma_tx_phy +
H A Dring_mode.c42 desc->des2 = cpu_to_le32(des2);
50 desc->des3 = cpu_to_le32(des2 + BUF_SIZE_4KiB);
63 desc->des2 = cpu_to_le32(des2);
70 desc->des3 = cpu_to_le32(des2 + BUF_SIZE_4KiB);
77 desc->des2 = cpu_to_le32(des2);
83 desc->des3 = cpu_to_le32(des2 + BUF_SIZE_4KiB);
110 p->des3 = cpu_to_le32(le32_to_cpu(p->des2) + BUF_SIZE_8KiB);
116 p->des3 = cpu_to_le32(le32_to_cpu(p->des2) + BUF_SIZE_8KiB);
H A Dnorm_desc.c123 p->des0 |= cpu_to_le32(RDES0_OWN);
126 p->des1 |= cpu_to_le32(bfsize1 & RDES1_BUFFER1_SIZE_MASK);
134 p->des1 |= cpu_to_le32(RDES1_DISABLE_IC);
139 p->des0 &= cpu_to_le32(~TDES0_OWN);
153 p->des0 |= cpu_to_le32(TDES0_OWN);
158 p->des0 |= cpu_to_le32(RDES0_OWN);
196 p->des1 = cpu_to_le32(tdes1);
204 p->des0 |= cpu_to_le32(TDES0_OWN);
209 p->des1 |= cpu_to_le32(TDES1_INTERRUPT);
233 p->des1 |= cpu_to_le32(TDES1_TIME_STAMP_ENABL
[all...]
/linux-master/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-prng.c121 cet->t_id = cpu_to_le32(flow);
123 cet->t_common_ctl = cpu_to_le32(common);
127 cet->t_dlen = cpu_to_le32(todo);
129 cet->t_dlen = cpu_to_le32(todo / 4);
132 cet->t_sym_ctl = cpu_to_le32(sym);
135 cet->t_key = cpu_to_le32(dma_iv);
136 cet->t_iv = cpu_to_le32(dma_iv);
138 cet->t_dst[0].addr = cpu_to_le32(dma_dst);
139 cet->t_dst[0].len = cpu_to_le32(todo / 4);
H A Dsun8i-ce-trng.c67 cet->t_id = cpu_to_le32(flow);
69 cet->t_common_ctl = cpu_to_le32(common);
73 cet->t_dlen = cpu_to_le32(todo);
75 cet->t_dlen = cpu_to_le32(todo / 4);
80 cet->t_dst[0].addr = cpu_to_le32(dma_dst);
81 cet->t_dst[0].len = cpu_to_le32(todo / 4);
/linux-master/drivers/usb/gadget/legacy/
H A Dwebcam.c94 .dwClockFrequency = cpu_to_le32(48000000),
221 .dwMinBitRate = cpu_to_le32(UVCG_MIN_BITRATE_360P),
222 .dwMaxBitRate = cpu_to_le32(UVCG_MAX_BITRATE_360P),
223 .dwMaxVideoFrameBufferSize = cpu_to_le32(UVCG_MAX_VIDEO_FB_SZ_360P),
224 .dwDefaultFrameInterval = cpu_to_le32(UVCG_DEFAULT_FRM_INTERV_360P),
226 .dwFrameInterval[0] = cpu_to_le32(UVCG_FRM_INTERV_0_360P),
227 .dwFrameInterval[1] = cpu_to_le32(UVCG_FRM_INTERV_1_360P),
228 .dwFrameInterval[2] = cpu_to_le32(UVCG_FRM_INTERV_2_360P),
275 .dwMinBitRate = cpu_to_le32(UVCG_MIN_BITRATE_720P),
276 .dwMaxBitRate = cpu_to_le32(UVCG_MAX_BITRATE_720
[all...]
/linux-master/fs/bcachefs/
H A Dchecksum.h28 #define BCH_NONCE_EXTENT cpu_to_le32(1 << 28)
29 #define BCH_NONCE_BTREE cpu_to_le32(2 << 28)
30 #define BCH_NONCE_JOURNAL cpu_to_le32(3 << 28)
31 #define BCH_NONCE_PRIO cpu_to_le32(4 << 28)
32 #define BCH_NONCE_POLY cpu_to_le32(1 << 31)
198 [0] = cpu_to_le32(size << 22),
199 [1] = cpu_to_le32(version.lo),
200 [2] = cpu_to_le32(version.lo >> 32),
201 [3] = cpu_to_le32(version.hi|
/linux-master/drivers/scsi/qedf/
H A Ddrv_fcoe_fw_funcs.c43 y_st_ctx->data_2_trns_rem = cpu_to_le32(io_size);
44 y_st_ctx->task_rety_identifier = cpu_to_le32(task_retry_id);
54 t_st_ctx->read_only.cid = cpu_to_le32(task_params->conn_cid);
55 val = cpu_to_le32(task_params->cq_rss_number);
57 t_st_ctx->read_only.fcp_cmd_trns_size = cpu_to_le32(io_size);
65 u_ag_ctx->global_cq_num = cpu_to_le32(task_params->cq_rss_number);
69 val = cpu_to_le32(sense_data_buffer_phys_addr.hi);
71 val = cpu_to_le32(sense_data_buffer_phys_addr.lo);
99 m_st_ctx->data_2_trns_rem = cpu_to_le32(io_size);
136 y_st_ctx->data_2_trns_rem = cpu_to_le32(task_param
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmld-mac.c26 cmd->id_and_color = cpu_to_le32(mvmvif->id);
27 cmd->action = cpu_to_le32(action);
29 cmd->mac_type = cpu_to_le32(iwl_mvm_get_mac_type(vif));
40 cpu_to_le32(!iwl_mvm_is_nic_ack_enabled(mvm, vif));
55 cmd->eht_support = cpu_to_le32(1);
75 cmd->eht_support = cpu_to_le32(1);
110 cmd.filter_flags |= cpu_to_le32(MAC_CFG_FILTER_ACCEPT_GRP);
133 cmd.filter_flags |= cpu_to_le32(MAC_CFG_FILTER_ACCEPT_BEACON);
150 cmd.filter_flags |= cpu_to_le32(MAC_CFG_FILTER_ACCEPT_PROBE_REQ);
169 cmd.filter_flags = cpu_to_le32(MAC_CFG_FILTER_PROMIS
[all...]
/linux-master/drivers/net/wireless/intel/iwlegacy/
H A Dcommands.h381 #define UCODE_VALID_OK cpu_to_le32(0x1)
568 #define RXON_FLG_BAND_24G_MSK cpu_to_le32(1 << 0)
569 #define RXON_FLG_CCK_MSK cpu_to_le32(1 << 1)
571 #define RXON_FLG_AUTO_DETECT_MSK cpu_to_le32(1 << 2)
573 #define RXON_FLG_TGG_PROTECT_MSK cpu_to_le32(1 << 3)
575 #define RXON_FLG_SHORT_SLOT_MSK cpu_to_le32(1 << 4)
576 #define RXON_FLG_SHORT_PREAMBLE_MSK cpu_to_le32(1 << 5)
578 #define RXON_FLG_DIS_DIV_MSK cpu_to_le32(1 << 7)
579 #define RXON_FLG_ANT_SEL_MSK cpu_to_le32(0x0f00)
580 #define RXON_FLG_ANT_A_MSK cpu_to_le32(
[all...]
/linux-master/fs/jfs/
H A Djfs_types.h61 pxd->len_addr = (pxd->len_addr & cpu_to_le32(~0xffffff)) |
62 cpu_to_le32(len & 0xffffff);
67 pxd->len_addr = (pxd->len_addr & cpu_to_le32(0xffffff)) |
68 cpu_to_le32((addr >> 32)<<24);
69 pxd->addr2 = cpu_to_le32(addr & 0xffffffff);
116 #define DXDsize(dxd, size32) ((dxd)->size = cpu_to_le32(size32))
/linux-master/arch/sh/include/mach-common/mach/
H A Dmangle-port.h40 # define __mem_ioswabl(x) cpu_to_le32(x)
42 # define __mem_ioswabq(x) cpu_to_le32(x)
/linux-master/drivers/net/wireless/intersil/p54/
H A Dp54usb.c291 return cpu_to_le32(chk);
344 reg->addr = cpu_to_le32(P54U_DEV_BASE);
345 reg->val = cpu_to_le32(ISL38XX_DEV_INT_DATA);
526 hdr->fw_load_addr = cpu_to_le32(ISL38XX_DEV_FIRMWARE_ADDR);
527 hdr->fw_length = cpu_to_le32(priv->fw->size);
528 hdr->crc = cpu_to_le32(~crc32_le(~0, (void *)&hdr->fw_load_addr,
569 *((__le32 *)buf) = cpu_to_le32(~crc32_le(~0, priv->fw->data,
643 cpu_to_le32((u32)(unsigned long)addr), data);\
651 cpu_to_le32((u32)(unsigned long)addr), &reg);\
658 reg |= cpu_to_le32(P54U_BRG_POWER_DOW
[all...]
/linux-master/drivers/net/wireless/ti/wl12xx/
H A Dacx.c26 bitmap_conf->host_cfg_bitmap = cpu_to_le32(host_cfg_bitmap);
/linux-master/fs/ceph/
H A Dutil.c46 legacy->fl_stripe_unit = cpu_to_le32(fl->stripe_unit);
47 legacy->fl_stripe_count = cpu_to_le32(fl->stripe_count);
48 legacy->fl_object_size = cpu_to_le32(fl->object_size);
50 legacy->fl_pg_pool = cpu_to_le32(fl->pool_id);
H A Dmetric.c64 cap->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_CAP_INFO);
67 cap->header.data_len = cpu_to_le32(sizeof(*cap) - header_len);
75 read->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_READ_LATENCY);
78 read->header.data_len = cpu_to_le32(sizeof(*read) - header_len);
88 write->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_WRITE_LATENCY);
91 write->header.data_len = cpu_to_le32(sizeof(*write) - header_len);
101 meta->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_METADATA_LATENCY);
104 meta->header.data_len = cpu_to_le32(sizeof(*meta) - header_len);
114 dlease->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_DENTRY_LEASE);
117 dlease->header.data_len = cpu_to_le32(sizeo
[all...]
/linux-master/drivers/scsi/aacraid/
H A Ddpcsup.c87 *(__le32 *)hwfib->data = cpu_to_le32(ST_OK);
88 hwfib->header.XferState |= cpu_to_le32(AdapterProcessed);
97 if (*pstatus & cpu_to_le32(0xffff0000))
98 *pstatus = cpu_to_le32(ST_OK);
100 if (hwfib->header.XferState & cpu_to_le32(NoResponseExpected | Async))
102 if (hwfib->header.XferState & cpu_to_le32(NoResponseExpected)) {
209 *(__le32 *)hw_fib->data = cpu_to_le32(ST_OK);
239 cpu_to_le32(NoMoreAifDataAvailable)) ||
250 cmd->command = cpu_to_le32(AifReqEvent);
324 cmd->command = cpu_to_le32(AifReqEven
[all...]
/linux-master/drivers/bus/mhi/
H A Dcommon.h121 #define MHI_TRE_CMD_NOOP_DWORD1 cpu_to_le32(FIELD_PREP(GENMASK(23, 16), MHI_CMD_NOP))
126 #define MHI_TRE_CMD_RESET_DWORD1(chid) cpu_to_le32(FIELD_PREP(GENMASK(31, 24), chid) | \
133 #define MHI_TRE_CMD_STOP_DWORD1(chid) cpu_to_le32(FIELD_PREP(GENMASK(31, 24), chid) | \
140 #define MHI_TRE_CMD_START_DWORD1(chid) cpu_to_le32(FIELD_PREP(GENMASK(31, 24), chid) | \
150 #define MHI_TRE_EV_DWORD0(code, len) cpu_to_le32(FIELD_PREP(GENMASK(31, 24), code) | \
152 #define MHI_TRE_EV_DWORD1(chid, type) cpu_to_le32(FIELD_PREP(GENMASK(31, 24), chid) | \
170 #define MHI_SC_EV_DWORD0(state) cpu_to_le32(FIELD_PREP(GENMASK(31, 24), state))
171 #define MHI_SC_EV_DWORD1(type) cpu_to_le32(FIELD_PREP(GENMASK(23, 16), type))
175 #define MHI_EE_EV_DWORD0(ee) cpu_to_le32(FIELD_PREP(GENMASK(31, 24), ee))
176 #define MHI_EE_EV_DWORD1(type) cpu_to_le32(FIELD_PRE
[all...]
/linux-master/drivers/net/wireless/ath/carl9170/
H A Dcmd.h66 __le32 rx_filter = cpu_to_le32(_rx_filter);
88 __ar->cmd_buf[2 * __nreg + 1] = cpu_to_le32(r); \
89 __ar->cmd_buf[2 * __nreg + 2] = cpu_to_le32(v); \
156 __cmd->wreg.regs[__nreg].addr = cpu_to_le32(r); \
157 __cmd->wreg.regs[__nreg].val = cpu_to_le32(v); \
/linux-master/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dmcu.c67 msg.cfg = cpu_to_le32(val);
82 .channel = cpu_to_le32(channel),
83 .gain_val = cpu_to_le32(gain),
87 msg.channel |= cpu_to_le32(BIT(31));
101 .id = cpu_to_le32(MCU_CAL_TSSI_COMP),
/linux-master/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-dump.c55 hdr->magic = cpu_to_le32(MCP251XFD_DUMP_MAGIC);
56 hdr->type = cpu_to_le32(object_type);
57 hdr->offset = cpu_to_le32(iter->data - iter->start);
58 hdr->len = cpu_to_le32(len);
90 reg->reg = cpu_to_le32(reg_space->base + j);
110 reg->reg = cpu_to_le32(dump_ring[i].key);
111 reg->val = cpu_to_le32(dump_ring[i].val);
232 hdr->magic = cpu_to_le32(MCP251XFD_DUMP_MAGIC);
233 hdr->type = cpu_to_le32(MCP251XFD_DUMP_OBJECT_TYPE_END);
234 hdr->offset = cpu_to_le32(
[all...]
/linux-master/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c62 #define cpu_to_le32(x) (x) macro
65 #define cpu_to_le32(x) \ macro
83 .magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC_V2),
84 .flags = cpu_to_le32(FUNCTIONFS_HAS_FS_DESC |
86 .length = cpu_to_le32(sizeof(descriptors)),
88 .fs_count = cpu_to_le32(3),
110 .hs_count = cpu_to_le32(3),
146 .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC),
147 .length = cpu_to_le32(sizeof(strings)),
148 .str_count = cpu_to_le32(
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_shared_buf.c15 __le32 sb_id = cpu_to_le32(sb);
31 .shared_buf = cpu_to_le32(sb),
32 .pool = cpu_to_le32(pool_index),
62 .shared_buf = cpu_to_le32(sb),
63 .pool = cpu_to_le32(pool_index),
65 .threshold_type = cpu_to_le32(threshold_type),
72 set_data.size = cpu_to_le32(size / unit_size);
/linux-master/drivers/net/usb/
H A Drndis_host.c178 msg->msg_type = cpu_to_le32(RNDIS_MSG_KEEPALIVE_C);
179 msg->msg_len = cpu_to_le32(sizeof *msg);
180 msg->status = cpu_to_le32(RNDIS_STATUS_SUCCESS);
243 u.get->msg_type = cpu_to_le32(RNDIS_MSG_QUERY);
244 u.get->msg_len = cpu_to_le32(sizeof *u.get + in_len);
245 u.get->oid = cpu_to_le32(oid);
246 u.get->len = cpu_to_le32(in_len);
247 u.get->offset = cpu_to_le32(20);
318 u.init->msg_type = cpu_to_le32(RNDIS_MSG_INIT);
319 u.init->msg_len = cpu_to_le32(sizeo
[all...]

Completed in 255 milliseconds

1234567891011>>