Searched refs:flash_content (Results 1 – 1 of 1) sorted by relevance
642 static int bl_write_header(struct rsi_hw *adapter, u8 *flash_content, in bl_write_header() argument657 cpu_to_le32(*(u32 *)&flash_content[CHECK_SUM_OFFSET]); in bl_write_header()659 cpu_to_le32(*(u32 *)&flash_content[ADDR_OFFSET]); in bl_write_header()660 bl_hdr->flash_len = cpu_to_le32(*(u32 *)&flash_content[LEN_OFFSET]); in bl_write_header()751 static int auto_fw_upgrade(struct rsi_hw *adapter, u8 *flash_content, in auto_fw_upgrade() argument766 flash_start_address = *(u32 *)&flash_content[FLASH_START_ADDRESS]; in auto_fw_upgrade()819 status = ping_pong_write(adapter, cmd, flash_content, in auto_fw_upgrade()830 flash_content += content_size; in auto_fw_upgrade()