Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.c777 __le16 dest_word; in i40e_write_word() local
799 memcpy(&dest_word, dest, sizeof(dest_word)); in i40e_write_word()
801 dest_word &= ~(cpu_to_le16(mask)); /* get the bits not changing */ in i40e_write_word()
802 dest_word |= cpu_to_le16(src_word); /* add in the new bits */ in i40e_write_word()
805 memcpy(dest, &dest_word, sizeof(dest_word)); in i40e_write_word()
/drivers/net/ethernet/intel/ice/
Dice_common.c3646 __le16 dest_word; in ice_write_word() local
3670 memcpy(&dest_word, dest, sizeof(dest_word)); in ice_write_word()
3672 dest_word &= ~(cpu_to_le16(mask)); /* get the bits not changing */ in ice_write_word()
3673 dest_word |= cpu_to_le16(src_word); /* add in the new bits */ in ice_write_word()
3676 memcpy(dest, &dest_word, sizeof(dest_word)); in ice_write_word()