Lines Matching refs:ce_info

728 			    struct i40e_context_ele *ce_info,  in i40e_write_byte()  argument
736 from = src + ce_info->offset; in i40e_write_byte()
739 shift_width = ce_info->lsb % 8; in i40e_write_byte()
740 mask = (u8)(BIT(ce_info->width) - 1); in i40e_write_byte()
750 dest = hmc_bits + (ce_info->lsb / 8); in i40e_write_byte()
768 struct i40e_context_ele *ce_info, in i40e_write_word() argument
777 from = src + ce_info->offset; in i40e_write_word()
780 shift_width = ce_info->lsb % 8; in i40e_write_word()
781 mask = BIT(ce_info->width) - 1; in i40e_write_word()
794 dest = hmc_bits + (ce_info->lsb / 8); in i40e_write_word()
812 struct i40e_context_ele *ce_info, in i40e_write_dword() argument
821 from = src + ce_info->offset; in i40e_write_dword()
824 shift_width = ce_info->lsb % 8; in i40e_write_dword()
830 if (ce_info->width < 32) in i40e_write_dword()
831 mask = BIT(ce_info->width) - 1; in i40e_write_dword()
846 dest = hmc_bits + (ce_info->lsb / 8); in i40e_write_dword()
864 struct i40e_context_ele *ce_info, in i40e_write_qword() argument
873 from = src + ce_info->offset; in i40e_write_qword()
876 shift_width = ce_info->lsb % 8; in i40e_write_qword()
882 if (ce_info->width < 64) in i40e_write_qword()
883 mask = BIT_ULL(ce_info->width) - 1; in i40e_write_qword()
898 dest = hmc_bits + (ce_info->lsb / 8); in i40e_write_qword()
932 struct i40e_context_ele *ce_info, in i40e_set_hmc_context() argument
937 for (f = 0; ce_info[f].width != 0; f++) { in i40e_set_hmc_context()
943 switch (ce_info[f].size_of) { in i40e_set_hmc_context()
945 i40e_write_byte(context_bytes, &ce_info[f], dest); in i40e_set_hmc_context()
948 i40e_write_word(context_bytes, &ce_info[f], dest); in i40e_set_hmc_context()
951 i40e_write_dword(context_bytes, &ce_info[f], dest); in i40e_set_hmc_context()
954 i40e_write_qword(context_bytes, &ce_info[f], dest); in i40e_set_hmc_context()