Lines Matching refs:from_idx
213 int from = calc_idx(xor->from_idx, cf->can_dlc); in cgw_csum_xor_rel()
238 for (i = xor->from_idx; i <= xor->to_idx; i++) in cgw_csum_xor_pos()
249 for (i = xor->from_idx; i >= xor->to_idx; i--) in cgw_csum_xor_neg()
257 int from = calc_idx(crc8->from_idx, cf->can_dlc); in cgw_csum_crc8_rel()
267 for (i = crc8->from_idx; i <= crc8->to_idx; i++) in cgw_csum_crc8_rel()
270 for (i = crc8->from_idx; i >= crc8->to_idx; i--) in cgw_csum_crc8_rel()
299 for (i = crc8->from_idx; i <= crc8->to_idx; i++) in cgw_csum_crc8_pos()
326 for (i = crc8->from_idx; i >= crc8->to_idx; i--) in cgw_csum_crc8_neg()
720 err = cgw_chk_csum_parms(c->from_idx, c->to_idx, in cgw_parse_attr()
732 if (c->from_idx < 0 || c->to_idx < 0 || in cgw_parse_attr()
735 else if (c->from_idx <= c->to_idx) in cgw_parse_attr()
744 err = cgw_chk_csum_parms(c->from_idx, c->to_idx, in cgw_parse_attr()
756 if (c->from_idx < 0 || c->to_idx < 0 || in cgw_parse_attr()
759 else if (c->from_idx <= c->to_idx) in cgw_parse_attr()