Searched refs:__cpu_to_be16 (Results 1 – 14 of 14) sorted by relevance
25 #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 …]
129 #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)
147 #define TUNNEL_CSUM __cpu_to_be16(0x01)148 #define TUNNEL_ROUTING __cpu_to_be16(0x02)149 #define TUNNEL_KEY __cpu_to_be16(0x04)150 #define TUNNEL_SEQ __cpu_to_be16(0x08)151 #define TUNNEL_STRICT __cpu_to_be16(0x10)152 #define TUNNEL_REC __cpu_to_be16(0x20)153 #define TUNNEL_VERSION __cpu_to_be16(0x40)154 #define TUNNEL_NO_KEY __cpu_to_be16(0x80)155 #define TUNNEL_DONT_FRAGMENT __cpu_to_be16(0x0100)156 #define TUNNEL_OAM __cpu_to_be16(0x0200)[all …]
98 fft_sample->tlv.length = __cpu_to_be16(length); in ath10k_spectral_process_fft()129 fft_sample->max_magnitude = __cpu_to_be16(peak_mag); in ath10k_spectral_process_fft()135 fft_sample->total_gain_db = __cpu_to_be16(total_gain_db); in ath10k_spectral_process_fft()136 fft_sample->base_pwr_db = __cpu_to_be16(base_pwr_db); in ath10k_spectral_process_fft()140 fft_sample->freq1 = __cpu_to_be16(freq1); in ath10k_spectral_process_fft()141 fft_sample->freq2 = __cpu_to_be16(freq2); in ath10k_spectral_process_fft()145 fft_sample->noise = __cpu_to_be16(phyerr->nf_chains[chain_idx]); in ath10k_spectral_process_fft()
161 fft_sample_20.tlv.length = __cpu_to_be16(length); in ath_cmn_process_ht20_fft()162 fft_sample_20.freq = __cpu_to_be16(freq); in ath_cmn_process_ht20_fft()170 fft_sample_20.max_magnitude = __cpu_to_be16(magnitude); in ath_cmn_process_ht20_fft()216 fft_sample_20.max_magnitude = __cpu_to_be16(magnitude); in ath_cmn_process_ht20_fft()275 fft_sample_40.tlv.length = __cpu_to_be16(length); in ath_cmn_process_ht20_40_fft()276 fft_sample_40.freq = __cpu_to_be16(freq); in ath_cmn_process_ht20_40_fft()300 fft_sample_40.lower_max_magnitude = __cpu_to_be16(lower_mag); in ath_cmn_process_ht20_40_fft()303 fft_sample_40.upper_max_magnitude = __cpu_to_be16(upper_mag); in ath_cmn_process_ht20_40_fft()381 fft_sample_40.lower_max_magnitude = __cpu_to_be16(lower_mag); in ath_cmn_process_ht20_40_fft()410 fft_sample_40.upper_max_magnitude = __cpu_to_be16(upper_mag); in ath_cmn_process_ht20_40_fft()
181 wr.frqset = __cpu_to_be16(r->frqset); in tea5764_i2c_write()182 wr.tnctrl = __cpu_to_be16(r->tnctrl); in tea5764_i2c_write()183 wr.testreg = __cpu_to_be16(r->testreg); in tea5764_i2c_write()184 wr.rdsctrl = __cpu_to_be16(r->rdsctrl); in tea5764_i2c_write()185 wr.rdsbbl = __cpu_to_be16(r->rdsbbl); in tea5764_i2c_write()
96 #define cpu_to_be16 __cpu_to_be16135 #define ___htons(x) __cpu_to_be16(x)
41 #define __cpu_to_be16(x) ((__force __be16)(__u16)(x)) macro
41 #define __cpu_to_be16(x) ((__force __be16)__swab16((x))) macro
127 *s = __cpu_to_be16(c); in put_utf16()
129 buf[i] = __cpu_to_be16(radio->registers[WRITE_INDEX(i)]); in si470x_set_register()
169 case __cpu_to_be16(ETH_P_8021Q): in nf_bridge_encap_header_len()171 case __cpu_to_be16(ETH_P_PPP_SES): in nf_bridge_encap_header_len()
187 ph->pn_length = __cpu_to_be16(skb->len + 2 - sizeof(*ph)); in pn_send()
2530 int is_arp = skb->protocol == __cpu_to_be16(ETH_P_ARP); in bond_arp_rcv()