Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.c734 u8 src_byte, dest_byte, mask; in i40e_write_byte() local
755 memcpy(&dest_byte, dest, sizeof(dest_byte)); in i40e_write_byte()
757 dest_byte &= ~mask; /* get the bits not changing */ in i40e_write_byte()
758 dest_byte |= src_byte; /* add in the new bits */ in i40e_write_byte()
761 memcpy(dest, &dest_byte, sizeof(dest_byte)); in i40e_write_byte()
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dsmu7_smumgr.c53 uint8_t *dest_byte; in smu7_copy_bytes_from_smc() local
76 dest_byte = (uint8_t *)dest; in smu7_copy_bytes_from_smc()
78 dest_byte[i] = data_byte[i]; in smu7_copy_bytes_from_smc()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_common.c3991 u8 src_byte, dest_byte, mask; in ice_write_byte() local
4012 memcpy(&dest_byte, dest, sizeof(dest_byte)); in ice_write_byte()
4014 dest_byte &= ~mask; /* get the bits not changing */ in ice_write_byte()
4015 dest_byte |= src_byte; /* add in the new bits */ in ice_write_byte()
4018 memcpy(dest, &dest_byte, sizeof(dest_byte)); in ice_write_byte()