/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | ide.h | 315 * Now for the data we need to maintain per-drive: ide_drive_t 648 } ide_drive_t; typedef in typeref:struct:ide_drive_s 650 #define to_ide_device(dev)container_of(dev, ide_drive_t, gendev) 672 ide_drive_t drives[MAX_DRIVES]; /* drive info */ 690 void (*rw_disk)(ide_drive_t *, struct request *); 693 void (*tuneproc)(ide_drive_t *, u8); 695 int (*speedproc)(ide_drive_t *, u8); 697 void (*selectproc)(ide_drive_t *); 699 int (*reset_poll)(ide_drive_t *); 701 void (*pre_reset)(ide_drive_t *); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/ |
H A D | ide-dma.c | 164 ide_startstop_t ide_dma_intr (ide_drive_t *drive) 203 int ide_build_sglist(ide_drive_t *drive, struct request *rq) 236 int ide_build_dmatable (ide_drive_t *drive, struct request *rq) 328 void ide_destroy_dmatable (ide_drive_t *drive) 350 static int config_drive_for_dma (ide_drive_t *drive) 392 static int dma_timer_expiry (ide_drive_t *drive) 426 void ide_dma_host_off(ide_drive_t *drive) 444 void ide_dma_off_quietly(ide_drive_t *drive) 463 void ide_dma_off(ide_drive_t *drive) 480 void ide_dma_host_on(ide_drive_t *driv [all...] |
H A D | ide-disk.c | 74 ide_drive_t *drive; 162 static ide_startstop_t __ide_do_rw_disk(ide_drive_t *drive, struct request *rq, sector_t block) 305 static ide_startstop_t ide_do_rw_disk (ide_drive_t *drive, struct request *rq, sector_t block) 334 static unsigned long idedisk_read_native_max_address(ide_drive_t *drive) 359 static unsigned long long idedisk_read_native_max_address_ext(ide_drive_t *drive) 392 static unsigned long idedisk_set_max_address(ide_drive_t *drive, unsigned long addr_req) 420 static unsigned long long idedisk_set_max_address_ext(ide_drive_t *drive, unsigned long long addr_req) 482 static void idedisk_check_hpa(ide_drive_t *drive) 528 static void init_idedisk_capacity (ide_drive_t *drive) 555 static sector_t idedisk_capacity (ide_drive_t *driv [all...] |
H A D | ide-proc.c | 106 ide_drive_t *drive = (ide_drive_t *)data; 155 static int __ide_add_setting(ide_drive_t *drive, const char *name, int rw, int data_type, int min, int max, int mul_factor, int div_factor, void *data, ide_procset_t *set, int auto_remove) 188 int ide_add_setting(ide_drive_t *drive, const char *name, int rw, int data_type, int min, int max, int mul_factor, int div_factor, void *data, ide_procset_t *set) 204 static void __ide_remove_setting (ide_drive_t *drive, char *name) 230 static void auto_remove_settings (ide_drive_t *drive) 254 static ide_settings_t *ide_find_setting_by_name(ide_drive_t *drive, char *name) 279 static int ide_read_setting(ide_drive_t *drive, ide_settings_t *setting) 303 static int ide_write_setting(ide_drive_t *drive, ide_settings_t *setting, int val) 330 static int set_xfer_rate (ide_drive_t *driv [all...] |
H A D | ide-io.c | 57 static int __ide_end_request(ide_drive_t *drive, struct request *rq, 104 int ide_end_request (ide_drive_t *drive, int uptodate, int nr_sectors) 142 static void ide_complete_power_step(ide_drive_t *drive, struct request *rq, u8 stat, u8 error) 168 static ide_startstop_t ide_start_power_step(ide_drive_t *drive, struct request *rq) 249 int ide_end_dequeued_request(ide_drive_t *drive, struct request *rq, 299 static void ide_complete_pm_request (ide_drive_t *drive, struct request *rq) 320 u64 ide_get_error_location(ide_drive_t *drive, char *args) 366 void ide_end_drive_cmd (ide_drive_t *drive, u8 stat, u8 err) 462 static void try_to_flush_leftover_data (ide_drive_t *drive) 477 static void ide_kill_rq(ide_drive_t *driv [all...] |
H A D | ide-lib.c | 72 u8 ide_rate_filter(ide_drive_t *drive, u8 speed) 104 int ide_use_fast_pio(ide_drive_t *drive) 256 u8 ide_get_best_pio_mode (ide_drive_t *drive, u8 mode_wanted, u8 max_mode, ide_pio_data_t *d) 330 void ide_toggle_bounce(ide_drive_t *drive, int on) 356 int ide_set_xfer_rate(ide_drive_t *drive, u8 rate) 367 static void ide_dump_opcode(ide_drive_t *drive) 403 static u8 ide_dump_ata_status(ide_drive_t *drive, const char *msg, u8 stat) 482 static u8 ide_dump_atapi_status(ide_drive_t *drive, const char *msg, u8 stat) 532 u8 ide_dump_status(ide_drive_t *drive, const char *msg, u8 stat)
|
H A D | ide-cd.c | 62 static void cdrom_saw_media_change (ide_drive_t *drive) 71 static int cdrom_log_sense(ide_drive_t *drive, struct request *rq, 117 void cdrom_analyze_sense_data(ide_drive_t *drive, 296 static void cdrom_prepare_request(ide_drive_t *drive, struct request *rq) 305 static void cdrom_queue_request_sense(ide_drive_t *drive, void *sense, 329 static void cdrom_end_request (ide_drive_t *drive, int uptodate) 379 static void ide_dump_status_no_sense(ide_drive_t *drive, const char *msg, u8 stat) 388 static int cdrom_decode_status(ide_drive_t *drive, int good_stat, int *stat_ret) 574 static int cdrom_timer_expiry(ide_drive_t *drive) 609 static ide_startstop_t cdrom_start_packet_command(ide_drive_t *driv [all...] |
H A D | ide-floppy.c | 89 void (*callback) (ide_drive_t *); /* Called when this packet command is completed */ 204 ide_drive_t *drive; 459 static void idefloppy_discard_data (ide_drive_t *drive, unsigned int bcount) 466 static void idefloppy_write_zeros (ide_drive_t *drive, unsigned int bcount) 480 static int idefloppy_do_end_request(ide_drive_t *drive, int uptodate, int nsecs) 508 static void idefloppy_input_buffers (ide_drive_t *drive, idefloppy_pc_t *pc, unsigned int bcount) 542 static void idefloppy_output_buffers (ide_drive_t *drive, idefloppy_pc_t *pc, unsigned int bcount) 578 static void idefloppy_update_buffers (ide_drive_t *drive, idefloppy_pc_t *pc) 592 static void idefloppy_queue_pc_head (ide_drive_t *drive,idefloppy_pc_t *pc,struct request *rq) 603 static idefloppy_pc_t *idefloppy_next_pc_storage (ide_drive_t *driv [all...] |
H A D | ide-probe.c | 65 static void generic_id(ide_drive_t *drive) 75 static void ide_disk_init_chs(ide_drive_t *drive) 102 static void ide_disk_init_mult_count(ide_drive_t *drive) 133 static inline void do_identify (ide_drive_t *drive, u8 cmd) 274 static int actual_try_to_identify (ide_drive_t *drive, u8 cmd) 352 static int try_to_identify (ide_drive_t *drive, u8 cmd) 423 static int do_probe (ide_drive_t *drive, u8 cmd) 505 static void enable_nest (ide_drive_t *drive) 550 static inline u8 probe_for_drive (ide_drive_t *drive) 691 ide_drive_t *drive [all...] |
H A D | ide-taskfile.c | 64 static void taskfile_input_data(ide_drive_t *drive, void *buffer, u32 wcount) 71 static void taskfile_output_data(ide_drive_t *drive, void *buffer, u32 wcount) 82 int taskfile_lib_get_identify (ide_drive_t *drive, u8 *buf) 97 ide_startstop_t do_rw_taskfile (ide_drive_t *drive, ide_task_t *task) 165 ide_startstop_t set_multmode_intr (ide_drive_t *drive) 183 ide_startstop_t set_geometry_intr (ide_drive_t *drive) 206 ide_startstop_t recal_intr (ide_drive_t *drive) 219 ide_startstop_t task_no_data_intr (ide_drive_t *drive) 238 static u8 wait_drive_not_busy(ide_drive_t *drive) 262 static void ide_pio_sector(ide_drive_t *driv [all...] |
H A D | ide-iops.c | 62 static void ide_outbsync (ide_drive_t *drive, u8 addr, unsigned long port) 124 static void ide_mm_outbsync (ide_drive_t *drive, u8 value, unsigned long port) 161 u32 ide_read_24 (ide_drive_t *drive) 169 void SELECT_DRIVE (ide_drive_t *drive) 178 void SELECT_INTERRUPT (ide_drive_t *drive) 186 void SELECT_MASK (ide_drive_t *drive, int mask) 192 void QUIRK_LIST (ide_drive_t *drive) 205 static void ata_vlb_sync(ide_drive_t *drive, unsigned long port) 215 static void ata_input_data(ide_drive_t *drive, void *buffer, u32 wcount) 237 static void ata_output_data(ide_drive_t *driv [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/pci/ |
H A D | sl82c105.c | 74 static u8 sl82c105_tune_pio(ide_drive_t *drive, u8 pio) 112 static int sl82c105_tune_chipset(ide_drive_t *drive, u8 speed) 164 static int sl82c105_ide_dma_check(ide_drive_t *drive) 190 static int sl82c105_ide_dma_lostirq(ide_drive_t *drive) 230 static void sl82c105_dma_start(ide_drive_t *drive) 239 static int sl82c105_ide_dma_timeout(ide_drive_t *drive) 250 static int sl82c105_ide_dma_on(ide_drive_t *drive) 266 static void sl82c105_dma_off_quietly(ide_drive_t *drive) 285 static void sl82c105_selectproc(ide_drive_t *drive) 309 static void sl82c105_resetproc(ide_drive_t *driv [all...] |
H A D | cs5530.c | 42 static int cs5530_set_xfer_mode (ide_drive_t *drive, u8 mode) 65 static void cs5530_tunepio(ide_drive_t *drive, u8 pio) 83 static void cs5530_tuneproc (ide_drive_t *drive, u8 pio) /* pio=255 means "autotune" */ 110 static u8 cs5530_udma_filter(ide_drive_t *drive) 113 ide_drive_t *mate = &hwif->drives[(drive->dn & 1) ^ 1]; 138 static int cs5530_config_dma(ide_drive_t *drive) 146 static int cs5530_tune_chipset(ide_drive_t *drive, u8 mode)
|
H A D | trm290.c | 146 static void trm290_prepare_drive (ide_drive_t *drive, unsigned int use_dma) 175 static void trm290_selectproc (ide_drive_t *drive) 180 static void trm290_ide_dma_exec_cmd(ide_drive_t *drive, u8 command) 188 static int trm290_ide_dma_setup(ide_drive_t *drive) 218 static void trm290_ide_dma_start(ide_drive_t *drive) 222 static int trm290_ide_dma_end (ide_drive_t *drive) 234 static int trm290_ide_dma_test_irq (ide_drive_t *drive)
|
H A D | triflex.c | 43 static int triflex_tune_chipset(ide_drive_t *drive, u8 xferspeed) 97 static void triflex_tune_drive(ide_drive_t *drive, u8 pio) 103 static int triflex_config_drive_xfer_rate(ide_drive_t *drive)
|
H A D | jmicron.c | 85 static void jmicron_tuneproc (ide_drive_t *drive, byte mode_wanted) 97 static void config_jmicron_chipset_for_pio (ide_drive_t *drive, byte set_speed) 114 static int jmicron_tune_chipset (ide_drive_t *drive, byte xferspeed) 129 static int jmicron_config_drive_for_dma (ide_drive_t *drive)
|
H A D | tc86c001.c | 16 static int tc86c001_tune_chipset(ide_drive_t *drive, u8 speed) 48 static void tc86c001_tune_drive(ide_drive_t *drive, u8 pio) 54 static int tc86c001_timer_expiry(ide_drive_t *drive) 99 static void tc86c001_dma_start(ide_drive_t *drive) 122 static int tc86c001_busproc(ide_drive_t *drive, int state) 156 static int tc86c001_config_drive_xfer_rate(ide_drive_t *drive)
|
H A D | it821x.c | 114 static void it821x_program(ide_drive_t *drive, u16 timing) 138 static void it821x_program_udma(ide_drive_t *drive, u16 timing) 167 static void it821x_clock_strategy(ide_drive_t *drive) 173 ide_drive_t *pair = &hwif->drives[1-unit]; 241 static int it821x_tunepio(ide_drive_t *drive, u8 set_pio) 246 ide_drive_t *pair = &hwif->drives[1 - unit]; 277 static void it821x_tuneproc(ide_drive_t *drive, u8 pio) 294 static void it821x_tune_mwdma (ide_drive_t *drive, byte mode_wanted) 331 static void it821x_tune_udma (ide_drive_t *drive, byte mode_wanted) 363 static void it821x_dma_start(ide_drive_t *driv [all...] |
H A D | sgiioc4.c | 111 sgiioc4_maskproc(ide_drive_t * drive, int mask) 133 sgiioc4_clearirq(ide_drive_t * drive) 191 static void sgiioc4_ide_dma_start(ide_drive_t * drive) 219 sgiioc4_ide_dma_end(ide_drive_t * drive) 278 sgiioc4_ide_dma_on(ide_drive_t * drive) 285 static void sgiioc4_dma_off_quietly(ide_drive_t *drive) 292 static int sgiioc4_ide_dma_check(ide_drive_t *drive) 304 sgiioc4_ide_dma_test_irq(ide_drive_t * drive) 309 static void sgiioc4_dma_host_on(ide_drive_t * drive) 313 static void sgiioc4_dma_host_off(ide_drive_t * driv [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/cris/ |
H A D | ide-cris.c | 230 cris_ide_start_dma(ide_drive_t *drive, cris_dma_descr_type *d, int dir,int type,int len) 266 static int cris_dma_test_irq(ide_drive_t *drive) 502 static void cris_ide_start_dma(ide_drive_t *drive, cris_dma_descr_type *d, int dir, int type, int len) 548 static int cris_dma_test_irq(ide_drive_t *drive) 614 cris_ide_outbsync(ide_drive_t *drive, u8 addr, unsigned long port) 673 static int cris_dma_check (ide_drive_t *drive); 674 static int cris_dma_end (ide_drive_t *drive); 675 static int cris_dma_setup (ide_drive_t *drive); 676 static void cris_dma_exec_cmd (ide_drive_t *drive, u8 command); 677 static int cris_dma_test_irq(ide_drive_t *driv [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/mips/ |
H A D | au1xxx-ide.c | 102 static void auide_tune_drive(ide_drive_t *drive, byte pio) 178 static int auide_tune_chipset (ide_drive_t *drive, u8 speed) 243 static int auide_build_sglist(ide_drive_t *drive, struct request *rq) 260 static int auide_build_dmatable(ide_drive_t *drive) 343 static int auide_dma_end(ide_drive_t *drive) 357 static void auide_dma_start(ide_drive_t *drive ) 362 static void auide_dma_exec_cmd(ide_drive_t *drive, u8 command) 369 static int auide_dma_setup(ide_drive_t *drive) 382 static int auide_dma_check(ide_drive_t *drive) 420 static int auide_dma_test_irq(ide_drive_t *driv [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/mach-au1x00/ |
H A D | au1xxx_ide.h | 72 ide_drive_t *drive; 133 void auide_outbsync(ide_drive_t *drive, u8 addr, unsigned long port); 138 static void auide_tune_drive(ide_drive_t *drive, byte pio); 139 static int auide_tune_chipset (ide_drive_t *drive, u8 speed);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/mach-au1x00/ |
H A D | au1xxx_ide.h | 72 ide_drive_t *drive; 133 void auide_outbsync(ide_drive_t *drive, u8 addr, unsigned long port); 138 static void auide_tune_drive(ide_drive_t *drive, byte pio); 139 static int auide_tune_chipset (ide_drive_t *drive, u8 speed);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/arm/ |
H A D | icside.c | 169 static void icside_maskproc(ide_drive_t *drive, int mask) 209 static void icside_build_sglist(ide_drive_t *drive, struct request *rq) 251 static int icside_set_speed(ide_drive_t *drive, u8 xfer_mode) 305 static void icside_dma_host_off(ide_drive_t *drive) 309 static void icside_dma_off_quietly(ide_drive_t *drive) 314 static void icside_dma_host_on(ide_drive_t *drive) 318 static int icside_dma_on(ide_drive_t *drive) 325 static int icside_dma_check(ide_drive_t *drive) 364 static int icside_dma_end(ide_drive_t *drive) 380 static void icside_dma_start(ide_drive_t *driv [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/ |
H A D | ide-scsi.c | 101 ide_drive_t *drive; 142 static inline idescsi_scsi_t *drive_to_idescsi(ide_drive_t *ide_drive) 157 static void idescsi_discard_data (ide_drive_t *drive, unsigned int bcount) 163 static void idescsi_output_zeros (ide_drive_t *drive, unsigned int bcount) 172 static void idescsi_input_buffers (ide_drive_t *drive, idescsi_pc_t *pc, unsigned int bcount) 207 static void idescsi_output_buffers (ide_drive_t *drive, idescsi_pc_t *pc, unsigned int bcount) 246 static inline void idescsi_transform_pc1 (ide_drive_t *drive, idescsi_pc_t *pc) 288 static inline void idescsi_transform_pc2 (ide_drive_t *drive, idescsi_pc_t *pc) 323 static int idescsi_check_condition(ide_drive_t *drive, struct request *failed_command) 361 static int idescsi_end_request(ide_drive_t *, in [all...] |