Lines Matching refs:fw_data
668 csio_hw_fw_dload(struct csio_hw *hw, uint8_t *fw_data, uint32_t size) in csio_hw_fw_dload() argument
675 const __be32 *p = (const __be32 *)fw_data; in csio_hw_fw_dload()
676 struct fw_hdr *hdr = (struct fw_hdr *)fw_data; in csio_hw_fw_dload()
731 memcpy(first_page, fw_data, SF_PAGE_SIZE); in csio_hw_fw_dload()
743 fw_data += SF_PAGE_SIZE; in csio_hw_fw_dload()
744 ret = csio_hw_write_flash(hw, addr, SF_PAGE_SIZE, fw_data); in csio_hw_fw_dload()
1323 const u8 *fw_data, uint32_t size, int32_t force) in csio_hw_fw_upgrade() argument
1325 const struct fw_hdr *fw_hdr = (const struct fw_hdr *)fw_data; in csio_hw_fw_upgrade()
1332 ret = csio_hw_fw_dload(hw, (uint8_t *) fw_data, size); in csio_hw_fw_upgrade()
2315 const u8 *fw_data, unsigned int fw_size, in csio_hw_prep_fw() argument
2337 if (fw_data != NULL) { in csio_hw_prep_fw()
2338 fs_fw = (const void *)fw_data; in csio_hw_prep_fw()
2355 ret = csio_hw_fw_upgrade(hw, hw->pfn, fw_data, in csio_hw_prep_fw()
2414 const u8 *fw_data = NULL; in csio_hw_flash_fw() local
2445 fw_data = fw->data; in csio_hw_flash_fw()
2450 ret = csio_hw_prep_fw(hw, fw_info, fw_data, fw_size, card_fw, in csio_hw_flash_fw()