Lines Matching refs:ide_hwif_t
767 } ____cacheline_internodealigned_in_smp ide_hwif_t; typedef
772 ide_hwif_t *ports[MAX_HOST_PORTS + 1];
788 ide_hwif_t *cur_port; /* for hosts requiring serialization */
925 void ide_proc_register_port(ide_hwif_t *);
926 void ide_proc_port_register_devices(ide_hwif_t *);
928 void ide_proc_unregister_port(ide_hwif_t *);
937 static inline void ide_proc_register_port(ide_hwif_t *hwif) { ; } in ide_proc_register_port()
938 static inline void ide_proc_port_register_devices(ide_hwif_t *hwif) { ; } in ide_proc_port_register_devices()
940 static inline void ide_proc_unregister_port(ide_hwif_t *hwif) { ; } in ide_proc_unregister_port()
1082 void ide_exec_command(ide_hwif_t *, u8);
1083 u8 ide_read_status(ide_hwif_t *);
1084 u8 ide_read_altstatus(ide_hwif_t *);
1085 void ide_write_devctl(ide_hwif_t *, u8);
1161 extern int ide_wait_not_busy(ide_hwif_t *hwif, unsigned long timeout);
1192 unsigned long ide_pci_dma_base(ide_hwif_t *, const struct ide_port_info *);
1193 int ide_pci_check_simplex(ide_hwif_t *, const struct ide_port_info *);
1194 int ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *);
1196 static inline int ide_hwif_setup_dma(ide_hwif_t *hwif, in ide_hwif_setup_dma()
1292 void (*init_iops)(ide_hwif_t *);
1293 void (*init_hwif)(ide_hwif_t *);
1294 int (*init_dma)(ide_hwif_t *,
1361 int ide_allocate_dma_engine(ide_hwif_t *);
1362 void ide_release_dma_engine(ide_hwif_t *);
1376 u8 ide_dma_sff_read_status(ide_hwif_t *);
1396 static inline void ide_release_dma_engine(ide_hwif_t *hwif) { ; } in ide_release_dma_engine()
1405 bool ide_port_acpi(ide_hwif_t *hwif);
1407 extern void ide_acpi_get_timing(ide_hwif_t *hwif);
1408 extern void ide_acpi_push_timing(ide_hwif_t *hwif);
1409 void ide_acpi_init_port(ide_hwif_t *);
1410 void ide_acpi_port_init_devices(ide_hwif_t *);
1411 extern void ide_acpi_set_state(ide_hwif_t *hwif, int on);
1414 static inline bool ide_port_acpi(ide_hwif_t *hwif) { return 0; } in ide_port_acpi()
1416 static inline void ide_acpi_get_timing(ide_hwif_t *hwif) { ; } in ide_acpi_get_timing()
1417 static inline void ide_acpi_push_timing(ide_hwif_t *hwif) { ; } in ide_acpi_push_timing()
1418 static inline void ide_acpi_init_port(ide_hwif_t *hwif) { ; } in ide_acpi_init_port()
1419 static inline void ide_acpi_port_init_devices(ide_hwif_t *hwif) { ; } in ide_acpi_port_init_devices()
1420 static inline void ide_acpi_set_state(ide_hwif_t *hwif, int on) {} in ide_acpi_set_state()
1429 void ide_port_apply_params(ide_hwif_t *);
1430 int ide_sysfs_register_port(ide_hwif_t *);
1441 void ide_port_unregister_devices(ide_hwif_t *);
1442 void ide_port_scan(ide_hwif_t *);
1444 static inline void *ide_get_hwifdata (ide_hwif_t * hwif) in ide_get_hwifdata()
1449 static inline void ide_set_hwifdata (ide_hwif_t * hwif, void *data) in ide_set_hwifdata()
1522 static inline int hwif_to_node(ide_hwif_t *hwif) in hwif_to_node()