Searched refs:cur_patch (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
H A Daicasm.c352 patch_t *cur_patch; output_code() local
425 for (cur_patch = STAILQ_FIRST(&patches); output_code()
426 cur_patch != NULL; output_code()
427 cur_patch = STAILQ_NEXT(cur_patch,links)) { output_code()
429 cur_patch == STAILQ_FIRST(&patches) ? "" : ",\n", output_code()
431 cur_patch->patch_func, cur_patch->begin, output_code()
432 cur_patch->skip_instr, cur_patch->skip_patch); output_code()
525 patch_t *cur_patch; output_listing() local
597 cur_patch = STAILQ_FIRST(&patches); output_listing()
602 if (check_patch(&cur_patch, instrcount, output_listing()
652 patch_t *cur_patch; check_patch() local
654 cur_patch = *start_patch; check_patch()
656 while (cur_patch != NULL && start_instr == cur_patch->begin) { check_patch()
657 if (func_vals[cur_patch->patch_func] == 0) { check_patch()
661 *skip_addr = start_instr + cur_patch->skip_instr; check_patch()
662 for (skip = cur_patch->skip_patch; check_patch()
663 skip > 0 && cur_patch != NULL; check_patch()
665 cur_patch = STAILQ_NEXT(cur_patch, links); check_patch()
671 cur_patch = STAILQ_NEXT(cur_patch, links); check_patch()
675 *start_patch = cur_patch; check_patch()
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c6854 const struct patch *cur_patch; ahc_loadseq() local
6886 cur_patch = patches; ahc_loadseq()
6894 if (ahc_check_patch(ahc, &cur_patch, i, &skip_addr) == 0) { ahc_loadseq()
6962 const struct patch *cur_patch; ahc_check_patch() local
6968 cur_patch = *start_patch; ahc_check_patch()
6970 while (cur_patch < last_patch && start_instr == cur_patch->begin) { ahc_check_patch()
6972 if (cur_patch->patch_func(ahc) == 0) { ahc_check_patch()
6975 *skip_addr = start_instr + cur_patch->skip_instr; ahc_check_patch()
6976 cur_patch += cur_patch->skip_patch; ahc_check_patch()
6982 cur_patch++; ahc_check_patch()
6986 *start_patch = cur_patch; ahc_check_patch()
7022 const struct patch *cur_patch; ahc_download_instr() local
7031 cur_patch = patches; ahc_download_instr()
7036 ahc_check_patch(ahc, &cur_patch, i, &skip_addr); ahc_download_instr()
H A Daic79xx_core.c9357 const struct patch *cur_patch; ahd_loadseq() local
9454 cur_patch = patches; ahd_loadseq()
9461 if (ahd_check_patch(ahd, &cur_patch, i, &skip_addr) == 0) { ahd_loadseq()
9515 const struct patch *cur_patch; ahd_check_patch() local
9521 cur_patch = *start_patch; ahd_check_patch()
9523 while (cur_patch < last_patch && start_instr == cur_patch->begin) { ahd_check_patch()
9525 if (cur_patch->patch_func(ahd) == 0) { ahd_check_patch()
9528 *skip_addr = start_instr + cur_patch->skip_instr; ahd_check_patch()
9529 cur_patch += cur_patch->skip_patch; ahd_check_patch()
9535 cur_patch++; ahd_check_patch()
9539 *start_patch = cur_patch; ahd_check_patch()
9550 const struct patch *cur_patch; ahd_resolve_seqaddr() local
9556 cur_patch = patches; ahd_resolve_seqaddr()
9561 ahd_check_patch(ahd, &cur_patch, i, &skip_addr); ahd_resolve_seqaddr()

Completed in 159 milliseconds