Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c853 u32 s_idx, u32 e_idx) in dr_rule_cmp_value_to_mask() argument
857 for (i = s_idx; i < e_idx; i++) { in dr_rule_cmp_value_to_mask()
874 u32 s_idx, e_idx; in dr_rule_verify() local
886 s_idx = offsetof(struct mlx5dr_match_param, outer); in dr_rule_verify()
887 e_idx = min(s_idx + sizeof(param->outer), value_size); in dr_rule_verify()
889 if (!dr_rule_cmp_value_to_mask(mask_p, param_p, s_idx, e_idx)) { in dr_rule_verify()
896 s_idx = offsetof(struct mlx5dr_match_param, misc); in dr_rule_verify()
897 e_idx = min(s_idx + sizeof(param->misc), value_size); in dr_rule_verify()
899 if (!dr_rule_cmp_value_to_mask(mask_p, param_p, s_idx, e_idx)) { in dr_rule_verify()
906 s_idx = offsetof(struct mlx5dr_match_param, inner); in dr_rule_verify()
[all …]
/drivers/media/pci/cx18/
Dcx18-fileops.c487 struct cx18_stream *s_idx; in cx18_start_capture() local
508 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_capture()
515 if (test_bit(CX18_F_S_INTERNAL_USE, &s_idx->s_flags) && in cx18_start_capture()
516 !test_and_set_bit(CX18_F_S_STREAMING, &s_idx->s_flags)) { in cx18_start_capture()
517 if (cx18_start_v4l2_encode_stream(s_idx)) { in cx18_start_capture()
519 clear_bit(CX18_F_S_STREAMING, &s_idx->s_flags); in cx18_start_capture()
555 if (test_bit(CX18_F_S_STREAMING, &s_idx->s_flags)) { in cx18_start_capture()
556 cx18_stop_v4l2_encode_stream(s_idx, 0); in cx18_start_capture()
557 clear_bit(CX18_F_S_STREAMING, &s_idx->s_flags); in cx18_start_capture()
703 struct cx18_stream *s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_stop_capture() local
[all …]
Dcx18-streams.c774 struct cx18_stream *s_idx; in cx18_start_v4l2_encode_stream() local
871 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_v4l2_encode_stream()
873 s->handle, cx18_stream_enabled(s_idx) ? 7 : 0); in cx18_start_v4l2_encode_stream()
/drivers/video/fbdev/
Dimsttfb.c1226 data[d_idx] = byte_rev[dat[s_idx] ^
1227 dst[s_idx]];
1228 mask[d_idx] = byte_rev[msk[s_idx]];
1229 s_idx++;
1238 data[d_idx] = byte_rev[dat[s_idx]];
1239 mask[d_idx] = byte_rev[msk[s_idx]];
1240 s_idx++;