Lines Matching refs:hwif
169 ide_hwif_t *hwif = drive->hwif;
170 struct expansion_card *ec = ECARD_DEV(hwif->dev);
176 state->channel = hwif->channel;
179 switch (hwif->channel) {
237 static void icside_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive)
290 ide_hwif_t *hwif = drive->hwif;
291 struct expansion_card *ec = ECARD_DEV(hwif->dev);
300 ide_hwif_t *hwif = drive->hwif;
301 struct expansion_card *ec = ECARD_DEV(hwif->dev);
310 ide_hwif_t *hwif = drive->hwif;
311 struct expansion_card *ec = ECARD_DEV(hwif->dev);
333 writeb(state->sel | hwif->channel, state->ioc_base);
344 set_dma_sg(ec->dma, hwif->sg_table, cmd->sg_nents);
352 ide_hwif_t *hwif = drive->hwif;
353 struct expansion_card *ec = ECARD_DEV(hwif->dev);
357 (hwif->channel ?
362 static int icside_dma_init(ide_hwif_t *hwif, const struct ide_port_info *d)
364 hwif->dmatable_cpu = NULL;
365 hwif->dmatable_dma = 0;
382 static int icside_dma_off_init(ide_hwif_t *hwif, const struct ide_port_info *d)