This fixes a problem where register addresses where incorrectly shifted.
0;
dw[1] =
- __gen_field(values->RegisterAddress, 2, 22) |
+ __gen_offset(values->RegisterAddress, 2, 22) |
0;
uint32_t dw2 =
0;
dw[1] =
- __gen_field(values->RegisterOffset, 2, 22) |
+ __gen_offset(values->RegisterOffset, 2, 22) |
0;
dw[2] =
0;
dw[1] =
- __gen_field(values->RegisterAddress, 2, 22) |
+ __gen_offset(values->RegisterAddress, 2, 22) |
0;
uint32_t dw2 =
0;
dw[1] =
- __gen_field(values->SourceRegisterAddress, 2, 22) |
+ __gen_offset(values->SourceRegisterAddress, 2, 22) |
0;
dw[2] =
- __gen_field(values->DestinationRegisterAddress, 2, 22) |
+ __gen_offset(values->DestinationRegisterAddress, 2, 22) |
0;
}
dw[1] =
__gen_field(values->URBClearLength, 16, 29) |
- __gen_field(values->URBAddress, 0, 14) |
+ __gen_offset(values->URBAddress, 0, 14) |
0;
}
0;
dw[1] =
- __gen_field(values->RegisterAddress, 2, 22) |
+ __gen_offset(values->RegisterAddress, 2, 22) |
0;
uint32_t dw2 =
0;
dw[1] =
- __gen_field(values->RegisterOffset, 2, 22) |
+ __gen_offset(values->RegisterOffset, 2, 22) |
0;
dw[2] =
0;
dw[1] =
- __gen_field(values->RegisterAddress, 2, 22) |
+ __gen_offset(values->RegisterAddress, 2, 22) |
0;
uint32_t dw2 =
dw[1] =
__gen_field(values->URBClearLength, 16, 28) |
- __gen_field(values->URBAddress, 0, 13) |
+ __gen_offset(values->URBAddress, 0, 13) |
0;
}
0;
dw[1] =
- __gen_field(values->SourceRegisterAddress, 2, 22) |
+ __gen_offset(values->SourceRegisterAddress, 2, 22) |
0;
dw[2] =
- __gen_field(values->DestinationRegisterAddress, 2, 22) |
+ __gen_offset(values->DestinationRegisterAddress, 2, 22) |
0;
}
0;
dw[1] =
- __gen_field(values->RegisterAddress, 2, 22) |
+ __gen_offset(values->RegisterAddress, 2, 22) |
0;
uint32_t dw2 =
0;
dw[1] =
- __gen_field(values->RegisterOffset, 2, 22) |
+ __gen_offset(values->RegisterOffset, 2, 22) |
0;
dw[2] =
0;
dw[1] =
- __gen_field(values->RegisterAddress, 2, 22) |
+ __gen_offset(values->RegisterAddress, 2, 22) |
0;
uint32_t dw2 =
dw[1] =
__gen_field(values->URBClearLength, 16, 29) |
- __gen_field(values->URBAddress, 0, 14) |
+ __gen_offset(values->URBAddress, 0, 14) |
0;
}