Lines Matching refs:basic_io
1939 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_usrcmd()
1942 if ((scb->cmd.basic_io.op_code == IPS_CMD_READ_SG) || in ips_usrcmd()
1943 (scb->cmd.basic_io.op_code == IPS_CMD_WRITE_SG) || in ips_usrcmd()
1944 (scb->cmd.basic_io.op_code == IPS_CMD_DCDB_SG)) in ips_usrcmd()
1965 scb->cmd.basic_io.sg_addr = in ips_usrcmd()
3644 scb->cmd.basic_io.op_code = in ips_send_cmd()
3647 scb->cmd.basic_io.enhanced_sg = 0; in ips_send_cmd()
3648 scb->cmd.basic_io.sg_addr = in ips_send_cmd()
3651 scb->cmd.basic_io.op_code = in ips_send_cmd()
3655 scb->cmd.basic_io.enhanced_sg = in ips_send_cmd()
3657 scb->cmd.basic_io.sg_addr = in ips_send_cmd()
3661 scb->cmd.basic_io.segment_4G = 0; in ips_send_cmd()
3662 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_send_cmd()
3663 scb->cmd.basic_io.log_drv = scb->target_id; in ips_send_cmd()
3664 scb->cmd.basic_io.sg_count = scb->sg_len; in ips_send_cmd()
3666 if (scb->cmd.basic_io.lba) in ips_send_cmd()
3667 le32_add_cpu(&scb->cmd.basic_io.lba, in ips_send_cmd()
3668 le16_to_cpu(scb->cmd.basic_io. in ips_send_cmd()
3671 scb->cmd.basic_io.lba = in ips_send_cmd()
3677 scb->cmd.basic_io.sector_count = in ips_send_cmd()
3680 if (le16_to_cpu(scb->cmd.basic_io.sector_count) == 0) in ips_send_cmd()
3681 scb->cmd.basic_io.sector_count = in ips_send_cmd()
3690 scb->cmd.basic_io.op_code = in ips_send_cmd()
3693 scb->cmd.basic_io.enhanced_sg = 0; in ips_send_cmd()
3694 scb->cmd.basic_io.sg_addr = in ips_send_cmd()
3697 scb->cmd.basic_io.op_code = in ips_send_cmd()
3701 scb->cmd.basic_io.enhanced_sg = in ips_send_cmd()
3703 scb->cmd.basic_io.sg_addr = in ips_send_cmd()
3707 scb->cmd.basic_io.segment_4G = 0; in ips_send_cmd()
3708 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_send_cmd()
3709 scb->cmd.basic_io.log_drv = scb->target_id; in ips_send_cmd()
3710 scb->cmd.basic_io.sg_count = scb->sg_len; in ips_send_cmd()
3712 if (scb->cmd.basic_io.lba) in ips_send_cmd()
3713 le32_add_cpu(&scb->cmd.basic_io.lba, in ips_send_cmd()
3714 le16_to_cpu(scb->cmd.basic_io. in ips_send_cmd()
3717 scb->cmd.basic_io.lba = in ips_send_cmd()
3725 scb->cmd.basic_io.sector_count = in ips_send_cmd()
3728 if (cpu_to_le16(scb->cmd.basic_io.sector_count) == 0) { in ips_send_cmd()
3746 scb->cmd.basic_io.op_code = IPS_CMD_ENQUIRY; in ips_send_cmd()
3747 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_send_cmd()
3748 scb->cmd.basic_io.segment_4G = 0; in ips_send_cmd()
3749 scb->cmd.basic_io.enhanced_sg = 0; in ips_send_cmd()
3751 scb->cmd.basic_io.sg_addr = ha->enq_busaddr; in ips_send_cmd()
3952 scb->cmd.basic_io.command_id, in ips_chkstatus()
3970 scb->cmd.basic_io.op_code, in ips_chkstatus()
4061 scb->cmd.basic_io.op_code, basic_status, in ips_chkstatus()
4484 scb->cmd.basic_io.cccr = cpu_to_le32((uint32_t) IPS_BIT_ILE); in ips_init_scb()
4485 scb->cmd.basic_io.ccsar = cpu_to_le32(ha->adapt->hw_status_start in ips_init_scb()
5375 scb->cmd.basic_io.command_id, in ips_issue_copperhead()
5379 ips_name, ha->host_num, scb->cmd.basic_io.command_id); in ips_issue_copperhead()
5429 scb->cmd.basic_io.command_id, in ips_issue_copperhead_memio()
5433 ips_name, ha->host_num, scb->cmd.basic_io.command_id); in ips_issue_copperhead_memio()
5480 scb->cmd.basic_io.command_id, in ips_issue_i2o()
5484 ips_name, ha->host_num, scb->cmd.basic_io.command_id); in ips_issue_i2o()
5512 scb->cmd.basic_io.command_id, in ips_issue_i2o_memio()
5516 ips_name, ha->host_num, scb->cmd.basic_io.command_id); in ips_issue_i2o_memio()
5761 scb->cmd.basic_io.op_code = IPS_CMD_ENQUIRY; in ips_read_adapter_status()
5762 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_read_adapter_status()
5763 scb->cmd.basic_io.sg_count = 0; in ips_read_adapter_status()
5764 scb->cmd.basic_io.lba = 0; in ips_read_adapter_status()
5765 scb->cmd.basic_io.sector_count = 0; in ips_read_adapter_status()
5766 scb->cmd.basic_io.log_drv = 0; in ips_read_adapter_status()
5768 scb->cmd.basic_io.sg_addr = ha->enq_busaddr; in ips_read_adapter_status()
5804 scb->cmd.basic_io.op_code = IPS_CMD_GET_SUBSYS; in ips_read_subsystem_parameters()
5805 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_read_subsystem_parameters()
5806 scb->cmd.basic_io.sg_count = 0; in ips_read_subsystem_parameters()
5807 scb->cmd.basic_io.lba = 0; in ips_read_subsystem_parameters()
5808 scb->cmd.basic_io.sector_count = 0; in ips_read_subsystem_parameters()
5809 scb->cmd.basic_io.log_drv = 0; in ips_read_subsystem_parameters()
5811 scb->cmd.basic_io.sg_addr = ha->ioctl_busaddr; in ips_read_subsystem_parameters()
5853 scb->cmd.basic_io.op_code = IPS_CMD_READ_CONF; in ips_read_config()
5854 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_read_config()
5856 scb->cmd.basic_io.sg_addr = ha->ioctl_busaddr; in ips_read_config()