Home
last modified time | relevance | path

Searched refs:__be16_to_cpu (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dtipc_config.h268 (__be16_to_cpu(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK()
274 (__be16_to_cpu(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK()
279 return __be16_to_cpu(tlv->tlv_len); in TLV_GET_LEN()
289 return (__be16_to_cpu(tlv->tlv_type) == type); in TLV_CHECK_TYPE()
347 __u16 tlv_space = TLV_ALIGN(__be16_to_cpu(list->tlv_ptr->tlv_len)); in TLV_LIST_STEP()
H A Dmap_to_14segment.h90 return __be16_to_cpu(map->table[c]); in map_to_seg14()
/openbmc/u-boot/include/linux/byteorder/
H A Dgeneric.h97 #define be16_to_cpu __be16_to_cpu
137 #define ___ntohs(x) __be16_to_cpu(x)
H A Dlittle_endian.h43 #define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x)) macro
H A Dbig_endian.h43 #define __be16_to_cpu(x) ((__force __u16)(__be16)(x)) macro
/openbmc/linux/include/linux/byteorder/
H A Dgeneric.h97 #define be16_to_cpu __be16_to_cpu
137 #define ___ntohs(x) __be16_to_cpu(x)
/openbmc/linux/drivers/media/radio/si470x/
H A Dradio-si470x-i2c.c99 radio->registers[regnr] = __be16_to_cpu(buf[READ_INDEX(regnr)]); in si470x_get_register()
155 radio->registers[i] = __be16_to_cpu(buf[READ_INDEX(i)]); in si470x_get_all_registers()
/openbmc/linux/drivers/iio/proximity/
H A Dmb1232.c100 distance = __be16_to_cpu(buf); in mb1232_read_distance()
/openbmc/linux/include/uapi/linux/byteorder/
H A Dlittle_endian.h43 #define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x)) macro
H A Dbig_endian.h43 #define __be16_to_cpu(x) ((__force __u16)(__be16)(x)) macro
/openbmc/linux/fs/nls/
H A Dnls_base.c182 return __be16_to_cpu(c); in get_utf16()
/openbmc/linux/drivers/regulator/
H A Dmax77857-regulator.c218 return FIELD_GET(MAX77859_VOLTAGE_SEL_MASK, __be16_to_cpu(reg)); in max77859_get_voltage_sel()
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_main.c545 __be16_to_cpu(rx->len)); in hostap_dump_rx_header()
573 __be16_to_cpu(tx->len)); in hostap_dump_tx_header()
/openbmc/linux/drivers/media/radio/
H A Dradio-tea5764.c155 p[i] = __be16_to_cpu((__force __be16)p[i]); in tea5764_i2c_read()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dspectral.c19 length = __be16_to_cpu(fft_sample_tlv->length) + in send_fft_sample()
/openbmc/linux/tools/testing/selftests/net/
H A Dioam6_parser.c132 if (__be16_to_cpu(ioam6h->namespace_id) != ioam_ns || in check_ioam_header()
/openbmc/u-boot/drivers/net/phy/
H A Dncsi.c196 hdr->common.type, __be16_to_cpu(hdr->code)); in ncsi_validate_rsp()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.c35 length = __be16_to_cpu(fft_sample_tlv->length) + in ath_debug_send_fft_sample()