Lines Matching defs:cmd

155 static inline void *scsi_cmd_priv(struct scsi_cmnd *cmd)  in scsi_cmd_priv()
161 static inline struct scsi_driver *scsi_cmd_to_driver(struct scsi_cmnd *cmd) in scsi_cmd_to_driver()
181 static inline int scsi_dma_map(struct scsi_cmnd *cmd) { return -ENOSYS; } in scsi_dma_map()
182 static inline void scsi_dma_unmap(struct scsi_cmnd *cmd) { } in scsi_dma_unmap()
185 static inline unsigned scsi_sg_count(struct scsi_cmnd *cmd) in scsi_sg_count()
190 static inline struct scatterlist *scsi_sglist(struct scsi_cmnd *cmd) in scsi_sglist()
195 static inline unsigned scsi_bufflen(struct scsi_cmnd *cmd) in scsi_bufflen()
200 static inline void scsi_set_resid(struct scsi_cmnd *cmd, unsigned int resid) in scsi_set_resid()
205 static inline unsigned int scsi_get_resid(struct scsi_cmnd *cmd) in scsi_get_resid()
210 #define scsi_for_each_sg(cmd, sg, nseg, __i) \ argument
213 static inline int scsi_sg_copy_from_buffer(struct scsi_cmnd *cmd, in scsi_sg_copy_from_buffer()
220 static inline int scsi_sg_copy_to_buffer(struct scsi_cmnd *cmd, in scsi_sg_copy_to_buffer()
320 static inline unsigned scsi_prot_sg_count(struct scsi_cmnd *cmd) in scsi_prot_sg_count()
325 static inline struct scatterlist *scsi_prot_sglist(struct scsi_cmnd *cmd) in scsi_prot_sglist()
330 static inline struct scsi_data_buffer *scsi_prot(struct scsi_cmnd *cmd) in scsi_prot()
335 #define scsi_for_each_prot_sg(cmd, sg, nseg, __i) \ argument
338 static inline void set_status_byte(struct scsi_cmnd *cmd, char status) in set_status_byte()
343 static inline u8 get_status_byte(struct scsi_cmnd *cmd) in get_status_byte()
348 static inline void set_host_byte(struct scsi_cmnd *cmd, char status) in set_host_byte()
353 static inline u8 get_host_byte(struct scsi_cmnd *cmd) in get_host_byte()
368 static inline void scsi_msg_to_host_byte(struct scsi_cmnd *cmd, u8 msg) in scsi_msg_to_host_byte()