Searched refs:cpu_to_be16 (Results 1 - 25 of 285) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/rdma/
H A Dib_smi.h66 #define IB_SMP_DIRECTION cpu_to_be16(0x8000)
69 #define IB_SMP_ATTR_NOTICE cpu_to_be16(0x0002)
70 #define IB_SMP_ATTR_NODE_DESC cpu_to_be16(0x0010)
71 #define IB_SMP_ATTR_NODE_INFO cpu_to_be16(0x0011)
72 #define IB_SMP_ATTR_SWITCH_INFO cpu_to_be16(0x0012)
73 #define IB_SMP_ATTR_GUID_INFO cpu_to_be16(0x0014)
74 #define IB_SMP_ATTR_PORT_INFO cpu_to_be16(0x0015)
75 #define IB_SMP_ATTR_PKEY_TABLE cpu_to_be16(0x0016)
76 #define IB_SMP_ATTR_SL_TO_VL_TABLE cpu_to_be16(0x0017)
77 #define IB_SMP_ATTR_VL_ARB_TABLE cpu_to_be16(
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/qib/
H A Dqib_mad.h35 #define IB_SMP_UNSUP_VERSION cpu_to_be16(0x0004)
36 #define IB_SMP_UNSUP_METHOD cpu_to_be16(0x0008)
37 #define IB_SMP_UNSUP_METH_ATTR cpu_to_be16(0x000C)
38 #define IB_SMP_INVALID_FIELD cpu_to_be16(0x001C)
131 #define IB_NOTICE_PROD_CA cpu_to_be16(1)
132 #define IB_NOTICE_PROD_SWITCH cpu_to_be16(2)
133 #define IB_NOTICE_PROD_ROUTER cpu_to_be16(3)
134 #define IB_NOTICE_PROD_CLASS_MGR cpu_to_be16(4)
139 #define IB_NOTICE_TRAP_LLI_THRESH cpu_to_be16(129)
140 #define IB_NOTICE_TRAP_EBO_THRESH cpu_to_be16(13
[all...]
H A Dqib_mad.c145 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
169 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
207 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
227 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
247 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
290 nip->partition_cap = cpu_to_be16(qib_get_npkeys(dd));
291 nip->device_id = cpu_to_be16(dd->deviceid);
472 pip->lid = lid ? cpu_to_be16(lid) : IB_LID_PERMISSIVE;
473 pip->sm_lid = cpu_to_be16(ibp->sm_lid);
476 pip->mkey_lease_period = cpu_to_be16(ib
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dsctp.h175 SCTP_PARAM_HEARTBEAT_INFO = cpu_to_be16(1),
177 SCTP_PARAM_IPV4_ADDRESS = cpu_to_be16(5),
178 SCTP_PARAM_IPV6_ADDRESS = cpu_to_be16(6),
179 SCTP_PARAM_STATE_COOKIE = cpu_to_be16(7),
180 SCTP_PARAM_UNRECOGNIZED_PARAMETERS = cpu_to_be16(8),
181 SCTP_PARAM_COOKIE_PRESERVATIVE = cpu_to_be16(9),
182 SCTP_PARAM_HOST_NAME_ADDRESS = cpu_to_be16(11),
183 SCTP_PARAM_SUPPORTED_ADDRESS_TYPES = cpu_to_be16(12),
184 SCTP_PARAM_ECN_CAPABLE = cpu_to_be16(0x8000),
187 SCTP_PARAM_RANDOM = cpu_to_be16(
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/boot/
H A Dflatdevtree_env.h21 #define cpu_to_be16(x) (x) macro
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/gfs2/
H A Ddir.h57 dent->de_rec_len = cpu_to_be16(reclen);
58 dent->de_name_len = cpu_to_be16(name->len);
59 dent->de_type = cpu_to_be16(0);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfs/
H A Dmdb.c91 if (mdb->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC))
128 if (mdb->drSigWord != cpu_to_be16(HFS_SUPER_MAGIC))
157 if (mdb2->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC)) {
205 if (!(attrib & cpu_to_be16(HFS_SB_ATTRIB_UNMNT))) {
210 if ((attrib & cpu_to_be16(HFS_SB_ATTRIB_SLOCK))) {
216 attrib &= cpu_to_be16(~HFS_SB_ATTRIB_UNMNT);
217 attrib |= cpu_to_be16(HFS_SB_ATTRIB_INCNSTNT);
266 mdb->drFreeBks = cpu_to_be16(HFS_SB(sb)->free_ablocks);
268 mdb->drNmFls = cpu_to_be16(HFS_SB(sb)->root_files);
269 mdb->drNmRtDirs = cpu_to_be16(HFS_S
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ipath/
H A Dipath_mad.c40 #define IB_SMP_UNSUP_VERSION cpu_to_be16(0x0004)
41 #define IB_SMP_UNSUP_METHOD cpu_to_be16(0x0008)
42 #define IB_SMP_UNSUP_METH_ATTR cpu_to_be16(0x000C)
43 #define IB_SMP_INVALID_FIELD cpu_to_be16(0x001C)
102 nip->partition_cap = cpu_to_be16(ipath_get_npkeys(dd));
103 nip->device_id = cpu_to_be16(dd->ipath_deviceid);
258 pip->lid = lid ? cpu_to_be16(lid) : IB_LID_PERMISSIVE;
259 pip->sm_lid = cpu_to_be16(dev->sm_lid);
262 pip->mkey_lease_period = cpu_to_be16(dev->mkey_lease_period);
309 pip->mkey_violations = cpu_to_be16(de
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus/
H A Dwrapper.c34 if (sig != cpu_to_be16(HFSPLUS_VOLHEAD_SIG) &&
35 sig != cpu_to_be16(HFSPLUS_VOLHEAD_SIGX))
111 if (vhdr->signature == cpu_to_be16(HFSP_WRAP_MAGIC)) {
122 if (vhdr->signature == cpu_to_be16(HFSPLUS_VOLHEAD_SIG))
124 if (vhdr->signature == cpu_to_be16(HFSPLUS_VOLHEAD_SIGX)) {
173 cpu_to_be16(HFSPLUS_VOLHEAD_SIGX) :
174 cpu_to_be16(HFSPLUS_VOLHEAD_SIG)))
H A Dcatalog.c54 key->key_len = cpu_to_be16(6 + 2 * len);
64 key->cat.name.length = cpu_to_be16(ustrlen);
67 key->key_len = cpu_to_be16(6 + ustrlen);
82 perms->mode = cpu_to_be16(inode->i_mode);
94 folder->type = cpu_to_be16(HFSPLUS_FOLDER);
104 folder->user_info.frFlags = cpu_to_be16(0x5000);
111 file->type = cpu_to_be16(HFSPLUS_FILE);
112 file->flags = cpu_to_be16(HFSPLUS_FILE_THREAD_EXISTS);
129 file->flags |= cpu_to_be16(HFSPLUS_FILE_LOCKED);
133 file->user_info.fdFlags = cpu_to_be16(
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/
H A Dxfs_dir2_data.c259 new.offset = cpu_to_be16((char *)dup - (char *)d);
418 d->hdr.bestfree[0].offset = cpu_to_be16(sizeof(d->hdr));
427 dup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
430 d->hdr.bestfree[0].length = cpu_to_be16(t);
431 dup->length = cpu_to_be16(t);
432 *xfs_dir2_data_unused_tag_p(dup) = cpu_to_be16((char *)dup - (char *)d);
593 cpu_to_be16((char *)prevdup - (char *)d);
627 cpu_to_be16((char *)prevdup - (char *)d);
652 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
653 newdup->length = cpu_to_be16(le
[all...]
H A Dxfs_arch.h44 #define cpu_to_be16(val) ((__force __be16)(__u16)(val)) macro
51 #define cpu_to_be16(val) ((__force __be16)__swab16((__u16)(val))) macro
61 *a = cpu_to_be16(be16_to_cpu(*a) + b);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus_journal/
H A Dwrapper.c71 if (sig != cpu_to_be16(HFSPLUS_VOLHEAD_SIG) &&
72 sig != cpu_to_be16(HFSPLUS_VOLHEAD_SIGX))
171 case cpu_to_be16(HFSPLUS_VOLHEAD_SIGX):
174 case cpu_to_be16(HFSPLUS_VOLHEAD_SIG):
176 case cpu_to_be16(HFSP_WRAP_MAGIC):
H A Dcatalog.c54 key->key_len = cpu_to_be16(6 + 2 * len);
64 key->cat.name.length = cpu_to_be16(ustrlen);
67 key->key_len = cpu_to_be16(6 + ustrlen);
82 perms->mode = cpu_to_be16(inode->i_mode);
101 folder->type = cpu_to_be16(HFSPLUS_FOLDER);
111 folder->user_info.frFlags = cpu_to_be16(0x5000);
118 file->type = cpu_to_be16(HFSPLUS_FILE);
119 file->flags = cpu_to_be16(HFSPLUS_FILE_THREAD_EXISTS);
136 file->flags |= cpu_to_be16(HFSPLUS_FILE_LOCKED);
140 file->user_info.fdFlags = cpu_to_be16(
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/befs/
H A Dendian.h65 return (__force fs16)cpu_to_be16(n);
98 run.start = cpu_to_be16(n.start);
99 run.len = cpu_to_be16(n.len);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/amso1100/
H A Dc2_mq.c67 __raw_writew((__force u16) cpu_to_be16(q->priv), &q->peer->shared);
108 __raw_writew((__force u16) cpu_to_be16(q->priv), &q->peer->shared);
120 *q->shared = cpu_to_be16((be16_to_cpu(*q->shared)+1) % q->q_size);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/crypto/
H A Dzcrypt_cca_key.h168 key->t6_hdr.blen = cpu_to_be16(0x189);
169 key->t6_hdr.ulen = cpu_to_be16(0x189 - 2);
257 key->t6_hdr.ulen = cpu_to_be16(key->pubHdr.token_length + 4);
258 key->t6_hdr.blen = cpu_to_be16(key->pubHdr.token_length + 6);
304 key->t6_hdr.blen = cpu_to_be16(size);
305 key->t6_hdr.ulen = cpu_to_be16(size - 2);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/byteorder/
H A Dgeneric.h95 #define cpu_to_be16 __cpu_to_be16 macro
160 *var = cpu_to_be16(be16_to_cpu(*var) + val);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/llc/
H A Dllc_core.c136 .type = cpu_to_be16(ETH_P_802_2),
141 .type = cpu_to_be16(ETH_P_TR_802_2),
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dinet_ecn.h116 case cpu_to_be16(ETH_P_IP):
121 case cpu_to_be16(ETH_P_IPV6):
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/core/
H A Dcm_msgs.h47 #define CM_REQ_ATTR_ID cpu_to_be16(0x0010)
48 #define CM_MRA_ATTR_ID cpu_to_be16(0x0011)
49 #define CM_REJ_ATTR_ID cpu_to_be16(0x0012)
50 #define CM_REP_ATTR_ID cpu_to_be16(0x0013)
51 #define CM_RTU_ATTR_ID cpu_to_be16(0x0014)
52 #define CM_DREQ_ATTR_ID cpu_to_be16(0x0015)
53 #define CM_DREP_ATTR_ID cpu_to_be16(0x0016)
54 #define CM_SIDR_REQ_ATTR_ID cpu_to_be16(0x0017)
55 #define CM_SIDR_REP_ATTR_ID cpu_to_be16(0x0018)
56 #define CM_LAP_ATTR_ID cpu_to_be16(
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ehca/
H A Dehca_sqp.c49 #define IB_MAD_STATUS_REDIRECT cpu_to_be16(0x0002)
50 #define IB_MAD_STATUS_UNSUP_VERSION cpu_to_be16(0x0004)
51 #define IB_MAD_STATUS_UNSUP_METHOD cpu_to_be16(0x0008)
53 #define IB_PMA_CLASS_PORT_INFO cpu_to_be16(0x0001)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/unaligned/
H A Daccess_ok.h54 *((__be16 *)p) = cpu_to_be16(val);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/mtd/
H A Dcfi_endian.h54 #define cpu_to_cfi16(x) cpu_to_be16(x)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wan/
H A Dhdlc_cisco.c118 data->rel = cpu_to_be16(0xFFFF);
137 return cpu_to_be16(ETH_P_HDLC);
141 return cpu_to_be16(ETH_P_HDLC);
144 case cpu_to_be16(ETH_P_IP):
145 case cpu_to_be16(ETH_P_IPX):
146 case cpu_to_be16(ETH_P_IPV6):
150 return cpu_to_be16(ETH_P_HDLC);

Completed in 248 milliseconds

1234567891011>>