Home
last modified time | relevance | path

Searched refs:stackptr (Results 1 – 2 of 2) sorted by relevance

/drivers/net/wireless/broadcom/b43legacy/
Dradio.c924 u32 *stackptr = &(_stackptr[*stackidx]); in _stack_save() local
928 *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() argument
942 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()
/drivers/net/wireless/broadcom/b43/
Dphy_g.c775 u32 *stackptr = &(_stackptr[*stackidx]); in _stack_save() local
779 *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() argument
792 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()