Lines Matching refs:request_payload
53 bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free()
54 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free()
68 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free()
69 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free()
214 len = bsg_job->request_payload.payload_len; in qla24xx_proc_fcp_prio_cfg_cmd()
234 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla24xx_proc_fcp_prio_cfg_cmd()
235 bsg_job->request_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd()
320 if (bsg_job->request_payload.sg_cnt > 1 || in qla2x00_process_els()
325 bsg_job->request_payload.sg_cnt, in qla2x00_process_els()
370 dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_els()
371 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_process_els()
373 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_els()
374 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_process_els()
388 if ((req_sg_cnt != bsg_job->request_payload.sg_cnt) || in qla2x00_process_els()
393 "dma_reply_sg_cnt:%x.\n", bsg_job->request_payload.sg_cnt, in qla2x00_process_els()
433 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_els()
434 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_process_els()
475 dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_ct()
476 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_process_ct()
493 if ((req_sg_cnt != bsg_job->request_payload.sg_cnt) || in qla2x00_process_ct()
497 "dma_reply_sg_cnt: %x\n", bsg_job->request_payload.sg_cnt, in qla2x00_process_ct()
583 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_ct()
584 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_process_ct()
768 bsg_job->request_payload.sg_list, bsg_job->request_payload.sg_cnt, in qla2x00_process_loopback()
788 if ((elreq.req_sg_cnt != bsg_job->request_payload.sg_cnt) || in qla2x00_process_loopback()
794 bsg_job->request_payload.sg_cnt, elreq.req_sg_cnt, in qla2x00_process_loopback()
799 req_data_len = rsp_data_len = bsg_job->request_payload.payload_len; in qla2x00_process_loopback()
819 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_process_loopback()
820 bsg_job->request_payload.sg_cnt, req_data, req_data_len); in qla2x00_process_loopback()
973 bsg_job->request_payload.sg_list, in qla2x00_process_loopback()
974 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_process_loopback()
1041 sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla84xx_updatefw()
1042 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla84xx_updatefw()
1049 if (sg_cnt != bsg_job->request_payload.sg_cnt) { in qla84xx_updatefw()
1053 bsg_job->request_payload.sg_cnt, sg_cnt); in qla84xx_updatefw()
1058 data_len = bsg_job->request_payload.payload_len; in qla84xx_updatefw()
1068 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla84xx_updatefw()
1069 bsg_job->request_payload.sg_cnt, fw_buf, data_len); in qla84xx_updatefw()
1118 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla84xx_updatefw()
1119 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla84xx_updatefw()
1214 bsg_job->request_payload.sg_list, in qla84xx_mgmt_cmd()
1215 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla84xx_mgmt_cmd()
1226 if (sg_cnt != bsg_job->request_payload.sg_cnt) { in qla84xx_mgmt_cmd()
1230 bsg_job->request_payload.sg_cnt, sg_cnt); in qla84xx_mgmt_cmd()
1235 data_len = bsg_job->request_payload.payload_len; in qla84xx_mgmt_cmd()
1245 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla84xx_mgmt_cmd()
1246 bsg_job->request_payload.sg_cnt, mgmt_b, data_len); in qla84xx_mgmt_cmd()
1308 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla84xx_mgmt_cmd()
1309 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla84xx_mgmt_cmd()
1452 bsg_job->request_payload.payload_len); in qla2x00_optrom_setup()
1457 bsg_job->request_payload.payload_len > ha->optrom_size ? in qla2x00_optrom_setup()
1459 bsg_job->request_payload.payload_len; in qla2x00_optrom_setup()
1538 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_update_optrom()
1539 bsg_job->request_payload.sg_cnt, ha->optrom_buffer, in qla2x00_update_optrom()
1581 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_update_fru_versions()
1582 bsg_job->request_payload.sg_cnt, list, sizeof(bsg)); in qla2x00_update_fru_versions()
1632 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_read_fru_status()
1633 bsg_job->request_payload.sg_cnt, sr, sizeof(*sr)); in qla2x00_read_fru_status()
1683 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_write_fru_status()
1684 bsg_job->request_payload.sg_cnt, sr, sizeof(*sr)); in qla2x00_write_fru_status()
1730 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_write_i2c()
1731 bsg_job->request_payload.sg_cnt, i2c, sizeof(*i2c)); in qla2x00_write_i2c()
1776 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_read_i2c()
1777 bsg_job->request_payload.sg_cnt, i2c, sizeof(*i2c)); in qla2x00_read_i2c()
1896 bsg_job->request_payload.sg_list, in qla24xx_process_bidir_cmd()
1897 bsg_job->request_payload.sg_cnt, in qla24xx_process_bidir_cmd()
1914 if ((req_sg_cnt != bsg_job->request_payload.sg_cnt) || in qla24xx_process_bidir_cmd()
1920 bsg_job->request_payload.sg_cnt, req_sg_cnt, in qla24xx_process_bidir_cmd()
1926 req_data_len = bsg_job->request_payload.payload_len; in qla24xx_process_bidir_cmd()
1968 bsg_job->request_payload.sg_list, in qla24xx_process_bidir_cmd()
1969 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla24xx_process_bidir_cmd()
2016 bsg_job->request_payload.sg_list, in qlafx00_mgmt_cmd()
2017 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qlafx00_mgmt_cmd()
2040 "dma_reply_sg_cnt: %x\n", bsg_job->request_payload.sg_cnt, in qlafx00_mgmt_cmd()
2101 bsg_job->request_payload.sg_list, in qlafx00_mgmt_cmd()
2102 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qlafx00_mgmt_cmd()
2119 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla26xx_serdes_op()
2120 bsg_job->request_payload.sg_cnt, &sr, sizeof(sr)); in qla26xx_serdes_op()
2161 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla8044_serdes_op()
2162 bsg_job->request_payload.sg_cnt, &sr, sizeof(sr)); in qla8044_serdes_op()
2238 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla27xx_set_flash_upd_cap()
2239 bsg_job->request_payload.sg_cnt, &cap, sizeof(cap)); in qla27xx_set_flash_upd_cap()
2408 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_do_dport_diagnostics()
2409 bsg_job->request_payload.sg_cnt, dd, sizeof(*dd)); in qla2x00_do_dport_diagnostics()
2451 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_do_dport_diagnostics_v2()
2452 bsg_job->request_payload.sg_cnt, dd, sizeof(*dd)); in qla2x00_do_dport_diagnostics_v2()
2573 req_data_len = bsg_job->request_payload.payload_len; in qla2x00_manage_host_stats()
2587 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_manage_host_stats()
2588 bsg_job->request_payload.sg_cnt, req_data, in qla2x00_manage_host_stats()
2643 req_data_len = bsg_job->request_payload.payload_len; in qla2x00_get_host_stats()
2657 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_get_host_stats()
2658 bsg_job->request_payload.sg_cnt, req_data, req_data_len); in qla2x00_get_host_stats()
2749 req_data_len = bsg_job->request_payload.payload_len; in qla2x00_get_tgt_stats()
2763 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_get_tgt_stats()
2764 bsg_job->request_payload.sg_cnt, in qla2x00_get_tgt_stats()
2831 req_data_len = bsg_job->request_payload.payload_len; in qla2x00_manage_host_port()
2845 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_manage_host_port()
2846 bsg_job->request_payload.sg_cnt, req_data, req_data_len); in qla2x00_manage_host_port()
3154 req_data_len = bsg_job->request_payload.payload_len; in qla2x00_mailbox_passthru()
3167 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla2x00_mailbox_passthru()
3168 bsg_job->request_payload.sg_cnt, req_data, ptsize); in qla2x00_mailbox_passthru()