Home
last modified time | relevance | path

Searched refs:__cpu_to_be16 (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/include/uapi/linux/
Dif_tunnel.h25 #define GRE_CSUM __cpu_to_be16(0x8000)
26 #define GRE_ROUTING __cpu_to_be16(0x4000)
27 #define GRE_KEY __cpu_to_be16(0x2000)
28 #define GRE_SEQ __cpu_to_be16(0x1000)
29 #define GRE_STRICT __cpu_to_be16(0x0800)
30 #define GRE_REC __cpu_to_be16(0x0700)
31 #define GRE_ACK __cpu_to_be16(0x0080)
32 #define GRE_FLAGS __cpu_to_be16(0x0078)
33 #define GRE_VERSION __cpu_to_be16(0x0007)
43 #define GRE_VERSION_0 __cpu_to_be16(0x0000)
[all …]
Dif_pppox.h129 #define PTT_EOL __cpu_to_be16(0x0000)
130 #define PTT_SRV_NAME __cpu_to_be16(0x0101)
131 #define PTT_AC_NAME __cpu_to_be16(0x0102)
132 #define PTT_HOST_UNIQ __cpu_to_be16(0x0103)
133 #define PTT_AC_COOKIE __cpu_to_be16(0x0104)
134 #define PTT_VENDOR __cpu_to_be16(0x0105)
135 #define PTT_RELAY_SID __cpu_to_be16(0x0110)
136 #define PTT_SRV_ERR __cpu_to_be16(0x0201)
137 #define PTT_SYS_ERR __cpu_to_be16(0x0202)
138 #define PTT_GEN_ERR __cpu_to_be16(0x0203)
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dspectral.c87 fft_sample->tlv.length = __cpu_to_be16(length); in ath10k_spectral_process_fft()
118 fft_sample->max_magnitude = __cpu_to_be16(peak_mag); in ath10k_spectral_process_fft()
124 fft_sample->total_gain_db = __cpu_to_be16(total_gain_db); in ath10k_spectral_process_fft()
125 fft_sample->base_pwr_db = __cpu_to_be16(base_pwr_db); in ath10k_spectral_process_fft()
129 fft_sample->freq1 = __cpu_to_be16(freq1); in ath10k_spectral_process_fft()
130 fft_sample->freq2 = __cpu_to_be16(freq2); in ath10k_spectral_process_fft()
134 fft_sample->noise = __cpu_to_be16(phyerr->nf_chains[chain_idx]); in ath10k_spectral_process_fft()
/Linux-v5.4/drivers/net/wireless/ath/ath9k/
Dcommon-spectral.c149 fft_sample_20.tlv.length = __cpu_to_be16(length); in ath_cmn_process_ht20_fft()
150 fft_sample_20.freq = __cpu_to_be16(freq); in ath_cmn_process_ht20_fft()
158 fft_sample_20.max_magnitude = __cpu_to_be16(magnitude); in ath_cmn_process_ht20_fft()
204 fft_sample_20.max_magnitude = __cpu_to_be16(magnitude); in ath_cmn_process_ht20_fft()
263 fft_sample_40.tlv.length = __cpu_to_be16(length); in ath_cmn_process_ht20_40_fft()
264 fft_sample_40.freq = __cpu_to_be16(freq); in ath_cmn_process_ht20_40_fft()
288 fft_sample_40.lower_max_magnitude = __cpu_to_be16(lower_mag); in ath_cmn_process_ht20_40_fft()
291 fft_sample_40.upper_max_magnitude = __cpu_to_be16(upper_mag); in ath_cmn_process_ht20_40_fft()
351 fft_sample_40.lower_max_magnitude = __cpu_to_be16(lower_mag); in ath_cmn_process_ht20_40_fft()
380 fft_sample_40.upper_max_magnitude = __cpu_to_be16(upper_mag); in ath_cmn_process_ht20_40_fft()
/Linux-v5.4/drivers/media/radio/
Dradio-tea5764.c172 wr.frqset = __cpu_to_be16(r->frqset); in tea5764_i2c_write()
173 wr.tnctrl = __cpu_to_be16(r->tnctrl); in tea5764_i2c_write()
174 wr.testreg = __cpu_to_be16(r->testreg); in tea5764_i2c_write()
175 wr.rdsctrl = __cpu_to_be16(r->rdsctrl); in tea5764_i2c_write()
176 wr.rdsbbl = __cpu_to_be16(r->rdsbbl); in tea5764_i2c_write()
/Linux-v5.4/include/linux/byteorder/
Dgeneric.h96 #define cpu_to_be16 __cpu_to_be16
135 #define ___htons(x) __cpu_to_be16(x)
/Linux-v5.4/include/uapi/linux/byteorder/
Dbig_endian.h41 #define __cpu_to_be16(x) ((__force __be16)(__u16)(x)) macro
Dlittle_endian.h41 #define __cpu_to_be16(x) ((__force __be16)__swab16((x))) macro
/Linux-v5.4/fs/nls/
Dnls_base.c127 *s = __cpu_to_be16(c); in put_utf16()
/Linux-v5.4/drivers/media/radio/si470x/
Dradio-si470x-i2c.c121 buf[i] = __cpu_to_be16(radio->registers[WRITE_INDEX(i)]); in si470x_set_register()
/Linux-v5.4/net/phonet/
Daf_phonet.c174 ph->pn_length = __cpu_to_be16(skb->len + 2 - sizeof(*ph)); in pn_send()
/Linux-v5.4/net/bridge/
Dbr_netfilter_hooks.c166 case __cpu_to_be16(ETH_P_8021Q): in nf_bridge_encap_header_len()
168 case __cpu_to_be16(ETH_P_PPP_SES): in nf_bridge_encap_header_len()
/Linux-v5.4/drivers/net/bonding/
Dbond_main.c2546 int is_arp = skb->protocol == __cpu_to_be16(ETH_P_ARP); in bond_arp_rcv()