Searched refs:__cpu_to_be16 (Results 1 – 18 of 18) 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)
284 tlv->tlv_len = __cpu_to_be16(len); in TLV_SET_LEN()294 tlv->tlv_type = __cpu_to_be16(type); in TLV_SET_TYPE()304 tlv_ptr->tlv_type = __cpu_to_be16(type); in TLV_SET()305 tlv_ptr->tlv_len = __cpu_to_be16(tlv_len); in TLV_SET()404 tcm_hdr->tcm_type = __cpu_to_be16(cmd); in TCM_SET()405 tcm_hdr->tcm_flags = __cpu_to_be16(flags); in TCM_SET()
108 __cpu_to_be16( a << BIT_SEG14_A | b << BIT_SEG14_B | \
87 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()
149 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()
172 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()
96 #define cpu_to_be16 __cpu_to_be16135 #define ___htons(x) __cpu_to_be16(x)
660 fft_sample->tlv.length = __cpu_to_be16(length); in ath11k_spectral_process_fft()663 fft_sample->max_magnitude = __cpu_to_be16(search.peak_mag); in ath11k_spectral_process_fft()668 fft_sample->rssi = __cpu_to_be16(summary->inb_pwr_db); in ath11k_spectral_process_fft()672 fft_sample->freq1 = __cpu_to_be16(freq); in ath11k_spectral_process_fft()675 fft_sample->freq2 = __cpu_to_be16(freq); in ath11k_spectral_process_fft()
42 #define __cpu_to_be16(x) ((__force __be16)(__u16)(x)) macro
42 #define __cpu_to_be16(x) ((__force __be16)__swab16((x))) macro
127 *s = __cpu_to_be16(c); in put_utf16()
121 buf[i] = __cpu_to_be16(radio->registers[WRITE_INDEX(i)]); in si470x_set_register()
174 ph->pn_length = __cpu_to_be16(skb->len + 2 - sizeof(*ph)); in pn_send()
166 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()
629 fd = socket(AF_PACKET, SOCK_DGRAM, __cpu_to_be16(ETH_P_IPV6)); in main()
103 *(__be16 *)s = __cpu_to_be16(c); in put_utf16()
3342 bool is_ipv6 = skb->protocol == __cpu_to_be16(ETH_P_IPV6); in bond_rcv_validate()3344 bool is_arp = skb->protocol == __cpu_to_be16(ETH_P_ARP); in bond_rcv_validate()