Lines Matching refs:to_idx
215 int to = calc_idx(xor->to_idx, cf->can_dlc); in cgw_csum_xor_rel()
239 for (i = xor->from_idx; i <= xor->to_idx; i++) in cgw_csum_xor_pos()
250 for (i = xor->from_idx; i >= xor->to_idx; i--) in cgw_csum_xor_neg()
259 int to = calc_idx(crc8->to_idx, cf->can_dlc); in cgw_csum_crc8_rel()
268 for (i = crc8->from_idx; i <= crc8->to_idx; i++) in cgw_csum_crc8_rel()
271 for (i = crc8->from_idx; i >= crc8->to_idx; i--) in cgw_csum_crc8_rel()
300 for (i = crc8->from_idx; i <= crc8->to_idx; i++) in cgw_csum_crc8_pos()
327 for (i = crc8->from_idx; i >= crc8->to_idx; i--) in cgw_csum_crc8_neg()
727 err = cgw_chk_csum_parms(c->from_idx, c->to_idx, in cgw_parse_attr()
739 if (c->from_idx < 0 || c->to_idx < 0 || in cgw_parse_attr()
742 else if (c->from_idx <= c->to_idx) in cgw_parse_attr()
751 err = cgw_chk_csum_parms(c->from_idx, c->to_idx, in cgw_parse_attr()
763 if (c->from_idx < 0 || c->to_idx < 0 || in cgw_parse_attr()
766 else if (c->from_idx <= c->to_idx) in cgw_parse_attr()