/linux-4.4.14/drivers/ide/ |
D | ide-disk.c | 55 static void ide_tf_set_cmd(ide_drive_t *drive, struct ide_cmd *cmd, u8 dma) in ide_tf_set_cmd() 81 static ide_startstop_t __ide_do_rw_disk(ide_drive_t *drive, struct request *rq, in __ide_do_rw_disk() 181 static ide_startstop_t ide_do_rw_disk(ide_drive_t *drive, struct request *rq, in ide_do_rw_disk() 205 static u64 idedisk_read_native_max_address(ide_drive_t *drive, int lba48) in idedisk_read_native_max_address() 239 static u64 idedisk_set_max_address(ide_drive_t *drive, u64 addr_req, int lba48) in idedisk_set_max_address() 297 static u64 ide_disk_hpa_get_native_capacity(ide_drive_t *drive, int lba48) in ide_disk_hpa_get_native_capacity() 316 static u64 ide_disk_hpa_set_capacity(ide_drive_t *drive, u64 set_max, int lba48) in ide_disk_hpa_set_capacity() 325 static void idedisk_check_hpa(ide_drive_t *drive) in idedisk_check_hpa() 354 static int ide_disk_get_capacity(ide_drive_t *drive) in ide_disk_get_capacity() 409 static void ide_disk_unlock_native_capacity(ide_drive_t *drive) in ide_disk_unlock_native_capacity() [all …]
|
D | ide-dma.c | 91 ide_startstop_t ide_dma_intr(ide_drive_t *drive) in ide_dma_intr() 117 int ide_dma_good_drive(ide_drive_t *drive) in ide_dma_good_drive() 133 static int ide_dma_map_sg(ide_drive_t *drive, struct ide_cmd *cmd) in ide_dma_map_sg() 164 void ide_dma_unmap_sg(ide_drive_t *drive, struct ide_cmd *cmd) in ide_dma_unmap_sg() 180 void ide_dma_off_quietly(ide_drive_t *drive) in ide_dma_off_quietly() 197 void ide_dma_off(ide_drive_t *drive) in ide_dma_off() 211 void ide_dma_on(ide_drive_t *drive) in ide_dma_on() 219 int __ide_dma_bad_drive(ide_drive_t *drive) in __ide_dma_bad_drive() 239 static unsigned int ide_get_mode_mask(ide_drive_t *drive, u8 base, u8 req_mode) in ide_get_mode_mask() 313 u8 ide_find_dma_mode(ide_drive_t *drive, u8 req_mode) in ide_find_dma_mode() [all …]
|
D | ide-gd.c | 51 ide_drive_t *drive = idkp->drive; in ide_disk_put() local 59 sector_t ide_gd_capacity(ide_drive_t *drive) in ide_gd_capacity() 66 static void ide_gd_remove(ide_drive_t *drive) in ide_gd_remove() 84 ide_drive_t *drive = idkp->drive; in ide_disk_release() local 99 static void ide_gd_resume(ide_drive_t *drive) in ide_gd_resume() 118 static void ide_gd_shutdown(ide_drive_t *drive) 147 static ide_proc_entry_t *ide_disk_proc_entries(ide_drive_t *drive) 152 static const struct ide_proc_devset *ide_disk_proc_devsets(ide_drive_t *drive) 159 static ide_startstop_t ide_gd_do_request(ide_drive_t *drive, 187 ide_drive_t *drive; local [all …]
|
D | ide-atapi.c | 27 static inline int dev_is_idecd(ide_drive_t *drive) in dev_is_idecd() 36 int ide_check_atapi_device(ide_drive_t *drive, const char *s) in ide_check_atapi_device() 89 int ide_queue_pc_tail(ide_drive_t *drive, struct gendisk *disk, in ide_queue_pc_tail() 116 int ide_do_test_unit_ready(ide_drive_t *drive, struct gendisk *disk) in ide_do_test_unit_ready() 127 int ide_do_start_stop(ide_drive_t *drive, struct gendisk *disk, int start) in ide_do_start_stop() 142 int ide_set_media_lock(ide_drive_t *drive, struct gendisk *disk, int on) in ide_set_media_lock() 157 void ide_create_request_sense_cmd(ide_drive_t *drive, struct ide_atapi_pc *pc) in ide_create_request_sense_cmd() 171 void ide_prep_sense(ide_drive_t *drive, struct request *rq) in ide_prep_sense() 223 int ide_queue_sense_rq(ide_drive_t *drive, void *special) in ide_queue_sense_rq() 247 void ide_retry_pc(ide_drive_t *drive) in ide_retry_pc() [all …]
|
D | ide-cd_ioctl.c | 30 ide_drive_t *drive = cdi->handle; in ide_cdrom_release_real() local 43 ide_drive_t *drive = cdi->handle; in ide_cdrom_drive_status() local 91 ide_drive_t *drive = cdi->handle; in ide_cdrom_check_events_real() local 107 int cdrom_eject(ide_drive_t *drive, int ejectflag, in cdrom_eject() 136 int ide_cd_lockdoor(ide_drive_t *drive, int lockflag, in ide_cd_lockdoor() 187 ide_drive_t *drive = cdi->handle; in ide_cdrom_tray_move() local 202 ide_drive_t *drive = cdi->handle; in ide_cdrom_lock_door() local 213 ide_drive_t *drive = cdi->handle; in ide_cdrom_select_speed() local 252 ide_drive_t *drive = cdi->handle; in ide_cdrom_get_last_session() local 273 ide_drive_t *drive = cdi->handle; in ide_cdrom_get_mcn() local [all …]
|
D | ide-tape.c | 141 ide_drive_t *drive; member 256 ide_drive_t *drive = tape->drive; in ide_tape_put() local 268 static void idetape_analyze_error(ide_drive_t *drive) in idetape_analyze_error() 326 static int ide_tape_callback(ide_drive_t *drive, int dsc) in ide_tape_callback() 378 static void ide_tape_stall_queue(ide_drive_t *drive) in ide_tape_stall_queue() 390 static void ide_tape_handle_dsc(ide_drive_t *drive) in ide_tape_handle_dsc() 439 static ide_startstop_t ide_tape_issue_pc(ide_drive_t *drive, in ide_tape_issue_pc() 515 static ide_startstop_t idetape_media_access_finished(ide_drive_t *drive) in idetape_media_access_finished() 566 static ide_startstop_t idetape_do_request(ide_drive_t *drive, in idetape_do_request() 672 static void idetape_create_write_filemark_cmd(ide_drive_t *drive, in idetape_create_write_filemark_cmd() [all …]
|
D | ide-eh.c | 7 static ide_startstop_t ide_ata_error(ide_drive_t *drive, struct request *rq, in ide_ata_error() 63 static ide_startstop_t ide_atapi_error(ide_drive_t *drive, struct request *rq, in ide_atapi_error() 93 static ide_startstop_t __ide_error(ide_drive_t *drive, struct request *rq, in __ide_error() 114 ide_startstop_t ide_error(ide_drive_t *drive, const char *msg, u8 stat) in ide_error() 146 static inline void ide_complete_drive_reset(ide_drive_t *drive, int err) in ide_complete_drive_reset() 167 static ide_startstop_t atapi_reset_pollfunc(ide_drive_t *drive) in atapi_reset_pollfunc() 223 static ide_startstop_t reset_pollfunc(ide_drive_t *drive) in reset_pollfunc() 269 static void ide_disk_pre_reset(ide_drive_t *drive) in ide_disk_pre_reset() 287 static void pre_reset(ide_drive_t *drive) in pre_reset() 334 static ide_startstop_t do_reset1(ide_drive_t *drive, int do_not_try_atapi) in do_reset1() [all …]
|
D | ide-io.c | 57 int ide_end_rq(ide_drive_t *drive, struct request *rq, int error, in ide_end_rq() 74 void ide_complete_cmd(ide_drive_t *drive, struct ide_cmd *cmd, u8 stat, u8 err) in ide_complete_cmd() 115 int ide_complete_rq(ide_drive_t *drive, int error, unsigned int nr_bytes) in ide_complete_rq() 136 void ide_kill_rq(ide_drive_t *drive, struct request *rq) in ide_kill_rq() 155 static void ide_tf_set_specify_cmd(ide_drive_t *drive, struct ide_taskfile *tf) in ide_tf_set_specify_cmd() 165 static void ide_tf_set_restore_cmd(ide_drive_t *drive, struct ide_taskfile *tf) in ide_tf_set_restore_cmd() 171 static void ide_tf_set_setmult_cmd(ide_drive_t *drive, struct ide_taskfile *tf) in ide_tf_set_setmult_cmd() 185 static ide_startstop_t do_special(ide_drive_t *drive) in do_special() 223 void ide_map_sg(ide_drive_t *drive, struct ide_cmd *cmd) in ide_map_sg() 253 static ide_startstop_t execute_drive_cmd (ide_drive_t *drive, in execute_drive_cmd() [all …]
|
D | ide-taskfile.c | 27 void ide_tf_readback(ide_drive_t *drive, struct ide_cmd *cmd) in ide_tf_readback() 57 int taskfile_lib_get_identify(ide_drive_t *drive, u8 *buf) in taskfile_lib_get_identify() 78 ide_startstop_t do_rw_taskfile(ide_drive_t *drive, struct ide_cmd *orig_cmd) in do_rw_taskfile() 148 static ide_startstop_t task_no_data_intr(ide_drive_t *drive) in task_no_data_intr() 198 static u8 wait_drive_not_busy(ide_drive_t *drive) in wait_drive_not_busy() 223 void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd, in ide_pio_bytes() 281 static void ide_pio_datablock(ide_drive_t *drive, struct ide_cmd *cmd, in ide_pio_datablock() 306 static void ide_error_cmd(ide_drive_t *drive, struct ide_cmd *cmd) in ide_error_cmd() 324 void ide_finish_cmd(ide_drive_t *drive, struct ide_cmd *cmd, u8 stat) in ide_finish_cmd() 344 static ide_startstop_t task_pio_intr(ide_drive_t *drive) in task_pio_intr() [all …]
|
D | ide-devsets.c | 10 static int set_io_32bit(ide_drive_t *drive, int arg) in set_io_32bit() 25 static int set_ksettings(ide_drive_t *drive, int arg) in set_ksettings() 40 static int set_using_dma(ide_drive_t *drive, int arg) in set_using_dma() 96 static int set_pio_mode(ide_drive_t *drive, int arg) in set_pio_mode() 136 static int set_unmaskirq(ide_drive_t *drive, int arg) in set_unmaskirq() 158 int ide_devset_execute(ide_drive_t *drive, const struct ide_devset *setting, in ide_devset_execute() 182 ide_startstop_t ide_do_devset(ide_drive_t *drive, struct request *rq) in ide_do_devset()
|
D | ide-cd.c | 77 ide_drive_t *drive = cd->drive; in ide_cd_put() local 90 static void cdrom_saw_media_change(ide_drive_t *drive) in cdrom_saw_media_change() 96 static int cdrom_log_sense(ide_drive_t *drive, struct request *rq) in cdrom_log_sense() 143 static void cdrom_analyze_sense_data(ide_drive_t *drive, in cdrom_analyze_sense_data() 210 static void ide_cd_complete_failed_rq(ide_drive_t *drive, struct request *rq) in ide_cd_complete_failed_rq() 247 static int ide_cd_breathe(ide_drive_t *drive, struct request *rq) in ide_cd_breathe() 274 static int cdrom_decode_status(ide_drive_t *drive, u8 stat) in cdrom_decode_status() 407 static void ide_cd_request_sense_fixup(ide_drive_t *drive, struct ide_cmd *cmd) in ide_cd_request_sense_fixup() 422 int ide_cd_queue_pc(ide_drive_t *drive, const unsigned char *cmd, in ide_cd_queue_pc() 506 static bool ide_cd_error_cmd(ide_drive_t *drive, struct ide_cmd *cmd) in ide_cd_error_cmd() [all …]
|
D | ide-probe.c | 51 static void generic_id(ide_drive_t *drive) in generic_id() 60 static void ide_disk_init_chs(ide_drive_t *drive) in ide_disk_init_chs() 86 static void ide_disk_init_mult_count(ide_drive_t *drive) in ide_disk_init_mult_count() 104 static void ide_classify_ata_dev(ide_drive_t *drive) in ide_classify_ata_dev() 123 static void ide_classify_atapi_dev(ide_drive_t *drive) in ide_classify_atapi_dev() 191 static void do_identify(ide_drive_t *drive, u8 cmd, u16 *id) in do_identify() 250 int ide_dev_read_id(ide_drive_t *drive, u8 cmd, u16 *id, int irq_ctx) in ide_dev_read_id() 330 int ide_busy_sleep(ide_drive_t *drive, unsigned long timeout, int altstatus) in ide_busy_sleep() 350 static u8 ide_read_device(ide_drive_t *drive) in ide_read_device() 380 static int do_probe (ide_drive_t *drive, u8 cmd) in do_probe() [all …]
|
D | ide-ioctls.c | 19 int ide_setting_ioctl(ide_drive_t *drive, struct block_device *bdev, in ide_setting_ioctl() 57 static int ide_get_identity_ioctl(ide_drive_t *drive, unsigned int cmd, in ide_get_identity_ioctl() 87 static int ide_get_nice_ioctl(ide_drive_t *drive, unsigned long arg) in ide_get_nice_ioctl() 95 static int ide_set_nice_ioctl(ide_drive_t *drive, unsigned long arg) in ide_set_nice_ioctl() 117 static int ide_cmd_ioctl(ide_drive_t *drive, unsigned long arg) in ide_cmd_ioctl() 192 static int ide_task_ioctl(ide_drive_t *drive, unsigned long arg) in ide_task_ioctl() 219 static int generic_drive_reset(ide_drive_t *drive) in generic_drive_reset() 234 int generic_ide_ioctl(ide_drive_t *drive, struct block_device *bdev, in generic_ide_ioctl()
|
D | ide-iops.c | 30 void SELECT_MASK(ide_drive_t *drive, int mask) in SELECT_MASK() 38 u8 ide_read_error(ide_drive_t *drive) in ide_read_error() 105 int __ide_wait_stat(ide_drive_t *drive, u8 good, u8 bad, in __ide_wait_stat() 164 int ide_wait_stat(ide_startstop_t *startstop, ide_drive_t *drive, u8 good, in ide_wait_stat() 228 u8 eighty_ninty_three(ide_drive_t *drive) in eighty_ninty_three() 299 void ide_check_nien_quirk_list(ide_drive_t *drive) in ide_check_nien_quirk_list() 310 int ide_driveid_update(ide_drive_t *drive) in ide_driveid_update() 342 int ide_config_drive_speed(ide_drive_t *drive, u8 speed) in ide_config_drive_speed() 444 void __ide_set_handler(ide_drive_t *drive, ide_handler_t *handler, in __ide_set_handler() 456 void ide_set_handler(ide_drive_t *drive, ide_handler_t *handler, in ide_set_handler() [all …]
|
D | trm290.c | 145 static void trm290_prepare_drive (ide_drive_t *drive, unsigned int use_dma) in trm290_prepare_drive() 174 static void trm290_dev_select(ide_drive_t *drive) in trm290_dev_select() 181 static int trm290_dma_check(ide_drive_t *drive, struct ide_cmd *cmd) in trm290_dma_check() 192 static int trm290_dma_setup(ide_drive_t *drive, struct ide_cmd *cmd) in trm290_dma_setup() 209 static void trm290_dma_start(ide_drive_t *drive) in trm290_dma_start() 214 static int trm290_dma_end(ide_drive_t *drive) in trm290_dma_end() 223 static int trm290_dma_test_irq(ide_drive_t *drive) in trm290_dma_test_irq() 230 static void trm290_dma_host_set(ide_drive_t *drive, int on) in trm290_dma_host_set()
|
D | ide-xfer-mode.c | 62 static u8 ide_get_best_pio_mode(ide_drive_t *drive, u8 mode_wanted, u8 max_mode) in ide_get_best_pio_mode() 110 int ide_pio_need_iordy(ide_drive_t *drive, const u8 pio) in ide_pio_need_iordy() 122 int ide_set_pio_mode(ide_drive_t *drive, const u8 mode) in ide_set_pio_mode() 156 int ide_set_dma_mode(ide_drive_t *drive, const u8 mode) in ide_set_dma_mode() 182 void ide_set_pio(ide_drive_t *drive, u8 req_pio) in ide_set_pio() 222 static u8 ide_rate_filter(ide_drive_t *drive, u8 speed) in ide_rate_filter() 249 int ide_set_xfer_rate(ide_drive_t *drive, u8 rate) in ide_set_xfer_rate()
|
D | ide-dma-sff.c | 20 int config_drive_for_dma(ide_drive_t *drive) in config_drive_for_dma() 82 void ide_dma_host_set(ide_drive_t *drive, int on) in ide_dma_host_set() 114 int ide_build_dmatable(ide_drive_t *drive, struct ide_cmd *cmd) in ide_build_dmatable() 187 int ide_dma_setup(ide_drive_t *drive, struct ide_cmd *cmd) in ide_dma_setup() 237 int ide_dma_sff_timer_expiry(ide_drive_t *drive) in ide_dma_sff_timer_expiry() 263 void ide_dma_start(ide_drive_t *drive) in ide_dma_start() 285 int ide_dma_end(ide_drive_t *drive) in ide_dma_end() 316 int ide_dma_test_irq(ide_drive_t *drive) in ide_dma_test_irq()
|
D | ide-sysfs.c | 4 char *ide_media_string(ide_drive_t *drive) in ide_media_string() 25 ide_drive_t *drive = to_ide_device(dev); in media_show() local 33 ide_drive_t *drive = to_ide_device(dev); in drivename_show() local 41 ide_drive_t *drive = to_ide_device(dev); in modalias_show() local 49 ide_drive_t *drive = to_ide_device(dev); in model_show() local 57 ide_drive_t *drive = to_ide_device(dev); in firmware_show() local 65 ide_drive_t *drive = to_ide_device(dev); in serial_show() local
|
D | ide-lib.c | 18 void ide_toggle_bounce(ide_drive_t *drive, int on) in ide_toggle_bounce() 51 static void ide_dump_sector(ide_drive_t *drive) in ide_dump_sector() 75 static void ide_dump_ata_error(ide_drive_t *drive, u8 err) in ide_dump_ata_error() 105 static void ide_dump_atapi_error(ide_drive_t *drive, u8 err) in ide_dump_atapi_error() 133 u8 ide_dump_status(ide_drive_t *drive, const char *msg, u8 stat) in ide_dump_status()
|
D | ht6560b.c | 47 static inline u8 HT_CONFIG(ide_drive_t *drive) in HT_CONFIG() 97 static inline u8 HT_TIMING(ide_drive_t *drive) in HT_TIMING() 114 static void ht6560b_dev_select(ide_drive_t *drive) in ht6560b_dev_select() 199 static u8 ht_pio2timings(ide_drive_t *drive, const u8 pio) in ht_pio2timings() 251 static void ht_set_prefetch(ide_drive_t *drive, u8 state) in ht_set_prefetch() 281 static void ht6560b_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in ht6560b_set_pio_mode() 308 static void __init ht6560b_init_dev(ide_drive_t *drive) in ht6560b_init_dev()
|
D | ide-proc.c | 119 ide_drive_t *drive = (ide_drive_t *)m->private; in ide_identify_proc_show() local 192 static int ide_read_setting(ide_drive_t *drive, in ide_read_setting() 222 static int ide_write_setting(ide_drive_t *drive, in ide_write_setting() 239 static int set_xfer_rate (ide_drive_t *drive, int arg) in set_xfer_rate() 285 ide_drive_t *drive = (ide_drive_t *) m->private; in ide_settings_proc_show() local 336 ide_drive_t *drive = PDE_DATA(file_inode(file)); in ide_settings_proc_write() local 466 ide_drive_t *drive = (ide_drive_t *) m->private; in ide_geometry_proc_show() local 491 ide_drive_t *drive = (ide_drive_t *) seq->private; in ide_dmodel_proc_show() local 513 ide_drive_t *drive = (ide_drive_t *)m->private; in ide_driver_proc_show() local 531 static int ide_replace_subdriver(ide_drive_t *drive, const char *driver) in ide_replace_subdriver() [all …]
|
D | ide-floppy.c | 62 static int ide_floppy_callback(ide_drive_t *drive, int dsc) in ide_floppy_callback() 122 static ide_startstop_t ide_floppy_issue_pc(ide_drive_t *drive, in ide_floppy_issue_pc() 190 static void idefloppy_create_rw_cmd(ide_drive_t *drive, in idefloppy_create_rw_cmd() 228 static ide_startstop_t ide_floppy_do_request(ide_drive_t *drive, in ide_floppy_do_request() 309 static int ide_floppy_get_flexible_disk_page(ide_drive_t *drive, in ide_floppy_get_flexible_disk_page() 372 static int ide_floppy_get_capacity(ide_drive_t *drive) in ide_floppy_get_capacity() 474 static void ide_floppy_setup(ide_drive_t *drive) in ide_floppy_setup() 515 static void ide_floppy_flush(ide_drive_t *drive) in ide_floppy_flush() 519 static int ide_floppy_init_media(ide_drive_t *drive, struct gendisk *disk) in ide_floppy_init_media()
|
D | ide-pm.c | 7 ide_drive_t *drive = to_ide_device(dev); in generic_ide_suspend() local 73 ide_drive_t *drive = to_ide_device(dev); in generic_ide_resume() local 111 void ide_complete_power_step(ide_drive_t *drive, struct request *rq) in ide_complete_power_step() 141 ide_startstop_t ide_start_power_step(ide_drive_t *drive, struct request *rq) in ide_start_power_step() 212 void ide_complete_pm_rq(ide_drive_t *drive, struct request *rq) in ide_complete_pm_rq() 239 void ide_check_pm_state(ide_drive_t *drive, struct request *rq) in ide_check_pm_state()
|
D | sis5513.c | 187 static u8 sis_ata133_get_base(ide_drive_t *drive) in sis_ata133_get_base() 197 static void sis_ata16_program_timings(ide_drive_t *drive, const u8 mode) in sis_ata16_program_timings() 220 static void sis_ata100_program_timings(ide_drive_t *drive, const u8 mode) in sis_ata100_program_timings() 243 static void sis_ata133_program_timings(ide_drive_t *drive, const u8 mode) in sis_ata133_program_timings() 265 static void sis_program_timings(ide_drive_t *drive, const u8 mode) in sis_program_timings() 275 static void config_drive_art_rwp(ide_drive_t *drive) in config_drive_art_rwp() 293 static void sis_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sis_set_pio_mode() 299 static void sis_ata133_program_udma_timings(ide_drive_t *drive, const u8 mode) in sis_ata133_program_udma_timings() 318 static void sis_ata33_program_udma_timings(ide_drive_t *drive, const u8 mode) in sis_ata33_program_udma_timings() 335 static void sis_program_udma_timings(ide_drive_t *drive, const u8 mode) in sis_program_udma_timings() [all …]
|
D | sl82c105.c | 42 static unsigned int get_pio_timings(ide_drive_t *drive, u8 pio) in get_pio_timings() 66 static void sl82c105_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sl82c105_set_pio_mode() 95 static void sl82c105_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sl82c105_set_dma_mode() 147 static void sl82c105_dma_lost_irq(ide_drive_t *drive) in sl82c105_dma_lost_irq() 185 static void sl82c105_dma_start(ide_drive_t *drive) in sl82c105_dma_start() 198 static void sl82c105_dma_clear(ide_drive_t *drive) in sl82c105_dma_clear() 205 static int sl82c105_dma_end(ide_drive_t *drive) in sl82c105_dma_end() 221 static void sl82c105_resetproc(ide_drive_t *drive) in sl82c105_resetproc()
|
D | au1xxx-ide.c | 93 static void au1xxx_input_data(ide_drive_t *drive, struct ide_cmd *cmd, in au1xxx_input_data() 99 static void au1xxx_output_data(ide_drive_t *drive, struct ide_cmd *cmd, in au1xxx_output_data() 106 static void au1xxx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in au1xxx_set_pio_mode() 167 static void auide_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in auide_set_dma_mode() 215 static int auide_build_dmatable(ide_drive_t *drive, struct ide_cmd *cmd) in auide_build_dmatable() 278 static int auide_dma_end(ide_drive_t *drive) in auide_dma_end() 283 static void auide_dma_start(ide_drive_t *drive ) in auide_dma_start() 288 static int auide_dma_setup(ide_drive_t *drive, struct ide_cmd *cmd) in auide_dma_setup() 296 static int auide_dma_test_irq(ide_drive_t *drive) in auide_dma_test_irq() 311 static void auide_dma_host_set(ide_drive_t *drive, int on) in auide_dma_host_set()
|
D | ide-floppy_ioctl.c | 36 static int ide_floppy_get_format_capacities(ide_drive_t *drive, in ide_floppy_get_format_capacities() 119 static int ide_floppy_get_sfrp_bit(ide_drive_t *drive, struct ide_atapi_pc *pc) in ide_floppy_get_sfrp_bit() 138 static int ide_floppy_format_unit(ide_drive_t *drive, struct ide_atapi_pc *pc, in ide_floppy_format_unit() 197 static int ide_floppy_get_format_progress(ide_drive_t *drive, in ide_floppy_get_format_progress() 235 static int ide_floppy_lockdoor(ide_drive_t *drive, struct ide_atapi_pc *pc, in ide_floppy_lockdoor() 253 static int ide_floppy_format_ioctl(ide_drive_t *drive, struct ide_atapi_pc *pc, in ide_floppy_format_ioctl() 273 int ide_floppy_ioctl(ide_drive_t *drive, struct block_device *bdev, in ide_floppy_ioctl()
|
D | ide.c | 71 int ide_device_get(ide_drive_t *drive) in ide_device_get() 98 void ide_device_put(ide_drive_t *drive) in ide_device_put() 117 ide_drive_t *drive = to_ide_device(dev); in ide_uevent() local 127 ide_drive_t *drive = to_ide_device(dev); in generic_ide_probe() local 135 ide_drive_t *drive = to_ide_device(dev); in generic_ide_remove() local 146 ide_drive_t *drive = to_ide_device(dev); in generic_ide_shutdown() local 280 static void ide_dev_apply_params(ide_drive_t *drive, u8 unit) in ide_dev_apply_params() 356 ide_drive_t *drive; in ide_port_apply_params() local
|
D | qd65xx.c | 92 static void qd65xx_dev_select(ide_drive_t *drive) in qd65xx_dev_select() 150 static int qd_find_disk_type (ide_drive_t *drive, in qd_find_disk_type() 180 static void qd_set_timing (ide_drive_t *drive, u8 timing) in qd_set_timing() 191 static void qd6500_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in qd6500_set_pio_mode() 211 static void qd6580_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in qd6580_set_pio_mode() 289 static void __init qd6500_init_dev(ide_drive_t *drive) in qd6500_init_dev() 298 static void __init qd6580_init_dev(ide_drive_t *drive) in qd6580_init_dev()
|
D | ide-disk_proc.c | 9 static int smart_enable(ide_drive_t *drive) in smart_enable() 25 static int get_smart_data(ide_drive_t *drive, u8 *buf, u8 sub_cmd) in get_smart_data() 45 ide_drive_t *drive = (ide_drive_t *) m->private; in idedisk_cache_proc_show() local 69 ide_drive_t*drive = (ide_drive_t *)m->private; in idedisk_capacity_proc_show() local 88 static int __idedisk_proc_show(struct seq_file *m, ide_drive_t *drive, u8 sub_cmd) in __idedisk_proc_show()
|
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()
|
D | ide-park.c | 9 static void issue_park_cmd(ide_drive_t *drive, unsigned long timeout) in issue_park_cmd() 61 ide_startstop_t ide_do_park_unpark(ide_drive_t *drive, struct request *rq) in ide_do_park_unpark() 91 ide_drive_t *drive = to_ide_device(dev); in ide_park_show() local 115 ide_drive_t *drive = to_ide_device(dev); in ide_park_store() local
|
D | sgiioc4.c | 120 static int sgiioc4_clearirq(ide_drive_t *drive) in sgiioc4_clearirq() 177 static void sgiioc4_dma_start(ide_drive_t *drive) in sgiioc4_dma_start() 203 static int sgiioc4_dma_end(ide_drive_t *drive) in sgiioc4_dma_end() 258 static void sgiioc4_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sgiioc4_set_dma_mode() 263 static int sgiioc4_dma_test_irq(ide_drive_t *drive) in sgiioc4_dma_test_irq() 268 static void sgiioc4_dma_host_set(ide_drive_t *drive, int on) in sgiioc4_dma_host_set() 274 static void sgiioc4_resetproc(ide_drive_t *drive) in sgiioc4_resetproc() 283 static void sgiioc4_dma_lost_irq(ide_drive_t *drive) in sgiioc4_dma_lost_irq() 357 static void sgiioc4_configure_for_dma(int dma_direction, ide_drive_t *drive) in sgiioc4_configure_for_dma() 414 static int sgiioc4_build_dmatable(ide_drive_t *drive, struct ide_cmd *cmd) in sgiioc4_build_dmatable() [all …]
|
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 int 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 …]
|
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() 174 static void tx4939ide_clear_irq(ide_drive_t *drive) in tx4939ide_clear_irq() 201 static void tx4939ide_dma_host_set(ide_drive_t *drive, int on) in tx4939ide_dma_host_set() 235 static int tx4939ide_build_dmatable(ide_drive_t *drive, struct ide_cmd *cmd) in tx4939ide_build_dmatable() 288 static int tx4939ide_dma_setup(ide_drive_t *drive, struct ide_cmd *cmd) in tx4939ide_dma_setup() 315 static int tx4939ide_dma_end(ide_drive_t *drive) in tx4939ide_dma_end() 343 static int tx4939ide_dma_test_irq(ide_drive_t *drive) in tx4939ide_dma_test_irq() 422 static void tx4939ide_tf_load_fixup(ide_drive_t *drive) in tx4939ide_tf_load_fixup() 437 static void tx4939ide_tf_load(ide_drive_t *drive, struct ide_taskfile *tf, in tx4939ide_tf_load() [all …]
|
D | hpt366.c | 534 static int check_in_drive_list(ide_drive_t *drive, const char **list) in check_in_drive_list() 557 static u8 hpt3xx_udma_filter(ide_drive_t *drive) in hpt3xx_udma_filter() 596 static u8 hpt3xx_mdma_filter(ide_drive_t *drive) in hpt3xx_mdma_filter() 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() 661 static void hpt3xx_maskproc(ide_drive_t *drive, int mask) in hpt3xx_maskproc() 691 static void hpt366_dma_lost_irq(ide_drive_t *drive) in hpt366_dma_lost_irq() 706 static void hpt370_clear_engine(ide_drive_t *drive) in hpt370_clear_engine() 715 static void hpt370_irq_timeout(ide_drive_t *drive) in hpt370_irq_timeout() 732 static void hpt370_dma_start(ide_drive_t *drive) in hpt370_dma_start() [all …]
|
D | ide-io-std.c | 77 void ide_dev_select(ide_drive_t *drive) in ide_dev_select() 89 void ide_tf_load(ide_drive_t *drive, struct ide_taskfile *tf, u8 valid) in ide_tf_load() 116 void ide_tf_read(ide_drive_t *drive, struct ide_taskfile *tf, u8 valid) in ide_tf_read() 164 void ide_input_data(ide_drive_t *drive, struct ide_cmd *cmd, void *buf, in ide_input_data() 208 void ide_output_data(ide_drive_t *drive, struct ide_cmd *cmd, void *buf, in ide_output_data()
|
D | ns87415.c | 64 static void superio_tf_read(ide_drive_t *drive, struct ide_taskfile *tf, in superio_tf_read() 122 static void ns87415_prepare_drive (ide_drive_t *drive, unsigned int use_dma) in ns87415_prepare_drive() 170 static void ns87415_dev_select(ide_drive_t *drive) in ns87415_dev_select() 178 static void ns87415_dma_start(ide_drive_t *drive) in ns87415_dma_start() 184 static int ns87415_dma_end(ide_drive_t *drive) in ns87415_dma_end()
|
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()
|
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()
|
D | cs5536.c | 92 static void cs5536_program_dtc(ide_drive_t *drive, u8 tim) in cs5536_program_dtc() 132 static void cs5536_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5536_set_pio_mode() 180 static void cs5536_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5536_set_dma_mode() 211 static void cs5536_dma_start(ide_drive_t *drive) in cs5536_dma_start() 222 static int cs5536_dma_end(ide_drive_t *drive) in cs5536_dma_end()
|
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()
|
D | cmd64x.c | 54 static void cmd64x_program_timings(ide_drive_t *drive, u8 mode) in cmd64x_program_timings() 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() 186 static void cmd648_clear_irq(ide_drive_t *drive) in cmd648_clear_irq() 200 static void cmd64x_clear_irq(ide_drive_t *drive) in cmd64x_clear_irq() 249 static int cmd646_1_dma_end(ide_drive_t *drive) in cmd646_1_dma_end()
|
D | pmac.c | 416 static void pmac_ide_apply_timings(ide_drive_t *drive) in pmac_ide_apply_timings() 433 static void pmac_ide_kauai_apply_timings(ide_drive_t *drive) in pmac_ide_kauai_apply_timings() 452 pmac_ide_do_update_timings(ide_drive_t *drive) in pmac_ide_do_update_timings() 465 static void pmac_dev_select(ide_drive_t *drive) in pmac_dev_select() 473 static void pmac_kauai_dev_select(ide_drive_t *drive) in pmac_kauai_dev_select() 498 static void pmac_ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pmac_ide_set_pio_mode() 645 set_timings_mdma(ide_drive_t *drive, int intf_type, u32 *timings, u32 *timings2, in set_timings_mdma() 778 static void pmac_ide_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pmac_ide_set_dma_mode() 945 static void pmac_ide_init_dev(ide_drive_t *drive) in pmac_ide_init_dev() 1457 static int pmac_ide_build_dmatable(ide_drive_t *drive, struct ide_cmd *cmd) in pmac_ide_build_dmatable() [all …]
|
D | serverworks.c | 55 static int check_in_drive_lists (ide_drive_t *drive, const char **list) in check_in_drive_lists() 65 static u8 svwks_udma_filter(ide_drive_t *drive) in svwks_udma_filter() 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()
|
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()
|
D | icside.c | 167 static void icside_maskproc(ide_drive_t *drive, int mask) in icside_maskproc() 237 static void icside_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in icside_set_dma_mode() 284 static void icside_dma_host_set(ide_drive_t *drive, int on) in icside_dma_host_set() 288 static int icside_dma_end(ide_drive_t *drive) in icside_dma_end() 298 static void icside_dma_start(ide_drive_t *drive) in icside_dma_start() 308 static int icside_dma_setup(ide_drive_t *drive, struct ide_cmd *cmd) in icside_dma_setup() 350 static int icside_dma_test_irq(ide_drive_t *drive) in icside_dma_test_irq()
|
D | cmd640.c | 379 static void __set_prefetch_mode(ide_drive_t *drive, int mode) in __set_prefetch_mode() 399 static void __init check_prefetch(ide_drive_t *drive, unsigned int index) in check_prefetch() 410 static void set_prefetch_mode(ide_drive_t *drive, unsigned int index, int mode) in set_prefetch_mode() 458 static void program_drive_counts(ide_drive_t *drive, unsigned int index) in program_drive_counts() 514 static void cmd640_set_mode(ide_drive_t *drive, unsigned int index, in cmd640_set_mode() 576 static void cmd640_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cmd640_set_pio_mode() 610 static void __init cmd640_init_dev(ide_drive_t *drive) in cmd640_init_dev()
|
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() 146 static void pdc202xx_dma_start(ide_drive_t *drive) in pdc202xx_dma_start() 168 static int pdc202xx_dma_end(ide_drive_t *drive) in pdc202xx_dma_end()
|
D | ide-acpi.c | 225 static int do_drive_get_GTF(ide_drive_t *drive, in do_drive_get_GTF() 306 static int do_drive_set_taskfiles(ide_drive_t *drive, in do_drive_set_taskfiles() 361 int ide_acpi_exec_tfs(ide_drive_t *drive) in ide_acpi_exec_tfs() 517 ide_drive_t *drive; in ide_acpi_set_state() local 567 ide_drive_t *drive; in ide_acpi_port_init_devices() local
|
D | tx4938ide.c | 59 static void tx4938ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in tx4938ide_set_pio_mode() 74 static void tx4938ide_input_data_swap(ide_drive_t *drive, struct ide_cmd *cmd, in tx4938ide_input_data_swap() 86 static void tx4938ide_output_data_swap(ide_drive_t *drive, struct ide_cmd *cmd, in tx4938ide_output_data_swap()
|
D | cs5535.c | 76 static void cs5535_set_speed(ide_drive_t *drive, const u8 speed) in cs5535_set_speed() 138 static void cs5535_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5535_set_dma_mode() 151 static void cs5535_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5535_set_pio_mode()
|
D | triflex.c | 37 static void triflex_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) in triflex_set_mode() 84 static void triflex_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in triflex_set_pio_mode()
|
D | cs5520.c | 60 static void cs5520_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5520_set_pio_mode() 84 static void cs5520_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5520_set_dma_mode()
|
D | jmicron.c | 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 | falconide.c | 66 static void falconide_input_data(ide_drive_t *drive, struct ide_cmd *cmd, in falconide_input_data() 79 static void falconide_output_data(ide_drive_t *drive, struct ide_cmd *cmd, in falconide_output_data()
|
D | it8172.c | 40 static void it8172_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in it8172_set_pio_mode() 80 static void it8172_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in it8172_set_dma_mode()
|
D | q40ide.c | 73 static void q40ide_input_data(ide_drive_t *drive, struct ide_cmd *cmd, in q40ide_input_data() 86 static void q40ide_output_data(ide_drive_t *drive, struct ide_cmd *cmd, in q40ide_output_data()
|
D | ide-timings.c | 81 u16 ide_pio_cycle_time(ide_drive_t *drive, u8 pio) in ide_pio_cycle_time() 144 int ide_timing_compute(ide_drive_t *drive, u8 speed, in ide_timing_compute()
|
D | aec62xx.c | 84 static void aec6210_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) in aec6210_set_mode() 112 static void aec6260_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) in aec6260_set_mode() 137 static void aec_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in aec_set_pio_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() 225 static void ich_clear_irq(ide_drive_t *drive) in ich_clear_irq()
|
D | qd65xx.h | 34 static inline u8 QD_TIMING(ide_drive_t *drive) in QD_TIMING() 39 static inline u8 QD_TIMREG(ide_drive_t *drive) in QD_TIMREG()
|
D | slc90e66.c | 21 static void slc90e66_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in slc90e66_set_pio_mode() 75 static void slc90e66_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in slc90e66_set_dma_mode()
|
D | it8213.c | 26 static void it8213_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in it8213_set_pio_mode() 83 static void it8213_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in it8213_set_dma_mode()
|
D | atiixp.c | 51 static void atiixp_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in atiixp_set_pio_mode() 85 static void atiixp_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in atiixp_set_dma_mode()
|
D | cy82c693.c | 56 static void cy82c693_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cy82c693_set_dma_mode() 83 static void cy82c693_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cy82c693_set_pio_mode()
|
D | ide-disk_ioctl.c | 18 int ide_disk_ioctl(ide_drive_t *drive, struct block_device *bdev, fmode_t mode, in ide_disk_ioctl()
|
D | ide-floppy_proc.c | 10 ide_drive_t*drive = (ide_drive_t *)m->private; in idefloppy_capacity_proc_show() local
|
D | pdc202xx_new.c | 133 static void pdcnew_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pdcnew_set_dma_mode() 171 static void pdcnew_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pdcnew_set_pio_mode() 192 static void pdcnew_reset(ide_drive_t *drive) in pdcnew_reset()
|
D | ide-4drives.c | 14 static void ide_4drives_init_dev(ide_drive_t *drive) in ide_4drives_init_dev()
|
D | amd74xx.c | 82 static void amd_set_drive(ide_hwif_t *hwif, ide_drive_t *drive) in amd_set_drive() 111 static void amd_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in amd_set_pio_mode()
|
D | dtc2278.c | 71 static void dtc2278_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in dtc2278_set_pio_mode()
|
D | ide-pci-generic.c | 36 static void netcell_quirkproc(ide_drive_t *drive) in netcell_quirkproc()
|
D | macide.c | 64 static void macide_clear_irq(ide_drive_t *drive) in macide_clear_irq()
|
D | palm_bk3710.c | 191 static void palm_bk3710_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in palm_bk3710_set_dma_mode() 207 static void palm_bk3710_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in palm_bk3710_set_pio_mode()
|
D | umc8672.c | 107 static void umc_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in umc_set_pio_mode()
|
D | via82cxxx.c | 179 static void via_set_drive(ide_hwif_t *hwif, ide_drive_t *drive) in via_set_drive() 217 static void via_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in via_set_pio_mode()
|
D | opti621.c | 65 static void opti621_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in opti621_set_pio_mode()
|
D | gayle.c | 71 static void gayle_a1200_clear_irq(ide_drive_t *drive) in gayle_a1200_clear_irq()
|
D | ide-gd.h | 17 ide_drive_t *drive; member
|
D | buddha.c | 113 static void xsurf_clear_irq(ide_drive_t *drive) in xsurf_clear_irq()
|
D | ali14xx.c | 112 static void ali14xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in ali14xx_set_pio_mode()
|
D | ide-cd.h | 80 ide_drive_t *drive; member
|
/linux-4.4.14/drivers/block/ |
D | amiflop.c | 125 #define SELMASK(drive) (1 << (3 + (drive & 3))) argument 239 static inline int try_fdc(int drive) in try_fdc() 245 static void get_fdc(int drive) in get_fdc() 274 static void fd_select (int drive) in fd_select() 298 static void fd_deselect (int drive) in fd_deselect() 369 static void fd_motor_off(unsigned long drive) in fd_motor_off() 393 int drive; in floppy_off() local 401 static int fd_calibrate(int drive) in fd_calibrate() 453 static int fd_seek(int drive, int track) in fd_seek() 510 static unsigned long fd_get_drive_id(int drive) in fd_get_drive_id() [all …]
|
D | floppy.c | 601 static inline bool drive_no_geom(int drive) in drive_no_geom() 607 static inline int fd_eject(int drive) in fd_eject() 669 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() 792 unsigned char drive; in set_dor() local 836 int drive; in reset_fdc_info() local 848 static void set_fdc(int drive) in set_fdc() 869 static int lock_fdc(int drive, bool interruptible) in lock_fdc() 909 static void floppy_off(unsigned int drive) in floppy_off() [all …]
|
D | ataflop.c | 284 #define IS_BUFFERED(drive,side,track) \ argument 429 static void fd_select_drive( int drive ) in fd_select_drive() 520 static int drive = 0; in check_change() local 646 static int do_format(int drive, int type, struct atari_format_descr *desc) in do_format() 726 static void do_fd_action( int drive ) in do_fd_action() 1332 unsigned int drive = p - unit; in floppy_check_events() local 1354 unsigned int drive = p - unit; in floppy_revalidate() local 1378 static void setup_req_params( int drive ) in setup_req_params() 1423 int drive, type; in redo_fd_request() local 1514 int drive = floppy - unit; in fd_locked_ioctl() local [all …]
|
D | swim.c | 780 int drive = (*part & 3); in floppy_find() local 815 int drive; in swim_floppy_init() local 939 int drive; in swim_remove() local
|
D | hd.c | 290 static int controller_ready(unsigned int drive, unsigned int head) in controller_ready() 699 int drive; in hd_init() local
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | busnv04.c | 31 u8 drive; member 83 nv04_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, u8 sense, in nv04_i2c_bus_new()
|
D | anx9805.c | 103 anx9805_bus_new(struct nvkm_i2c_pad *base, int id, u8 drive, in anx9805_bus_new() 232 anx9805_aux_new(struct nvkm_i2c_pad *base, int id, u8 drive, in anx9805_aux_new()
|
D | busnv4e.c | 74 nv4e_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, in nv4e_i2c_bus_new()
|
D | busgf119.c | 83 gf119_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, in gf119_i2c_bus_new()
|
D | busnv50.c | 90 nv50_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, in nv50_i2c_bus_new()
|
D | auxg94.c | 168 g94_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive, in g94_i2c_aux_new()
|
D | auxgm204.c | 168 gm204_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive, in gm204_i2c_aux_new()
|
/linux-4.4.14/include/linux/ |
D | ide.h | 952 static inline void ide_proc_unregister_device(ide_drive_t *drive) { ; } in ide_proc_unregister_device() 954 static inline void ide_proc_register_driver(ide_drive_t *drive, in ide_proc_register_driver() 956 static inline void ide_proc_unregister_driver(ide_drive_t *drive, in ide_proc_unregister_driver() 1375 static inline u8 ide_max_dma_mode(ide_drive_t *drive) in ide_max_dma_mode() 1405 static inline int config_drive_for_dma(ide_drive_t *drive) { return 0; } in config_drive_for_dma() 1412 static inline u8 ide_find_dma_mode(ide_drive_t *drive, u8 speed) { return 0; } in ide_find_dma_mode() 1413 static inline u8 ide_max_dma_mode(ide_drive_t *drive) { return 0; } in ide_max_dma_mode() 1414 static inline void ide_dma_off_quietly(ide_drive_t *drive) { ; } in ide_dma_off_quietly() 1415 static inline void ide_dma_off(ide_drive_t *drive) { ; } in ide_dma_off() 1416 static inline void ide_dma_on(ide_drive_t *drive) { ; } in ide_dma_on() [all …]
|
D | libata.h | 776 struct ata_acpi_drive drive[2]; member
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
D | priv.h | 21 int (*drive)(struct nvkm_gpio *, int line, int dir, int out); member
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | i2c.h | 16 u8 drive; member
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | floppy_64.h | 78 #define fd_eject(drive) sun_fdops.fd_eject(drive) argument 274 static int sun_fd_eject(int drive) in sun_fd_eject() 427 static int sun_pci_fd_eject(int drive) in sun_pci_fd_eject() 498 static int sun_pci_fd_test_drive(unsigned long port, int drive) in sun_pci_fd_test_drive()
|
D | floppy_32.h | 378 #define fd_eject(drive) sparc_eject() argument
|
/linux-4.4.14/include/linux/platform_data/ |
D | si5351.h | 94 enum si5351_drive_strength drive; member
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinctrl-digicolor.c | 177 u8 drive; in dc_gpio_direction_input() local 197 u8 drive; in dc_gpio_direction_output() local
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | sun3xflop.h | 260 #define fd_eject(drive) sun3x_eject() argument
|
/linux-4.4.14/drivers/pinctrl/freescale/ |
D | pinctrl-mxs.h | 73 u16 drive; member
|
/linux-4.4.14/drivers/scsi/ |
D | gdth_proc.c | 29 int orig_length, drive, wb_mode; in gdth_set_asc_info() local
|
D | fdomain.c | 1592 int drive; in fdomain_16x0_biosparam() local
|
D | osst.c | 5841 struct gendisk * drive; in osst_probe() local
|
D | osst.h | 628 struct gendisk *drive; member
|
/linux-4.4.14/arch/mips/include/asm/mach-au1x00/ |
D | au1xxx_ide.h | 55 ide_drive_t *drive; member
|
/linux-4.4.14/drivers/input/keyboard/ |
D | qt2160.c | 92 u32 drive, pwmen; in qt2160_led_work() local
|
/linux-4.4.14/drivers/block/paride/ |
D | pg.c | 216 int drive; /* drive */ member
|
D | pd.c | 232 int drive; /* master=0 slave=1 */ member
|
D | pt.c | 221 int drive; /* drive */ member
|
D | pf.c | 235 int drive; /* drive */ member
|
D | pcd.c | 195 int drive; /* master/slave */ member
|
/linux-4.4.14/drivers/regulator/ |
D | wm8350-regulator.c | 313 u16 drive) in wm8350_isink_set_flash()
|
/linux-4.4.14/drivers/misc/ |
D | lkdtm.c | 231 static int jp_generic_ide_ioctl(ide_drive_t *drive, struct file *file, in jp_generic_ide_ioctl()
|
/linux-4.4.14/drivers/pinctrl/qcom/ |
D | pinctrl-msm.c | 474 int drive; in msm_gpio_dbg_show_one() local
|
/linux-4.4.14/drivers/clk/ |
D | clk-si5351.c | 837 enum si5351_drive_strength drive) in _si5351_clkout_set_drive_strength()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | dib7000p.c | 2386 static int dib7090_host_bus_drive(struct dib7000p_state *state, u8 drive) in dib7090_host_bus_drive()
|
D | dib8000.c | 1340 static void dib8096p_host_bus_drive(struct dib8000_state *state, u8 drive) in dib8096p_host_bus_drive()
|