Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.c733 u16 shift_width; in i40e_write_byte() local
739 shift_width = ce_info->lsb % 8; in i40e_write_byte()
746 mask <<= shift_width; in i40e_write_byte()
747 src_byte <<= shift_width; in i40e_write_byte()
773 u16 shift_width; in i40e_write_word() local
780 shift_width = ce_info->lsb % 8; in i40e_write_word()
790 mask <<= shift_width; in i40e_write_word()
791 src_word <<= shift_width; in i40e_write_word()
817 u16 shift_width; in i40e_write_dword() local
824 shift_width = ce_info->lsb % 8; in i40e_write_dword()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_common.c4541 u16 shift_width; in ice_pack_ctx_byte() local
4547 shift_width = ce_info->lsb % 8; in ice_pack_ctx_byte()
4548 mask = GENMASK(ce_info->width - 1 + shift_width, shift_width); in ice_pack_ctx_byte()
4551 src_byte <<= shift_width; in ice_pack_ctx_byte()
4578 u16 shift_width; in ice_pack_ctx_word() local
4584 shift_width = ce_info->lsb % 8; in ice_pack_ctx_word()
4585 mask = GENMASK(ce_info->width - 1 + shift_width, shift_width); in ice_pack_ctx_word()
4591 src_word <<= shift_width; in ice_pack_ctx_word()
4618 u16 shift_width; in ice_pack_ctx_dword() local
4624 shift_width = ce_info->lsb % 8; in ice_pack_ctx_dword()
[all …]