Home
last modified time | relevance | path

Searched refs:from_idx (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/include/uapi/linux/can/
Dgw.h124 __s8 from_idx; member
131 __s8 from_idx; member
/linux-6.1.9/net/can/
Dgw.c322 int from = calc_idx(xor->from_idx, cf->len); in cgw_csum_xor_rel()
347 for (i = xor->from_idx; i <= xor->to_idx; i++) in cgw_csum_xor_pos()
358 for (i = xor->from_idx; i >= xor->to_idx; i--) in cgw_csum_xor_neg()
367 int from = calc_idx(crc8->from_idx, cf->len); in cgw_csum_crc8_rel()
377 for (i = crc8->from_idx; i <= crc8->to_idx; i++) in cgw_csum_crc8_rel()
380 for (i = crc8->from_idx; i >= crc8->to_idx; i--) in cgw_csum_crc8_rel()
408 for (i = crc8->from_idx; i <= crc8->to_idx; i++) in cgw_csum_crc8_pos()
435 for (i = crc8->from_idx; i >= crc8->to_idx; i--) in cgw_csum_crc8_neg()
975 err = cgw_chk_csum_parms(c->from_idx, c->to_idx, in cgw_parse_attr()
986 if (c->from_idx < 0 || c->to_idx < 0 || in cgw_parse_attr()
[all …]
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-ctrls-core.c180 void v4l2_ctrl_type_op_init(const struct v4l2_ctrl *ctrl, u32 from_idx, in v4l2_ctrl_type_op_init() argument
185 u32 elems = tot_elems - from_idx; in v4l2_ctrl_type_op_init()
187 if (from_idx >= tot_elems) in v4l2_ctrl_type_op_init()
192 for (i = from_idx; i < tot_elems; i++) { in v4l2_ctrl_type_op_init()
201 for (i = from_idx; i < tot_elems; i++) in v4l2_ctrl_type_op_init()
204 memset(ptr.p_s64 + from_idx, 0, elems * sizeof(s64)); in v4l2_ctrl_type_op_init()
213 for (i = from_idx; i < tot_elems; i++) in v4l2_ctrl_type_op_init()
216 memset(ptr.p_s32 + from_idx, 0, elems * sizeof(s32)); in v4l2_ctrl_type_op_init()
221 memset(ptr.p_s32 + from_idx, 0, elems * sizeof(s32)); in v4l2_ctrl_type_op_init()
224 memset(ptr.p_u8 + from_idx, ctrl->default_value, elems); in v4l2_ctrl_type_op_init()
[all …]
/linux-6.1.9/include/media/
Dv4l2-ctrls.h133 void (*init)(const struct v4l2_ctrl *ctrl, u32 from_idx,
1561 void v4l2_ctrl_type_op_init(const struct v4l2_ctrl *ctrl, u32 from_idx,
/linux-6.1.9/arch/sparc/net/
Dbpf_jit_comp_64.c616 static void emit_branch(unsigned int br_opc, unsigned int from_idx, unsigned int to_idx, in emit_branch() argument
619 unsigned int off = to_idx - from_idx; in emit_branch()
627 static void emit_cbcond(unsigned int cb_opc, unsigned int from_idx, unsigned int to_idx, in emit_cbcond() argument
630 unsigned int off = to_idx - from_idx; in emit_cbcond()
635 static void emit_cbcondi(unsigned int cb_opc, unsigned int from_idx, unsigned int to_idx, in emit_cbcondi() argument
638 unsigned int off = to_idx - from_idx; in emit_cbcondi()
/linux-6.1.9/samples/bpf/
Dxdp_sample_user.c1019 __u32 from_idx, to_idx; in stats_get_devmap_xmit_multi() local
1027 from_idx = pair >> 32; in stats_get_devmap_xmit_multi()
1061 if (if_indextoname(from_idx, ifname_from)) in stats_get_devmap_xmit_multi()
/linux-6.1.9/drivers/media/platform/nxp/dw100/
Ddw100.c376 u32 from_idx, in dw100_ctrl_dewarping_map_init() argument
401 for (idx = from_idx; idx < ctrl->elems; idx++) { in dw100_ctrl_dewarping_map_init()