/openbmc/linux/include/uapi/linux/ |
H A D | if_tunnel.h | 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) 166 #define TUNNEL_KEY __cpu_to_be16(0x04) [all …]
|
H A D | if_pppox.h | 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)
|
H A D | tipc_config.h | 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()
|
H A D | map_to_14segment.h | 108 __cpu_to_be16( a << BIT_SEG14_A | b << BIT_SEG14_B | \
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | spectral.c | 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()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | common-spectral.c | 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()
|
/openbmc/linux/drivers/media/radio/ |
H A D | radio-tea5764.c | 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()
|
/openbmc/u-boot/include/linux/byteorder/ |
H A D | generic.h | 96 #define cpu_to_be16 __cpu_to_be16 135 #define ___htons(x) __cpu_to_be16(x)
|
H A D | little_endian.h | 42 #define __cpu_to_be16(x) ((__force __be16)__swab16((x))) macro
|
H A D | big_endian.h | 42 #define __cpu_to_be16(x) ((__force __be16)(__u16)(x)) macro
|
/openbmc/linux/include/linux/byteorder/ |
H A D | generic.h | 96 #define cpu_to_be16 __cpu_to_be16 135 #define ___htons(x) __cpu_to_be16(x)
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | spectral.c | 661 fft_sample->tlv.length = __cpu_to_be16(length); in ath11k_spectral_process_fft() 664 fft_sample->max_magnitude = __cpu_to_be16(search.peak_mag); in ath11k_spectral_process_fft() 669 fft_sample->rssi = __cpu_to_be16(summary->inb_pwr_db); in ath11k_spectral_process_fft() 673 fft_sample->freq1 = __cpu_to_be16(freq); in ath11k_spectral_process_fft() 676 fft_sample->freq2 = __cpu_to_be16(freq); in ath11k_spectral_process_fft()
|
/openbmc/linux/include/uapi/linux/byteorder/ |
H A D | big_endian.h | 42 #define __cpu_to_be16(x) ((__force __be16)(__u16)(x)) macro
|
H A D | little_endian.h | 42 #define __cpu_to_be16(x) ((__force __be16)__swab16((x))) macro
|
/openbmc/u-boot/drivers/tpm/ |
H A D | tpm_tis_sandbox.c | 171 pub.pcr_info_read.pcr_selection.size_of_select = __cpu_to_be16( in handle_cap_flag_space()
|
/openbmc/linux/fs/nls/ |
H A D | nls_base.c | 127 *s = __cpu_to_be16(c); in put_utf16()
|
/openbmc/linux/drivers/media/radio/si470x/ |
H A D | radio-si470x-i2c.c | 121 buf[i] = __cpu_to_be16(radio->registers[WRITE_INDEX(i)]); in si470x_set_register()
|
/openbmc/linux/net/phonet/ |
H A D | af_phonet.c | 174 ph->pn_length = __cpu_to_be16(skb->len + 2 - sizeof(*ph)); in pn_send()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ioam6_parser.c | 629 fd = socket(AF_PACKET, SOCK_DGRAM, __cpu_to_be16(ETH_P_IPV6)); in main()
|
/openbmc/linux/fs/ntfs3/ |
H A D | dir.c | 103 *(__be16 *)s = __cpu_to_be16(c); in put_utf16()
|
/openbmc/linux/net/bridge/ |
H A D | br_netfilter_hooks.c | 170 case __cpu_to_be16(ETH_P_8021Q): in nf_bridge_encap_header_len() 172 case __cpu_to_be16(ETH_P_PPP_SES): in nf_bridge_encap_header_len()
|
/openbmc/linux/drivers/net/bonding/ |
H A D | bond_main.c | 3389 bool is_ipv6 = skb->protocol == __cpu_to_be16(ETH_P_IPV6); in bond_rcv_validate() 3391 bool is_arp = skb->protocol == __cpu_to_be16(ETH_P_ARP); in bond_rcv_validate()
|