Searched refs:__cpu_to_be16 (Results 1 – 16 of 16) sorted by relevance
125 #define PTT_EOL __cpu_to_be16(0x0000)126 #define PTT_SRV_NAME __cpu_to_be16(0x0101)127 #define PTT_AC_NAME __cpu_to_be16(0x0102)128 #define PTT_HOST_UNIQ __cpu_to_be16(0x0103)129 #define PTT_AC_COOKIE __cpu_to_be16(0x0104)130 #define PTT_VENDOR __cpu_to_be16(0x0105)131 #define PTT_RELAY_SID __cpu_to_be16(0x0110)132 #define PTT_SRV_ERR __cpu_to_be16(0x0201)133 #define PTT_SYS_ERR __cpu_to_be16(0x0202)134 #define PTT_GEN_ERR __cpu_to_be16(0x0203)
21 #define GRE_CSUM __cpu_to_be16(0x8000)22 #define GRE_ROUTING __cpu_to_be16(0x4000)23 #define GRE_KEY __cpu_to_be16(0x2000)24 #define GRE_SEQ __cpu_to_be16(0x1000)25 #define GRE_STRICT __cpu_to_be16(0x0800)26 #define GRE_REC __cpu_to_be16(0x0700)27 #define GRE_FLAGS __cpu_to_be16(0x00F8)28 #define GRE_VERSION __cpu_to_be16(0x0007)
89 #define TUNNEL_CSUM __cpu_to_be16(0x01)90 #define TUNNEL_ROUTING __cpu_to_be16(0x02)91 #define TUNNEL_KEY __cpu_to_be16(0x04)92 #define TUNNEL_SEQ __cpu_to_be16(0x08)93 #define TUNNEL_STRICT __cpu_to_be16(0x10)94 #define TUNNEL_REC __cpu_to_be16(0x20)95 #define TUNNEL_VERSION __cpu_to_be16(0x40)96 #define TUNNEL_NO_KEY __cpu_to_be16(0x80)97 #define TUNNEL_DONT_FRAGMENT __cpu_to_be16(0x0100)98 #define TUNNEL_OAM __cpu_to_be16(0x0200)[all …]
81 fft_sample->tlv.length = __cpu_to_be16(length); in ath10k_spectral_process_fft()112 fft_sample->max_magnitude = __cpu_to_be16(peak_mag); in ath10k_spectral_process_fft()118 fft_sample->total_gain_db = __cpu_to_be16(total_gain_db); in ath10k_spectral_process_fft()119 fft_sample->base_pwr_db = __cpu_to_be16(base_pwr_db); in ath10k_spectral_process_fft()123 fft_sample->freq1 = __cpu_to_be16(freq1); in ath10k_spectral_process_fft()124 fft_sample->freq2 = __cpu_to_be16(freq2); in ath10k_spectral_process_fft()128 fft_sample->noise = __cpu_to_be16( in ath10k_spectral_process_fft()
138 fft_sample_40.tlv.length = __cpu_to_be16(length); in ath_cmn_process_fft()139 fft_sample_40.freq = __cpu_to_be16(freq); in ath_cmn_process_fft()161 fft_sample_40.lower_max_magnitude = __cpu_to_be16(lower_mag); in ath_cmn_process_fft()162 fft_sample_40.upper_max_magnitude = __cpu_to_be16(upper_mag); in ath_cmn_process_fft()183 fft_sample_20.tlv.length = __cpu_to_be16(length); in ath_cmn_process_fft()184 fft_sample_20.freq = __cpu_to_be16(freq); in ath_cmn_process_fft()191 fft_sample_20.max_magnitude = __cpu_to_be16(magnitude); in ath_cmn_process_fft()
95 #define cpu_to_be16 __cpu_to_be16134 #define ___htons(x) __cpu_to_be16(x)
185 wr.frqset = __cpu_to_be16(r->frqset); in tea5764_i2c_write()186 wr.tnctrl = __cpu_to_be16(r->tnctrl); in tea5764_i2c_write()187 wr.testreg = __cpu_to_be16(r->testreg); in tea5764_i2c_write()188 wr.rdsctrl = __cpu_to_be16(r->rdsctrl); in tea5764_i2c_write()189 wr.rdsbbl = __cpu_to_be16(r->rdsbbl); in tea5764_i2c_write()
40 #define __cpu_to_be16(x) ((__force __be16)(__u16)(x)) macro
40 #define __cpu_to_be16(x) ((__force __be16)__swab16((x))) macro
127 *s = __cpu_to_be16(c); in put_utf16()
134 buf[i] = __cpu_to_be16(radio->registers[WRITE_INDEX(i)]); in si470x_set_register()
201 #define ___htons(x) __cpu_to_be16(x)
173 case __cpu_to_be16(ETH_P_8021Q): in nf_bridge_encap_header_len()175 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()
632 __raw_writew(__cpu_to_be16(value), addr); in iowrite16be()
2405 int alen, is_arp = skb->protocol == __cpu_to_be16(ETH_P_ARP); in bond_arp_rcv()