Home
last modified time | relevance | path

Searched refs:e_idx (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_rule.c918 u32 s_idx, u32 e_idx) in dr_rule_cmp_value_to_mask() argument
922 for (i = s_idx; i < e_idx; i++) { in dr_rule_cmp_value_to_mask()
939 u32 s_idx, e_idx; in dr_rule_verify() local
951 e_idx = min(s_idx + sizeof(param->outer), value_size); in dr_rule_verify()
953 if (!dr_rule_cmp_value_to_mask(mask_p, param_p, s_idx, e_idx)) { in dr_rule_verify()
961 e_idx = min(s_idx + sizeof(param->misc), value_size); in dr_rule_verify()
971 e_idx = min(s_idx + sizeof(param->inner), value_size); in dr_rule_verify()
981 e_idx = min(s_idx + sizeof(param->misc2), value_size); in dr_rule_verify()
991 e_idx = min(s_idx + sizeof(param->misc3), value_size); in dr_rule_verify()
1001 e_idx = min(s_idx + sizeof(param->misc4), value_size); in dr_rule_verify()
[all …]
/openbmc/linux/drivers/media/pci/cx18/
H A Dcx18-ioctl.c706 struct v4l2_enc_idx_entry *e_idx; in _cx18_process_idx_data() local
722 e_idx = &idx->entry[idx->entries]; in _cx18_process_idx_data()
728 e_idx->offset = (((u64) le32_to_cpu(e_buf->offset_high)) << 32) in _cx18_process_idx_data()
731 e_idx->pts = (((u64) (le32_to_cpu(e_buf->pts_high) & 1)) << 32) in _cx18_process_idx_data()
734 e_idx->length = le32_to_cpu(e_buf->length); in _cx18_process_idx_data()
736 e_idx->flags = mapping[le32_to_cpu(e_buf->flags) & 0x7]; in _cx18_process_idx_data()
738 e_idx->reserved[0] = 0; in _cx18_process_idx_data()
739 e_idx->reserved[1] = 0; in _cx18_process_idx_data()
742 e_idx = &idx->entry[idx->entries]; in _cx18_process_idx_data()