/linux-3.3/drivers/ide/ |
D | ide-probe.c | 193 ide_hwif_t *hwif = drive->hwif; in do_identify() local 252 ide_hwif_t *hwif = drive->hwif; in ide_dev_read_id() local 332 ide_hwif_t *hwif = drive->hwif; in ide_busy_sleep() local 382 ide_hwif_t *hwif = drive->hwif; in do_probe() local 538 ide_hwif_t *hwif = container_of(dev, ide_hwif_t, gendev); in hwif_release_dev() local 543 static int ide_register_port(ide_hwif_t *hwif) in ide_register_port() 597 static int ide_port_wait_ready(ide_hwif_t *hwif) in ide_port_wait_ready() 678 static int ide_probe_port(ide_hwif_t *hwif) in ide_probe_port() 721 static void ide_port_tune_devices(ide_hwif_t *hwif) in ide_port_tune_devices() 750 ide_hwif_t *hwif = drive->hwif; in ide_init_queue() local [all …]
|
D | ide-dma-sff.c | 22 ide_hwif_t *hwif = drive->hwif; in config_drive_for_dma() local 53 u8 ide_dma_sff_read_status(ide_hwif_t *hwif) in ide_dma_sff_read_status() 64 static void ide_dma_sff_write_status(ide_hwif_t *hwif, u8 val) in ide_dma_sff_write_status() 84 ide_hwif_t *hwif = drive->hwif; in ide_dma_host_set() local 116 ide_hwif_t *hwif = drive->hwif; in ide_build_dmatable() local 189 ide_hwif_t *hwif = drive->hwif; in ide_dma_setup() local 239 ide_hwif_t *hwif = drive->hwif; in ide_dma_sff_timer_expiry() local 265 ide_hwif_t *hwif = drive->hwif; in ide_dma_start() local 287 ide_hwif_t *hwif = drive->hwif; in ide_dma_end() local 318 ide_hwif_t *hwif = drive->hwif; in ide_dma_test_irq() local
|
D | ide-io-std.c | 41 void ide_exec_command(ide_hwif_t *hwif, u8 cmd) in ide_exec_command() 50 u8 ide_read_status(ide_hwif_t *hwif) in ide_read_status() 59 u8 ide_read_altstatus(ide_hwif_t *hwif) in ide_read_altstatus() 68 void ide_write_devctl(ide_hwif_t *hwif, u8 ctl) in ide_write_devctl() 79 ide_hwif_t *hwif = drive->hwif; in ide_dev_select() local 91 ide_hwif_t *hwif = drive->hwif; in ide_tf_load() local 118 ide_hwif_t *hwif = drive->hwif; in ide_tf_read() local 167 ide_hwif_t *hwif = drive->hwif; in ide_input_data() local 211 ide_hwif_t *hwif = drive->hwif; in ide_output_data() local
|
D | ide-dma.c | 93 ide_hwif_t *hwif = drive->hwif; in ide_dma_intr() local 135 ide_hwif_t *hwif = drive->hwif; in ide_dma_map_sg() local 166 ide_hwif_t *hwif = drive->hwif; in ide_dma_unmap_sg() local 242 ide_hwif_t *hwif = drive->hwif; in ide_get_mode_mask() local 315 ide_hwif_t *hwif = drive->hwif; in ide_find_dma_mode() local 355 ide_hwif_t *hwif = drive->hwif; in ide_tune_dma() local 382 ide_hwif_t *hwif = drive->hwif; in ide_dma_check() local 450 ide_hwif_t *hwif = drive->hwif; in ide_dma_timeout_retry() local 497 void ide_release_dma_engine(ide_hwif_t *hwif) in ide_release_dma_engine() 509 int ide_allocate_dma_engine(ide_hwif_t *hwif) in ide_allocate_dma_engine()
|
D | pdc202xx_old.c | 24 static void pdc202xx_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pdc202xx_set_mode() 79 static void pdc202xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pdc202xx_set_pio_mode() 85 static int pdc202xx_test_irq(ide_hwif_t *hwif) in pdc202xx_test_irq() 106 static u8 pdc2026x_cable_detect(ide_hwif_t *hwif) in pdc2026x_cable_detect() 125 static void pdc_old_enable_66MHz_clock(ide_hwif_t *hwif) in pdc_old_enable_66MHz_clock() 133 static void pdc_old_disable_66MHz_clock(ide_hwif_t *hwif) in pdc_old_disable_66MHz_clock() 141 static void pdc2026x_init_hwif(ide_hwif_t *hwif) in pdc2026x_init_hwif() 151 ide_hwif_t *hwif = drive->hwif; in pdc202xx_dma_start() local 171 ide_hwif_t *hwif = drive->hwif; in pdc202xx_dma_end() local
|
D | scc_pata.c | 128 static void scc_exec_command(ide_hwif_t *hwif, u8 cmd) in scc_exec_command() 136 static u8 scc_read_status(ide_hwif_t *hwif) in scc_read_status() 141 static u8 scc_read_altstatus(ide_hwif_t *hwif) in scc_read_altstatus() 146 static u8 scc_dma_sff_read_status(ide_hwif_t *hwif) in scc_dma_sff_read_status() 151 static void scc_write_devctl(ide_hwif_t *hwif, u8 ctl) in scc_write_devctl() 209 static void scc_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in scc_set_pio_mode() 241 static void scc_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in scc_set_dma_mode() 284 ide_hwif_t *hwif = drive->hwif; in scc_dma_host_set() local 310 ide_hwif_t *hwif = drive->hwif; in scc_dma_setup() local 335 ide_hwif_t *hwif = drive->hwif; in scc_dma_start() local [all …]
|
D | tc86c001.c | 17 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() local 114 ide_hwif_t *hwif = drive->hwif; in tc86c001_dma_start() local 134 static u8 tc86c001_cable_detect(ide_hwif_t *hwif) in tc86c001_cable_detect() 147 static void __devinit init_hwif_tc86c001(ide_hwif_t *hwif) in init_hwif_tc86c001()
|
D | tx4939ide.c | 105 #define TX4939IDE_BASE(hwif) ((void __iomem *)(hwif)->extra_base) argument 107 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() 176 ide_hwif_t *hwif; in tx4939ide_clear_irq() local 192 static u8 tx4939ide_cable_detect(ide_hwif_t *hwif) in tx4939ide_cable_detect() 203 ide_hwif_t *hwif = drive->hwif; in tx4939ide_dma_host_set() local 237 ide_hwif_t *hwif = drive->hwif; in tx4939ide_build_dmatable() local 290 ide_hwif_t *hwif = drive->hwif; in tx4939ide_dma_setup() local 317 ide_hwif_t *hwif = drive->hwif; in tx4939ide_dma_end() local [all …]
|
D | ide-io.c | 117 ide_hwif_t *hwif = drive->hwif; in ide_complete_rq() local 225 ide_hwif_t *hwif = drive->hwif; in ide_map_sg() local 395 static inline int ide_lock_port(ide_hwif_t *hwif) in ide_lock_port() 405 static inline void ide_unlock_port(ide_hwif_t *hwif) in ide_unlock_port() 410 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 do_ide_request() local 578 ide_hwif_t *hwif = drive->hwif; in drive_is_ready() local 615 ide_hwif_t *hwif = (ide_hwif_t *)data; in ide_timer_expiry() local 727 static void unexpected_intr(int irq, ide_hwif_t *hwif) in unexpected_intr() 772 ide_hwif_t *hwif = (ide_hwif_t *)dev_id; in ide_intr() local [all …]
|
D | cmd64x.c | 56 ide_hwif_t *hwif = drive->hwif; in cmd64x_program_timings() local 133 static void cmd64x_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cmd64x_set_pio_mode() 147 static void cmd64x_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cmd64x_set_dma_mode() 188 ide_hwif_t *hwif = drive->hwif; in cmd648_clear_irq() local 202 ide_hwif_t *hwif = drive->hwif; in cmd64x_clear_irq() local 214 static int cmd648_test_irq(ide_hwif_t *hwif) in cmd648_test_irq() 228 static int cmd64x_test_irq(ide_hwif_t *hwif) in cmd64x_test_irq() 251 ide_hwif_t *hwif = drive->hwif; in cmd646_1_dma_end() local 288 static u8 cmd64x_cable_detect(ide_hwif_t *hwif) in cmd64x_cable_detect()
|
D | cs5530.c | 40 #define CS5530_BASEREG(hwif) (((hwif)->dma_base & ~0xf) + ((hwif)->channel ? 0x30 : 0x20)) argument 53 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() local 103 static void cs5530_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5530_set_dma_mode() 229 static void __devinit init_hwif_cs5530 (ide_hwif_t *hwif) in init_hwif_cs5530()
|
D | it821x.c | 114 ide_hwif_t *hwif = drive->hwif; in it821x_program() local 140 ide_hwif_t *hwif = drive->hwif; in it821x_program_udma() local 170 ide_hwif_t *hwif = drive->hwif; in it821x_clock_strategy() local 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() local 320 ide_hwif_t *hwif = drive->hwif; in it821x_tune_udma() local 363 ide_hwif_t *hwif = drive->hwif; in it821x_dma_start() local 385 ide_hwif_t *hwif = drive->hwif; in it821x_dma_end() local 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 …]
|
D | siimage.c | 76 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() local 197 ide_hwif_t *hwif = drive->hwif; in sil_pata_udma_filter() local 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() local 411 ide_hwif_t *hwif = drive->hwif; in sil_sata_reset_poll() local 549 static void __devinit init_mmio_iops_siimage(ide_hwif_t *hwif) in init_mmio_iops_siimage() [all …]
|
D | ide-xfer-mode.c | 124 ide_hwif_t *hwif = drive->hwif; in ide_set_pio_mode() local 158 ide_hwif_t *hwif = drive->hwif; in ide_set_dma_mode() local 184 ide_hwif_t *hwif = drive->hwif; in ide_set_pio() local 224 ide_hwif_t *hwif = drive->hwif; in ide_rate_filter() local 251 ide_hwif_t *hwif = drive->hwif; in ide_set_xfer_rate() local
|
D | ide-eh.c | 10 ide_hwif_t *hwif = drive->hwif; in ide_ata_error() local 66 ide_hwif_t *hwif = drive->hwif; in ide_atapi_error() local 169 ide_hwif_t *hwif = drive->hwif; in atapi_reset_pollfunc() local 198 static void ide_reset_report_error(ide_hwif_t *hwif, u8 err) in ide_reset_report_error() 225 ide_hwif_t *hwif = drive->hwif; in reset_pollfunc() local 336 ide_hwif_t *hwif = drive->hwif; in do_reset1() local
|
D | ns87415.c | 54 static u8 superio_read_status(ide_hwif_t *hwif) in superio_read_status() 59 static u8 superio_dma_sff_read_status(ide_hwif_t *hwif) in superio_dma_sff_read_status() 99 static void __devinit superio_init_iops(struct hwif_s *hwif) in superio_init_iops() 124 ide_hwif_t *hwif = drive->hwif; in ns87415_prepare_drive() local 186 ide_hwif_t *hwif = drive->hwif; in ns87415_dma_end() local 204 static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif) in init_hwif_ns87415()
|
D | ide-iops.c | 108 ide_hwif_t *hwif = drive->hwif; in __ide_wait_stat() local 230 ide_hwif_t *hwif = drive->hwif; in eighty_ninty_three() local 344 ide_hwif_t *hwif = drive->hwif; in ide_config_drive_speed() local 447 ide_hwif_t *hwif = drive->hwif; in __ide_set_handler() local 459 ide_hwif_t *hwif = drive->hwif; in ide_set_handler() local 484 ide_hwif_t *hwif = drive->hwif; in ide_execute_command() local 507 int ide_wait_not_busy(ide_hwif_t *hwif, unsigned long timeout) in ide_wait_not_busy()
|
D | serverworks.c | 109 static void svwks_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in svwks_set_pio_mode() 131 static void svwks_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in svwks_set_dma_mode() 261 static u8 ata66_svwks_svwks(ide_hwif_t *hwif) in ata66_svwks_svwks() 273 static u8 ata66_svwks_dell(ide_hwif_t *hwif) in ata66_svwks_dell() 292 static u8 ata66_svwks_cobalt(ide_hwif_t *hwif) in ata66_svwks_cobalt() 304 static u8 svwks_cable_detect(ide_hwif_t *hwif) in svwks_cable_detect()
|
D | alim15x3.c | 51 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 __devinit init_hwif_ali15x3 (ide_hwif_t *hwif) in init_hwif_ali15x3() 467 static int __devinit init_dma_ali15x3(ide_hwif_t *hwif, in init_dma_ali15x3()
|
D | ide-acpi.c | 40 ide_hwif_t *hwif; member 97 bool ide_port_acpi(ide_hwif_t *hwif) in ide_port_acpi() 170 static acpi_handle ide_acpi_hwif_get_handle(ide_hwif_t *hwif) in ide_acpi_hwif_get_handle() 387 void ide_acpi_get_timing(ide_hwif_t *hwif) in ide_acpi_get_timing() 465 void ide_acpi_push_timing(ide_hwif_t *hwif) in ide_acpi_push_timing() 506 void ide_acpi_set_state(ide_hwif_t *hwif, int on) in ide_acpi_set_state() 541 void ide_acpi_init_port(ide_hwif_t *hwif) in ide_acpi_init_port() 555 void ide_acpi_port_init_devices(ide_hwif_t *hwif) in ide_acpi_port_init_devices()
|
D | hpt366.c | 559 ide_hwif_t *hwif = drive->hwif; in hpt3xx_udma_filter() local 598 ide_hwif_t *hwif = drive->hwif; in hpt3xx_mdma_filter() local 631 static void hpt3xx_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) in hpt3xx_set_mode() 655 static void hpt3xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in hpt3xx_set_pio_mode() 663 ide_hwif_t *hwif = drive->hwif; in hpt3xx_maskproc() local 708 ide_hwif_t *hwif = drive->hwif; in hpt370_clear_engine() local 717 ide_hwif_t *hwif = drive->hwif; in hpt370_irq_timeout() local 742 ide_hwif_t *hwif = drive->hwif; in hpt370_dma_end() local 758 ide_hwif_t *hwif = drive->hwif; in hpt374_dma_test_irq() local 779 ide_hwif_t *hwif = drive->hwif; in hpt374_dma_end() local [all …]
|
D | sgiioc4.c | 108 static int sgiioc4_checkirq(ide_hwif_t *hwif) in sgiioc4_checkirq() 123 ide_hwif_t *hwif = drive->hwif; in sgiioc4_clearirq() local 179 ide_hwif_t *hwif = drive->hwif; in sgiioc4_dma_start() local 187 static u32 sgiioc4_ide_dma_stop(ide_hwif_t *hwif, u64 dma_base) in sgiioc4_ide_dma_stop() 206 ide_hwif_t *hwif = drive->hwif; in sgiioc4_dma_end() local 258 static void sgiioc4_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sgiioc4_set_dma_mode() 290 static u8 sgiioc4_read_status(ide_hwif_t *hwif) in sgiioc4_read_status() 310 static int __devinit ide_dma_sgiioc4(ide_hwif_t *hwif, in ide_dma_sgiioc4() 361 ide_hwif_t *hwif = drive->hwif; in sgiioc4_configure_for_dma() local 417 ide_hwif_t *hwif = drive->hwif; in sgiioc4_build_dmatable() local
|
D | pmac.c | 67 ide_hwif_t *hwif; member 418 ide_hwif_t *hwif = drive->hwif; in pmac_ide_apply_timings() local 436 ide_hwif_t *hwif = drive->hwif; in pmac_ide_kauai_apply_timings() local 456 ide_hwif_t *hwif = drive->hwif; in pmac_ide_do_update_timings() local 484 static void pmac_exec_command(ide_hwif_t *hwif, u8 cmd) in pmac_exec_command() 491 static void pmac_write_devctl(ide_hwif_t *hwif, u8 ctl) in pmac_write_devctl() 501 static void pmac_ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pmac_ide_set_pio_mode() 782 static void pmac_ide_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pmac_ide_set_dma_mode() 920 static u8 pmac_ide_cable_detect(ide_hwif_t *hwif) in pmac_ide_cable_detect() 953 ide_hwif_t *hwif = drive->hwif; in pmac_ide_init_dev() local [all …]
|
D | jmicron.c | 29 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()
|
D | piix.c | 68 static void piix_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in piix_set_pio_mode() 137 static void piix_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in piix_set_dma_mode() 227 ide_hwif_t *hwif = drive->hwif; in ich_clear_irq() local 271 static u8 piix_cable_detect(ide_hwif_t *hwif) in piix_cable_detect() 300 static void __devinit init_hwif_piix(ide_hwif_t *hwif) in init_hwif_piix()
|