Home
last modified time | relevance | path

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

/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.c199 .offset_bits = 0,
203 .offset_bits = 0,
207 .offset_bits = 0,
211 .offset_bits = 0,
215 .offset_bits = 16,
219 .offset_bits = 0,
223 .offset_bits = 1,
227 .offset_bits = 4,
231 .offset_bits = 24,
235 .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()
/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()