Searched refs:dest_word (Results 1 – 2 of 2) sorted by relevance
776 __le16 dest_word; in i40e_write_word() local798 memcpy(&dest_word, dest, sizeof(dest_word)); in i40e_write_word()800 dest_word &= ~(cpu_to_le16(mask)); /* get the bits not changing */ in i40e_write_word()801 dest_word |= cpu_to_le16(src_word); /* add in the new bits */ in i40e_write_word()804 memcpy(dest, &dest_word, sizeof(dest_word)); in i40e_write_word()
1916 __le16 dest_word; in ice_write_word() local1940 memcpy(&dest_word, dest, sizeof(dest_word)); in ice_write_word()1942 dest_word &= ~(cpu_to_le16(mask)); /* get the bits not changing */ in ice_write_word()1943 dest_word |= cpu_to_le16(src_word); /* add in the new bits */ in ice_write_word()1946 memcpy(dest, &dest_word, sizeof(dest_word)); in ice_write_word()