Lines Matching refs:basic_io

1929 	scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb);  in ips_usrcmd()
1932 if ((scb->cmd.basic_io.op_code == IPS_CMD_READ_SG) || in ips_usrcmd()
1933 (scb->cmd.basic_io.op_code == IPS_CMD_WRITE_SG) || in ips_usrcmd()
1934 (scb->cmd.basic_io.op_code == IPS_CMD_DCDB_SG)) in ips_usrcmd()
1955 scb->cmd.basic_io.sg_addr = in ips_usrcmd()
3556 scb->cmd.basic_io.op_code = in ips_send_cmd()
3559 scb->cmd.basic_io.enhanced_sg = 0; in ips_send_cmd()
3560 scb->cmd.basic_io.sg_addr = in ips_send_cmd()
3563 scb->cmd.basic_io.op_code = in ips_send_cmd()
3567 scb->cmd.basic_io.enhanced_sg = in ips_send_cmd()
3569 scb->cmd.basic_io.sg_addr = in ips_send_cmd()
3573 scb->cmd.basic_io.segment_4G = 0; in ips_send_cmd()
3574 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_send_cmd()
3575 scb->cmd.basic_io.log_drv = scb->target_id; in ips_send_cmd()
3576 scb->cmd.basic_io.sg_count = scb->sg_len; in ips_send_cmd()
3578 if (scb->cmd.basic_io.lba) in ips_send_cmd()
3579 le32_add_cpu(&scb->cmd.basic_io.lba, in ips_send_cmd()
3580 le16_to_cpu(scb->cmd.basic_io. in ips_send_cmd()
3583 scb->cmd.basic_io.lba = in ips_send_cmd()
3589 scb->cmd.basic_io.sector_count = in ips_send_cmd()
3592 if (le16_to_cpu(scb->cmd.basic_io.sector_count) == 0) in ips_send_cmd()
3593 scb->cmd.basic_io.sector_count = in ips_send_cmd()
3602 scb->cmd.basic_io.op_code = in ips_send_cmd()
3605 scb->cmd.basic_io.enhanced_sg = 0; in ips_send_cmd()
3606 scb->cmd.basic_io.sg_addr = in ips_send_cmd()
3609 scb->cmd.basic_io.op_code = in ips_send_cmd()
3613 scb->cmd.basic_io.enhanced_sg = in ips_send_cmd()
3615 scb->cmd.basic_io.sg_addr = in ips_send_cmd()
3619 scb->cmd.basic_io.segment_4G = 0; in ips_send_cmd()
3620 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_send_cmd()
3621 scb->cmd.basic_io.log_drv = scb->target_id; in ips_send_cmd()
3622 scb->cmd.basic_io.sg_count = scb->sg_len; in ips_send_cmd()
3624 if (scb->cmd.basic_io.lba) in ips_send_cmd()
3625 le32_add_cpu(&scb->cmd.basic_io.lba, in ips_send_cmd()
3626 le16_to_cpu(scb->cmd.basic_io. in ips_send_cmd()
3629 scb->cmd.basic_io.lba = in ips_send_cmd()
3637 scb->cmd.basic_io.sector_count = in ips_send_cmd()
3640 if (cpu_to_le16(scb->cmd.basic_io.sector_count) == 0) { in ips_send_cmd()
3658 scb->cmd.basic_io.op_code = IPS_CMD_ENQUIRY; in ips_send_cmd()
3659 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_send_cmd()
3660 scb->cmd.basic_io.segment_4G = 0; in ips_send_cmd()
3661 scb->cmd.basic_io.enhanced_sg = 0; in ips_send_cmd()
3663 scb->cmd.basic_io.sg_addr = ha->enq_busaddr; in ips_send_cmd()
3864 scb->cmd.basic_io.command_id, in ips_chkstatus()
3882 scb->cmd.basic_io.op_code, in ips_chkstatus()
3973 scb->cmd.basic_io.op_code, basic_status, in ips_chkstatus()
4395 scb->cmd.basic_io.cccr = cpu_to_le32((uint32_t) IPS_BIT_ILE); in ips_init_scb()
4396 scb->cmd.basic_io.ccsar = cpu_to_le32(ha->adapt->hw_status_start in ips_init_scb()
5285 scb->cmd.basic_io.command_id, in ips_issue_copperhead()
5289 ips_name, ha->host_num, scb->cmd.basic_io.command_id); in ips_issue_copperhead()
5339 scb->cmd.basic_io.command_id, in ips_issue_copperhead_memio()
5343 ips_name, ha->host_num, scb->cmd.basic_io.command_id); in ips_issue_copperhead_memio()
5390 scb->cmd.basic_io.command_id, in ips_issue_i2o()
5394 ips_name, ha->host_num, scb->cmd.basic_io.command_id); in ips_issue_i2o()
5422 scb->cmd.basic_io.command_id, in ips_issue_i2o_memio()
5426 ips_name, ha->host_num, scb->cmd.basic_io.command_id); in ips_issue_i2o_memio()
5671 scb->cmd.basic_io.op_code = IPS_CMD_ENQUIRY; in ips_read_adapter_status()
5672 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_read_adapter_status()
5673 scb->cmd.basic_io.sg_count = 0; in ips_read_adapter_status()
5674 scb->cmd.basic_io.lba = 0; in ips_read_adapter_status()
5675 scb->cmd.basic_io.sector_count = 0; in ips_read_adapter_status()
5676 scb->cmd.basic_io.log_drv = 0; in ips_read_adapter_status()
5678 scb->cmd.basic_io.sg_addr = ha->enq_busaddr; in ips_read_adapter_status()
5714 scb->cmd.basic_io.op_code = IPS_CMD_GET_SUBSYS; in ips_read_subsystem_parameters()
5715 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_read_subsystem_parameters()
5716 scb->cmd.basic_io.sg_count = 0; in ips_read_subsystem_parameters()
5717 scb->cmd.basic_io.lba = 0; in ips_read_subsystem_parameters()
5718 scb->cmd.basic_io.sector_count = 0; in ips_read_subsystem_parameters()
5719 scb->cmd.basic_io.log_drv = 0; in ips_read_subsystem_parameters()
5721 scb->cmd.basic_io.sg_addr = ha->ioctl_busaddr; in ips_read_subsystem_parameters()
5763 scb->cmd.basic_io.op_code = IPS_CMD_READ_CONF; in ips_read_config()
5764 scb->cmd.basic_io.command_id = IPS_COMMAND_ID(ha, scb); in ips_read_config()
5766 scb->cmd.basic_io.sg_addr = ha->ioctl_busaddr; in ips_read_config()