Lines Matching refs:dev
506 #define _m_calloc_dma(np, s, n) __m_calloc_dma(np->dev, s, n)
507 #define _m_free_dma(np, p, s, n) __m_free_dma(np->dev, p, s, n)
510 #define _vtobus(np, p) __vtobus(np->dev, p)
517 static void __unmap_scsi_data(struct device *dev, struct scsi_cmnd *cmd) in __unmap_scsi_data() argument
529 static int __map_scsi_sg_data(struct device *dev, struct scsi_cmnd *cmd) in __map_scsi_sg_data() argument
544 #define unmap_scsi_data(np, cmd) __unmap_scsi_data(np->dev, cmd)
545 #define map_scsi_sg_data(np, cmd) __map_scsi_sg_data(np->dev, cmd)
1667 struct device *dev; member
4044 dev_info(&starget->dev, "target did not report SYNC.\n"); in ncr_prepare_nego()
5439 dev_info(&cmd->device->sdev_target->dev, "WIDE SCSI %sabled.\n", in ncr_setwide()
8028 static ssize_t show_ncr53c8xx_revision(struct device *dev, argument
8031 struct Scsi_Host *host = class_to_shost(dev);
8115 np = __m_calloc_dma(device->dev, sizeof(struct ncb), "NCB");
8119 np->dev = device->dev;
8324 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
8340 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
8356 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);