Lines Matching refs:ce_info

757  * @ce_info: a description of the struct to be read from
761 struct i40e_context_ele *ce_info,
769 from = src + ce_info->offset;
772 shift_width = ce_info->lsb % 8;
773 mask = BIT(ce_info->width) - 1;
783 dest = hmc_bits + (ce_info->lsb / 8);
797 * @ce_info: a description of the struct to be read from
801 struct i40e_context_ele *ce_info,
810 from = src + ce_info->offset;
813 shift_width = ce_info->lsb % 8;
814 mask = BIT(ce_info->width) - 1;
827 dest = hmc_bits + (ce_info->lsb / 8);
841 * @ce_info: a description of the struct to be read from
845 struct i40e_context_ele *ce_info,
854 from = src + ce_info->offset;
857 shift_width = ce_info->lsb % 8;
863 if (ce_info->width < 32)
864 mask = BIT(ce_info->width) - 1;
879 dest = hmc_bits + (ce_info->lsb / 8);
893 * @ce_info: a description of the struct to be read from
897 struct i40e_context_ele *ce_info,
906 from = src + ce_info->offset;
909 shift_width = ce_info->lsb % 8;
915 if (ce_info->width < 64)
916 mask = BIT_ULL(ce_info->width) - 1;
931 dest = hmc_bits + (ce_info->lsb / 8);
945 * @ce_info: a description of the struct to be filled
949 struct i40e_context_ele *ce_info,
957 shift_width = ce_info->lsb % 8;
958 mask = BIT(ce_info->width) - 1;
964 src = hmc_bits + (ce_info->lsb / 8);
973 target = dest + ce_info->offset;
982 * @ce_info: a description of the struct to be filled
986 struct i40e_context_ele *ce_info,
995 shift_width = ce_info->lsb % 8;
996 mask = BIT(ce_info->width) - 1;
1002 src = hmc_bits + (ce_info->lsb / 8);
1017 target = dest + ce_info->offset;
1026 * @ce_info: a description of the struct to be filled
1030 struct i40e_context_ele *ce_info,
1039 shift_width = ce_info->lsb % 8;
1045 if (ce_info->width < 32)
1046 mask = BIT(ce_info->width) - 1;
1054 src = hmc_bits + (ce_info->lsb / 8);
1069 target = dest + ce_info->offset;
1079 * @ce_info: a description of the struct to be filled
1083 struct i40e_context_ele *ce_info,
1092 shift_width = ce_info->lsb % 8;
1098 if (ce_info->width < 64)
1099 mask = BIT_ULL(ce_info->width) - 1;
1107 src = hmc_bits + (ce_info->lsb / 8);
1122 target = dest + ce_info->offset;
1132 * @ce_info: a description of the struct to be filled
1136 struct i40e_context_ele *ce_info,
1141 for (f = 0; ce_info[f].width != 0; f++) {
1142 switch (ce_info[f].size_of) {
1144 i40e_read_byte(context_bytes, &ce_info[f], dest);
1147 i40e_read_word(context_bytes, &ce_info[f], dest);
1150 i40e_read_dword(context_bytes, &ce_info[f], dest);
1153 i40e_read_qword(context_bytes, &ce_info[f], dest);
1184 * @ce_info: a description of the struct to be filled
1188 struct i40e_context_ele *ce_info,
1193 for (f = 0; ce_info[f].width != 0; f++) {
1199 switch (ce_info[f].size_of) {
1201 i40e_write_byte(context_bytes, &ce_info[f], dest);
1204 i40e_write_word(context_bytes, &ce_info[f], dest);
1207 i40e_write_dword(context_bytes, &ce_info[f], dest);
1210 i40e_write_qword(context_bytes, &ce_info[f], dest);