Lines Matching refs:to_idx
323 int to = calc_idx(xor->to_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()
368 int to = calc_idx(crc8->to_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()
989 else if (c->from_idx <= c->to_idx) in cgw_parse_attr()
998 err = cgw_chk_csum_parms(c->from_idx, c->to_idx, in cgw_parse_attr()
1009 if (c->from_idx < 0 || c->to_idx < 0 || in cgw_parse_attr()
1012 else if (c->from_idx <= c->to_idx) in cgw_parse_attr()