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()
1228 const u8 *fw_data, uint32_t size, int32_t force) in csio_hw_fw_upgrade() argument
1230 const struct fw_hdr *fw_hdr = (const struct fw_hdr *)fw_data; in csio_hw_fw_upgrade()
1237 ret = csio_hw_fw_dload(hw, (uint8_t *) fw_data, size); in csio_hw_fw_upgrade()
1901 const u8 *fw_data, unsigned int fw_size, in csio_hw_prep_fw() argument
1923 if (fw_data != NULL) { in csio_hw_prep_fw()
1924 fs_fw = (const void *)fw_data; in csio_hw_prep_fw()
1941 ret = csio_hw_fw_upgrade(hw, hw->pfn, fw_data, in csio_hw_prep_fw()
2000 const u8 *fw_data = NULL; in csio_hw_flash_fw() local
2018 fw_data = fw->data; in csio_hw_flash_fw()
2028 ret = csio_hw_prep_fw(hw, fw_info, fw_data, fw_size, card_fw, in csio_hw_flash_fw()