Home
last modified time | relevance | path

Searched refs:__swab32 (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/arch/c6x/include/asm/
Dunaligned.h78 #define get_unaligned_le32(p) __swab32(get_unaligned32(p))
82 #define put_unaligned_le32(v, p) put_unaligned32(__swab32(v), (p))
93 #define get_unaligned_be32(p) __swab32(get_unaligned32(p))
97 #define put_unaligned_be32(v, p) put_unaligned32(__swab32(v), (p))
/Linux-v5.10/include/uapi/linux/
Dswab.h115 #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) macro
117 #define __swab32(x) \ macro
141 return __swab32(y); in __swab()
189 return __swab32(*p); in __swab32p()
/Linux-v5.10/include/linux/
Dswab.h8 # define swab32 __swab32
/Linux-v5.10/arch/mips/include/asm/
Dbitrev.h11 asm("bitswap %0, %1" : "=r"(ret) : "r"(__swab32(x))); in __arch_bitrev32()
/Linux-v5.10/include/uapi/linux/byteorder/
Dbig_endian.h33 #define __cpu_to_le32(x) ((__force __le32)__swab32((x)))
34 #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
Dlittle_endian.h39 #define __cpu_to_be32(x) ((__force __be32)__swab32((x)))
40 #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x))
/Linux-v5.10/drivers/scsi/hisi_sas/
Dhisi_sas_v1_hw.c477 __swab32(identify_buffer[0])); in config_id_frame_v1_hw()
479 __swab32(identify_buffer[1])); in config_id_frame_v1_hw()
481 __swab32(identify_buffer[2])); in config_id_frame_v1_hw()
483 __swab32(identify_buffer[3])); in config_id_frame_v1_hw()
485 __swab32(identify_buffer[4])); in config_id_frame_v1_hw()
487 __swab32(identify_buffer[5])); in config_id_frame_v1_hw()
1358 frame_rcvd[i] = __swab32(idaf); in int_phyup_v1_hw()
Dhisi_sas_v2_hw.c908 __swab32(identify_buffer[0])); in config_id_frame_v2_hw()
910 __swab32(identify_buffer[1])); in config_id_frame_v2_hw()
912 __swab32(identify_buffer[2])); in config_id_frame_v2_hw()
914 __swab32(identify_buffer[3])); in config_id_frame_v2_hw()
916 __swab32(identify_buffer[4])); in config_id_frame_v2_hw()
918 __swab32(identify_buffer[5])); in config_id_frame_v2_hw()
2676 frame_rcvd[i] = __swab32(idaf); in phy_up_v2_hw()
Dhisi_sas_v3_hw.c749 __swab32(identify_buffer[0])); in config_id_frame_v3_hw()
751 __swab32(identify_buffer[1])); in config_id_frame_v3_hw()
753 __swab32(identify_buffer[2])); in config_id_frame_v3_hw()
755 __swab32(identify_buffer[3])); in config_id_frame_v3_hw()
757 __swab32(identify_buffer[4])); in config_id_frame_v3_hw()
759 __swab32(identify_buffer[5])); in config_id_frame_v3_hw()
1533 frame_rcvd[i] = __swab32(idaf); in phy_up_v3_hw()
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils_fw2x.c295 mac_addr[0] = __swab32(mac_addr[0]); in aq_fw2x_get_mac_permanent()
296 mac_addr[1] = __swab32(mac_addr[1]); in aq_fw2x_get_mac_permanent()
Dhw_atl_utils.c760 mac_addr[0] = __swab32(mac_addr[0]); in hw_atl_utils_get_mac_permanent()
761 mac_addr[1] = __swab32(mac_addr[1]); in hw_atl_utils_get_mac_permanent()
Dhw_atl_a0.c194 __swab32(rss_params->hash_secret_key[i]) : 0U; in hw_atl_a0_hw_rss_hash_set()
Dhw_atl_b0.c220 __swab32(rss_params->hash_secret_key[i]) : 0U; in hw_atl_b0_hw_rss_hash_set()
/Linux-v5.10/arch/powerpc/sysdev/
Dfsl_msi.c169 msg->data = __swab32(hwirq); in fsl_compose_msi_msg()
/Linux-v5.10/drivers/spi/
Dspi-fsl-qspi.c314 return needs_swap_endian(q) ? __swab32(a) : a; in fsl_qspi_endian_xchg()