Home
last modified time | relevance | path

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

/linux-2.6.39/arch/sh/include/asm/
Dbitops-op32.h12 #define BYTE_OFFSET(nr) ((nr ^ BITOP_LE_SWIZZLE) % BITS_PER_BYTE) macro
15 #define BYTE_OFFSET(nr) ((nr) % BITS_PER_BYTE) macro
26 : "i" (BYTE_OFFSET(nr)), "i" (BYTE_NUMBER(nr)) in __set_bit()
43 : "i" (BYTE_OFFSET(nr)), in __clear_bit()
70 : "i" (BYTE_OFFSET(nr)), in __change_bit()
/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_ethtool.c967 #define BYTE_OFFSET(offset) (8 * (offset & 0x03)) macro
997 val &= ~(0xff << BYTE_OFFSET(offset)); in bnx2x_nvram_write1()
998 val |= (*data_buf << BYTE_OFFSET(offset)); in bnx2x_nvram_write1()