Searched refs:stackptr (Results 1 – 2 of 2) sorted by relevance
924 u32 *stackptr = &(_stackptr[*stackidx]); in _stack_save() local928 *stackptr = offset; in _stack_save()929 *stackptr |= ((u32)id) << 13; in _stack_save()930 *stackptr |= ((u32)value) << 16; in _stack_save()935 static u16 _stack_restore(u32 *stackptr, in _stack_restore() argument942 for (i = 0; i < B43legacy_INTERFSTACK_SIZE; i++, stackptr++) { in _stack_restore()943 if ((*stackptr & 0x00001FFF) != offset) in _stack_restore()945 if (((*stackptr & 0x00007000) >> 13) != id) in _stack_restore()947 return ((*stackptr & 0xFFFF0000) >> 16); in _stack_restore()
775 u32 *stackptr = &(_stackptr[*stackidx]); in _stack_save() local779 *stackptr = offset; in _stack_save()780 *stackptr |= ((u32) id) << 12; in _stack_save()781 *stackptr |= ((u32) value) << 16; in _stack_save()786 static u16 _stack_restore(u32 *stackptr, u8 id, u16 offset) in _stack_restore() argument792 for (i = 0; i < B43_INTERFSTACK_SIZE; i++, stackptr++) { in _stack_restore()793 if ((*stackptr & 0x00000FFF) != offset) in _stack_restore()795 if (((*stackptr & 0x0000F000) >> 12) != id) in _stack_restore()797 return ((*stackptr & 0xFFFF0000) >> 16); in _stack_restore()