Lines Matching refs:from_idx
260 int from = calc_idx(xor->from_idx, cf->len); in cgw_csum_xor_rel()
285 for (i = xor->from_idx; i <= xor->to_idx; i++) in cgw_csum_xor_pos()
296 for (i = xor->from_idx; i >= xor->to_idx; i--) in cgw_csum_xor_neg()
305 int from = calc_idx(crc8->from_idx, cf->len); in cgw_csum_crc8_rel()
315 for (i = crc8->from_idx; i <= crc8->to_idx; i++) in cgw_csum_crc8_rel()
318 for (i = crc8->from_idx; i >= crc8->to_idx; i--) in cgw_csum_crc8_rel()
346 for (i = crc8->from_idx; i <= crc8->to_idx; i++) in cgw_csum_crc8_pos()
373 for (i = crc8->from_idx; i >= crc8->to_idx; i--) in cgw_csum_crc8_neg()
907 err = cgw_chk_csum_parms(c->from_idx, c->to_idx, in cgw_parse_attr()
918 if (c->from_idx < 0 || c->to_idx < 0 || in cgw_parse_attr()
921 else if (c->from_idx <= c->to_idx) in cgw_parse_attr()
930 err = cgw_chk_csum_parms(c->from_idx, c->to_idx, in cgw_parse_attr()
941 if (c->from_idx < 0 || c->to_idx < 0 || in cgw_parse_attr()
944 else if (c->from_idx <= c->to_idx) in cgw_parse_attr()