Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_lan_hmc.c774 __le16 dest_word; in i40e_write_word() local
796 memcpy(&dest_word, dest, sizeof(dest_word)); in i40e_write_word()
798 dest_word &= ~(cpu_to_le16(mask)); /* get the bits not changing */ in i40e_write_word()
799 dest_word |= cpu_to_le16(src_word); /* add in the new bits */ in i40e_write_word()
802 memcpy(dest, &dest_word, sizeof(dest_word)); in i40e_write_word()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.c4576 __le16 dest_word; in ice_pack_ctx_word() local
4597 memcpy(&dest_word, dest, sizeof(dest_word)); in ice_pack_ctx_word()
4599 dest_word &= ~(cpu_to_le16(mask)); /* get the bits not changing */ in ice_pack_ctx_word()
4600 dest_word |= cpu_to_le16(src_word); /* add in the new bits */ in ice_pack_ctx_word()
4603 memcpy(dest, &dest_word, sizeof(dest_word)); in ice_pack_ctx_word()