search for: pvscsi_cmd_abort_cmd

Displaying 6 results from an estimated 6 matches for "pvscsi_cmd_abort_cmd".

2009 Sep 09
1
[PATCH] SCSI driver for VMware's virtual HBA - V4.
...PVSCSICommands { > + PVSCSI_CMD_FIRST = 0, /* has to be first */ > + > + PVSCSI_CMD_ADAPTER_RESET = 1, > + PVSCSI_CMD_ISSUE_SCSI = 2, > + PVSCSI_CMD_SETUP_RINGS = 3, > + PVSCSI_CMD_RESET_BUS = 4, > + PVSCSI_CMD_RESET_DEVICE = 5, > + PVSCSI_CMD_ABORT_CMD = 6, > + PVSCSI_CMD_CONFIG = 7, > + PVSCSI_CMD_SETUP_MSG_RING = 8, > + PVSCSI_CMD_DEVICE_UNPLUG = 9, > + > + PVSCSI_CMD_LAST = 10 /* has to be last */ > +}; > + > +/* > + * Command descriptor for PVSCSI_CMD_RESET_DEVICE -- > + */...
2009 Sep 09
1
[PATCH] SCSI driver for VMware's virtual HBA - V4.
...PVSCSICommands { > + PVSCSI_CMD_FIRST = 0, /* has to be first */ > + > + PVSCSI_CMD_ADAPTER_RESET = 1, > + PVSCSI_CMD_ISSUE_SCSI = 2, > + PVSCSI_CMD_SETUP_RINGS = 3, > + PVSCSI_CMD_RESET_BUS = 4, > + PVSCSI_CMD_RESET_DEVICE = 5, > + PVSCSI_CMD_ABORT_CMD = 6, > + PVSCSI_CMD_CONFIG = 7, > + PVSCSI_CMD_SETUP_MSG_RING = 8, > + PVSCSI_CMD_DEVICE_UNPLUG = 9, > + > + PVSCSI_CMD_LAST = 10 /* has to be last */ > +}; > + > +/* > + * Command descriptor for PVSCSI_CMD_RESET_DEVICE -- > + */...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...md(const struct pvscsi_adapter *adapter, > + const struct pvscsi_ctx *ctx) > +{ > + struct PVSCSICmdDescAbortCmd cmd = { 0 }; > + > + cmd.target = ctx->cmd->device->id; > + cmd.context = pvscsi_map_context(adapter, ctx); > + > + pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_ABORT_CMD, &cmd, sizeof(cmd)); > +} > + > +static void pvscsi_kick_rw_io(const struct pvscsi_adapter *adapter) > +{ > + pvscsi_reg_write(adapter, PVSCSI_REG_OFFSET_KICK_RW_IO, 0); > +} > + > +static void pvscsi_process_request_ring(const struct pvscsi_adapter *adapter) > +{ &gt...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...md(const struct pvscsi_adapter *adapter, > + const struct pvscsi_ctx *ctx) > +{ > + struct PVSCSICmdDescAbortCmd cmd = { 0 }; > + > + cmd.target = ctx->cmd->device->id; > + cmd.context = pvscsi_map_context(adapter, ctx); > + > + pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_ABORT_CMD, &cmd, sizeof(cmd)); > +} > + > +static void pvscsi_kick_rw_io(const struct pvscsi_adapter *adapter) > +{ > + pvscsi_reg_write(adapter, PVSCSI_REG_OFFSET_KICK_RW_IO, 0); > +} > + > +static void pvscsi_process_request_ring(const struct pvscsi_adapter *adapter) > +{ &gt...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...tr[i]); +} + +static void pvscsi_abort_cmd(const struct pvscsi_adapter *adapter, + const struct pvscsi_ctx *ctx) +{ + struct PVSCSICmdDescAbortCmd cmd = { 0 }; + + cmd.target = ctx->cmd->device->id; + cmd.context = pvscsi_map_context(adapter, ctx); + + pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_ABORT_CMD, &cmd, sizeof(cmd)); +} + +static void pvscsi_kick_rw_io(const struct pvscsi_adapter *adapter) +{ + pvscsi_reg_write(adapter, PVSCSI_REG_OFFSET_KICK_RW_IO, 0); +} + +static void pvscsi_process_request_ring(const struct pvscsi_adapter *adapter) +{ + pvscsi_reg_write(adapter, PVSCSI_REG_OFFSET_KI...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...tr[i]); +} + +static void pvscsi_abort_cmd(const struct pvscsi_adapter *adapter, + const struct pvscsi_ctx *ctx) +{ + struct PVSCSICmdDescAbortCmd cmd = { 0 }; + + cmd.target = ctx->cmd->device->id; + cmd.context = pvscsi_map_context(adapter, ctx); + + pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_ABORT_CMD, &cmd, sizeof(cmd)); +} + +static void pvscsi_kick_rw_io(const struct pvscsi_adapter *adapter) +{ + pvscsi_reg_write(adapter, PVSCSI_REG_OFFSET_KICK_RW_IO, 0); +} + +static void pvscsi_process_request_ring(const struct pvscsi_adapter *adapter) +{ + pvscsi_reg_write(adapter, PVSCSI_REG_OFFSET_KI...