Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/i40e/core/
H A Di40e_lan_hmc.c764 u8 src_byte, dest_byte, mask; in i40e_write_byte() local
785 i40e_memcpy(&dest_byte, dest, sizeof(dest_byte), I40E_DMA_TO_NONDMA); in i40e_write_byte()
787 dest_byte &= ~mask; /* get the bits not changing */ in i40e_write_byte()
788 dest_byte |= src_byte; /* add in the new bits */ in i40e_write_byte()
791 i40e_memcpy(dest, &dest_byte, sizeof(dest_byte), I40E_NONDMA_TO_DMA); in i40e_write_byte()
952 u8 dest_byte, mask; in i40e_read_byte() local
966 i40e_memcpy(&dest_byte, src, sizeof(dest_byte), I40E_DMA_TO_NONDMA); in i40e_read_byte()
968 dest_byte &= ~(mask); in i40e_read_byte()
970 dest_byte >>= shift_width; in i40e_read_byte()
976 i40e_memcpy(target, &dest_byte, sizeof(dest_byte), I40E_NONDMA_TO_DMA); in i40e_read_byte()