Home
last modified time | relevance | path

Searched refs:offset_bits (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/infiniband/core/
Dud_header.c50 .offset_bits = 0,
54 .offset_bits = 4,
58 .offset_bits = 8,
62 .offset_bits = 12,
66 .offset_bits = 14,
70 .offset_bits = 16,
74 .offset_bits = 0,
78 .offset_bits = 5,
82 .offset_bits = 16,
89 .offset_bits = 0,
[all …]
Dsa_query.c195 .offset_bits = 0,
199 .offset_bits = 0,
203 .offset_bits = 0,
207 .offset_bits = 0,
211 .offset_bits = 16,
215 .offset_bits = 0,
219 .offset_bits = 1,
223 .offset_bits = 4,
227 .offset_bits = 24,
231 .offset_bits = 0,
[all …]
Dpacker.c76 shift = 32 - desc[i].offset_bits - desc[i].size_bits; in ib_pack()
93 shift = 64 - desc[i].offset_bits - desc[i].size_bits; in ib_pack()
105 if (desc[i].offset_bits % 8 || in ib_pack()
113 desc[i].offset_bits / 8, in ib_pack()
118 desc[i].offset_bits / 8, in ib_pack()
165 shift = 32 - desc[i].offset_bits - desc[i].size_bits; in ib_unpack()
179 shift = 64 - desc[i].offset_bits - desc[i].size_bits; in ib_unpack()
188 if (desc[i].offset_bits % 8 || in ib_unpack()
196 desc[i].offset_bits / 8, in ib_unpack()
/linux-6.6.21/drivers/gpio/
Dgpio-max730x.c52 u8 offset_bits, pin_config; in max7301_direction_input() local
57 offset_bits = (offset & 3) << 1; in max7301_direction_input()
68 *config = (*config & ~(PIN_CONFIG_MASK << offset_bits)) in max7301_direction_input()
69 | (pin_config << offset_bits); in max7301_direction_input()
94 u8 offset_bits; in max7301_direction_output() local
99 offset_bits = (offset & 3) << 1; in max7301_direction_output()
105 *config = (*config & ~(PIN_CONFIG_MASK << offset_bits)) in max7301_direction_output()
106 | (PIN_CONFIG_OUT << offset_bits); in max7301_direction_output()
/linux-6.6.21/mm/
Dpercpu.c1350 int start_offset, offset_bits, region_size, region_bits; in pcpu_alloc_first_chunk() local
1411 offset_bits = chunk->start_offset / PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_first_chunk()
1412 bitmap_set(chunk->alloc_map, 0, offset_bits); in pcpu_alloc_first_chunk()
1414 set_bit(offset_bits, chunk->bound_map); in pcpu_alloc_first_chunk()
1416 chunk->chunk_md.first_free = offset_bits; in pcpu_alloc_first_chunk()
1418 pcpu_block_update_hint_alloc(chunk, 0, offset_bits); in pcpu_alloc_first_chunk()
1423 offset_bits = chunk->end_offset / PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_first_chunk()
1425 pcpu_chunk_map_bits(chunk) - offset_bits, in pcpu_alloc_first_chunk()
1426 offset_bits); in pcpu_alloc_first_chunk()
1432 - offset_bits, offset_bits); in pcpu_alloc_first_chunk()
/linux-6.6.21/include/rdma/
Dib_pack.h30 int offset_bits; member