Searched refs:cpu_to_le32 (Results 251 - 275 of 1604) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.c786 vvi.major = cpu_to_le32(adapter->virt_ver_maj);
787 vvi.minor = cpu_to_le32(adapter->virt_ver_min);
789 vvi.major = cpu_to_le32(IDPF_VIRTCHNL_VERSION_MAJOR);
790 vvi.minor = cpu_to_le32(IDPF_VIRTCHNL_VERSION_MINOR);
845 cpu_to_le32(VIRTCHNL2_CAP_TX_CSUM_L3_IPV4 |
866 cpu_to_le32(VIRTCHNL2_CAP_SEG_IPV4_TCP |
885 cpu_to_le32(VIRTCHNL2_CAP_RX_HSPLIT_AT_L4V4 |
889 cpu_to_le32(VIRTCHNL2_CAP_RSC_IPV4_TCP |
1360 v_id.vport_id = cpu_to_le32(vport->vport_id);
1384 v_id.vport_id = cpu_to_le32(vpor
[all...]
/linux-master/fs/dlm/
H A Dlock.c1953 if (ms->m_type != cpu_to_le32(DLM_MSG_REQUEST_REPLY) &&
1954 ms->m_type != cpu_to_le32(DLM_MSG_GRANT)) {
3352 ms->m_header.h_version = cpu_to_le32(DLM_HEADER_MAJOR | DLM_HEADER_MINOR);
3353 ms->m_header.u.h_lockspace = cpu_to_le32(ls->ls_global_id);
3354 ms->m_header.h_nodeid = cpu_to_le32(dlm_our_nodeid());
3358 ms->m_type = cpu_to_le32(mstype);
3406 ms->m_nodeid = cpu_to_le32(lkb->lkb_nodeid);
3407 ms->m_pid = cpu_to_le32(lkb->lkb_ownpid);
3408 ms->m_lkid = cpu_to_le32(lkb->lkb_id);
3409 ms->m_remid = cpu_to_le32(lk
[all...]
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_minidump.c395 *buffer++ = cpu_to_le32(addr);
396 *buffer++ = cpu_to_le32(data);
511 *buffer++ = cpu_to_le32(val);
512 *buffer++ = cpu_to_le32(data);
533 *buffer++ = cpu_to_le32(data);
552 *buffer++ = cpu_to_le32(data);
582 *buffer++ = cpu_to_le32(val);
604 *buffer++ = cpu_to_le32(data);
651 *buffer++ = cpu_to_le32(data);
700 *buffer++ = cpu_to_le32(dat
[all...]
/linux-master/drivers/net/ethernet/3com/
H A Dtyphoon.c528 indexes->respCleared = cpu_to_le32(cleared);
700 tcpd->respAddrLo = cpu_to_le32(tcpd_offset);
701 tcpd->bytesTx = cpu_to_le32(skb->len);
769 cpu_to_le32(htons(skb_vlan_tag_get(skb)) <<
791 txd->frag.addr = cpu_to_le32(skb_dma);
802 txd->frag.addr = cpu_to_le32(skb_dma);
820 txd->frag.addr = cpu_to_le32(skb_dma);
879 xp_cmd.parm2 = cpu_to_le32(mc_filter[0]);
880 xp_cmd.parm3 = cpu_to_le32(mc_filter[1]);
1189 iface->ringIndex = cpu_to_le32(shared_dm
[all...]
/linux-master/fs/hpfs/
H A Dea.c277 fnode->ea_size_l = cpu_to_le32(le16_to_cpu(fnode->ea_size_s));
279 fnode->ea_secno = cpu_to_le32(n);
291 fnode->ea_secno = cpu_to_le32(q);
304 anode->up = cpu_to_le32(fno);
309 anode->u.external[0].disk_secno = cpu_to_le32(le32_to_cpu(fnode->ea_secno));
310 anode->u.external[0].file_secno = cpu_to_le32(0);
311 anode->u.external[0].length = cpu_to_le32(len);
315 fnode->ea_secno = cpu_to_le32(a_s);*/
338 fnode->ea_secno = cpu_to_le32(new_sec);
358 fnode->ea_size_l = cpu_to_le32(po
[all...]
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dacx.c171 acx->lifetime = cpu_to_le32(wl->conf.rx.rx_msdu_life_time);
326 dco->timeout = cpu_to_le32(c->timeout);
461 acx->synch_fail_thold = cpu_to_le32(threshold);
462 acx->bss_lose_timeout = cpu_to_le32(timeout);
523 param->params[i] = cpu_to_le32(c->params[i]);
634 mask->high_event_mask = cpu_to_le32(0xffffffff);
635 mask->event_mask = cpu_to_le32(event_mask);
741 acx->rate_policy_idx = cpu_to_le32(wlvif->sta.basic_rate_idx);
742 acx->rate_policy.enabled_rates = cpu_to_le32(wlvif->basic_rate);
754 acx->rate_policy_idx = cpu_to_le32(wlvi
[all...]
/linux-master/drivers/crypto/caam/
H A Ddpseci.c38 cmd_params->dpseci_id = cpu_to_le32(dpseci_id);
207 cmd_params->dest_id = cpu_to_le32(cfg->dest_cfg.dest_id);
213 cmd_params->options = cpu_to_le32(cfg->options);
392 cmd_params->dest_id = cpu_to_le32(cfg->dest_cfg.dest_id);
400 cmd_params->threshold_entry = cpu_to_le32(cfg->threshold_entry);
401 cmd_params->threshold_exit = cpu_to_le32(cfg->threshold_exit);
/linux-master/drivers/staging/rtl8712/
H A Dhal_init.c198 txdesc->txdw0 |= cpu_to_le32(BIT(28));
200 txdesc->txdw0 |= cpu_to_le32(dump_imem_sz &
227 txdesc->txdw0 |= cpu_to_le32(BIT(28));
229 txdesc->txdw0 |= cpu_to_le32(dump_emem_sz &
282 txdesc->txdw0 |= cpu_to_le32(fwhdr.fw_priv_sz & 0x0000ffff);
283 txdesc->txdw0 |= cpu_to_le32(BIT(28));
H A Drtl8712_cmd.c293 pdesc->txdw0 |= cpu_to_le32((wr_sz - TXDESC_SIZE) &
303 pdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE +
307 pdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE +
312 pdesc->txdw0 |= cpu_to_le32(OWN | FSG | LSG);
313 pdesc->txdw1 |= cpu_to_le32((0x13 << QSEL_SHT) &
316 *pcmdbuf = cpu_to_le32((cmdsz & 0x0000ffff) |
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_mux.c65 param.open_session.dl_head_pad_len = cpu_to_le32(IPC_MEM_DL_ETH_OFFSET);
81 if (open_session_resp->response != cpu_to_le32(MUX_CMD_RESP_SUCCESS)) {
111 session_open->if_id = cpu_to_le32(-1);
131 session_open->if_id = cpu_to_le32(if_id);
432 session_open->if_id = cpu_to_le32(session_nr);
446 session_close->if_id = cpu_to_le32(session_nr);
/linux-master/drivers/md/
H A Ddm-cache-metadata.c180 disk_super->csum = cpu_to_le32(dm_bm_checksum(&disk_super->flags,
219 csum_le = cpu_to_le32(dm_bm_checksum(&disk_super->flags,
365 disk_super->version = cpu_to_le32(cmd->version);
368 disk_super->policy_hint_size = cpu_to_le32(0);
377 disk_super->metadata_block_size = cpu_to_le32(DM_CACHE_METADATA_BLOCK_SIZE);
378 disk_super->data_block_size = cpu_to_le32(cmd->data_block_size);
379 disk_super->cache_blocks = cpu_to_le32(0);
381 disk_super->read_hits = cpu_to_le32(0);
382 disk_super->read_misses = cpu_to_le32(0);
383 disk_super->write_hits = cpu_to_le32(
[all...]
/linux-master/drivers/crypto/amlogic/
H A Damlogic-gxl-cipher.c167 desc->t_src = cpu_to_le32(phykeyiv + i * 16);
168 desc->t_dst = cpu_to_le32(i * 16);
170 desc->t_status = cpu_to_le32(v);
210 desc->t_src = cpu_to_le32(sg_dma_address(src_sg));
211 desc->t_dst = cpu_to_le32(sg_dma_address(dst_sg));
220 desc->t_status = cpu_to_le32(v);
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsta.c134 .mac_id_n_color = cpu_to_le32(mvm_sta->mac_id_n_color),
136 .station_flags_msk = cpu_to_le32(STA_FLG_FAT_EN_MSK |
153 cpu_to_le32(mvm_sta->tfd_queue_msk);
165 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_160MHZ);
168 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_80MHZ);
171 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_40MHZ);
176 cpu_to_le32(STA_FLG_FAT_EN_20MHZ);
182 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_SISO);
185 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_MIMO2);
188 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_MIMO
[all...]
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_tmpl.c29 *(__le32 *)buf = cpu_to_le32(value);
274 ent->t262.end_addr = cpu_to_le32(end);
279 ent->t262.start_addr = cpu_to_le32(start);
280 ent->t262.end_addr = cpu_to_le32(end);
286 ent->t262.start_addr = cpu_to_le32(start);
287 ent->t262.end_addr = cpu_to_le32(end);
291 ent->t262.start_addr = cpu_to_le32(start);
292 ent->t262.end_addr = cpu_to_le32(end);
712 ent->t275.length = cpu_to_le32(length);
877 tmp->capture_timestamp = cpu_to_le32(jiffie
[all...]
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_roce.c107 src_gid[3] = cpu_to_le32(qp->sgid.ipv4_addr);
108 dst_gid[3] = cpu_to_le32(qp->dgid.ipv4_addr);
112 src_gid[i] = cpu_to_le32(qp->sgid.dwords[i]);
113 dst_gid[i] = cpu_to_le32(qp->dgid.dwords[i]);
290 p_ramrod->flags = cpu_to_le32(flags);
296 p_ramrod->flow_label = cpu_to_le32(qp->flow_label);
297 p_ramrod->dst_qp_id = cpu_to_le32(qp->dest_qp);
299 p_ramrod->initial_psn = cpu_to_le32(qp->rq_psn);
309 p_ramrod->cq_cid = cpu_to_le32((p_hwfn->hw_info.opaque_fid << 16) |
431 p_ramrod->flow_label = cpu_to_le32(q
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c101 req->flags = cpu_to_le32(func_flags);
155 req->flags = cpu_to_le32(FUNC_CFG_REQ_FLAGS_TRUSTED_VF_ENABLE);
157 req->flags = cpu_to_le32(FUNC_CFG_REQ_FLAGS_TRUSTED_VF_DISABLE);
242 req->enables = cpu_to_le32(FUNC_CFG_REQ_ENABLES_DFLT_MAC_ADDR);
281 req->enables = cpu_to_le32(FUNC_CFG_REQ_ENABLES_DFLT_VLAN);
320 req->enables = cpu_to_le32(FUNC_CFG_REQ_ENABLES_MAX_BW |
322 req->max_bw = cpu_to_le32(max_tx_rate);
323 req->min_bw = cpu_to_le32(min_tx_rate);
502 req->enables |= cpu_to_le32(FUNC_CFG_REQ_ENABLES_DFLT_MAC_ADDR);
506 req->enables |= cpu_to_le32(FUNC_CFG_REQ_ENABLES_DFLT_VLA
[all...]
/linux-master/drivers/net/ethernet/dec/tulip/
H A Dxircom_cb.c406 card->tx_buffer[4*desc+1] = cpu_to_le32(skb->len);
408 card->tx_buffer[4*desc+1] |= cpu_to_le32(1<<25);
410 card->tx_buffer[4*desc+1] |= cpu_to_le32(0xF0000000);
416 card->tx_buffer[4*desc] = cpu_to_le32(0x80000000);
418 if (card->tx_buffer[nextdescriptor*4] & cpu_to_le32(0x8000000)) {
574 card->rx_buffer[i*4 + 0] = cpu_to_le32(0x80000000);
576 card->rx_buffer[i*4 + 1] = cpu_to_le32(1536);
578 card->rx_buffer[i*4 + 1] |= cpu_to_le32(1 << 25);
584 card->rx_buffer[i*4 + 2] = cpu_to_le32(address + bufferoffsets[i]);
602 card->tx_buffer[i*4 + 1] = cpu_to_le32(153
[all...]
/linux-master/drivers/net/wireless/marvell/libertas/
H A Dif_usb.c363 fwdata->seqnum = cpu_to_le32(++cardp->fwseqnum);
369 if (fwdata->hdr.dnldcmd == cpu_to_le32(FW_HAS_DATA_TO_RECV)) {
373 } else if (fwdata->hdr.dnldcmd == cpu_to_le32(FW_HAS_LAST_BLOCK)) {
391 *(__le32 *)cardp->ep_out_buf = cpu_to_le32(CMD_TYPE_REQUEST);
509 if (tmp[0] == cpu_to_le32(CMD_TYPE_INDICATION) &&
510 tmp[1] == cpu_to_le32(MACREG_INT_CODE_FIRMWARE_READY)) {
533 if (bootcmdresp.magic != cpu_to_le32(BOOT_CMD_MAGIC_NUMBER)) {
534 if (bootcmdresp.magic == cpu_to_le32(CMD_TYPE_REQUEST) ||
535 bootcmdresp.magic == cpu_to_le32(CMD_TYPE_DATA) ||
536 bootcmdresp.magic == cpu_to_le32(CMD_TYPE_INDICATIO
[all...]
/linux-master/drivers/net/wireless/marvell/libertas_tf/
H A Dif_usb.c306 fwdata->seqnum = cpu_to_le32(++cardp->fwseqnum);
312 if (fwdata->hdr.dnldcmd == cpu_to_le32(FW_HAS_DATA_TO_RECV)) {
317 } else if (fwdata->hdr.dnldcmd == cpu_to_le32(FW_HAS_LAST_BLOCK)) {
343 *(__le32 *)cardp->ep_out_buf = cpu_to_le32(CMD_TYPE_REQUEST);
481 if (tmp[0] == cpu_to_le32(CMD_TYPE_INDICATION) &&
482 tmp[1] == cpu_to_le32(MACREG_INT_CODE_FIRMWARE_READY)) {
508 if (bcmdresp.magic != cpu_to_le32(BOOT_CMD_MAGIC_NUMBER)) {
509 if (bcmdresp.magic == cpu_to_le32(CMD_TYPE_REQUEST) ||
510 bcmdresp.magic == cpu_to_le32(CMD_TYPE_DATA) ||
511 bcmdresp.magic == cpu_to_le32(CMD_TYPE_INDICATIO
[all...]
/linux-master/drivers/scsi/
H A Da100u2w.c391 data32 = cpu_to_le32(0); /* Initial FW address to 0 */
462 scb->sg_addr = cpu_to_le32((u32) escb_phys);
463 scb->sense_addr = cpu_to_le32((u32) escb_phys);
645 scb->xferlen = cpu_to_le32(0);
646 scb->sg_len = cpu_to_le32(0);
861 scb->sg_len = cpu_to_le32(0);
863 scb->xferlen = cpu_to_le32((u32) scsi_bufflen(cmd));
873 scb->sg_len = cpu_to_le32((u32) (count_sg * 8));
875 sgent->base = cpu_to_le32((u32) sg_dma_address(sg));
876 sgent->length = cpu_to_le32((u3
[all...]
/linux-master/drivers/net/wireless/rsi/
H A Drsi_91x_mgmt.c27 .valid = cpu_to_le32(VALID_20),
121 .valid = cpu_to_le32(VALID_40),
214 .valid = cpu_to_le32(VALID_20),
226 cpu_to_le32((RSI_SWITCH_TASS_CLK |
229 .tass_clock_reg = cpu_to_le32(0x083C0503),
230 .wlan_bbp_lmac_clk_reg_val = cpu_to_le32(0x01042001),
231 .zbbt_bbp_lmac_clk_reg_val = cpu_to_le32(0x02010001),
232 .bbp_lmac_clk_en_val = cpu_to_le32(0x0000003b),
240 .valid = cpu_to_le32(VALID_40),
252 cpu_to_le32((RSI_SWITCH_TASS_CL
[all...]
/linux-master/fs/jfs/
H A Djfs_dmap.c309 dbmp_le->dn_l2nbperpage = cpu_to_le32(bmp->db_l2nbperpage);
310 dbmp_le->dn_numag = cpu_to_le32(bmp->db_numag);
311 dbmp_le->dn_maxlevel = cpu_to_le32(bmp->db_maxlevel);
312 dbmp_le->dn_maxag = cpu_to_le32(bmp->db_maxag);
313 dbmp_le->dn_agpref = cpu_to_le32(bmp->db_agpref);
314 dbmp_le->dn_aglevel = cpu_to_le32(bmp->db_aglevel);
315 dbmp_le->dn_agheight = cpu_to_le32(bmp->db_agheight);
316 dbmp_le->dn_agwidth = cpu_to_le32(bmp->db_agwidth);
317 dbmp_le->dn_agstart = cpu_to_le32(bmp->db_agstart);
318 dbmp_le->dn_agl2size = cpu_to_le32(bm
[all...]
/linux-master/drivers/atm/
H A Dnicstar.h168 ((ns_rsqep)->word_4 = cpu_to_le32(0x00000000))
232 (cpu_to_le32((flags) | (m) << 23 | (n) << 16 | (buflen)))
234 (cpu_to_le32((flags) | (buflen) | 0x00810000))
236 (cpu_to_le32((control) << 16 | (pdulen)))
238 (cpu_to_le32((gfc) << 28 | (vpi) << 20 | (vci) << 4 | (pt) << 1 | (clp)))
245 (cpu_to_le32(NS_SCQE_TYPE_TSR | (flags)))
247 (cpu_to_le32((scdi) << 16 | 0x00008000 | (scqi)))
283 ((ns_tsip)->word_2 = cpu_to_le32(NS_TSI_EMPTY))
/linux-master/fs/befs/
H A Dbefs_fs_types.h59 #define BEFS_BYTEORDER_NATIVE_LE ((__force fs32)cpu_to_le32(BEFS_BYTEORDER_NATIVE))
63 #define BEFS_SUPER_MAGIC1_LE ((__force fs32)cpu_to_le32(BEFS_SUPER_MAGIC1))
H A Dendian.h46 return (__force fs32)cpu_to_le32(n);
94 run.allocation_group = cpu_to_le32(n.allocation_group);

Completed in 385 milliseconds

<<11121314151617181920>>