Searched refs:cpu_to_be32 (Results 26 - 50 of 373) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/prism54/
H A Dislpci_eth.c285 avs->version = cpu_to_be32(P80211CAPTURE_VERSION);
286 avs->length = cpu_to_be32(sizeof (struct avs_80211_1_header));
289 avs->phytype = cpu_to_be32(6); /*OFDM: 6 for (g), 8 for (a) */
290 avs->channel = cpu_to_be32(channel_of_freq(freq));
291 avs->datarate = cpu_to_be32(rate * 5);
292 avs->antenna = cpu_to_be32(0); /*unknown */
293 avs->priority = cpu_to_be32(0); /*unknown */
294 avs->ssi_type = cpu_to_be32(3); /*2: dBm, 3: raw RSSI */
295 avs->ssi_signal = cpu_to_be32(rssi & 0x7f);
296 avs->ssi_noise = cpu_to_be32(pri
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/mlx4/
H A Dah.c48 ah->av.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24));
57 ah->av.sl_tclass_flowlabel = cpu_to_be32(ah_attr->sl << 28);
63 cpu_to_be32((ah_attr->grh.traffic_class << 20) |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/ext2fs/
H A Dkernel-jbd.h150 ((j)->j_superblock->s_feature_compat & cpu_to_be32((mask))))
153 ((j)->j_superblock->s_feature_ro_compat & cpu_to_be32((mask))))
156 ((j)->j_superblock->s_feature_incompat & cpu_to_be32((mask))))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus_journal/
H A Dcatalog.c46 key->cat.parent = cpu_to_be32(parent);
63 key->cat.parent = cpu_to_be32(parent);
83 perms->owner = cpu_to_be32(inode->i_uid);
84 perms->group = cpu_to_be32(inode->i_gid);
87 perms->dev = cpu_to_be32(inode->i_nlink);
89 perms->dev = cpu_to_be32(inode->i_rdev);
102 folder->id = cpu_to_be32(inode->i_ino);
120 file->id = cpu_to_be32(cnid);
129 file->user_info.fdType = cpu_to_be32(HFSP_SYMLINK_TYPE);
130 file->user_info.fdCreator = cpu_to_be32(HFSP_SYMLINK_CREATO
[all...]
H A Dsuper.c191 vhdr->free_blocks = cpu_to_be32(HFSPLUS_SB(sb).free_blocks);
192 vhdr->next_cnid = cpu_to_be32(HFSPLUS_SB(sb).next_cnid);
193 vhdr->folder_count = cpu_to_be32(HFSPLUS_SB(sb).folder_count);
194 vhdr->file_count = cpu_to_be32(HFSPLUS_SB(sb).file_count);
255 vhdr->attributes |= cpu_to_be32(HFSPLUS_VOL_UNMNT);
256 vhdr->attributes &= cpu_to_be32(~HFSPLUS_VOL_INCNSTNT);
311 if (!(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) {
319 } else if (vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_SOFTLOCK)) {
323 } else if (vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_JOURNALED)) {
453 if (!(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMN
[all...]
H A Dbitmap.c112 *curr++ = cpu_to_be32(n);
123 *curr++ = cpu_to_be32(0xffffffff);
149 *curr = cpu_to_be32(n);
196 *curr++ &= cpu_to_be32(mask);
199 *curr++ &= cpu_to_be32(mask);
226 *curr &= cpu_to_be32(mask);
H A Dcommit.c144 tmp->h_magic = cpu_to_be32(JFS_MAGIC_NUMBER);
145 tmp->h_blocktype = cpu_to_be32(JFS_COMMIT_BLOCK);
146 tmp->h_sequence = cpu_to_be32(commit_transaction->t_tid);
191 blhdr->bytes_used = cpu_to_be32(blhdr->bytes_used);
192 blhdr->checksum = cpu_to_be32(blhdr->checksum);
196 blhdr->binfo[i].bsize = cpu_to_be32(blhdr->binfo[i].bsize);
547 header->h_magic = cpu_to_be32(JFS_MAGIC_NUMBER);
548 header->h_blocktype = cpu_to_be32(JFS_DESCRIPTOR_BLOCK);
549 header->h_sequence = cpu_to_be32(commit_transaction->t_tid);
624 tag->t_blocknr = cpu_to_be32(hfsplus_jh2b
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/atm/
H A Dambassador.c91 __be32 be = cpu_to_be32 (data);
360 while (ptrs->out->request != cpu_to_be32 (SRB_COMPLETE)) {
517 cmd.request = cpu_to_be32 (SRB_FLUSH_BUFFER_Q);
518 cmd.args.flush.flags = cpu_to_be32 (pool << SRB_POOL_SHIFT);
566 rx.host_address = cpu_to_be32 (virt_to_bus (skb->data));
909 cmd.request = cpu_to_be32 (SRB_MODIFY_VC_RATE);
910 cmd.args.modify_rate.vc = cpu_to_be32 (vci); // vpi 0
911 cmd.args.modify_rate.rate = cpu_to_be32 (tx_rate_bits << SRB_RATE_SHIFT);
915 cmd.request = cpu_to_be32 (SRB_MODIFY_VC_FLAGS);
916 cmd.args.modify_flags.vc = cpu_to_be32 (vc
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus/
H A Dsuper.c168 vhdr->free_blocks = cpu_to_be32(HFSPLUS_SB(sb).free_blocks);
169 vhdr->next_alloc = cpu_to_be32(HFSPLUS_SB(sb).next_alloc);
170 vhdr->next_cnid = cpu_to_be32(HFSPLUS_SB(sb).next_cnid);
171 vhdr->folder_count = cpu_to_be32(HFSPLUS_SB(sb).folder_count);
172 vhdr->file_count = cpu_to_be32(HFSPLUS_SB(sb).file_count);
224 vhdr->attributes |= cpu_to_be32(HFSPLUS_VOL_UNMNT);
225 vhdr->attributes &= cpu_to_be32(~HFSPLUS_VOL_INCNSTNT);
274 if (!(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) {
281 } else if (vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_SOFTLOCK)) {
285 } else if (vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_JOURNALE
[all...]
H A Dbitmap.c112 *curr++ = cpu_to_be32(n);
123 *curr++ = cpu_to_be32(0xffffffff);
149 *curr = cpu_to_be32(n);
194 *curr++ &= cpu_to_be32(mask);
197 *curr++ &= cpu_to_be32(mask);
222 *curr &= cpu_to_be32(mask);
H A Dcatalog.c46 key->cat.parent = cpu_to_be32(parent);
63 key->cat.parent = cpu_to_be32(parent);
83 perms->owner = cpu_to_be32(inode->i_uid);
84 perms->group = cpu_to_be32(inode->i_gid);
95 folder->id = cpu_to_be32(inode->i_ino);
113 file->id = cpu_to_be32(cnid);
122 file->user_info.fdType = cpu_to_be32(HFSP_SYMLINK_TYPE);
123 file->user_info.fdCreator = cpu_to_be32(HFSP_SYMLINK_CREATOR);
125 file->user_info.fdType = cpu_to_be32(HFSPLUS_SB(inode->i_sb).type);
126 file->user_info.fdCreator = cpu_to_be32(HFSPLUS_S
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/affs/
H A Dfile.c159 AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST);
160 AFFS_HEAD(new_bh)->key = cpu_to_be32(blocknr);
161 AFFS_TAIL(sb, new_bh)->stype = cpu_to_be32(ST_FILE);
162 AFFS_TAIL(sb, new_bh)->parent = cpu_to_be32(inode->i_ino);
170 AFFS_TAIL(sb, bh)->extension = cpu_to_be32(blocknr);
359 AFFS_BLOCK(sb, ext_bh, block) = cpu_to_be32(blocknr);
360 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(block + 1);
369 AFFS_HEAD(ext_bh)->first_data = cpu_to_be32(blocknr);
571 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA);
572 AFFS_DATA_HEAD(bh)->key = cpu_to_be32(inod
[all...]
H A Dinode.c184 if (tail->stype == cpu_to_be32(ST_ROOT)) {
187 tail->protect = cpu_to_be32(AFFS_I(inode)->i_protect);
188 tail->size = cpu_to_be32(inode->i_size);
371 AFFS_HEAD(bh)->ptype = cpu_to_be32(T_SHORT);
372 AFFS_HEAD(bh)->key = cpu_to_be32(bh->b_blocknr);
374 AFFS_TAIL(sb, bh)->stype = cpu_to_be32(type);
375 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino);
380 AFFS_TAIL(sb, bh)->original = cpu_to_be32(inode->i_ino);
382 AFFS_TAIL(sb, inode_bh)->link_chain = cpu_to_be32(block);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/cxgb4/
H A Dqp.c142 res_wr->op_nres = cpu_to_be32(
146 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16));
157 res->u.sqrq.fetchszm_to_iqid = cpu_to_be32(
162 res->u.sqrq.dcaen_to_eqsize = cpu_to_be32(
170 res->u.sqrq.eqid = cpu_to_be32(wq->sq.qid);
180 res->u.sqrq.fetchszm_to_iqid = cpu_to_be32(
185 res->u.sqrq.dcaen_to_eqsize = cpu_to_be32(
193 res->u.sqrq.eqid = cpu_to_be32(wq->rq.qid);
269 immdp->immdlen = cpu_to_be32(plen);
316 wqe->send.sendop_pkd = cpu_to_be32(
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dtransp_v6.h50 #define LOOPBACK4_IPV6 cpu_to_be32(0x7f000006)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dromfs_fs.h15 #define __mk4(a,b,c,d) cpu_to_be32(__mkl(__mkw(a,b),__mkw(c,d)))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ieee1394/
H A Dcsr.h55 csr->bus_info_data[2] &= ~cpu_to_be32(0xf << CSR_GENERATION_SHIFT);
56 csr->bus_info_data[2] |= cpu_to_be32((u32)gen << CSR_GENERATION_SHIFT);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/gfs2/
H A Dinode.c730 di->di_mode = cpu_to_be32(mode);
731 di->di_uid = cpu_to_be32(uid);
732 di->di_gid = cpu_to_be32(gid);
737 di->di_major = cpu_to_be32(MAJOR(dev));
738 di->di_minor = cpu_to_be32(MINOR(dev));
746 di->di_flags |= cpu_to_be32(GFS2_DIF_JDATA);
748 di->di_flags |= cpu_to_be32(dip->i_diskflags &
753 di->di_payload_format = cpu_to_be32(S_ISDIR(mode) ? GFS2_FORMAT_DE : 0);
761 di->di_atime_nsec = cpu_to_be32(tv.tv_nsec);
762 di->di_mtime_nsec = cpu_to_be32(t
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/dream/qdsp5/
H A Dsnd.c137 dmsg.args.device = cpu_to_be32(dev.device);
138 dmsg.args.ear_mute = cpu_to_be32(dev.ear_mute);
139 dmsg.args.mic_mute = cpu_to_be32(dev.mic_mute);
164 vmsg.args.device = cpu_to_be32(vol.device);
165 vmsg.args.method = cpu_to_be32(vol.method);
172 vmsg.args.volume = cpu_to_be32(vol.volume);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/mthca/
H A Dmthca_srq.c103 context->state_pd = cpu_to_be32(pd->pd_num);
104 context->lkey = cpu_to_be32(srq->mr.ibmr.lkey);
108 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index);
110 context->uar = cpu_to_be32(dev->driver_uar.index);
124 context->state_logsize_srqn = cpu_to_be32(logsize << 24 | srq->srqn);
125 context->lkey = cpu_to_be32(srq->mr.ibmr.lkey);
126 context->db_index = cpu_to_be32(srq->db_index);
127 context->logstride_usrpage = cpu_to_be32((srq->wqe_shift - 4) << 29);
130 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index);
132 context->logstride_usrpage |= cpu_to_be32(de
[all...]
H A Dmthca_mcg.c176 if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31))) {
181 } else if (!(mgm->qp[i] & cpu_to_be32(1 << 31))) {
182 mgm->qp[i] = cpu_to_be32(ibqp->qp_num | (1 << 31));
213 mgm->next_gid_index = cpu_to_be32(index << 6);
263 if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31)))
265 if (!(mgm->qp[i] & cpu_to_be32(1 << 31)))
331 mgm->next_gid_index = cpu_to_be32(curr_next_index << 6);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/firewire/
H A Dcore-card.c47 *block |= cpu_to_be32(crc);
94 config_rom[0] = cpu_to_be32(
96 config_rom[1] = cpu_to_be32(BIB_BUS_NAME);
97 config_rom[2] = cpu_to_be32(
103 config_rom[3] = cpu_to_be32(card->guid >> 32);
104 config_rom[4] = cpu_to_be32(card->guid);
107 config_rom[6] = cpu_to_be32(NODE_CAPABILITIES);
114 config_rom[i++] = cpu_to_be32(desc->immediate);
115 config_rom[i] = cpu_to_be32(desc->key | (j - i));
121 config_rom[5] = cpu_to_be32((
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/crypto/
H A Dfcrypt.c76 #define Z(x) cpu_to_be32(x << 3)
113 #define Z(x) cpu_to_be32((x << 27) | (x >> 5))
150 #define Z(x) cpu_to_be32(x << 11)
187 #define Z(x) cpu_to_be32(x << 19)
331 ctx->sched[0x0] = cpu_to_be32(k); ror56_64(k, 11);
332 ctx->sched[0x1] = cpu_to_be32(k); ror56_64(k, 11);
333 ctx->sched[0x2] = cpu_to_be32(k); ror56_64(k, 11);
334 ctx->sched[0x3] = cpu_to_be32(k); ror56_64(k, 11);
335 ctx->sched[0x4] = cpu_to_be32(k); ror56_64(k, 11);
336 ctx->sched[0x5] = cpu_to_be32(
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nfs/
H A Dnfs4xdr.c772 *p++ = cpu_to_be32(hdr->minorversion);
774 *p = cpu_to_be32(hdr->nops);
854 *p++ = cpu_to_be32(2);
864 *p++ = cpu_to_be32(iap->ia_mode & S_IALLUGO);
876 *p++ = cpu_to_be32(NFS4_SET_TO_CLIENT_TIME);
877 *p++ = cpu_to_be32(0);
878 *p++ = cpu_to_be32(iap->ia_atime.tv_sec);
879 *p++ = cpu_to_be32(iap->ia_atime.tv_nsec);
883 *p++ = cpu_to_be32(NFS4_SET_TO_SERVER_TIME);
887 *p++ = cpu_to_be32(NFS4_SET_TO_CLIENT_TIM
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/
H A Dxfs_arch.h45 #define cpu_to_be32(val) ((__force __be32)(__u32)(val)) macro
52 #define cpu_to_be32(val) ((__force __be32)__swab32((__u32)(val))) macro
66 *a = cpu_to_be32(be32_to_cpu(*a) + b);

Completed in 434 milliseconds

1234567891011>>