Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A 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()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.c4445 __le32 dest_dword; in ice_write_dword() local
4477 memcpy(&dest_dword, dest, sizeof(dest_dword)); in ice_write_dword()
4479 dest_dword &= ~(cpu_to_le32(mask)); /* get the bits not changing */ in ice_write_dword()
4480 dest_dword |= cpu_to_le32(src_dword); /* add in the new bits */ in ice_write_dword()
4483 memcpy(dest, &dest_dword, sizeof(dest_dword)); in ice_write_dword()