Home
last modified time | relevance | path

Searched refs:scsi_cmnd (Results 1 - 25 of 690) sorted by relevance

12345678910>>...28

/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_cmnd.h35 /* embedded in scsi_cmnd */
74 struct scsi_cmnd { struct
147 static inline struct request *scsi_cmd_to_rq(struct scsi_cmnd *scmd) in scsi_cmd_to_rq()
156 static inline void *scsi_cmd_priv(struct scsi_cmnd *cmd) in scsi_cmd_priv()
161 void scsi_done(struct scsi_cmnd *cmd);
162 void scsi_done_direct(struct scsi_cmnd *cmd);
164 extern void scsi_finish_command(struct scsi_cmnd *cmd);
170 blk_status_t scsi_alloc_sgtables(struct scsi_cmnd *cmd);
171 void scsi_free_sgtables(struct scsi_cmnd *cmd);
174 extern int scsi_dma_map(struct scsi_cmnd *cm
[all...]
H A Dscsi_driver.h7 #include <scsi/scsi_cmnd.h>
16 blk_status_t (*init_command)(struct scsi_cmnd *);
17 void (*uninit_command)(struct scsi_cmnd *);
18 int (*done)(struct scsi_cmnd *);
19 int (*eh_action)(struct scsi_cmnd *, int);
20 void (*eh_reset)(struct scsi_cmnd *);
34 static inline struct scsi_driver *scsi_cmd_to_driver(struct scsi_cmnd *cmd) in scsi_cmd_to_driver()
H A Dscsi_eh.h7 #include <scsi/scsi_cmnd.h>
12 extern void scsi_eh_finish_cmd(struct scsi_cmnd *scmd,
18 extern bool scsi_command_normalize_sense(const struct scsi_cmnd *cmd,
20 extern enum scsi_disposition scsi_check_sense(struct scsi_cmnd *);
46 extern void scsi_eh_prep_cmnd(struct scsi_cmnd *scmd,
50 extern void scsi_eh_restore_cmnd(struct scsi_cmnd* scmd,
H A Dscsi_host.h17 struct scsi_cmnd;
59 * command. It must also push it to the HBA if the scsi_cmnd
87 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
131 int (*init_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
132 int (*exit_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
152 int (* eh_abort_handler)(struct scsi_cmnd *);
153 int (* eh_device_reset_handler)(struct scsi_cmnd *);
154 int (* eh_target_reset_handler)(struct scsi_cmnd *);
155 int (* eh_bus_reset_handler)(struct scsi_cmnd *);
156 int (* eh_host_reset_handler)(struct scsi_cmnd *);
[all...]
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_cmnd.h40 /* embedded in scsi_cmnd */
68 struct scsi_cmnd { struct
123 void (*scsi_done) (struct scsi_cmnd *);
148 static inline struct request *scsi_cmd_to_rq(struct scsi_cmnd *scmd) in scsi_cmd_to_rq()
157 static inline void *scsi_cmd_priv(struct scsi_cmnd *cmd) in scsi_cmd_priv()
163 static inline struct scsi_driver *scsi_cmd_to_driver(struct scsi_cmnd *cmd) in scsi_cmd_to_driver()
168 extern void scsi_finish_command(struct scsi_cmnd *cmd);
174 blk_status_t scsi_alloc_sgtables(struct scsi_cmnd *cmd);
175 void scsi_free_sgtables(struct scsi_cmnd *cmd);
178 extern int scsi_dma_map(struct scsi_cmnd *cm
[all...]
H A Dscsi_driver.h10 struct scsi_cmnd;
17 blk_status_t (*init_command)(struct scsi_cmnd *);
18 void (*uninit_command)(struct scsi_cmnd *);
19 int (*done)(struct scsi_cmnd *);
20 int (*eh_action)(struct scsi_cmnd *, int);
21 void (*eh_reset)(struct scsi_cmnd *);
H A Dscsi_eh.h7 #include <scsi/scsi_cmnd.h>
12 extern void scsi_eh_finish_cmd(struct scsi_cmnd *scmd,
18 extern bool scsi_command_normalize_sense(const struct scsi_cmnd *cmd,
20 extern enum scsi_disposition scsi_check_sense(struct scsi_cmnd *);
48 extern void scsi_eh_prep_cmnd(struct scsi_cmnd *scmd,
52 extern void scsi_eh_restore_cmnd(struct scsi_cmnd* scmd,
H A Dscsi_host.h17 struct scsi_cmnd;
65 int (*init_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
66 int (*exit_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
74 * command. It must also push it to the HBA if the scsi_cmnd
102 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
132 int (* eh_abort_handler)(struct scsi_cmnd *);
133 int (* eh_device_reset_handler)(struct scsi_cmnd *);
134 int (* eh_target_reset_handler)(struct scsi_cmnd *);
135 int (* eh_bus_reset_handler)(struct scsi_cmnd *);
136 int (* eh_host_reset_handler)(struct scsi_cmnd *);
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_priv.h12 struct scsi_cmnd;
52 void scsi_init_command(struct scsi_device *dev, struct scsi_cmnd *cmd);
54 void scsi_log_send(struct scsi_cmnd *cmd);
55 void scsi_log_completion(struct scsi_cmnd *cmd, int disposition);
57 static inline void scsi_log_send(struct scsi_cmnd *cmd) in scsi_log_send()
59 static inline void scsi_log_completion(struct scsi_cmnd *cmd, int disposition) in scsi_log_completion()
94 extern enum scsi_disposition scsi_decide_disposition(struct scsi_cmnd *cmd);
96 extern void scsi_eh_scmd_add(struct scsi_cmnd *);
102 bool scsi_noretry_cmd(struct scsi_cmnd *scmd);
103 void scsi_eh_done(struct scsi_cmnd *scm
[all...]
H A Dwd33c93.h188 typedef int (*dma_setup_t) (struct scsi_cmnd *SCpnt, int dir_in);
190 struct scsi_cmnd *SCpnt, int status);
226 volatile struct scsi_cmnd *input_Q; /* commands waiting to be started */
227 volatile struct scsi_cmnd *selecting; /* trying to select this command */
228 volatile struct scsi_cmnd *connected; /* currently connected command */
229 volatile struct scsi_cmnd *disconnected_Q;/* commands waiting for reconnect */
260 static inline struct scsi_pointer *WD33C93_scsi_pointer(struct scsi_cmnd *cmd) in WD33C93_scsi_pointer()
334 int wd33c93_abort (struct scsi_cmnd *cmd);
335 int wd33c93_queuecommand (struct Scsi_Host *h, struct scsi_cmnd *cmd);
339 int wd33c93_host_reset (struct scsi_cmnd *);
[all...]
/kernel/linux/linux-5.10/drivers/scsi/pcmcia/
H A Dnsp_cs.h259 struct scsi_cmnd *CurrentSC;
297 static int nsp_queuecommand(struct Scsi_Host *h, struct scsi_cmnd *SCpnt);
300 /*static int nsp_eh_abort (struct scsi_cmnd *SCpnt);*/
301 /*static int nsp_eh_device_reset(struct scsi_cmnd *SCpnt);*/
302 static int nsp_eh_bus_reset (struct scsi_cmnd *SCpnt);
303 static int nsp_eh_host_reset (struct scsi_cmnd *SCpnt);
308 static int nsphw_start_selection(struct scsi_cmnd *SCpnt);
309 static void nsp_start_timer (struct scsi_cmnd *SCpnt, int time);
310 static int nsp_fifo_count (struct scsi_cmnd *SCpnt);
311 static void nsp_pio_read (struct scsi_cmnd *SCpn
[all...]
/kernel/linux/linux-6.6/drivers/scsi/pcmcia/
H A Dnsp_cs.h259 struct scsi_cmnd *CurrentSC;
297 static int nsp_queuecommand(struct Scsi_Host *h, struct scsi_cmnd *SCpnt);
300 /*static int nsp_eh_abort (struct scsi_cmnd *SCpnt);*/
301 /*static int nsp_eh_device_reset(struct scsi_cmnd *SCpnt);*/
302 static int nsp_eh_bus_reset (struct scsi_cmnd *SCpnt);
303 static int nsp_eh_host_reset (struct scsi_cmnd *SCpnt);
308 static bool nsphw_start_selection(struct scsi_cmnd *SCpnt);
309 static void nsp_start_timer (struct scsi_cmnd *SCpnt, int time);
310 static int nsp_fifo_count (struct scsi_cmnd *SCpnt);
311 static void nsp_pio_read (struct scsi_cmnd *SCpn
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_priv.h11 struct scsi_cmnd;
34 void scsi_init_command(struct scsi_device *dev, struct scsi_cmnd *cmd);
36 void scsi_log_send(struct scsi_cmnd *cmd);
37 void scsi_log_completion(struct scsi_cmnd *cmd, int disposition);
39 static inline void scsi_log_send(struct scsi_cmnd *cmd) in scsi_log_send()
41 static inline void scsi_log_completion(struct scsi_cmnd *cmd, int disposition) in scsi_log_completion()
76 extern enum scsi_disposition scsi_decide_disposition(struct scsi_cmnd *cmd);
78 extern void scsi_eh_scmd_add(struct scsi_cmnd *);
84 int scsi_noretry_cmd(struct scsi_cmnd *scmd);
88 extern void scsi_device_unbusy(struct scsi_device *sdev, struct scsi_cmnd *cm
[all...]
H A Dwd33c93.h193 typedef int (*dma_setup_t) (struct scsi_cmnd *SCpnt, int dir_in);
195 struct scsi_cmnd *SCpnt, int status);
231 volatile struct scsi_cmnd *input_Q; /* commands waiting to be started */
232 volatile struct scsi_cmnd *selecting; /* trying to select this command */
233 volatile struct scsi_cmnd *connected; /* currently connected command */
234 volatile struct scsi_cmnd *disconnected_Q;/* commands waiting for reconnect */
335 int wd33c93_abort (struct scsi_cmnd *cmd);
336 int wd33c93_queuecommand (struct Scsi_Host *h, struct scsi_cmnd *cmd);
340 int wd33c93_host_reset (struct scsi_cmnd *);
/kernel/linux/linux-5.10/drivers/staging/rts5208/
H A Dspi.h44 int spi_get_status(struct scsi_cmnd *srb, struct rtsx_chip *chip);
45 int spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip);
46 int spi_read_flash_id(struct scsi_cmnd *srb, struct rtsx_chip *chip);
47 int spi_read_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip);
48 int spi_write_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip);
49 int spi_erase_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip);
50 int spi_write_flash_status(struct scsi_cmnd *srb, struct rtsx_chip *chip);
H A Dms.h192 int ms_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip,
194 int mspro_format(struct scsi_cmnd *srb, struct rtsx_chip *chip,
205 int mg_set_leaf_id(struct scsi_cmnd *srb, struct rtsx_chip *chip);
206 int mg_get_local_EKB(struct scsi_cmnd *srb, struct rtsx_chip *chip);
207 int mg_chg(struct scsi_cmnd *srb, struct rtsx_chip *chip);
208 int mg_get_rsp_chg(struct scsi_cmnd *srb, struct rtsx_chip *chip);
209 int mg_rsp(struct scsi_cmnd *srb, struct rtsx_chip *chip);
210 int mg_get_ICV(struct scsi_cmnd *srb, struct rtsx_chip *chip);
211 int mg_set_ICV(struct scsi_cmnd *srb, struct rtsx_chip *chip);
/kernel/linux/linux-6.6/drivers/staging/rts5208/
H A Dspi.h44 int spi_get_status(struct scsi_cmnd *srb, struct rtsx_chip *chip);
45 int spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip);
46 int spi_read_flash_id(struct scsi_cmnd *srb, struct rtsx_chip *chip);
47 int spi_read_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip);
48 int spi_write_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip);
49 int spi_erase_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip);
50 int spi_write_flash_status(struct scsi_cmnd *srb, struct rtsx_chip *chip);
H A Dms.h192 int ms_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip,
194 int mspro_format(struct scsi_cmnd *srb, struct rtsx_chip *chip,
205 int mg_set_leaf_id(struct scsi_cmnd *srb, struct rtsx_chip *chip);
206 int mg_get_local_EKB(struct scsi_cmnd *srb, struct rtsx_chip *chip);
207 int mg_chg(struct scsi_cmnd *srb, struct rtsx_chip *chip);
208 int mg_get_rsp_chg(struct scsi_cmnd *srb, struct rtsx_chip *chip);
209 int mg_rsp(struct scsi_cmnd *srb, struct rtsx_chip *chip);
210 int mg_get_ICV(struct scsi_cmnd *srb, struct rtsx_chip *chip);
211 int mg_set_ICV(struct scsi_cmnd *srb, struct rtsx_chip *chip);
/kernel/linux/linux-6.6/drivers/scsi/arm/
H A Dfas216.h216 struct scsi_cmnd *SCpnt; /* currently processing command */
217 struct scsi_cmnd *origSCpnt; /* original connecting command */
218 struct scsi_cmnd *reqSCpnt; /* request sense command */
219 struct scsi_cmnd *rstSCpnt; /* reset command */
220 struct scsi_cmnd *pending_SCpnt[8]; /* per-device pending commands */
319 void (*scsi_done)(struct scsi_cmnd *cmd);
322 static inline struct fas216_cmd_priv *fas216_cmd_priv(struct scsi_cmnd *cmd) in fas216_cmd_priv()
341 /* Function: int fas216_queue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpnt)
347 extern int fas216_queue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpnt);
349 /* Function: int fas216_noqueue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpn
[all...]
H A Dqueue.h32 * Function: struct scsi_cmnd *queue_remove (queue)
35 * Returns : struct scsi_cmnd if successful (and a reference), or NULL if no command available
37 extern struct scsi_cmnd *queue_remove (Queue_t *queue);
40 * Function: struct scsi_cmnd *queue_remove_exclude_ref (queue, exclude)
44 * Returns : struct scsi_cmnd if successful (and a reference), or NULL if no command available
46 extern struct scsi_cmnd *queue_remove_exclude(Queue_t *queue,
54 * Function: int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head)
61 extern int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head);
64 * Function: struct scsi_cmnd *queue_remove_tgtluntag (queue, target, lun, tag)
70 * Returns : struct scsi_cmnd i
[all...]
/kernel/linux/linux-5.10/drivers/usb/storage/
H A Dprotocol.h28 extern void usb_stor_pad12_command(struct scsi_cmnd*, struct us_data*);
29 extern void usb_stor_ufi_command(struct scsi_cmnd*, struct us_data*);
30 extern void usb_stor_transparent_scsi_command(struct scsi_cmnd*,
33 /* struct scsi_cmnd transfer buffer access utilities */
37 unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **,
41 unsigned int buflen, struct scsi_cmnd *srb);
/kernel/linux/linux-6.6/drivers/usb/storage/
H A Dprotocol.h28 extern void usb_stor_pad12_command(struct scsi_cmnd*, struct us_data*);
29 extern void usb_stor_ufi_command(struct scsi_cmnd*, struct us_data*);
30 extern void usb_stor_transparent_scsi_command(struct scsi_cmnd*,
33 /* struct scsi_cmnd transfer buffer access utilities */
37 unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **,
41 unsigned int buflen, struct scsi_cmnd *srb);
/kernel/linux/linux-5.10/drivers/scsi/arm/
H A Dfas216.h216 struct scsi_cmnd *SCpnt; /* currently processing command */
217 struct scsi_cmnd *origSCpnt; /* original connecting command */
218 struct scsi_cmnd *reqSCpnt; /* request sense command */
219 struct scsi_cmnd *rstSCpnt; /* reset command */
220 struct scsi_cmnd *pending_SCpnt[8]; /* per-device pending commands */
327 /* Function: int fas216_queue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpnt)
333 extern int fas216_queue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpnt);
335 /* Function: int fas216_noqueue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpnt)
341 extern int fas216_noqueue_command(struct Scsi_Host *, struct scsi_cmnd *);
362 /* Function: int fas216_eh_abort(struct scsi_cmnd *SCpn
[all...]
H A Dqueue.h32 * Function: struct scsi_cmnd *queue_remove (queue)
35 * Returns : struct scsi_cmnd if successful (and a reference), or NULL if no command available
37 extern struct scsi_cmnd *queue_remove (Queue_t *queue);
40 * Function: struct scsi_cmnd *queue_remove_exclude_ref (queue, exclude)
44 * Returns : struct scsi_cmnd if successful (and a reference), or NULL if no command available
46 extern struct scsi_cmnd *queue_remove_exclude(Queue_t *queue,
54 * Function: int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head)
61 extern int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head);
64 * Function: struct scsi_cmnd *queue_remove_tgtluntag (queue, target, lun, tag)
70 * Returns : struct scsi_cmnd i
[all...]
H A Dqueue.c29 struct scsi_cmnd *SCpnt;
96 * Function: int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head)
103 int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head) in __queue_add()
134 static struct scsi_cmnd *__queue_remove(Queue_t *queue, struct list_head *ent) in __queue_remove()
152 * Function: struct scsi_cmnd *queue_remove_exclude (queue, exclude)
156 * Returns : struct scsi_cmnd if successful (and a reference), or NULL if no command available
158 struct scsi_cmnd *queue_remove_exclude(Queue_t *queue, unsigned long *exclude) in queue_remove_exclude()
162 struct scsi_cmnd *SCpnt = NULL; in queue_remove_exclude()
179 * Function: struct scsi_cmnd *queue_remove (queue)
182 * Returns : struct scsi_cmnd i
[all...]

Completed in 22 milliseconds

12345678910>>...28