Lines Matching refs:tw_pci_dev
274 pci_write_config_word(tw_dev->tw_pci_dev, PCI_STATUS, TW_PCI_CLEAR_PCI_ABORT); in tw_decode_bits()
850 cpu_addr = pci_alloc_consistent(tw_dev->tw_pci_dev, size*TW_Q_LENGTH, &dma_handle); in tw_allocate_memory()
856 …if ((unsigned long)cpu_addr % (tw_dev->tw_pci_dev->device == TW_DEVICE_ID ? TW_ALIGNMENT_6000 : TW… in tw_allocate_memory()
858 pci_free_consistent(tw_dev->tw_pci_dev, size*TW_Q_LENGTH, cpu_addr, dma_handle); in tw_allocate_memory()
924 …cpu_addr = dma_alloc_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_New_… in tw_chrdev_ioctl()
1034 …dma_free_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_New_Ioctl) - 1, … in tw_chrdev_ioctl()
1072 …pci_free_consistent(tw_dev->tw_pci_dev, sizeof(TW_Command)*TW_Q_LENGTH, tw_dev->command_packet_vir… in tw_free_device_extension()
1075 …pci_free_consistent(tw_dev->tw_pci_dev, sizeof(TW_Sector)*TW_Q_LENGTH, tw_dev->alignment_virtual_a… in tw_free_device_extension()
1335 tw_unmap_scsi_data(tw_dev->tw_pci_dev, tw_dev->srb[i]); in tw_reset_device_extension()
1782 use_sg = tw_map_scsi_sg_data(tw_dev->tw_pci_dev, tw_dev->srb[request_id]); in tw_scsiop_read_write()
2204 tw_unmap_scsi_data(tw_dev->tw_pci_dev, tw_dev->srb[request_id]); in DEF_SCSI_QCMD()
2232 free_irq(tw_dev->tw_pci_dev->irq, tw_dev); in __tw_shutdown()
2314 tw_dev->tw_pci_dev = pdev; in tw_probe()