Lines Matching refs:ucode
412 const __be32 *ucode, size_t xfer_count) in hideep_program_page() argument
438 val = be32_to_cpu(ucode[0]); in hideep_program_page()
442 ucode, xfer_count); in hideep_program_page()
444 val = be32_to_cpu(ucode[xfer_count - 1]); in hideep_program_page()
461 const __be32 *ucode, size_t ucode_len) in hideep_program_nvm() argument
476 xfer_count = xfer_len / sizeof(*ucode); in hideep_program_nvm()
488 if (memcmp(ucode, current_ucode, xfer_len)) { in hideep_program_nvm()
490 ucode, xfer_count); in hideep_program_nvm()
501 ucode += xfer_count; in hideep_program_nvm()
510 const __be32 *ucode, size_t ucode_len) in hideep_verify_nvm() argument
522 xfer_count = xfer_len / sizeof(*ucode); in hideep_verify_nvm()
533 if (memcmp(ucode, current_ucode, xfer_len)) { in hideep_verify_nvm()
534 const u8 *ucode_bytes = (const u8 *)ucode; in hideep_verify_nvm()
548 ucode += xfer_count; in hideep_verify_nvm()
606 const __be32 *ucode, size_t ucode_len) in hideep_flash_firmware() argument
612 error = hideep_program_nvm(ts, ucode, ucode_len); in hideep_flash_firmware()
614 error = hideep_verify_nvm(ts, ucode, ucode_len); in hideep_flash_firmware()
624 const __be32 *ucode, size_t ucode_len) in hideep_update_firmware() argument
635 error = hideep_flash_firmware(ts, ucode, ucode_len); in hideep_update_firmware()