| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | amiflop.c | 244 #define SELMASK(drive) (1 << (3 + (drive & 3))) argument 358 static inline int try_fdc(int drive) in try_fdc() 364 static void get_fdc(int drive) in get_fdc() 393 static void fd_select (int drive) in fd_select() 417 static void fd_deselect (int drive) in fd_deselect() 489 unsigned long drive = ((unsigned long)timer - in fd_motor_off() local 508 int drive; in floppy_off() local 514 static int fd_calibrate(int drive) in fd_calibrate() 566 static int fd_seek(int drive, int track) in fd_seek() 623 static unsigned long fd_get_drive_id(int drive) in fd_get_drive_id() [all …]
|
| H A D | floppy.c | 605 static inline bool drive_no_geom(int drive) in drive_no_geom() 611 static inline int fd_eject(int drive) in fd_eject() 672 static void __reschedule_timeout(int drive, const char *message) in __reschedule_timeout() 688 static void reschedule_timeout(int drive, const char *message) in reschedule_timeout() 733 static int disk_change(int drive) in disk_change() 796 unsigned char drive; in set_dor() local 825 static void twaddle(int fdc, int drive) in twaddle() 841 int drive; in reset_fdc_info() local 857 static void set_fdc(int drive) in set_fdc() 889 static int lock_fdc(int drive) in lock_fdc() [all …]
|
| H A D | ataflop.c | 364 #define IS_BUFFERED(drive,side,track) \ argument 508 static void fd_select_drive( int drive ) in fd_select_drive() 599 static int drive = 0; in check_change() local 724 static int do_format(int drive, int type, struct atari_format_descr *desc) in do_format() 808 static void do_fd_action( int drive ) in do_fd_action() 1410 unsigned int drive = p - unit; in floppy_check_events() local 1432 unsigned int drive = p - unit; in floppy_revalidate() local 1456 static void setup_req_params( int drive ) in setup_req_params() 1488 int drive = floppy - unit; in ataflop_queue_rq() local 1564 int drive = floppy - unit; in fd_locked_ioctl() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | ide.c | 72 int ide_device_get(ide_drive_t *drive) in ide_device_get() 99 void ide_device_put(ide_drive_t *drive) in ide_device_put() 118 ide_drive_t *drive = to_ide_device(dev); in ide_uevent() local 128 ide_drive_t *drive = to_ide_device(dev); in generic_ide_probe() local 136 ide_drive_t *drive = to_ide_device(dev); in generic_ide_remove() local 147 ide_drive_t *drive = to_ide_device(dev); in generic_ide_shutdown() local 281 static void ide_dev_apply_params(ide_drive_t *drive, u8 unit) in ide_dev_apply_params() 357 ide_drive_t *drive; in ide_port_apply_params() local
|
| H A D | ide-disk_proc.c | 10 static int smart_enable(ide_drive_t *drive) in smart_enable() 26 static int get_smart_data(ide_drive_t *drive, u8 *buf, u8 sub_cmd) in get_smart_data() 46 ide_drive_t *drive = (ide_drive_t *) m->private; in idedisk_cache_proc_show() local 57 ide_drive_t*drive = (ide_drive_t *)m->private; in idedisk_capacity_proc_show() local 63 static int __idedisk_proc_show(struct seq_file *m, ide_drive_t *drive, u8 sub_cmd) in __idedisk_proc_show()
|
| H A D | qd65xx.c | 93 static void qd65xx_dev_select(ide_drive_t *drive) in qd65xx_dev_select() 151 static int qd_find_disk_type (ide_drive_t *drive, in qd_find_disk_type() 181 static void qd_set_timing (ide_drive_t *drive, u8 timing) in qd_set_timing() 192 static void qd6500_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in qd6500_set_pio_mode() 212 static void qd6580_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in qd6580_set_pio_mode() 290 static void __init qd6500_init_dev(ide_drive_t *drive) in qd6500_init_dev() 299 static void __init qd6580_init_dev(ide_drive_t *drive) in qd6580_init_dev()
|
| H A D | it821x.c | 112 static void it821x_program(ide_drive_t *drive, u16 timing) in it821x_program() 138 static void it821x_program_udma(ide_drive_t *drive, u16 timing) in it821x_program_udma() 168 static void it821x_clock_strategy(ide_drive_t *drive) in it821x_clock_strategy() 239 static void it821x_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in it821x_set_pio_mode() 281 static void it821x_tune_mwdma(ide_drive_t *drive, u8 mode_wanted) in it821x_tune_mwdma() 318 static void it821x_tune_udma(ide_drive_t *drive, u8 mode_wanted) in it821x_tune_udma() 361 static void it821x_dma_start(ide_drive_t *drive) in it821x_dma_start() 383 static int it821x_dma_end(ide_drive_t *drive) in it821x_dma_end() 403 static void it821x_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in it821x_set_dma_mode() 442 static void it821x_quirkproc(ide_drive_t *drive) in it821x_quirkproc()
|
| H A D | ide-lib.c | 26 static void ide_dump_sector(ide_drive_t *drive) in ide_dump_sector() 50 static void ide_dump_ata_error(ide_drive_t *drive, u8 err) in ide_dump_ata_error() 80 static void ide_dump_atapi_error(ide_drive_t *drive, u8 err) in ide_dump_atapi_error() 108 u8 ide_dump_status(ide_drive_t *drive, const char *msg, u8 stat) in ide_dump_status()
|
| H A D | siimage.c | 114 static inline unsigned long siimage_seldev(ide_drive_t *drive, int r) in siimage_seldev() 195 static u8 sil_pata_udma_filter(ide_drive_t *drive) in sil_pata_udma_filter() 223 static u8 sil_sata_udma_filter(ide_drive_t *drive) in sil_sata_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() 359 static int siimage_mmio_dma_test_irq(ide_drive_t *drive) in siimage_mmio_dma_test_irq() 393 static int siimage_dma_test_irq(ide_drive_t *drive) in siimage_dma_test_irq() 409 static blk_status_t sil_sata_reset_poll(ide_drive_t *drive) in sil_sata_reset_poll() 437 static void sil_sata_pre_reset(ide_drive_t *drive) in sil_sata_pre_reset() 605 static int is_dev_seagate_sata(ide_drive_t *drive) in is_dev_seagate_sata() [all …]
|
| H A D | tx4939ide.c | 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() 173 static void tx4939ide_clear_irq(ide_drive_t *drive) in tx4939ide_clear_irq() 200 static void tx4939ide_dma_host_set(ide_drive_t *drive, int on) in tx4939ide_dma_host_set() 234 static int tx4939ide_build_dmatable(ide_drive_t *drive, struct ide_cmd *cmd) in tx4939ide_build_dmatable() 287 static int tx4939ide_dma_setup(ide_drive_t *drive, struct ide_cmd *cmd) in tx4939ide_dma_setup() 314 static int tx4939ide_dma_end(ide_drive_t *drive) in tx4939ide_dma_end() 342 static int tx4939ide_dma_test_irq(ide_drive_t *drive) in tx4939ide_dma_test_irq() 420 static void tx4939ide_tf_load_fixup(ide_drive_t *drive) in tx4939ide_tf_load_fixup() 435 static void tx4939ide_tf_load(ide_drive_t *drive, struct ide_taskfile *tf, in tx4939ide_tf_load() [all …]
|
| H A D | ide-park.c | 10 static void issue_park_cmd(ide_drive_t *drive, unsigned long timeout) in issue_park_cmd() 65 ide_startstop_t ide_do_park_unpark(ide_drive_t *drive, struct request *rq) in ide_do_park_unpark() 95 ide_drive_t *drive = to_ide_device(dev); in ide_park_show() local 119 ide_drive_t *drive = to_ide_device(dev); in ide_park_store() local
|
| H A D | hpt366.c | 535 static bool check_in_drive_list(ide_drive_t *drive, const char **list) in check_in_drive_list() 553 static u8 hpt3xx_udma_filter(ide_drive_t *drive) in hpt3xx_udma_filter() 593 static u8 hpt3xx_mdma_filter(ide_drive_t *drive) 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() 658 static void hpt3xx_maskproc(ide_drive_t *drive, int mask) in hpt3xx_maskproc() 688 static void hpt366_dma_lost_irq(ide_drive_t *drive) in hpt366_dma_lost_irq() 703 static void hpt370_clear_engine(ide_drive_t *drive) in hpt370_clear_engine() 712 static void hpt370_irq_timeout(ide_drive_t *drive) in hpt370_irq_timeout() 729 static void hpt370_dma_start(ide_drive_t *drive) in hpt370_dma_start() [all …]
|
| H A D | ns87415.c | 65 static void superio_tf_read(ide_drive_t *drive, struct ide_taskfile *tf, in superio_tf_read() 123 static void ns87415_prepare_drive (ide_drive_t *drive, unsigned int use_dma) in ns87415_prepare_drive() 171 static void ns87415_dev_select(ide_drive_t *drive) in ns87415_dev_select() 179 static void ns87415_dma_start(ide_drive_t *drive) in ns87415_dma_start() 185 static int ns87415_dma_end(ide_drive_t *drive) in ns87415_dma_end()
|
| H A D | ide-io-std.c | 78 void ide_dev_select(ide_drive_t *drive) in ide_dev_select() 90 void ide_tf_load(ide_drive_t *drive, struct ide_taskfile *tf, u8 valid) in ide_tf_load() 117 void ide_tf_read(ide_drive_t *drive, struct ide_taskfile *tf, u8 valid) in ide_tf_read() 165 void ide_input_data(ide_drive_t *drive, struct ide_cmd *cmd, void *buf, in ide_input_data() 209 void ide_output_data(ide_drive_t *drive, struct ide_cmd *cmd, void *buf, in ide_output_data()
|
| H A 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() 143 static u8 ali_udma_filter(ide_drive_t *drive) in ali_udma_filter() 164 static void ali_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in ali_set_dma_mode() 210 static int ali_dma_check(ide_drive_t *drive, struct ide_cmd *cmd) in ali_dma_check()
|
| H A D | pmac.c | 410 static void pmac_ide_apply_timings(ide_drive_t *drive) in pmac_ide_apply_timings() 427 static void pmac_ide_kauai_apply_timings(ide_drive_t *drive) in pmac_ide_kauai_apply_timings() 446 pmac_ide_do_update_timings(ide_drive_t *drive) in pmac_ide_do_update_timings() 459 static void pmac_dev_select(ide_drive_t *drive) in pmac_dev_select() 467 static void pmac_kauai_dev_select(ide_drive_t *drive) in pmac_kauai_dev_select() 492 static void pmac_ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pmac_ide_set_pio_mode() 639 set_timings_mdma(ide_drive_t *drive, int intf_type, u32 *timings, u32 *timings2, in set_timings_mdma() 773 static void pmac_ide_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pmac_ide_set_dma_mode() 941 static void pmac_ide_init_dev(ide_drive_t *drive) in pmac_ide_init_dev() 1452 static int pmac_ide_build_dmatable(ide_drive_t *drive, struct ide_cmd *cmd) in pmac_ide_build_dmatable() [all …]
|
| H A D | sc1200.c | 81 static void sc1200_tunepio(ide_drive_t *drive, u8 pio) in sc1200_tunepio() 104 static u8 sc1200_udma_filter(ide_drive_t *drive) in sc1200_udma_filter() 126 static void sc1200_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sc1200_set_dma_mode() 171 static int sc1200_dma_end(ide_drive_t *drive) in sc1200_dma_end() 197 static void sc1200_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sc1200_set_pio_mode()
|
| H A D | cs5536.c | 80 static void cs5536_program_dtc(ide_drive_t *drive, u8 tim) in cs5536_program_dtc() 120 static void cs5536_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5536_set_pio_mode() 168 static void cs5536_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5536_set_dma_mode() 199 static void cs5536_dma_start(ide_drive_t *drive) in cs5536_dma_start() 210 static int cs5536_dma_end(ide_drive_t *drive) in cs5536_dma_end()
|
| H A 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() 65 static int tc86c001_timer_expiry(ide_drive_t *drive) in tc86c001_timer_expiry() 112 static void tc86c001_dma_start(ide_drive_t *drive) in tc86c001_dma_start()
|
| H A D | cmd64x.c | 55 static void cmd64x_program_timings(ide_drive_t *drive, u8 mode) in cmd64x_program_timings() 137 static void cmd64x_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cmd64x_set_pio_mode() 151 static void cmd64x_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cmd64x_set_dma_mode() 190 static void cmd648_clear_irq(ide_drive_t *drive) in cmd648_clear_irq() 204 static void cmd64x_clear_irq(ide_drive_t *drive) in cmd64x_clear_irq() 253 static int cmd646_1_dma_end(ide_drive_t *drive) in cmd646_1_dma_end()
|
| H A D | icside.c | 168 static void icside_maskproc(ide_drive_t *drive, int mask) in icside_maskproc() 238 static void icside_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in icside_set_dma_mode() 285 static void icside_dma_host_set(ide_drive_t *drive, int on) in icside_dma_host_set() 289 static int icside_dma_end(ide_drive_t *drive) in icside_dma_end() 299 static void icside_dma_start(ide_drive_t *drive) in icside_dma_start() 309 static int icside_dma_setup(ide_drive_t *drive, struct ide_cmd *cmd) in icside_dma_setup() 351 static int icside_dma_test_irq(ide_drive_t *drive) in icside_dma_test_irq()
|
| H A D | serverworks.c | 56 static int check_in_drive_lists (ide_drive_t *drive, const char **list) in check_in_drive_lists() 66 static u8 svwks_udma_filter(ide_drive_t *drive) in svwks_udma_filter() 110 static void svwks_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in svwks_set_pio_mode() 135 static void svwks_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in svwks_set_dma_mode()
|
| H A D | cmd640.c | 380 static void __set_prefetch_mode(ide_drive_t *drive, int mode) in __set_prefetch_mode() 400 static void __init check_prefetch(ide_drive_t *drive, unsigned int index) in check_prefetch() 411 static void set_prefetch_mode(ide_drive_t *drive, unsigned int index, int mode) in set_prefetch_mode() 459 static void program_drive_counts(ide_drive_t *drive, unsigned int index) in program_drive_counts() 515 static void cmd640_set_mode(ide_drive_t *drive, unsigned int index, in cmd640_set_mode() 577 static void cmd640_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cmd640_set_pio_mode() 611 static void __init cmd640_init_dev(ide_drive_t *drive) in cmd640_init_dev()
|
| H A D | cs5530.c | 53 static void cs5530_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5530_set_pio_mode() 81 static u8 cs5530_udma_filter(ide_drive_t *drive) in cs5530_udma_filter() 103 static void cs5530_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5530_set_dma_mode()
|
| H A D | ide-acpi.c | 226 static int do_drive_get_GTF(ide_drive_t *drive, in do_drive_get_GTF() 307 static int do_drive_set_taskfiles(ide_drive_t *drive, in do_drive_set_taskfiles() 362 int ide_acpi_exec_tfs(ide_drive_t *drive) in ide_acpi_exec_tfs() 518 ide_drive_t *drive; in ide_acpi_set_state() local 568 ide_drive_t *drive; in ide_acpi_port_init_devices() local
|