Lines Matching refs:flash_cmd
2689 struct be_dma_mem *flash_cmd, int optype, int img_size, in be_flash() argument
2693 struct be_cmd_write_flashrom *req = flash_cmd->va; in be_flash()
2715 status = be_cmd_write_flashrom(adapter, flash_cmd, optype, in be_flash()
2752 struct be_dma_mem *flash_cmd, int num_of_images) in be_flash_BEx() argument
2858 status = be_flash(adapter, p, flash_cmd, pflashcomp[i].optype, in be_flash_BEx()
2923 struct be_dma_mem *flash_cmd, int num_of_images) in be_flash_skyhawk() argument
3002 status = be_flash(adapter, p, flash_cmd, flash_optype, img_size, in be_flash_skyhawk()
3048 struct be_dma_mem flash_cmd; in lancer_fw_download() local
3064 flash_cmd.size = sizeof(struct lancer_cmd_req_write_object) in lancer_fw_download()
3066 flash_cmd.va = dma_alloc_coherent(dev, flash_cmd.size, &flash_cmd.dma, in lancer_fw_download()
3068 if (!flash_cmd.va) in lancer_fw_download()
3071 dest_image_ptr = flash_cmd.va + in lancer_fw_download()
3082 status = lancer_cmd_write_object(adapter, &flash_cmd, in lancer_fw_download()
3097 status = lancer_cmd_write_object(adapter, &flash_cmd, in lancer_fw_download()
3104 dma_free_coherent(dev, flash_cmd.size, flash_cmd.va, flash_cmd.dma); in lancer_fw_download()
3175 struct be_dma_mem flash_cmd; in be_fw_download() local
3183 flash_cmd.size = sizeof(struct be_cmd_write_flashrom); in be_fw_download()
3184 flash_cmd.va = dma_alloc_coherent(dev, flash_cmd.size, &flash_cmd.dma, in be_fw_download()
3186 if (!flash_cmd.va) in be_fw_download()
3199 status = be_flash_skyhawk(adapter, fw, &flash_cmd, in be_fw_download()
3202 status = be_flash_BEx(adapter, fw, &flash_cmd, in be_fw_download()
3206 dma_free_coherent(dev, flash_cmd.size, flash_cmd.va, flash_cmd.dma); in be_fw_download()