Home
last modified time | relevance | path

Searched refs:ide_hwif_t (Results 1 – 25 of 70) sorted by relevance

123

/Linux-v5.4/include/linux/
Dide.h821 } ____cacheline_internodealigned_in_smp ide_hwif_t; typedef
826 ide_hwif_t *ports[MAX_HOST_PORTS + 1];
842 ide_hwif_t *cur_port; /* for hosts requiring serialization */
979 void ide_proc_register_port(ide_hwif_t *);
980 void ide_proc_port_register_devices(ide_hwif_t *);
982 void ide_proc_unregister_port(ide_hwif_t *);
991 static inline void ide_proc_register_port(ide_hwif_t *hwif) { ; } in ide_proc_register_port()
992 static inline void ide_proc_port_register_devices(ide_hwif_t *hwif) { ; } in ide_proc_port_register_devices()
994 static inline void ide_proc_unregister_port(ide_hwif_t *hwif) { ; } in ide_proc_unregister_port()
1137 void ide_exec_command(ide_hwif_t *, u8);
[all …]
/Linux-v5.4/drivers/ide/
Dide-dma-sff.c23 ide_hwif_t *hwif = drive->hwif; in config_drive_for_dma()
54 u8 ide_dma_sff_read_status(ide_hwif_t *hwif) in ide_dma_sff_read_status()
65 static void ide_dma_sff_write_status(ide_hwif_t *hwif, u8 val) in ide_dma_sff_write_status()
85 ide_hwif_t *hwif = drive->hwif; in ide_dma_host_set()
117 ide_hwif_t *hwif = drive->hwif; in ide_build_dmatable()
190 ide_hwif_t *hwif = drive->hwif; in ide_dma_setup()
240 ide_hwif_t *hwif = drive->hwif; in ide_dma_sff_timer_expiry()
266 ide_hwif_t *hwif = drive->hwif; in ide_dma_start()
288 ide_hwif_t *hwif = drive->hwif; in ide_dma_end()
319 ide_hwif_t *hwif = drive->hwif; in ide_dma_test_irq()
Dide-probe.c195 ide_hwif_t *hwif = drive->hwif; in do_identify()
254 ide_hwif_t *hwif = drive->hwif; in ide_dev_read_id()
334 ide_hwif_t *hwif = drive->hwif; in ide_busy_sleep()
384 ide_hwif_t *hwif = drive->hwif; in do_probe()
540 ide_hwif_t *hwif = container_of(dev, ide_hwif_t, gendev); in hwif_release_dev()
545 static int ide_register_port(ide_hwif_t *hwif) in ide_register_port()
599 static int ide_port_wait_ready(ide_hwif_t *hwif) in ide_port_wait_ready()
680 static int ide_probe_port(ide_hwif_t *hwif) in ide_probe_port()
723 static void ide_port_tune_devices(ide_hwif_t *hwif) in ide_port_tune_devices()
766 ide_hwif_t *hwif = drive->hwif; in ide_init_queue()
[all …]
Dide-io-std.c42 void ide_exec_command(ide_hwif_t *hwif, u8 cmd) in ide_exec_command()
51 u8 ide_read_status(ide_hwif_t *hwif) in ide_read_status()
60 u8 ide_read_altstatus(ide_hwif_t *hwif) in ide_read_altstatus()
69 void ide_write_devctl(ide_hwif_t *hwif, u8 ctl) in ide_write_devctl()
80 ide_hwif_t *hwif = drive->hwif; in ide_dev_select()
92 ide_hwif_t *hwif = drive->hwif; in ide_tf_load()
119 ide_hwif_t *hwif = drive->hwif; in ide_tf_read()
168 ide_hwif_t *hwif = drive->hwif; in ide_input_data()
212 ide_hwif_t *hwif = drive->hwif; in ide_output_data()
Dtx4939ide.c107 static void tx4939ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in tx4939ide_set_pio_mode()
128 static void tx4939ide_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in tx4939ide_set_dma_mode()
149 static u16 tx4939ide_check_error_ints(ide_hwif_t *hwif) in tx4939ide_check_error_ints()
175 ide_hwif_t *hwif; in tx4939ide_clear_irq()
191 static u8 tx4939ide_cable_detect(ide_hwif_t *hwif) in tx4939ide_cable_detect()
202 ide_hwif_t *hwif = drive->hwif; in tx4939ide_dma_host_set()
236 ide_hwif_t *hwif = drive->hwif; in tx4939ide_build_dmatable()
289 ide_hwif_t *hwif = drive->hwif; in tx4939ide_dma_setup()
316 ide_hwif_t *hwif = drive->hwif; in tx4939ide_dma_end()
344 ide_hwif_t *hwif = drive->hwif; in tx4939ide_dma_test_irq()
[all …]
Dide-dma.c93 ide_hwif_t *hwif = drive->hwif; in ide_dma_intr()
135 ide_hwif_t *hwif = drive->hwif; in ide_dma_map_sg()
166 ide_hwif_t *hwif = drive->hwif; in ide_dma_unmap_sg()
240 ide_hwif_t *hwif = drive->hwif; in ide_get_mode_mask()
313 ide_hwif_t *hwif = drive->hwif; in ide_find_dma_mode()
353 ide_hwif_t *hwif = drive->hwif; in ide_tune_dma()
380 ide_hwif_t *hwif = drive->hwif; in ide_dma_check()
448 ide_hwif_t *hwif = drive->hwif; in ide_dma_timeout_retry()
495 void ide_release_dma_engine(ide_hwif_t *hwif) in ide_release_dma_engine()
507 int ide_allocate_dma_engine(ide_hwif_t *hwif) in ide_allocate_dma_engine()
Dpdc202xx_old.c25 static void pdc202xx_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pdc202xx_set_mode()
80 static void pdc202xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pdc202xx_set_pio_mode()
86 static int pdc202xx_test_irq(ide_hwif_t *hwif) in pdc202xx_test_irq()
107 static u8 pdc2026x_cable_detect(ide_hwif_t *hwif) in pdc2026x_cable_detect()
126 static void pdc_old_enable_66MHz_clock(ide_hwif_t *hwif) in pdc_old_enable_66MHz_clock()
134 static void pdc_old_disable_66MHz_clock(ide_hwif_t *hwif) in pdc_old_disable_66MHz_clock()
142 static void pdc2026x_init_hwif(ide_hwif_t *hwif) in pdc2026x_init_hwif()
152 ide_hwif_t *hwif = drive->hwif; in pdc202xx_dma_start()
172 ide_hwif_t *hwif = drive->hwif; in pdc202xx_dma_end()
Dtc86c001.c17 static void tc86c001_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) in tc86c001_set_mode()
45 static void tc86c001_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in tc86c001_set_pio_mode()
67 ide_hwif_t *hwif = drive->hwif; in tc86c001_timer_expiry()
114 ide_hwif_t *hwif = drive->hwif; in tc86c001_dma_start()
134 static u8 tc86c001_cable_detect(ide_hwif_t *hwif) in tc86c001_cable_detect()
147 static void init_hwif_tc86c001(ide_hwif_t *hwif) in init_hwif_tc86c001()
Dcmd64x.c57 ide_hwif_t *hwif = drive->hwif; in cmd64x_program_timings()
134 static void cmd64x_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cmd64x_set_pio_mode()
148 static void cmd64x_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cmd64x_set_dma_mode()
189 ide_hwif_t *hwif = drive->hwif; in cmd648_clear_irq()
203 ide_hwif_t *hwif = drive->hwif; in cmd64x_clear_irq()
215 static int cmd648_test_irq(ide_hwif_t *hwif) in cmd648_test_irq()
229 static int cmd64x_test_irq(ide_hwif_t *hwif) in cmd64x_test_irq()
252 ide_hwif_t *hwif = drive->hwif; in cmd646_1_dma_end()
289 static u8 cmd64x_cable_detect(ide_hwif_t *hwif) in cmd64x_cable_detect()
Dsiimage.c76 static inline int is_sata(ide_hwif_t *hwif) in is_sata()
92 static unsigned long siimage_selreg(ide_hwif_t *hwif, int r) in siimage_selreg()
116 ide_hwif_t *hwif = drive->hwif; in siimage_seldev()
197 ide_hwif_t *hwif = drive->hwif; in sil_pata_udma_filter()
239 static void sil_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sil_set_pio_mode()
298 static void sil_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sil_set_dma_mode()
341 static int sil_test_irq(ide_hwif_t *hwif) in sil_test_irq()
361 ide_hwif_t *hwif = drive->hwif; in siimage_mmio_dma_test_irq()
411 ide_hwif_t *hwif = drive->hwif; in sil_sata_reset_poll()
549 static void init_mmio_iops_siimage(ide_hwif_t *hwif) in init_mmio_iops_siimage()
[all …]
Dit821x.c114 ide_hwif_t *hwif = drive->hwif; in it821x_program()
140 ide_hwif_t *hwif = drive->hwif; in it821x_program_udma()
170 ide_hwif_t *hwif = drive->hwif; in it821x_clock_strategy()
239 static void it821x_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in it821x_set_pio_mode()
283 ide_hwif_t *hwif = drive->hwif; in it821x_tune_mwdma()
320 ide_hwif_t *hwif = drive->hwif; in it821x_tune_udma()
363 ide_hwif_t *hwif = drive->hwif; in it821x_dma_start()
385 ide_hwif_t *hwif = drive->hwif; in it821x_dma_end()
403 static void it821x_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in it821x_set_dma_mode()
427 static u8 it821x_cable_detect(ide_hwif_t *hwif) in it821x_cable_detect()
[all …]
Dide-io.c127 ide_hwif_t *hwif = drive->hwif; in ide_complete_rq()
235 ide_hwif_t *hwif = drive->hwif; in ide_map_sg()
406 static inline int ide_lock_port(ide_hwif_t *hwif) in ide_lock_port()
416 static inline void ide_unlock_port(ide_hwif_t *hwif) in ide_unlock_port()
421 static inline int ide_lock_host(struct ide_host *host, ide_hwif_t *hwif) in ide_lock_host()
459 ide_hwif_t *hwif = drive->hwif; in ide_issue_rq()
477 ide_hwif_t *prev_port; in ide_issue_rq()
569 ide_hwif_t *hwif = drive->hwif; in ide_queue_rq()
584 ide_hwif_t *hwif = drive->hwif; in drive_is_ready()
621 ide_hwif_t *hwif = from_timer(hwif, t, timer); in ide_timer_expiry()
[all …]
Dide-xfer-mode.c125 ide_hwif_t *hwif = drive->hwif; in ide_set_pio_mode()
159 ide_hwif_t *hwif = drive->hwif; in ide_set_dma_mode()
185 ide_hwif_t *hwif = drive->hwif; in ide_set_pio()
225 ide_hwif_t *hwif = drive->hwif; in ide_rate_filter()
252 ide_hwif_t *hwif = drive->hwif; in ide_set_xfer_rate()
Dide-iops.c109 ide_hwif_t *hwif = drive->hwif; in __ide_wait_stat()
236 ide_hwif_t *hwif = drive->hwif; in eighty_ninty_three()
350 ide_hwif_t *hwif = drive->hwif; in ide_config_drive_speed()
453 ide_hwif_t *hwif = drive->hwif; in __ide_set_handler()
465 ide_hwif_t *hwif = drive->hwif; in ide_set_handler()
490 ide_hwif_t *hwif = drive->hwif; in ide_execute_command()
513 int ide_wait_not_busy(ide_hwif_t *hwif, unsigned long timeout) in ide_wait_not_busy()
Dsc1200.c83 ide_hwif_t *hwif = drive->hwif; in sc1200_tunepio()
106 ide_hwif_t *hwif = drive->hwif; in sc1200_udma_filter()
126 static void sc1200_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sc1200_set_dma_mode()
173 ide_hwif_t *hwif = drive->hwif; in sc1200_dma_end()
197 static void sc1200_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sc1200_set_pio_mode()
Djmicron.c29 static u8 jmicron_cable_detect(ide_hwif_t *hwif) in jmicron_cable_detect()
83 static void jmicron_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in jmicron_set_pio_mode()
95 static void jmicron_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in jmicron_set_dma_mode()
Dcs5530.c53 static void cs5530_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5530_set_pio_mode()
83 ide_hwif_t *hwif = drive->hwif; in cs5530_udma_filter()
103 static void cs5530_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5530_set_dma_mode()
229 static void init_hwif_cs5530 (ide_hwif_t *hwif) in init_hwif_cs5530()
Dpmac.c61 ide_hwif_t *hwif;
400 static int pmac_ide_init_dma(ide_hwif_t *, const struct ide_port_info *);
412 ide_hwif_t *hwif = drive->hwif; in pmac_ide_apply_timings()
429 ide_hwif_t *hwif = drive->hwif; in pmac_ide_kauai_apply_timings()
448 ide_hwif_t *hwif = drive->hwif; in pmac_ide_do_update_timings()
475 static void pmac_exec_command(ide_hwif_t *hwif, u8 cmd) in pmac_exec_command()
482 static void pmac_write_devctl(ide_hwif_t *hwif, u8 ctl) in pmac_write_devctl()
492 static void pmac_ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pmac_ide_set_pio_mode()
773 static void pmac_ide_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pmac_ide_set_dma_mode()
910 static u8 pmac_ide_cable_detect(ide_hwif_t *hwif) in pmac_ide_cable_detect()
[all …]
Dcy82c693.c57 static void cy82c693_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cy82c693_set_dma_mode()
84 static void cy82c693_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cy82c693_set_pio_mode()
149 static void init_iops_cy82c693(ide_hwif_t *hwif) in init_iops_cy82c693()
151 static ide_hwif_t *primary; in init_iops_cy82c693()
Dsl82c105.c67 static void sl82c105_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sl82c105_set_pio_mode()
96 static void sl82c105_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sl82c105_set_dma_mode()
114 static int sl82c105_test_irq(ide_hwif_t *hwif) in sl82c105_test_irq()
150 ide_hwif_t *hwif = drive->hwif; in sl82c105_dma_lost_irq()
188 ide_hwif_t *hwif = drive->hwif; in sl82c105_dma_start()
Dserverworks.c110 static void svwks_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in svwks_set_pio_mode()
132 static void svwks_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in svwks_set_dma_mode()
262 static u8 ata66_svwks_svwks(ide_hwif_t *hwif) in ata66_svwks_svwks()
274 static u8 ata66_svwks_dell(ide_hwif_t *hwif) in ata66_svwks_dell()
293 static u8 ata66_svwks_cobalt(ide_hwif_t *hwif) in ata66_svwks_cobalt()
305 static u8 svwks_cable_detect(ide_hwif_t *hwif) in svwks_cable_detect()
Dalim15x3.c51 static void ali_fifo_control(ide_hwif_t *hwif, ide_drive_t *drive, int on) in ali_fifo_control()
64 static void ali_program_timings(ide_hwif_t *hwif, ide_drive_t *drive, in ali_program_timings()
102 static void ali_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in ali_set_pio_mode()
164 static void ali_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in ali_set_dma_mode()
381 static u8 ali_cable_detect(ide_hwif_t *hwif) in ali_cable_detect()
418 static void init_hwif_ali15x3(ide_hwif_t *hwif) in init_hwif_ali15x3()
467 static int init_dma_ali15x3(ide_hwif_t *hwif, const struct ide_port_info *d) in init_dma_ali15x3()
Dide-acpi.c39 ide_hwif_t *hwif;
96 bool ide_port_acpi(ide_hwif_t *hwif) in ide_port_acpi()
180 static acpi_handle ide_acpi_hwif_get_handle(ide_hwif_t *hwif) in ide_acpi_hwif_get_handle()
397 void ide_acpi_get_timing(ide_hwif_t *hwif) in ide_acpi_get_timing()
475 void ide_acpi_push_timing(ide_hwif_t *hwif) in ide_acpi_push_timing()
516 void ide_acpi_set_state(ide_hwif_t *hwif, int on) in ide_acpi_set_state()
552 void ide_acpi_init_port(ide_hwif_t *hwif) in ide_acpi_init_port()
566 void ide_acpi_port_init_devices(ide_hwif_t *hwif) in ide_acpi_port_init_devices()
Dide-proc.c37 ide_hwif_t *hwif = (ide_hwif_t *) m->private; in ide_imodel_proc_show()
62 ide_hwif_t *hwif = (ide_hwif_t *) m->private; in ide_mate_proc_show()
73 ide_hwif_t *hwif = (ide_hwif_t *) m->private; in ide_channel_proc_show()
533 void ide_proc_port_register_devices(ide_hwif_t *hwif) in ide_proc_port_register_devices()
576 void ide_proc_register_port(ide_hwif_t *hwif) in ide_proc_register_port()
588 void ide_proc_unregister_port(ide_hwif_t *hwif) in ide_proc_unregister_port()
Dhpt366.c555 ide_hwif_t *hwif = drive->hwif; in hpt3xx_udma_filter()
595 ide_hwif_t *hwif = drive->hwif; in hpt3xx_mdma_filter()
628 static void hpt3xx_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) in hpt3xx_set_mode()
652 static void hpt3xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in hpt3xx_set_pio_mode()
660 ide_hwif_t *hwif = drive->hwif; in hpt3xx_maskproc()
705 ide_hwif_t *hwif = drive->hwif; in hpt370_clear_engine()
714 ide_hwif_t *hwif = drive->hwif; in hpt370_irq_timeout()
739 ide_hwif_t *hwif = drive->hwif; in hpt370_dma_end()
755 ide_hwif_t *hwif = drive->hwif; in hpt374_dma_test_irq()
776 ide_hwif_t *hwif = drive->hwif; in hpt374_dma_end()
[all …]

123