Home
last modified time | relevance | path

Searched defs:drive (Results 1 – 122 of 122) sorted by relevance

/linux-4.4.14/drivers/ide/
Dide-disk.c55 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 …]
Dide-dma.c91 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 …]
Dide-gd.c51 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 …]
Dide-atapi.c27 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 …]
Dide-cd_ioctl.c30 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 …]
Dide-tape.c141 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 …]
Dide-eh.c7 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 …]
Dide-io.c57 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 …]
Dide-taskfile.c27 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 …]
Dide-devsets.c10 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()
Dide-cd.c77 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 …]
Dide-probe.c51 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 …]
Dide-ioctls.c19 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()
Dide-iops.c30 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 …]
Dtrm290.c145 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()
Dide-xfer-mode.c62 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()
Dide-dma-sff.c20 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()
Dide-sysfs.c4 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
Dide-lib.c18 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()
Dht6560b.c47 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()
Dide-proc.c119 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 …]
Dide-floppy.c62 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()
Dide-pm.c7 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()
Dsis5513.c187 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 …]
Dsl82c105.c42 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()
Dau1xxx-ide.c93 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()
Dide-floppy_ioctl.c36 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()
Dide.c71 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
Dqd65xx.c92 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()
Dide-disk_proc.c9 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()
Dit821x.c112 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()
Dide-park.c9 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
Dsgiioc4.c120 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 …]
Dsiimage.c114 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 …]
Dtx4939ide.c107 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 …]
Dhpt366.c534 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 …]
Dide-io-std.c77 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()
Dns87415.c64 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()
Dalim15x3.c51 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()
Dtc86c001.c17 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()
Dcs5536.c92 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()
Dsc1200.c81 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()
Dcmd64x.c54 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()
Dpmac.c416 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 …]
Dserverworks.c55 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()
Dcs5530.c53 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()
Dicside.c167 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()
Dcmd640.c379 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()
Dpdc202xx_old.c24 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()
Dide-acpi.c225 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
Dtx4938ide.c59 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()
Dcs5535.c76 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()
Dtriflex.c37 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()
Dcs5520.c60 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()
Djmicron.c83 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()
Dfalconide.c66 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()
Dit8172.c40 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()
Dq40ide.c73 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()
Dide-timings.c81 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()
Daec62xx.c84 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()
Dpiix.c68 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()
Dqd65xx.h34 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()
Dslc90e66.c21 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()
Dit8213.c26 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()
Datiixp.c51 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()
Dcy82c693.c56 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()
Dide-disk_ioctl.c18 int ide_disk_ioctl(ide_drive_t *drive, struct block_device *bdev, fmode_t mode, in ide_disk_ioctl()
Dide-floppy_proc.c10 ide_drive_t*drive = (ide_drive_t *)m->private; in idefloppy_capacity_proc_show() local
Dpdc202xx_new.c133 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()
Dide-4drives.c14 static void ide_4drives_init_dev(ide_drive_t *drive) in ide_4drives_init_dev()
Damd74xx.c82 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()
Ddtc2278.c71 static void dtc2278_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in dtc2278_set_pio_mode()
Dide-pci-generic.c36 static void netcell_quirkproc(ide_drive_t *drive) in netcell_quirkproc()
Dmacide.c64 static void macide_clear_irq(ide_drive_t *drive) in macide_clear_irq()
Dpalm_bk3710.c191 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()
Dumc8672.c107 static void umc_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in umc_set_pio_mode()
Dvia82cxxx.c179 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()
Dopti621.c65 static void opti621_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in opti621_set_pio_mode()
Dgayle.c71 static void gayle_a1200_clear_irq(ide_drive_t *drive) in gayle_a1200_clear_irq()
Dide-gd.h17 ide_drive_t *drive; member
Dbuddha.c113 static void xsurf_clear_irq(ide_drive_t *drive) in xsurf_clear_irq()
Dali14xx.c112 static void ali14xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in ali14xx_set_pio_mode()
Dide-cd.h80 ide_drive_t *drive; member
/linux-4.4.14/drivers/block/
Damiflop.c125 #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 …]
Dfloppy.c601 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 …]
Dataflop.c284 #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 …]
Dswim.c780 int drive = (*part & 3); in floppy_find() local
815 int drive; in swim_floppy_init() local
939 int drive; in swim_remove() local
Dhd.c290 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/
Dbusnv04.c31 u8 drive; member
83 nv04_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, u8 sense, in nv04_i2c_bus_new()
Danx9805.c103 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()
Dbusnv4e.c74 nv4e_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, in nv4e_i2c_bus_new()
Dbusgf119.c83 gf119_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, in gf119_i2c_bus_new()
Dbusnv50.c90 nv50_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, in nv50_i2c_bus_new()
Dauxg94.c168 g94_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive, in g94_i2c_aux_new()
Dauxgm204.c168 gm204_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive, in gm204_i2c_aux_new()
/linux-4.4.14/include/linux/
Dide.h952 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 …]
Dlibata.h776 struct ata_acpi_drive drive[2]; member
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
Dpriv.h21 int (*drive)(struct nvkm_gpio *, int line, int dir, int out); member
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Di2c.h16 u8 drive; member
/linux-4.4.14/arch/sparc/include/asm/
Dfloppy_64.h78 #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()
Dfloppy_32.h378 #define fd_eject(drive) sparc_eject() argument
/linux-4.4.14/include/linux/platform_data/
Dsi5351.h94 enum si5351_drive_strength drive; member
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-digicolor.c177 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/
Dsun3xflop.h260 #define fd_eject(drive) sun3x_eject() argument
/linux-4.4.14/drivers/pinctrl/freescale/
Dpinctrl-mxs.h73 u16 drive; member
/linux-4.4.14/drivers/scsi/
Dgdth_proc.c29 int orig_length, drive, wb_mode; in gdth_set_asc_info() local
Dfdomain.c1592 int drive; in fdomain_16x0_biosparam() local
Dosst.c5841 struct gendisk * drive; in osst_probe() local
Dosst.h628 struct gendisk *drive; member
/linux-4.4.14/arch/mips/include/asm/mach-au1x00/
Dau1xxx_ide.h55 ide_drive_t *drive; member
/linux-4.4.14/drivers/input/keyboard/
Dqt2160.c92 u32 drive, pwmen; in qt2160_led_work() local
/linux-4.4.14/drivers/block/paride/
Dpg.c216 int drive; /* drive */ member
Dpd.c232 int drive; /* master=0 slave=1 */ member
Dpt.c221 int drive; /* drive */ member
Dpf.c235 int drive; /* drive */ member
Dpcd.c195 int drive; /* master/slave */ member
/linux-4.4.14/drivers/regulator/
Dwm8350-regulator.c313 u16 drive) in wm8350_isink_set_flash()
/linux-4.4.14/drivers/misc/
Dlkdtm.c231 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/
Dpinctrl-msm.c474 int drive; in msm_gpio_dbg_show_one() local
/linux-4.4.14/drivers/clk/
Dclk-si5351.c837 enum si5351_drive_strength drive) in _si5351_clkout_set_drive_strength()
/linux-4.4.14/drivers/media/dvb-frontends/
Ddib7000p.c2386 static int dib7090_host_bus_drive(struct dib7000p_state *state, u8 drive) in dib7090_host_bus_drive()
Ddib8000.c1340 static void dib8096p_host_bus_drive(struct dib8000_state *state, u8 drive) in dib8096p_host_bus_drive()