Lines Matching refs:u32

50 		   const struct vcap_typegroup *tg, u32 offset)  in vcap_iter_set()
83 const struct vcap_typegroup *tg, u32 offset) in vcap_iter_init()
97 static void vcap_set_bit(u32 *stream, struct vcap_stream_iter *itr, bool value) in vcap_set_bit()
99 u32 mask = BIT(itr->reg_bitpos); in vcap_set_bit()
100 u32 *p = &stream[itr->reg_idx]; in vcap_set_bit()
108 static void vcap_encode_bit(u32 *stream, struct vcap_stream_iter *itr, bool val) in vcap_encode_bit()
125 static void vcap_encode_field(u32 *stream, struct vcap_stream_iter *itr, in vcap_encode_field()
142 static void vcap_encode_typegroups(u32 *stream, int sw_width, in vcap_encode_typegroups()
189 static bool vcap_get_bit(u32 *stream, struct vcap_stream_iter *itr) in vcap_get_bit()
191 u32 mask = BIT(itr->reg_bitpos); in vcap_get_bit()
192 u32 *p = &stream[itr->reg_idx]; in vcap_get_bit()
197 static void vcap_decode_field(u32 *stream, struct vcap_stream_iter *itr, in vcap_decode_field()
220 u32 *keystream, in vcap_verify_keystream_keyset()
221 u32 *mskstream, in vcap_verify_keystream_keyset()
230 u32 value = 0; in vcap_verify_keystream_keyset()
231 u32 mask = 0; in vcap_verify_keystream_keyset()
271 static int vcap_verify_typegroups(u32 *stream, int sw_width, in vcap_verify_typegroups()
281 u32 value = 0; in vcap_verify_typegroups()
282 u32 tg_value = iter.tg->value; in vcap_verify_typegroups()
309 enum vcap_type vt, u32 *stream, in vcap_find_keystream_typegroup_sw()
335 u32 *keystream, in vcap_find_keystream_keysets()
336 u32 *mskstream, in vcap_find_keystream_keysets()
374 u32 key = 0, mask = 0; in vcap_addr_keysets()
465 value = (const u8 *)&kf->data.u32.value; in vcap_encode_keyfield()
466 mask = (const u8 *)&kf->data.u32.mask; in vcap_encode_keyfield()
756 value = (const u8 *)&af->data.u32.value; in vcap_encode_actionfield()
924 static bool vcap_rule_exists(struct vcap_control *vctrl, u32 id) in vcap_rule_exists()
939 vcap_get_locked_rule(struct vcap_control *vctrl, u32 id) in vcap_get_locked_rule()
1110 vcap_copy_limited_actionfield((u8 *)&field->data.u32.value, in vcap_copy_to_client_actionfield()
1145 vcap_copy_limited_actionfield((u8 *)&field->data.u32.value, in vcap_copy_to_client_actionfield()
1212 vcap_copy_limited_keyfield((u8 *)&field->data.u32.value, in vcap_copy_to_client_keyfield()
1213 (u8 *)&field->data.u32.mask, in vcap_copy_to_client_keyfield()
1260 vcap_copy_limited_keyfield((u8 *)&field->data.u32.value, in vcap_copy_to_client_keyfield()
1261 (u8 *)&field->data.u32.mask, in vcap_copy_to_client_keyfield()
1328 u32 *actionstream, in vcap_verify_actionstream_actionset()
1363 enum vcap_type vt, u32 *stream, in vcap_find_actionstream_typegroup_sw()
1388 u32 *stream, in vcap_find_actionstream_actionset()
1441 u32 *actstream; in vcap_decode_actionset()
1486 u32 *maskstream; in vcap_decode_keyset()
1487 u32 *keystream; in vcap_decode_keyset()
1536 u32 addr = ri->addr; in vcap_read_rule()
1568 u32 addr = ri->addr; in vcap_write_rule()
2073 static u32 vcap_sort_key(u32 max_size, u32 size, u8 user, u16 prio) in vcap_sort_key()
2079 static u32 vcap_next_rule_addr(u32 addr, struct vcap_rule_internal *ri) in vcap_next_rule_addr()
2085 static u32 vcap_set_rule_id(struct vcap_rule_internal *ri) in vcap_set_rule_id()
2090 for (u32 next_id = 1; next_id < ~0; ++next_id) { in vcap_set_rule_id()
2105 u32 addr; in vcap_insert_rule()
2314 u32 id) in vcap_alloc_rule()
2434 struct vcap_rule *vcap_get_rule(struct vcap_control *vctrl, u32 id) in vcap_get_rule()
2537 int vcap_del_rule(struct vcap_control *vctrl, struct net_device *ndev, u32 id) in vcap_del_rule()
2733 u32 value, u32 mask) in vcap_rule_add_key_u32()
2737 data.u32.value = value; in vcap_rule_add_key_u32()
2738 data.u32.mask = mask; in vcap_rule_add_key_u32()
2777 u32 *value, u32 *mask) in vcap_rule_get_key_u32()
2785 *value = ckf->data.u32.value; in vcap_rule_get_key_u32()
2786 *mask = ckf->data.u32.mask; in vcap_rule_get_key_u32()
2901 u32 value) in vcap_rule_add_action_u32()
2905 data.u32.value = value; in vcap_rule_add_action_u32()
3240 void vcap_rule_set_counter_id(struct vcap_rule *rule, u32 counter_id) in vcap_rule_set_counter_id()
3335 u32 value, mask; in vcap_rule_get_keysets()
3346 value = kf.data.u32.value; in vcap_rule_get_keysets()
3347 mask = kf.data.u32.mask; in vcap_rule_get_keysets()
3429 u32 value, u32 mask) in vcap_rule_mod_key_u32()
3433 data.u32.value = value; in vcap_rule_mod_key_u32()
3434 data.u32.mask = mask; in vcap_rule_mod_key_u32()
3475 u32 value) in vcap_rule_mod_action_u32()
3479 data.u32.value = value; in vcap_rule_mod_action_u32()