Lines Matching refs:flash_cmd
2807 struct be_dma_mem *flash_cmd, int num_of_images) in be_flash_data() argument
2814 struct be_cmd_write_flashrom *req = flash_cmd->va; in be_flash_data()
2906 status = be_cmd_write_flashrom(adapter, flash_cmd, in be_flash_data()
2939 struct be_dma_mem flash_cmd; in lancer_fw_download() local
2957 flash_cmd.size = sizeof(struct lancer_cmd_req_write_object) in lancer_fw_download()
2959 flash_cmd.va = dma_alloc_coherent(&adapter->pdev->dev, flash_cmd.size, in lancer_fw_download()
2960 &flash_cmd.dma, GFP_KERNEL); in lancer_fw_download()
2961 if (!flash_cmd.va) { in lancer_fw_download()
2968 dest_image_ptr = flash_cmd.va + in lancer_fw_download()
2979 status = lancer_cmd_write_object(adapter, &flash_cmd, in lancer_fw_download()
2993 status = lancer_cmd_write_object(adapter, &flash_cmd, in lancer_fw_download()
2998 dma_free_coherent(&adapter->pdev->dev, flash_cmd.size, flash_cmd.va, in lancer_fw_download()
2999 flash_cmd.dma); in lancer_fw_download()
3018 struct be_dma_mem flash_cmd; in be_fw_download() local
3025 flash_cmd.size = sizeof(struct be_cmd_write_flashrom) + 32*1024; in be_fw_download()
3026 flash_cmd.va = dma_alloc_coherent(&adapter->pdev->dev, flash_cmd.size, in be_fw_download()
3027 &flash_cmd.dma, GFP_KERNEL); in be_fw_download()
3028 if (!flash_cmd.va) { in be_fw_download()
3044 status = be_flash_data(adapter, fw, &flash_cmd, in be_fw_download()
3049 status = be_flash_data(adapter, fw, &flash_cmd, 0); in be_fw_download()
3056 dma_free_coherent(&adapter->pdev->dev, flash_cmd.size, flash_cmd.va, in be_fw_download()
3057 flash_cmd.dma); in be_fw_download()