Searched refs:hwif (Results 51 - 75 of 82) sorted by relevance

1234

/drivers/ide/
H A Dcs5536.c94 struct pci_dev *pdev = to_pci_dev(drive->hwif->dev);
106 * @hwif: Port to detect on
113 static u8 cs5536_cable_detect(ide_hwif_t *hwif) argument
115 struct pci_dev *pdev = to_pci_dev(hwif->dev);
128 * @hwif: ATA port
132 static void cs5536_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
146 struct pci_dev *pdev = to_pci_dev(hwif->dev);
176 * @hwif: ATA port
180 static void cs5536_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
190 struct pci_dev *pdev = to_pci_dev(hwif
[all...]
H A Dit8213.c20 * @hwif: port
26 static void it8213_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
28 struct pci_dev *dev = to_pci_dev(hwif->dev);
77 * @hwif: port
83 static void it8213_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
85 struct pci_dev *dev = to_pci_dev(hwif->dev);
139 it8213_set_pio_mode(hwif, drive);
143 static u8 it8213_cable_detect(ide_hwif_t *hwif) argument
145 struct pci_dev *dev = to_pci_dev(hwif->dev);
H A Dau1xxx-ide.c96 auide_insw(drive->hwif->io_ports.data_addr, buf, (len + 1) / 2);
102 auide_outsw(drive->hwif->io_ports.data_addr, buf, (len + 1) / 2);
106 static void au1xxx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
167 static void auide_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
217 ide_hwif_t *hwif = drive->hwif; local
227 sg = hwif->sg_table;
346 static int auide_ddma_init(ide_hwif_t *hwif, const struct ide_port_info *d) argument
352 dev_id = hwif->ddma_id;
395 (void)ide_allocate_dma_engine(hwif);
403 auide_ddma_init(ide_hwif_t *hwif, const struct ide_port_info *d) argument
[all...]
H A Dcs5535.c132 * @hwif: port
138 static void cs5535_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
145 * @hwif: port
151 static void cs5535_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
156 static u8 cs5535_cable_detect(ide_hwif_t *hwif) argument
158 struct pci_dev *dev = to_pci_dev(hwif->dev);
H A Dsis5513.c189 struct pci_dev *dev = to_pci_dev(drive->hwif->dev);
199 struct pci_dev *dev = to_pci_dev(drive->hwif->dev);
222 struct pci_dev *dev = to_pci_dev(drive->hwif->dev);
245 struct pci_dev *dev = to_pci_dev(drive->hwif->dev);
277 ide_hwif_t *hwif = drive->hwif; local
278 struct pci_dev *dev = to_pci_dev(hwif->dev);
293 static void sis_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
301 struct pci_dev *dev = to_pci_dev(drive->hwif->dev);
320 struct pci_dev *dev = to_pci_dev(drive->hwif
343 sis_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
524 sis_cable_detect(ide_hwif_t *hwif) argument
[all...]
H A Dvia82cxxx.c125 static void via_set_speed(ide_hwif_t *hwif, u8 dn, struct ide_timing *timing) argument
127 struct pci_dev *dev = to_pci_dev(hwif->dev);
172 * @hwif: port
179 static void via_set_drive(ide_hwif_t *hwif, ide_drive_t *drive) argument
182 struct pci_dev *dev = to_pci_dev(hwif->dev);
206 via_set_speed(hwif, drive->dn, &t);
211 * @hwif: port
217 static void via_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
220 via_set_drive(hwif, drive);
382 static u8 via82cxxx_cable_detect(ide_hwif_t *hwif) argument
[all...]
H A Dide-cs.c119 ide_hwif_t *hwif; local
145 hwif = host->ports[0];
147 if (hwif->present)
153 ide_port_scan(hwif);
154 if (hwif->present)
258 ide_hwif_t *hwif = host->ports[0]; local
261 data_addr = hwif->io_ports.data_addr;
262 ctl_addr = hwif->io_ports.ctl_addr;
H A Dide.c79 host_dev = drive->hwif->host->dev[0];
101 struct device *host_dev = drive->hwif->host->dev[0];
283 int i = drive->hwif->index * MAX_DRIVES + unit;
355 void ide_port_apply_params(ide_hwif_t *hwif) argument
360 if (ide_ignore_cable & (1 << hwif->index)) {
362 hwif->name);
363 hwif->cbl = ATA_CBL_PATA40_SHORT;
366 ide_port_for_each_dev(i, drive, hwif)
H A Damd74xx.c82 static void amd_set_drive(ide_hwif_t *hwif, ide_drive_t *drive) argument
84 struct pci_dev *dev = to_pci_dev(hwif->dev);
88 u8 udma_mask = hwif->ultra_mask;
111 static void amd_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
114 amd_set_drive(hwif, drive);
180 static u8 amd_cable_detect(ide_hwif_t *hwif) argument
182 if ((amd_80w >> hwif->channel) & 1)
H A Dbuddha.c103 static int buddha_test_irq(ide_hwif_t *hwif) argument
107 ch = z_readb(hwif->io_ports.irq_addr);
118 z_writeb(0, drive->hwif->io_ports.irq_addr);
H A Dide-lib.c25 struct device *dev = drive->hwif->dev;
94 struct request *rq = drive->hwif->rq;
167 drive->name, drive->hwif->cmd.tf.command);
H A Dopti621.c65 static void opti621_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
93 reg_base = hwif->io_ports.data_addr;
107 printk(KERN_INFO "%s: CLK = %d MHz\n", hwif->name, clk ? 25 : 33);
H A Dide-4drives.c16 if (drive->hwif->channel)
H A Dide-floppy_ioctl.c218 ide_hwif_t *hwif = drive->hwif; local
223 stat = hwif->tp_ops->read_status(hwif);
H A Dtx4938ide.c59 static void tx4938ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
61 struct tx4938ide_platform_info *pdata = dev_get_platdata(hwif->dev);
77 unsigned long port = drive->hwif->io_ports.data_addr;
89 unsigned long port = drive->hwif->io_ports.data_addr;
H A Dide-disk.c84 ide_hwif_t *hwif = drive->hwif; local
92 if ((hwif->host_flags & IDE_HFLAG_NO_LBA48_DMA) && lba48 && dma) {
184 ide_hwif_t *hwif = drive->hwif; local
195 if (hwif->rw_disk)
196 hwif->rw_disk(drive, rq);
396 if ((drive->hwif->host_flags & IDE_HFLAG_NO_LBA48_DMA) &&
625 if (arg && ((drive->hwif->host_flags & IDE_HFLAG_NO_LBA48) ||
656 ide_hwif_t *hwif local
[all...]
H A Dfalconide.c69 unsigned long data_addr = drive->hwif->io_ports.data_addr;
82 unsigned long data_addr = drive->hwif->io_ports.data_addr;
H A Dq40ide.c76 unsigned long data_addr = drive->hwif->io_ports.data_addr;
89 unsigned long data_addr = drive->hwif->io_ports.data_addr;
123 * hwif->name unfortunately isn't available yet
H A Dumc8672.c107 static void umc_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
109 ide_hwif_t *mate = hwif->mate;
H A Ddtc2278.c71 static void dtc2278_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
H A Dmacide.c50 * Bit 5: IDE interrupt flag (any hwif)
51 * Bit 6: maybe IDE interrupt enable (any hwif) ??
57 int macide_test_irq(ide_hwif_t *hwif) argument
/drivers/scsi/bfa/
H A Dbfa_hw_cb.c178 bfa->iocfc.hwif.hw_reqq_ack = bfa_hwcb_reqq_ack_msix;
179 bfa->iocfc.hwif.hw_rspq_ack = bfa_hwcb_rspq_ack_msix;
181 bfa->iocfc.hwif.hw_reqq_ack = NULL;
182 bfa->iocfc.hwif.hw_rspq_ack = bfa_hwcb_rspq_ack;
H A Dbfa.h252 struct bfa_hwif_s hwif; member in struct:bfa_iocfc_s
273 ((__bfa)->iocfc.hwif.hw_msix_init(__bfa, __nvecs))
275 ((__bfa)->iocfc.hwif.hw_msix_ctrl_install(__bfa))
277 ((__bfa)->iocfc.hwif.hw_msix_queue_install(__bfa))
279 ((__bfa)->iocfc.hwif.hw_msix_uninstall(__bfa))
281 ((__bfa)->iocfc.hwif.hw_rspq_ack(__bfa, __queue, __ci))
283 if ((__bfa)->iocfc.hwif.hw_reqq_ack) \
284 (__bfa)->iocfc.hwif.hw_reqq_ack(__bfa, __queue); \
287 if ((__bfa)->iocfc.hwif.hw_isr_mode_set) \
288 (__bfa)->iocfc.hwif
[all...]
H A Dbfa_core.c890 bfa_isr_reqq(bfa, vec - bfa->iocfc.hwif.cpe_vec_q0);
906 bfa_isr_rspq(bfa, vec - bfa->iocfc.hwif.rme_vec_q0);
1053 iocfc->hwif.hw_reginit = bfa_hwct_reginit;
1054 iocfc->hwif.hw_reqq_ack = bfa_hwct_reqq_ack;
1055 iocfc->hwif.hw_rspq_ack = bfa_hwct_rspq_ack;
1056 iocfc->hwif.hw_msix_init = bfa_hwct_msix_init;
1057 iocfc->hwif.hw_msix_ctrl_install = bfa_hwct_msix_ctrl_install;
1058 iocfc->hwif.hw_msix_queue_install = bfa_hwct_msix_queue_install;
1059 iocfc->hwif.hw_msix_uninstall = bfa_hwct_msix_uninstall;
1060 iocfc->hwif
[all...]
H A Dbfa_ioc_ct.c510 bfa_ioc_set_ctx_hwif(struct bfa_ioc_s *ioc, struct bfa_ioc_hwif_s *hwif) argument
512 hwif->ioc_firmware_lock = bfa_ioc_ct_firmware_lock;
513 hwif->ioc_firmware_unlock = bfa_ioc_ct_firmware_unlock;
514 hwif->ioc_notify_fail = bfa_ioc_ct_notify_fail;
515 hwif->ioc_ownership_reset = bfa_ioc_ct_ownership_reset;
516 hwif->ioc_sync_start = bfa_ioc_ct_sync_start;
517 hwif->ioc_sync_join = bfa_ioc_ct_sync_join;
518 hwif->ioc_sync_leave = bfa_ioc_ct_sync_leave;
519 hwif->ioc_sync_ack = bfa_ioc_ct_sync_ack;
520 hwif
[all...]

Completed in 392 milliseconds

1234