Lines Matching refs:xfer_len
465 size_t xfer_len; in hideep_program_nvm() local
475 xfer_len = min_t(size_t, ucode_len, HIDEEP_NVM_PAGE_SIZE); in hideep_program_nvm()
476 xfer_count = xfer_len / sizeof(*ucode); in hideep_program_nvm()
488 if (memcmp(ucode, current_ucode, xfer_len)) { in hideep_program_nvm()
502 addr += xfer_len; in hideep_program_nvm()
503 ucode_len -= xfer_len; in hideep_program_nvm()
514 size_t xfer_len; in hideep_verify_nvm() local
521 xfer_len = min_t(size_t, ucode_len, HIDEEP_NVM_PAGE_SIZE); in hideep_verify_nvm()
522 xfer_count = xfer_len / sizeof(*ucode); in hideep_verify_nvm()
533 if (memcmp(ucode, current_ucode, xfer_len)) { in hideep_verify_nvm()
537 for (i = 0; i < xfer_len; i++) in hideep_verify_nvm()
549 addr += xfer_len; in hideep_verify_nvm()
550 ucode_len -= xfer_len; in hideep_verify_nvm()