Lines Matching defs:data
139 a_uint32_t data, reg;
150 data = (reg >> (trunk_id << 3)) & 0xff;
151 if (0x80 & data)
154 *member = data & 0x7f;
170 a_uint32_t data, reg;
179 data = (reg >> (trunk_id << 3)) & 0xff;
180 if (0x80 & data)
183 *member = data & 0x7f;
198 a_uint32_t data = 0;
202 SW_SET_REG_BY_FIELD(TRUNK_HASH_MODE, DA_EN, 1, data);
207 SW_SET_REG_BY_FIELD(TRUNK_HASH_MODE, SA_EN, 1, data);
212 SW_SET_REG_BY_FIELD(TRUNK_HASH_MODE, DIP_EN, 1, data);
217 SW_SET_REG_BY_FIELD(TRUNK_HASH_MODE, SIP_EN, 1, data);
221 (a_uint8_t *) (&data), sizeof (a_uint32_t));
224 isis_trunk_regs[ISIS_TRUNK_HASH_EN] = data;
233 a_uint32_t reg, data = 0;
241 SW_GET_FIELD_BY_REG(TRUNK_HASH_MODE, DA_EN, data, reg);
242 if (data)
247 SW_GET_FIELD_BY_REG(TRUNK_HASH_MODE, SA_EN, data, reg);
248 if (data)
253 SW_GET_FIELD_BY_REG(TRUNK_HASH_MODE, DIP_EN, data, reg);
254 if (data)
259 SW_GET_FIELD_BY_REG(TRUNK_HASH_MODE, SIP_EN, data, reg);
260 if (data)
296 a_uint32_t reg, data = 0;
302 SW_GET_FIELD_BY_REG(TRUNK_HASH_MODE, DA_EN, data, reg);
303 if (data)
308 SW_GET_FIELD_BY_REG(TRUNK_HASH_MODE, SA_EN, data, reg);
309 if (data)
314 SW_GET_FIELD_BY_REG(TRUNK_HASH_MODE, DIP_EN, data, reg);
315 if (data)
320 SW_GET_FIELD_BY_REG(TRUNK_HASH_MODE, SIP_EN, data, reg);
321 if (data)