ROL32
pmicdata->R ^= ROL32(pmicdata->L, 17);
pmicdata->R ^= ROL32(pmicdata->L, 3);
#define ROR32(A, n) ROL32((A), 32-(n))