Home
last modified time | relevance | path

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

/linux-6.12.1/arch/sh/include/asm/
Dbitops-op32.h15 #define BYTE_OFFSET(nr) ((nr ^ BITOP_LE_SWIZZLE) % BITS_PER_BYTE) macro
18 #define BYTE_OFFSET(nr) ((nr) % BITS_PER_BYTE) macro
28 : "i" (BYTE_OFFSET(nr)), "i" (BYTE_NUMBER(nr)) in arch___set_bit()
46 : "i" (BYTE_OFFSET(nr)), in arch___clear_bit()
74 : "i" (BYTE_OFFSET(nr)), in arch___change_bit()
/linux-6.12.1/tools/lib/bpf/
Dbpf_core_read.h51 (const void *)src + __CORE_RELO(src, fld, BYTE_OFFSET))
61 (const void *)src + __CORE_RELO(src, fld, BYTE_OFFSET))
91 const void *p = (const void *)s + __CORE_RELO(s, field, BYTE_OFFSET); \
122 void *p = (void *)s + __CORE_RELO(s, field, BYTE_OFFSET); \
/linux-6.12.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1662 #define BYTE_OFFSET(offset) (8 * (offset & 0x03)) macro
1697 (0xff << BYTE_OFFSET(offset))); in bnx2x_nvram_write1()
1699 (*data_buf << BYTE_OFFSET(offset))); in bnx2x_nvram_write1()