Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.c731 u8 src_byte, dest_byte, mask; in i40e_write_byte() local
752 memcpy(&dest_byte, dest, sizeof(dest_byte)); in i40e_write_byte()
754 dest_byte &= ~mask; /* get the bits not changing */ in i40e_write_byte()
755 dest_byte |= src_byte; /* add in the new bits */ in i40e_write_byte()
758 memcpy(dest, &dest_byte, sizeof(dest_byte)); in i40e_write_byte()
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/intel/ice/
Dice_common.c4539 u8 src_byte, dest_byte, mask; in ice_pack_ctx_byte() local
4557 memcpy(&dest_byte, dest, sizeof(dest_byte)); in ice_pack_ctx_byte()
4559 dest_byte &= ~mask; /* get the bits not changing */ in ice_pack_ctx_byte()
4560 dest_byte |= src_byte; /* add in the new bits */ in ice_pack_ctx_byte()
4563 memcpy(dest, &dest_byte, sizeof(dest_byte)); in ice_pack_ctx_byte()