Home
last modified time | relevance | path

Searched refs:__LE_TO_CPU_32 (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/sfxge/common/
H A Def10_nvram.c82 tag = __LE_TO_CPU_32(dword); in tlv_tag()
97 length = __LE_TO_CPU_32(dword); in tlv_length()
602 csum += __LE_TO_CPU_32(*ptr++); in checksum_tlv_partition()
626 if (__LE_TO_CPU_32(header->tag) != TLV_TAG_PARTITION_HEADER) { in tlv_update_partition_len_and_cks()
638 __LE_TO_CPU_32(header->generation) + 1); in tlv_update_partition_len_and_cks()
644 __LE_TO_CPU_32(trailer->checksum) - in tlv_update_partition_len_and_cks()
692 total_length = __LE_TO_CPU_32(header->total_length); in ef10_nvram_buffer_validate()
1279 total_length = __LE_TO_CPU_32(header->total_length); in ef10_nvram_read_tlv_segment()
1538 *seg_sizep = __LE_TO_CPU_32(header->total_length); in ef10_nvram_buf_segment_size()
1704 generation = __LE_TO_CPU_32(header->generation) + 1; in ef10_nvram_buf_write_tlv()
H A Defx_types.h274 #define __LE_TO_CPU_32(_x) ((uint32_t)__SWAP32(_x)) macro
291 #define __LE_TO_CPU_32(_x) ((uint32_t)__NOSWAP32(_x)) macro
333 ((unsigned int)__LE_TO_CPU_32((_dword).ed_u32[0]))
337 ((unsigned int)__LE_TO_CPU_32((_qword).eq_u32[1])), \
338 ((unsigned int)__LE_TO_CPU_32((_qword).eq_u32[0]))
342 ((unsigned int)__LE_TO_CPU_32((_oword).eo_u32[3])), \
343 ((unsigned int)__LE_TO_CPU_32((_oword).eo_u32[2])), \
344 ((unsigned int)__LE_TO_CPU_32((_oword).eo_u32[1])), \
345 ((unsigned int)__LE_TO_CPU_32((_oword).eo_u32[0]))
401 EFX_EXTRACT_NATIVE(__LE_TO_CPU_32(_element), _min, _max, _low, _high)