Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.c818 __le32 dest_dword; in i40e_write_dword() local
848 memcpy(&dest_dword, dest, sizeof(dest_dword)); in i40e_write_dword()
850 dest_dword &= ~(cpu_to_le32(mask)); /* get the bits not changing */ in i40e_write_dword()
851 dest_dword |= cpu_to_le32(src_dword); /* add in the new bits */ in i40e_write_dword()
854 memcpy(dest, &dest_dword, sizeof(dest_dword)); in i40e_write_dword()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_common.c4616 __le32 dest_dword; in ice_pack_ctx_dword() local
4637 memcpy(&dest_dword, dest, sizeof(dest_dword)); in ice_pack_ctx_dword()
4639 dest_dword &= ~(cpu_to_le32(mask)); /* get the bits not changing */ in ice_pack_ctx_dword()
4640 dest_dword |= cpu_to_le32(src_dword); /* add in the new bits */ in ice_pack_ctx_dword()
4643 memcpy(dest, &dest_dword, sizeof(dest_dword)); in ice_pack_ctx_dword()