ata_device       1392 drivers/ata/ahci.c 		struct ata_device *dev;
ata_device        246 drivers/ata/ahci_brcm.c static unsigned int brcm_ahci_read_id(struct ata_device *dev,
ata_device         92 drivers/ata/ahci_ceva.c static unsigned int ceva_ahci_read_id(struct ata_device *dev,
ata_device        749 drivers/ata/ahci_imx.c 	struct ata_device *dev;
ata_device        239 drivers/ata/ahci_xgene.c static unsigned int xgene_ahci_read_id(struct ata_device *dev,
ata_device         51 drivers/ata/ata_generic.c static int generic_set_mode(struct ata_link *link, struct ata_device **unused)
ata_device         56 drivers/ata/ata_generic.c 	struct ata_device *dev;
ata_device        549 drivers/ata/ata_piix.c static void piix_set_timings(struct ata_port *ap, struct ata_device *adev,
ata_device        646 drivers/ata/ata_piix.c static void piix_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        663 drivers/ata/ata_piix.c static void do_pata_set_dmamode(struct ata_port *ap, struct ata_device *adev, int isich)
ata_device        741 drivers/ata/ata_piix.c static void piix_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        757 drivers/ata/ata_piix.c static void ich_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         77 drivers/ata/libahci.c static void ahci_dev_config(struct ata_device *dev);
ata_device         81 drivers/ata/libahci.c static ssize_t ahci_activity_show(struct ata_device *dev, char *buf);
ata_device         82 drivers/ata/libahci.c static ssize_t ahci_activity_store(struct ata_device *dev,
ata_device       1153 drivers/ata/libahci.c static ssize_t ahci_activity_store(struct ata_device *dev, enum sw_activity val)
ata_device       1184 drivers/ata/libahci.c static ssize_t ahci_activity_show(struct ata_device *dev, char *buf)
ata_device       1256 drivers/ata/libahci.c static void ahci_dev_config(struct ata_device *dev)
ata_device       2095 drivers/ata/libahci.c 	struct ata_device *dev = ap->link.device;
ata_device         36 drivers/ata/libata-acpi.c static void ata_acpi_clear_gtf(struct ata_device *dev)
ata_device         46 drivers/ata/libata-acpi.c 		struct ata_device *dev;
ata_device         60 drivers/ata/libata-acpi.c acpi_handle ata_dev_acpi_handle(struct ata_device *dev)
ata_device         67 drivers/ata/libata-acpi.c static void ata_acpi_detach_device(struct ata_port *ap, struct ata_device *dev)
ata_device         73 drivers/ata/libata-acpi.c 		struct ata_device *tdev;
ata_device        100 drivers/ata/libata-acpi.c static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device *dev,
ata_device        137 drivers/ata/libata-acpi.c 	struct ata_device *dev = ata_hotplug_data(adev->hp).dev;
ata_device        148 drivers/ata/libata-acpi.c static void ata_acpi_uevent(struct ata_port *ap, struct ata_device *dev,
ata_device        174 drivers/ata/libata-acpi.c 	struct ata_device *dev = ata_hotplug_data(adev->hp).dev;
ata_device        206 drivers/ata/libata-acpi.c void ata_acpi_bind_dev(struct ata_device *dev)
ata_device        403 drivers/ata/libata-acpi.c static int ata_dev_get_GTF(struct ata_device *dev, struct ata_acpi_gtf **gtf)
ata_device        491 drivers/ata/libata-acpi.c unsigned long ata_acpi_gtm_xfermask(struct ata_device *dev,
ata_device        533 drivers/ata/libata-acpi.c 	struct ata_device *dev;
ata_device        549 drivers/ata/libata-acpi.c static void ata_acpi_gtf_to_tf(struct ata_device *dev,
ata_device        566 drivers/ata/libata-acpi.c static int ata_acpi_filter_tf(struct ata_device *dev,
ata_device        645 drivers/ata/libata-acpi.c static int ata_acpi_run_tf(struct ata_device *dev,
ata_device        726 drivers/ata/libata-acpi.c static int ata_acpi_exec_tfs(struct ata_device *dev, int *nr_executed)
ata_device        771 drivers/ata/libata-acpi.c static int ata_acpi_push_id(struct ata_device *dev)
ata_device        842 drivers/ata/libata-acpi.c 	struct ata_device *dev;
ata_device        874 drivers/ata/libata-acpi.c static int ata_acpi_choose_suspend_state(struct ata_device *dev, bool runtime)
ata_device        895 drivers/ata/libata-acpi.c 	struct ata_device *dev;
ata_device        923 drivers/ata/libata-acpi.c 	struct ata_device *dev;
ata_device        978 drivers/ata/libata-acpi.c int ata_acpi_on_devcfg(struct ata_device *dev)
ata_device       1052 drivers/ata/libata-acpi.c void ata_acpi_on_disable(struct ata_device *dev)
ata_device         86 drivers/ata/libata-core.c static unsigned int ata_dev_init_params(struct ata_device *dev,
ata_device         88 drivers/ata/libata-core.c static unsigned int ata_dev_set_xfermode(struct ata_device *dev);
ata_device         89 drivers/ata/libata-core.c static void ata_dev_xfermask(struct ata_device *dev);
ata_device         90 drivers/ata/libata-core.c static unsigned long ata_dev_blacklisted(const struct ata_device *dev);
ata_device        240 drivers/ata/libata-core.c struct ata_device *ata_dev_next(struct ata_device *dev, struct ata_link *link,
ata_device        295 drivers/ata/libata-core.c struct ata_link *ata_dev_phys_link(struct ata_device *dev)
ata_device        401 drivers/ata/libata-core.c static void ata_force_xfermask(struct ata_device *dev)
ata_device        455 drivers/ata/libata-core.c static void ata_force_horkage(struct ata_device *dev)
ata_device        639 drivers/ata/libata-core.c static int ata_rwcmd_protocol(struct ata_taskfile *tf, struct ata_device *dev)
ata_device        684 drivers/ata/libata-core.c u64 ata_tf_read_block(const struct ata_taskfile *tf, struct ata_device *dev)
ata_device        739 drivers/ata/libata-core.c int ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev,
ata_device       1216 drivers/ata/libata-core.c static int ata_read_native_max_address(struct ata_device *dev, u64 *max_sectors)
ata_device       1267 drivers/ata/libata-core.c static int ata_set_max_sectors(struct ata_device *dev, u64 new_sectors)
ata_device       1324 drivers/ata/libata-core.c static int ata_hpa_resize(struct ata_device *dev)
ata_device       1547 drivers/ata/libata-core.c unsigned ata_exec_internal_sg(struct ata_device *dev,
ata_device       1723 drivers/ata/libata-core.c unsigned ata_exec_internal(struct ata_device *dev,
ata_device       1749 drivers/ata/libata-core.c unsigned int ata_pio_need_iordy(const struct ata_device *adev)
ata_device       1782 drivers/ata/libata-core.c static u32 ata_pio_mask_no_iordy(const struct ata_device *adev)
ata_device       1808 drivers/ata/libata-core.c unsigned int ata_do_dev_read_id(struct ata_device *dev,
ata_device       1836 drivers/ata/libata-core.c int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class,
ata_device       2042 drivers/ata/libata-core.c unsigned int ata_read_log_page(struct ata_device *dev, u8 log,
ata_device       2090 drivers/ata/libata-core.c static bool ata_log_supported(struct ata_device *dev, u8 log)
ata_device       2099 drivers/ata/libata-core.c static bool ata_identify_page_supported(struct ata_device *dev, u8 page)
ata_device       2130 drivers/ata/libata-core.c static int ata_do_link_spd_horkage(struct ata_device *dev)
ata_device       2163 drivers/ata/libata-core.c static inline u8 ata_dev_knobble(struct ata_device *dev)
ata_device       2173 drivers/ata/libata-core.c static void ata_dev_config_ncq_send_recv(struct ata_device *dev)
ata_device       2202 drivers/ata/libata-core.c static void ata_dev_config_ncq_non_data(struct ata_device *dev)
ata_device       2225 drivers/ata/libata-core.c static void ata_dev_config_ncq_prio(struct ata_device *dev)
ata_device       2256 drivers/ata/libata-core.c static int ata_dev_config_ncq(struct ata_device *dev,
ata_device       2312 drivers/ata/libata-core.c static void ata_dev_config_sense_reporting(struct ata_device *dev)
ata_device       2330 drivers/ata/libata-core.c static void ata_dev_config_zac(struct ata_device *dev)
ata_device       2384 drivers/ata/libata-core.c static void ata_dev_config_trusted(struct ata_device *dev)
ata_device       2431 drivers/ata/libata-core.c int ata_dev_configure(struct ata_device *dev)
ata_device       2856 drivers/ata/libata-core.c 	struct ata_device *dev;
ata_device       3009 drivers/ata/libata-core.c struct ata_device *ata_dev_pair(struct ata_device *adev)
ata_device       3012 drivers/ata/libata-core.c 	struct ata_device *pair = &link->device[1 - adev->devno];
ata_device       3268 drivers/ata/libata-core.c int ata_timing_compute(struct ata_device *adev, unsigned short speed,
ata_device       3410 drivers/ata/libata-core.c int ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel)
ata_device       3484 drivers/ata/libata-core.c static int ata_dev_set_mode(struct ata_device *dev)
ata_device       3584 drivers/ata/libata-core.c int ata_do_set_mode(struct ata_link *link, struct ata_device **r_failed_dev)
ata_device       3587 drivers/ata/libata-core.c 	struct ata_device *dev;
ata_device       4212 drivers/ata/libata-core.c static int ata_dev_same_device(struct ata_device *dev, unsigned int new_class,
ata_device       4259 drivers/ata/libata-core.c int ata_dev_reread_id(struct ata_device *dev, unsigned int readid_flags)
ata_device       4293 drivers/ata/libata-core.c int ata_dev_revalidate(struct ata_device *dev, unsigned int new_class,
ata_device       4615 drivers/ata/libata-core.c static unsigned long ata_dev_blacklisted(const struct ata_device *dev)
ata_device       4636 drivers/ata/libata-core.c static int ata_dma_blacklisted(const struct ata_device *dev)
ata_device       4656 drivers/ata/libata-core.c static int ata_is_40wire(struct ata_device *dev)
ata_device       4679 drivers/ata/libata-core.c 	struct ata_device *dev;
ata_device       4726 drivers/ata/libata-core.c static void ata_dev_xfermask(struct ata_device *dev)
ata_device       4806 drivers/ata/libata-core.c static unsigned int ata_dev_set_xfermode(struct ata_device *dev)
ata_device       4853 drivers/ata/libata-core.c unsigned int ata_dev_set_feature(struct ata_device *dev, u8 enable, u8 feature)
ata_device       4891 drivers/ata/libata-core.c static unsigned int ata_dev_init_params(struct ata_device *dev,
ata_device       5104 drivers/ata/libata-core.c struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev, int tag)
ata_device       5207 drivers/ata/libata-core.c 	struct ata_device *dev = qc->dev;
ata_device       5254 drivers/ata/libata-core.c 		struct ata_device *dev = qc->dev;
ata_device       5807 drivers/ata/libata-core.c 	struct ata_device *adev;
ata_device       5902 drivers/ata/libata-core.c void ata_dev_init(struct ata_device *dev)
ata_device       5954 drivers/ata/libata-core.c 		struct ata_device *dev = &link->device[i];
ata_device       6685 drivers/ata/libata-core.c 	struct ata_device *dev;
ata_device       7296 drivers/ata/libata-core.c void ata_dev_printk(const struct ata_device *dev, const char *level,
ata_device        322 drivers/ata/libata-eh.c unsigned long ata_internal_cmd_timeout(struct ata_device *dev, u8 cmd)
ata_device        347 drivers/ata/libata-eh.c void ata_internal_cmd_timed_out(struct ata_device *dev, u8 cmd)
ata_device        418 drivers/ata/libata-eh.c static unsigned int ata_eh_dev_action(struct ata_device *dev)
ata_device        425 drivers/ata/libata-eh.c static void ata_eh_clear_action(struct ata_link *link, struct ata_device *dev,
ata_device        428 drivers/ata/libata-eh.c 	struct ata_device *tdev;
ata_device        489 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device        672 drivers/ata/libata-eh.c 			struct ata_device *dev;
ata_device       1124 drivers/ata/libata-eh.c 			struct ata_device *dev = ap->link.device;
ata_device       1276 drivers/ata/libata-eh.c void ata_dev_disable(struct ata_device *dev)
ata_device       1302 drivers/ata/libata-eh.c void ata_eh_detach_dev(struct ata_device *dev)
ata_device       1342 drivers/ata/libata-eh.c void ata_eh_about_to_do(struct ata_link *link, struct ata_device *dev,
ata_device       1375 drivers/ata/libata-eh.c void ata_eh_done(struct ata_link *link, struct ata_device *dev,
ata_device       1437 drivers/ata/libata-eh.c static int ata_eh_read_log_10h(struct ata_device *dev,
ata_device       1491 drivers/ata/libata-eh.c unsigned int atapi_eh_tur(struct ata_device *dev, u8 *r_sense_key)
ata_device       1523 drivers/ata/libata-eh.c 	struct ata_device *dev = qc->dev;
ata_device       1574 drivers/ata/libata-eh.c unsigned int atapi_eh_request_sense(struct ata_device *dev,
ata_device       1677 drivers/ata/libata-eh.c 	struct ata_device *dev = link->device;
ata_device       1929 drivers/ata/libata-eh.c static unsigned int ata_eh_speed_down_verdict(struct ata_device *dev)
ata_device       1989 drivers/ata/libata-eh.c static unsigned int ata_eh_speed_down(struct ata_device *dev,
ata_device       2116 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device       2620 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device       2653 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device       3033 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device       3076 drivers/ata/libata-eh.c static void ata_eh_park_issue_cmd(struct ata_device *dev, int park)
ata_device       3105 drivers/ata/libata-eh.c 					struct ata_device **r_failed_dev)
ata_device       3109 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device       3248 drivers/ata/libata-eh.c int ata_set_mode(struct ata_link *link, struct ata_device **r_failed_dev)
ata_device       3251 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device       3299 drivers/ata/libata-eh.c static int atapi_eh_clear_ua(struct ata_device *dev)
ata_device       3350 drivers/ata/libata-eh.c static int ata_eh_maybe_retry_flush(struct ata_device *dev)
ata_device       3427 drivers/ata/libata-eh.c 			  struct ata_device **r_failed_dev)
ata_device       3431 drivers/ata/libata-eh.c 	struct ata_device *dev, *link_dev = NULL, *lpm_dev = NULL;
ata_device       3544 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device       3554 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device       3567 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device       3610 drivers/ata/libata-eh.c static int ata_eh_schedule_probe(struct ata_device *dev)
ata_device       3659 drivers/ata/libata-eh.c static int ata_eh_handle_dev_fail(struct ata_device *dev, int err)
ata_device       3739 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device       4019 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device       4070 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device       4134 drivers/ata/libata-eh.c 	struct ata_device *dev;
ata_device         41 drivers/ata/libata-pmp.c 	struct ata_device *pmp_dev = ap->link.device;
ata_device         78 drivers/ata/libata-pmp.c 	struct ata_device *pmp_dev = ap->link.device;
ata_device        223 drivers/ata/libata-pmp.c static int sata_pmp_read_gscr(struct ata_device *dev, u32 *gscr)
ata_device        258 drivers/ata/libata-pmp.c static int sata_pmp_configure(struct ata_device *dev, int print_info)
ata_device        485 drivers/ata/libata-pmp.c int sata_pmp_attach(struct ata_device *dev)
ata_device        559 drivers/ata/libata-pmp.c static void sata_pmp_detach(struct ata_device *dev)
ata_device        597 drivers/ata/libata-pmp.c static int sata_pmp_same_pmp(struct ata_device *dev, const u32 *new_gscr)
ata_device        648 drivers/ata/libata-pmp.c static int sata_pmp_revalidate(struct ata_device *dev, unsigned int new_class)
ata_device        710 drivers/ata/libata-pmp.c static int sata_pmp_revalidate_quick(struct ata_device *dev)
ata_device        757 drivers/ata/libata-pmp.c 	struct ata_device *dev = link->device;
ata_device        928 drivers/ata/libata-pmp.c 	struct ata_device *pmp_dev = pmp_link->device;
ata_device        932 drivers/ata/libata-pmp.c 	struct ata_device *dev;
ata_device         49 drivers/ata/libata-scsi.c static struct ata_device *__ata_scsi_find_dev(struct ata_port *ap,
ata_device         51 drivers/ata/libata-scsi.c static struct ata_device *ata_scsi_find_dev(struct ata_port *ap,
ata_device        108 drivers/ata/libata-scsi.c 	struct ata_device *dev;
ata_device        163 drivers/ata/libata-scsi.c 	struct ata_device *dev;
ata_device        202 drivers/ata/libata-scsi.c 	struct ata_device *dev;
ata_device        266 drivers/ata/libata-scsi.c 	struct ata_device *dev;
ata_device        293 drivers/ata/libata-scsi.c 	struct ata_device *dev;
ata_device        337 drivers/ata/libata-scsi.c void ata_scsi_set_sense(struct ata_device *dev, struct scsi_cmnd *cmd,
ata_device        350 drivers/ata/libata-scsi.c void ata_scsi_set_sense_information(struct ata_device *dev,
ata_device        367 drivers/ata/libata-scsi.c static void ata_scsi_set_invalid_field(struct ata_device *dev,
ata_device        376 drivers/ata/libata-scsi.c static void ata_scsi_set_invalid_parameter(struct ata_device *dev,
ata_device        430 drivers/ata/libata-scsi.c 	struct ata_device *atadev = ata_scsi_find_dev(ap, sdev);
ata_device        444 drivers/ata/libata-scsi.c 	struct ata_device *atadev = ata_scsi_find_dev(ap, sdev);
ata_device        515 drivers/ata/libata-scsi.c 	struct ata_device *dev;
ata_device        546 drivers/ata/libata-scsi.c 	struct ata_device *dev = ata_scsi_find_dev(ap, sdev);
ata_device        843 drivers/ata/libata-scsi.c static struct ata_queued_cmd *ata_scsi_qc_new(struct ata_device *dev,
ata_device       1168 drivers/ata/libata-scsi.c 	struct ata_device *dev = qc->dev;
ata_device       1250 drivers/ata/libata-scsi.c 			       struct ata_device *dev)
ata_device       1328 drivers/ata/libata-scsi.c 	struct ata_device *dev = __ata_scsi_find_dev(ap, sdev);
ata_device       1358 drivers/ata/libata-scsi.c 	struct ata_device *dev;
ata_device       1391 drivers/ata/libata-scsi.c 	struct ata_device *dev;
ata_device       1677 drivers/ata/libata-scsi.c 	struct ata_device *dev = qc->dev;
ata_device       1989 drivers/ata/libata-scsi.c static int ata_scsi_translate(struct ata_device *dev, struct scsi_cmnd *cmd,
ata_device       2055 drivers/ata/libata-scsi.c 	struct ata_device	*dev;
ata_device       2515 drivers/ata/libata-scsi.c static unsigned int ata_msense_control(struct ata_device *dev, u8 *buf,
ata_device       2584 drivers/ata/libata-scsi.c 	struct ata_device *dev = args->dev;
ata_device       2705 drivers/ata/libata-scsi.c 	struct ata_device *dev = args->dev;
ata_device       2952 drivers/ata/libata-scsi.c 	struct ata_device *dev = qc->dev;
ata_device       3033 drivers/ata/libata-scsi.c static struct ata_device *ata_find_dev(struct ata_port *ap, int devno)
ata_device       3048 drivers/ata/libata-scsi.c static struct ata_device *__ata_scsi_find_dev(struct ata_port *ap,
ata_device       3083 drivers/ata/libata-scsi.c static struct ata_device *
ata_device       3086 drivers/ata/libata-scsi.c 	struct ata_device *dev = __ata_scsi_find_dev(ap, scsidev);
ata_device       3146 drivers/ata/libata-scsi.c 	struct ata_device *dev = qc->dev;
ata_device       3455 drivers/ata/libata-scsi.c 	struct ata_device *dev = qc->dev;
ata_device       3564 drivers/ata/libata-scsi.c 	struct ata_device *dev = args->dev;
ata_device       3781 drivers/ata/libata-scsi.c 	struct ata_device *dev = qc->dev;
ata_device       3871 drivers/ata/libata-scsi.c 	struct ata_device *dev = qc->dev;
ata_device       3927 drivers/ata/libata-scsi.c 	struct ata_device *dev = qc->dev;
ata_device       4230 drivers/ata/libata-scsi.c static inline ata_xlat_func_t ata_get_xlat_func(struct ata_device *dev, u8 cmd)
ata_device       4307 drivers/ata/libata-scsi.c 				      struct ata_device *dev)
ata_device       4378 drivers/ata/libata-scsi.c 	struct ata_device *dev;
ata_device       4414 drivers/ata/libata-scsi.c void ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd)
ata_device       4576 drivers/ata/libata-scsi.c 	struct ata_device *last_failed_dev = NULL;
ata_device       4578 drivers/ata/libata-scsi.c 	struct ata_device *dev;
ata_device       4661 drivers/ata/libata-scsi.c int ata_scsi_offline_dev(struct ata_device *dev)
ata_device       4680 drivers/ata/libata-scsi.c static void ata_scsi_remove_dev(struct ata_device *dev)
ata_device       4732 drivers/ata/libata-scsi.c 	struct ata_device *dev;
ata_device       4761 drivers/ata/libata-scsi.c void ata_scsi_media_change_notify(struct ata_device *dev)
ata_device       4860 drivers/ata/libata-scsi.c 		struct ata_device *dev = ata_find_dev(ap, devno);
ata_device       4895 drivers/ata/libata-scsi.c 	struct ata_device *dev;
ata_device        600 drivers/ata/libata-sff.c 	struct ata_device *dev = qc->dev;
ata_device        779 drivers/ata/libata-sff.c 	struct ata_device *dev = qc->dev;
ata_device        847 drivers/ata/libata-sff.c 	struct ata_device *dev = qc->dev;
ata_device       1812 drivers/ata/libata-sff.c unsigned int ata_sff_dev_classify(struct ata_device *dev, int present,
ata_device         69 drivers/ata/libata-transport.c 	container_of((d), struct ata_device, tdev)
ata_device         85 drivers/ata/libata-transport.c static int ata_tdev_add(struct ata_device *dev);
ata_device         86 drivers/ata/libata-transport.c static void ata_tdev_delete(struct ata_device *dev);
ata_device        386 drivers/ata/libata-transport.c 	struct ata_device *ata_dev;
ata_device        411 drivers/ata/libata-transport.c 	struct ata_device *ata_dev;
ata_device        460 drivers/ata/libata-transport.c 	struct ata_device *ata_dev = transport_class_to_dev(dev);	\
ata_device        480 drivers/ata/libata-transport.c 	struct ata_device *ata_dev = transport_class_to_dev(dev);	\
ata_device        516 drivers/ata/libata-transport.c 	struct ata_device *ata_dev = transport_class_to_dev(dev);
ata_device        530 drivers/ata/libata-transport.c 	struct ata_device *ata_dev = transport_class_to_dev(dev);
ata_device        549 drivers/ata/libata-transport.c 	struct ata_device *ata_dev = transport_class_to_dev(dev);
ata_device        570 drivers/ata/libata-transport.c 	struct ata_device *ata_dev = transport_class_to_dev(dev);
ata_device        627 drivers/ata/libata-transport.c static void ata_tdev_free(struct ata_device *dev)
ata_device        639 drivers/ata/libata-transport.c static void ata_tdev_delete(struct ata_device *ata_dev)
ata_device        658 drivers/ata/libata-transport.c static int ata_tdev_add(struct ata_device *ata_dev)
ata_device         23 drivers/ata/libata-zpodd.c 	struct ata_device	*dev;
ata_device         35 drivers/ata/libata-zpodd.c static int eject_tray(struct ata_device *dev)
ata_device         53 drivers/ata/libata-zpodd.c static enum odd_mech_type zpodd_get_mech_type(struct ata_device *dev)
ata_device        104 drivers/ata/libata-zpodd.c static bool zpready(struct ata_device *dev)
ata_device        146 drivers/ata/libata-zpodd.c void zpodd_on_suspend(struct ata_device *dev)
ata_device        171 drivers/ata/libata-zpodd.c bool zpodd_zpready(struct ata_device *dev)
ata_device        185 drivers/ata/libata-zpodd.c void zpodd_enable_run_wake(struct ata_device *dev)
ata_device        196 drivers/ata/libata-zpodd.c void zpodd_disable_run_wake(struct ata_device *dev)
ata_device        219 drivers/ata/libata-zpodd.c void zpodd_post_poweron(struct ata_device *dev)
ata_device        242 drivers/ata/libata-zpodd.c 	struct ata_device *ata_dev = context;
ata_device        252 drivers/ata/libata-zpodd.c static void ata_acpi_add_pm_notifier(struct ata_device *dev)
ata_device        259 drivers/ata/libata-zpodd.c static void ata_acpi_remove_pm_notifier(struct ata_device *dev)
ata_device        265 drivers/ata/libata-zpodd.c void zpodd_init(struct ata_device *dev)
ata_device        290 drivers/ata/libata-zpodd.c void zpodd_exit(struct ata_device *dev)
ata_device         39 drivers/ata/libata.h extern struct ata_link *ata_dev_phys_link(struct ata_device *dev);
ata_device         43 drivers/ata/libata.h extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev, int tag);
ata_device         44 drivers/ata/libata.h extern int ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev,
ata_device         48 drivers/ata/libata.h 			     struct ata_device *dev);
ata_device         49 drivers/ata/libata.h extern unsigned ata_exec_internal(struct ata_device *dev,
ata_device         53 drivers/ata/libata.h extern unsigned ata_exec_internal_sg(struct ata_device *dev,
ata_device         59 drivers/ata/libata.h extern int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class,
ata_device         61 drivers/ata/libata.h extern int ata_dev_reread_id(struct ata_device *dev, unsigned int readid_flags);
ata_device         62 drivers/ata/libata.h extern int ata_dev_revalidate(struct ata_device *dev, unsigned int new_class,
ata_device         64 drivers/ata/libata.h extern int ata_dev_configure(struct ata_device *dev);
ata_device         66 drivers/ata/libata.h extern int ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel);
ata_device         67 drivers/ata/libata.h extern unsigned int ata_dev_set_feature(struct ata_device *dev,
ata_device         76 drivers/ata/libata.h extern void ata_dev_init(struct ata_device *dev);
ata_device         85 drivers/ata/libata.h extern unsigned int ata_read_log_page(struct ata_device *dev, u8 log,
ata_device         96 drivers/ata/libata.h extern int ata_acpi_on_devcfg(struct ata_device *dev);
ata_device         97 drivers/ata/libata.h extern void ata_acpi_on_disable(struct ata_device *dev);
ata_device        100 drivers/ata/libata.h extern void ata_acpi_bind_dev(struct ata_device *dev);
ata_device        101 drivers/ata/libata.h extern acpi_handle ata_dev_acpi_handle(struct ata_device *dev);
ata_device        106 drivers/ata/libata.h static inline int ata_acpi_on_devcfg(struct ata_device *dev) { return 0; }
ata_device        107 drivers/ata/libata.h static inline void ata_acpi_on_disable(struct ata_device *dev) { }
ata_device        111 drivers/ata/libata.h static inline void ata_acpi_bind_dev(struct ata_device *dev) {}
ata_device        118 drivers/ata/libata.h extern int ata_scsi_offline_dev(struct ata_device *dev);
ata_device        119 drivers/ata/libata.h extern void ata_scsi_set_sense(struct ata_device *dev,
ata_device        121 drivers/ata/libata.h extern void ata_scsi_set_sense_information(struct ata_device *dev,
ata_device        124 drivers/ata/libata.h extern void ata_scsi_media_change_notify(struct ata_device *dev);
ata_device        136 drivers/ata/libata.h extern unsigned long ata_internal_cmd_timeout(struct ata_device *dev, u8 cmd);
ata_device        137 drivers/ata/libata.h extern void ata_internal_cmd_timed_out(struct ata_device *dev, u8 cmd);
ata_device        143 drivers/ata/libata.h extern void ata_dev_disable(struct ata_device *dev);
ata_device        144 drivers/ata/libata.h extern void ata_eh_detach_dev(struct ata_device *dev);
ata_device        145 drivers/ata/libata.h extern void ata_eh_about_to_do(struct ata_link *link, struct ata_device *dev,
ata_device        147 drivers/ata/libata.h extern void ata_eh_done(struct ata_link *link, struct ata_device *dev,
ata_device        155 drivers/ata/libata.h extern int ata_set_mode(struct ata_link *link, struct ata_device **r_failed_dev);
ata_device        164 drivers/ata/libata.h extern unsigned int atapi_eh_tur(struct ata_device *dev, u8 *r_sense_key);
ata_device        165 drivers/ata/libata.h extern unsigned int atapi_eh_request_sense(struct ata_device *dev,
ata_device        174 drivers/ata/libata.h extern int sata_pmp_attach(struct ata_device *dev);
ata_device        192 drivers/ata/libata.h static inline int sata_pmp_attach(struct ata_device *dev)
ata_device        217 drivers/ata/libata.h void zpodd_init(struct ata_device *dev);
ata_device        218 drivers/ata/libata.h void zpodd_exit(struct ata_device *dev);
ata_device        219 drivers/ata/libata.h static inline bool zpodd_dev_enabled(struct ata_device *dev)
ata_device        223 drivers/ata/libata.h void zpodd_on_suspend(struct ata_device *dev);
ata_device        224 drivers/ata/libata.h bool zpodd_zpready(struct ata_device *dev);
ata_device        225 drivers/ata/libata.h void zpodd_enable_run_wake(struct ata_device *dev);
ata_device        226 drivers/ata/libata.h void zpodd_disable_run_wake(struct ata_device *dev);
ata_device        227 drivers/ata/libata.h void zpodd_post_poweron(struct ata_device *dev);
ata_device        229 drivers/ata/libata.h static inline void zpodd_init(struct ata_device *dev) {}
ata_device        230 drivers/ata/libata.h static inline void zpodd_exit(struct ata_device *dev) {}
ata_device        231 drivers/ata/libata.h static inline bool zpodd_dev_enabled(struct ata_device *dev) { return false; }
ata_device        232 drivers/ata/libata.h static inline void zpodd_on_suspend(struct ata_device *dev) {}
ata_device        233 drivers/ata/libata.h static inline bool zpodd_zpready(struct ata_device *dev) { return false; }
ata_device        234 drivers/ata/libata.h static inline void zpodd_enable_run_wake(struct ata_device *dev) {}
ata_device        235 drivers/ata/libata.h static inline void zpodd_disable_run_wake(struct ata_device *dev) {}
ata_device        236 drivers/ata/libata.h static inline void zpodd_post_poweron(struct ata_device *dev) {}
ata_device         73 drivers/ata/pata_acpi.c static unsigned long pacpi_discover_modes(struct ata_port *ap, struct ata_device *adev)
ata_device        100 drivers/ata/pata_acpi.c static unsigned long pacpi_mode_filter(struct ata_device *adev, unsigned long mask)
ata_device        112 drivers/ata/pata_acpi.c static void pacpi_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        135 drivers/ata/pata_acpi.c static void pacpi_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        170 drivers/ata/pata_acpi.c 	struct ata_device *adev = qc->dev;
ata_device        118 drivers/ata/pata_ali.c static unsigned long ali_20_filter(struct ata_device *adev, unsigned long mask)
ata_device        141 drivers/ata/pata_ali.c static void ali_fifo_control(struct ata_port *ap, struct ata_device *adev, int on)
ata_device        170 drivers/ata/pata_ali.c static void ali_program_modes(struct ata_port *ap, struct ata_device *adev, struct ata_timing *t, u8 ultra)
ata_device        207 drivers/ata/pata_ali.c static void ali_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        209 drivers/ata/pata_ali.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        241 drivers/ata/pata_ali.c static void ali_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        244 drivers/ata/pata_ali.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        284 drivers/ata/pata_ali.c static void ali_warn_atapi_dma(struct ata_device *adev)
ata_device        308 drivers/ata/pata_ali.c static void ali_lock_sectors(struct ata_device *adev)
ata_device         43 drivers/ata/pata_amd.c static void timing_setup(struct ata_port *ap, struct ata_device *adev, int offset, int speed, int clock)
ata_device         50 drivers/ata/pata_amd.c 	struct ata_device *peer = ata_dev_pair(adev);
ata_device        180 drivers/ata/pata_amd.c 	struct ata_device *adev;
ata_device        209 drivers/ata/pata_amd.c static void amd33_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        215 drivers/ata/pata_amd.c static void amd66_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        221 drivers/ata/pata_amd.c static void amd100_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        227 drivers/ata/pata_amd.c static void amd133_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        242 drivers/ata/pata_amd.c static void amd33_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        247 drivers/ata/pata_amd.c static void amd66_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        252 drivers/ata/pata_amd.c static void amd100_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        257 drivers/ata/pata_amd.c static void amd133_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        268 drivers/ata/pata_amd.c static unsigned long nv_mode_filter(struct ata_device *dev,
ata_device        354 drivers/ata/pata_amd.c static void nv100_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        359 drivers/ata/pata_amd.c static void nv133_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        373 drivers/ata/pata_amd.c static void nv100_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        378 drivers/ata/pata_amd.c static void nv133_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        720 drivers/ata/pata_arasan_cf.c static void arasan_cf_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        746 drivers/ata/pata_arasan_cf.c static void arasan_cf_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         99 drivers/ata/pata_artop.c static void artop6210_load_piomode(struct ata_port *ap, struct ata_device *adev, unsigned int pio)
ata_device        126 drivers/ata/pata_artop.c static void artop6210_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        153 drivers/ata/pata_artop.c static void artop6260_load_piomode (struct ata_port *ap, struct ata_device *adev, unsigned int pio)
ata_device        180 drivers/ata/pata_artop.c static void artop6260_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        204 drivers/ata/pata_artop.c static void artop6210_set_dmamode (struct ata_port *ap, struct ata_device *adev)
ata_device        244 drivers/ata/pata_artop.c static void artop6260_set_dmamode (struct ata_port *ap, struct ata_device *adev)
ata_device        102 drivers/ata/pata_atiixp.c static void atiixp_set_pio_timing(struct ata_port *ap, struct ata_device *adev, int pio)
ata_device        132 drivers/ata/pata_atiixp.c static void atiixp_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        149 drivers/ata/pata_atiixp.c static void atiixp_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        214 drivers/ata/pata_atiixp.c 	struct ata_device *adev = qc->dev;
ata_device        107 drivers/ata/pata_atp867x.c static void atp867x_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        202 drivers/ata/pata_atp867x.c static void atp867x_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        204 drivers/ata/pata_atp867x.c 	struct ata_device *peer = ata_dev_pair(adev);
ata_device        134 drivers/ata/pata_bk3710.c 				    struct ata_device *adev)
ata_device        149 drivers/ata/pata_bk3710.c static void pata_bk3710_setpiomode(void __iomem *base, struct ata_device *pair,
ata_device        199 drivers/ata/pata_bk3710.c 				    struct ata_device *adev)
ata_device        202 drivers/ata/pata_bk3710.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device         69 drivers/ata/pata_buddha.c 	struct ata_device *dev = qc->dev;
ata_device        105 drivers/ata/pata_buddha.c 				struct ata_device **unused)
ata_device        107 drivers/ata/pata_buddha.c 	struct ata_device *dev;
ata_device         52 drivers/ata/pata_cmd640.c static void cmd640_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device         61 drivers/ata/pata_cmd640.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        132 drivers/ata/pata_cmd640.c 	struct ata_device *adev = qc->dev;
ata_device         94 drivers/ata/pata_cmd64x.c static void cmd64x_set_timing(struct ata_port *ap, struct ata_device *adev, u8 mode)
ata_device        124 drivers/ata/pata_cmd64x.c 		struct ata_device *pair = ata_dev_pair(adev);
ata_device        178 drivers/ata/pata_cmd64x.c static void cmd64x_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        191 drivers/ata/pata_cmd64x.c static void cmd64x_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         60 drivers/ata/pata_cs5520.c static void cs5520_set_timings(struct ata_port *ap, struct ata_device *adev, int pio)
ata_device         91 drivers/ata/pata_cs5520.c static void cs5520_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device         42 drivers/ata/pata_cs5530.c static void cs5530_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device         73 drivers/ata/pata_cs5530.c static void cs5530_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        134 drivers/ata/pata_cs5530.c 	struct ata_device *adev = qc->dev;
ata_device        135 drivers/ata/pata_cs5530.c 	struct ata_device *prev = ap->private_data;
ata_device         85 drivers/ata/pata_cs5535.c static void cs5535_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device         94 drivers/ata/pata_cs5535.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        124 drivers/ata/pata_cs5535.c static void cs5535_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        108 drivers/ata/pata_cs5536.c static void cs5536_program_dtc(struct ata_device *adev, u8 tim)
ata_device        148 drivers/ata/pata_cs5536.c static void cs5536_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        163 drivers/ata/pata_cs5536.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        192 drivers/ata/pata_cs5536.c static void cs5536_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         52 drivers/ata/pata_cypress.c static void cy82c693_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        101 drivers/ata/pata_cypress.c static void cy82c693_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         84 drivers/ata/pata_efar.c static void efar_set_piomode (struct ata_port *ap, struct ata_device *adev)
ata_device        158 drivers/ata/pata_efar.c static void efar_set_dmamode (struct ata_port *ap, struct ata_device *adev)
ata_device        331 drivers/ata/pata_ep93xx.c 				    struct ata_device *adev)
ata_device        334 drivers/ata/pata_ep93xx.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        707 drivers/ata/pata_ep93xx.c 	struct ata_device *adev = qc->dev;
ata_device         47 drivers/ata/pata_falcon.c 	struct ata_device *dev = qc->dev;
ata_device        102 drivers/ata/pata_falcon.c 				struct ata_device **unused)
ata_device        104 drivers/ata/pata_falcon.c 	struct ata_device *dev;
ata_device        141 drivers/ata/pata_ftide010.c static void ftide010_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        220 drivers/ata/pata_ftide010.c static void ftide010_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        240 drivers/ata/pata_ftide010.c 	struct ata_device *adev = qc->dev;
ata_device         47 drivers/ata/pata_gayle.c 	struct ata_device *dev = qc->dev;
ata_device         83 drivers/ata/pata_gayle.c 			       struct ata_device **unused)
ata_device         85 drivers/ata/pata_gayle.c 	struct ata_device *dev;
ata_device        176 drivers/ata/pata_hpt366.c static int hpt_dma_blacklisted(const struct ata_device *dev, char *modestr,
ata_device        199 drivers/ata/pata_hpt366.c static unsigned long hpt366_filter(struct ata_device *adev, unsigned long mask)
ata_device        229 drivers/ata/pata_hpt366.c static void hpt366_set_mode(struct ata_port *ap, struct ata_device *adev,
ata_device        264 drivers/ata/pata_hpt366.c static void hpt366_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        278 drivers/ata/pata_hpt366.c static void hpt366_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        224 drivers/ata/pata_hpt37x.c static int hpt_dma_blacklisted(const struct ata_device *dev, char *modestr,
ata_device        282 drivers/ata/pata_hpt37x.c static unsigned long hpt370_filter(struct ata_device *adev, unsigned long mask)
ata_device        300 drivers/ata/pata_hpt37x.c static unsigned long hpt370a_filter(struct ata_device *adev, unsigned long mask)
ata_device        317 drivers/ata/pata_hpt37x.c static unsigned long hpt372_filter(struct ata_device *adev, unsigned long mask)
ata_device        408 drivers/ata/pata_hpt37x.c static void hpt370_set_mode(struct ata_port *ap, struct ata_device *adev,
ata_device        447 drivers/ata/pata_hpt37x.c static void hpt370_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        460 drivers/ata/pata_hpt37x.c static void hpt370_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        502 drivers/ata/pata_hpt37x.c static void hpt372_set_mode(struct ata_port *ap, struct ata_device *adev,
ata_device        541 drivers/ata/pata_hpt37x.c static void hpt372_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        554 drivers/ata/pata_hpt37x.c static void hpt372_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        125 drivers/ata/pata_hpt3x2n.c static unsigned long hpt372n_filter(struct ata_device *adev, unsigned long mask)
ata_device        182 drivers/ata/pata_hpt3x2n.c static void hpt3x2n_set_mode(struct ata_port *ap, struct ata_device *adev,
ata_device        221 drivers/ata/pata_hpt3x2n.c static void hpt3x2n_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        234 drivers/ata/pata_hpt3x2n.c static void hpt3x2n_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         37 drivers/ata/pata_hpt3x3.c static void hpt3x3_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device         67 drivers/ata/pata_hpt3x3.c static void hpt3x3_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        188 drivers/ata/pata_icside.c static void pata_icside_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         55 drivers/ata/pata_imx.c static void pata_imx_set_timing(struct ata_device *adev,
ata_device         85 drivers/ata/pata_imx.c static void pata_imx_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device         75 drivers/ata/pata_it8213.c static void it8213_set_piomode (struct ata_port *ap, struct ata_device *adev)
ata_device        140 drivers/ata/pata_it8213.c static void it8213_set_dmamode (struct ata_port *ap, struct ata_device *adev)
ata_device        126 drivers/ata/pata_it821x.c static void it821x_program(struct ata_port *ap, struct ata_device *adev, u16 timing)
ata_device        154 drivers/ata/pata_it821x.c static void it821x_program_udma(struct ata_port *ap, struct ata_device *adev, u16 timing)
ata_device        185 drivers/ata/pata_it821x.c static void it821x_clock_strategy(struct ata_port *ap, struct ata_device *adev)
ata_device        190 drivers/ata/pata_it821x.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        255 drivers/ata/pata_it821x.c static void it821x_passthru_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        285 drivers/ata/pata_it821x.c static void it821x_passthru_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        348 drivers/ata/pata_it821x.c 	struct ata_device *adev = qc->dev;
ata_device        371 drivers/ata/pata_it821x.c 	struct ata_device *adev = qc->dev;
ata_device        394 drivers/ata/pata_it821x.c 		struct ata_device *adev = &ap->link.device[device];
ata_device        464 drivers/ata/pata_it821x.c static int it821x_smart_set_mode(struct ata_link *link, struct ata_device **unused)
ata_device        466 drivers/ata/pata_it821x.c 	struct ata_device *dev;
ata_device        499 drivers/ata/pata_it821x.c static void it821x_dev_config(struct ata_device *adev)
ata_device        536 drivers/ata/pata_it821x.c static unsigned int it821x_read_id(struct ata_device *adev,
ata_device         25 drivers/ata/pata_ixp4xx_cf.c static int ixp4xx_set_mode(struct ata_link *link, struct ata_device **error)
ata_device         27 drivers/ata/pata_ixp4xx_cf.c 	struct ata_device *dev;
ata_device        202 drivers/ata/pata_legacy.c static int legacy_set_mode(struct ata_link *link, struct ata_device **unused)
ata_device        204 drivers/ata/pata_legacy.c 	struct ata_device *dev;
ata_device        253 drivers/ata/pata_legacy.c static void pdc20230_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        295 drivers/ata/pata_legacy.c 	struct ata_device *dev = qc->dev;
ata_device        348 drivers/ata/pata_legacy.c static void ht6560a_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        382 drivers/ata/pata_legacy.c static void ht6560b_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        446 drivers/ata/pata_legacy.c 						struct ata_device *adev)
ata_device        450 drivers/ata/pata_legacy.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        521 drivers/ata/pata_legacy.c static void opti82c46x_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        525 drivers/ata/pata_legacy.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        608 drivers/ata/pata_legacy.c 	struct ata_device *adev = qc->dev;
ata_device        638 drivers/ata/pata_legacy.c static void qdi65x0_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        679 drivers/ata/pata_legacy.c 	struct ata_device *adev = qc->dev;
ata_device        696 drivers/ata/pata_legacy.c 	struct ata_device *adev = qc->dev;
ata_device        775 drivers/ata/pata_legacy.c static void winbond_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        943 drivers/ata/pata_legacy.c 	struct ata_device *dev;
ata_device        392 drivers/ata/pata_macio.c 				   struct ata_device *adev)
ata_device        801 drivers/ata/pata_macio.c 	struct ata_device *dev;
ata_device       1231 drivers/ata/pata_macio.c 	struct ata_device *dev;
ata_device        390 drivers/ata/pata_mpc52xx.c mpc52xx_ata_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        408 drivers/ata/pata_mpc52xx.c mpc52xx_ata_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         76 drivers/ata/pata_mpiix.c static void mpiix_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        126 drivers/ata/pata_mpiix.c 	struct ata_device *adev = qc->dev;
ata_device         23 drivers/ata/pata_netcell.c static unsigned int netcell_read_id(struct ata_device *adev,
ata_device         59 drivers/ata/pata_ninja32.c static void ninja32_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device         72 drivers/ata/pata_ninja32.c 	struct ata_device *adev = &ap->link.device[device];
ata_device         50 drivers/ata/pata_ns87410.c static void ns87410_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        104 drivers/ata/pata_ns87410.c 	struct ata_device *adev = qc->dev;
ata_device         53 drivers/ata/pata_ns87415.c static void ns87415_set_mode(struct ata_port *ap, struct ata_device *adev, u8 mode)
ata_device        108 drivers/ata/pata_ns87415.c static void ns87415_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        129 drivers/ata/pata_octeon_cf.c static void octeon_cf_set_piomode(struct ata_port *ap, struct ata_device *dev)
ata_device        214 drivers/ata/pata_octeon_cf.c static void octeon_cf_set_dmamode(struct ata_port *ap, struct ata_device *dev)
ata_device        777 drivers/ata/pata_octeon_cf.c static void octeon_cf_dev_config(struct ata_device *dev)
ata_device         64 drivers/ata/pata_oldpiix.c static void oldpiix_set_piomode (struct ata_port *ap, struct ata_device *adev)
ata_device        126 drivers/ata/pata_oldpiix.c static void oldpiix_set_dmamode (struct ata_port *ap, struct ata_device *adev)
ata_device        196 drivers/ata/pata_oldpiix.c 	struct ata_device *adev = qc->dev;
ata_device        107 drivers/ata/pata_opti.c static void opti_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        109 drivers/ata/pata_opti.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        116 drivers/ata/pata_optidma.c static void optidma_mode_setup(struct ata_port *ap, struct ata_device *adev, u8 mode)
ata_device        118 drivers/ata/pata_optidma.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        201 drivers/ata/pata_optidma.c static void optiplus_mode_setup(struct ata_port *ap, struct ata_device *adev, u8 mode)
ata_device        239 drivers/ata/pata_optidma.c static void optidma_set_pio_mode(struct ata_port *ap, struct ata_device *adev)
ata_device        254 drivers/ata/pata_optidma.c static void optidma_set_dma_mode(struct ata_port *ap, struct ata_device *adev)
ata_device        269 drivers/ata/pata_optidma.c static void optiplus_set_pio_mode(struct ata_port *ap, struct ata_device *adev)
ata_device        284 drivers/ata/pata_optidma.c static void optiplus_set_dma_mode(struct ata_port *ap, struct ata_device *adev)
ata_device        297 drivers/ata/pata_optidma.c static u8 optidma_make_bits43(struct ata_device *adev)
ata_device        318 drivers/ata/pata_optidma.c static int optidma_set_mode(struct ata_link *link, struct ata_device **r_failed)
ata_device         43 drivers/ata/pata_pcmcia.c static int pcmcia_set_mode(struct ata_link *link, struct ata_device **r_failed_dev)
ata_device         45 drivers/ata/pata_pcmcia.c 	struct ata_device *master = &link->device[0];
ata_device         46 drivers/ata/pata_pcmcia.c 	struct ata_device *slave = &link->device[1];
ata_device         73 drivers/ata/pata_pcmcia.c 				struct ata_device **r_failed_dev)
ata_device         64 drivers/ata/pata_pdc2027x.c static void pdc2027x_set_piomode(struct ata_port *ap, struct ata_device *adev);
ata_device         65 drivers/ata/pata_pdc2027x.c static void pdc2027x_set_dmamode(struct ata_port *ap, struct ata_device *adev);
ata_device         67 drivers/ata/pata_pdc2027x.c static unsigned long pdc2027x_mode_filter(struct ata_device *adev, unsigned long mask);
ata_device         69 drivers/ata/pata_pdc2027x.c static int pdc2027x_set_mode(struct ata_link *link, struct ata_device **r_failed);
ata_device        192 drivers/ata/pata_pdc2027x.c static inline void __iomem *dev_mmio(struct ata_port *ap, struct ata_device *adev, unsigned int offset)
ata_device        261 drivers/ata/pata_pdc2027x.c static unsigned long pdc2027x_mode_filter(struct ata_device *adev, unsigned long mask)
ata_device        264 drivers/ata/pata_pdc2027x.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        290 drivers/ata/pata_pdc2027x.c static void pdc2027x_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        333 drivers/ata/pata_pdc2027x.c static void pdc2027x_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        396 drivers/ata/pata_pdc2027x.c static int pdc2027x_set_mode(struct ata_link *link, struct ata_device **r_failed)
ata_device        399 drivers/ata/pata_pdc2027x.c 	struct ata_device *dev;
ata_device         79 drivers/ata/pata_pdc202xx_old.c static void pdc202xx_configure_piomode(struct ata_port *ap, struct ata_device *adev, int pio)
ata_device        112 drivers/ata/pata_pdc202xx_old.c static void pdc202xx_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        126 drivers/ata/pata_pdc202xx_old.c static void pdc202xx_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        180 drivers/ata/pata_pdc202xx_old.c 	struct ata_device *adev = qc->dev;
ata_device        230 drivers/ata/pata_pdc202xx_old.c 	struct ata_device *adev = qc->dev;
ata_device        260 drivers/ata/pata_pdc202xx_old.c static void pdc2026x_dev_config(struct ata_device *adev)
ata_device         31 drivers/ata/pata_piccolo.c static void tosh_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device         44 drivers/ata/pata_piccolo.c static void tosh_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         32 drivers/ata/pata_platform.c static int pata_platform_set_mode(struct ata_link *link, struct ata_device **unused)
ata_device         34 drivers/ata/pata_platform.c 	struct ata_device *dev;
ata_device         40 drivers/ata/pata_radisys.c static void radisys_set_piomode (struct ata_port *ap, struct ata_device *adev)
ata_device         91 drivers/ata/pata_radisys.c static void radisys_set_dmamode (struct ata_port *ap, struct ata_device *adev)
ata_device        171 drivers/ata/pata_radisys.c 	struct ata_device *adev = qc->dev;
ata_device         88 drivers/ata/pata_rdc.c static void rdc_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        170 drivers/ata/pata_rdc.c static void rdc_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         37 drivers/ata/pata_rz1000.c static int rz1000_set_mode(struct ata_link *link, struct ata_device **unused)
ata_device         39 drivers/ata/pata_rz1000.c 	struct ata_device *dev;
ata_device        103 drivers/ata/pata_samsung_cf.c static void pata_s3c_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device         72 drivers/ata/pata_sc1200.c static void sc1200_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        106 drivers/ata/pata_sc1200.c static void sc1200_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        155 drivers/ata/pata_sc1200.c 	struct ata_device *adev = qc->dev;
ata_device        156 drivers/ata/pata_sc1200.c 	struct ata_device *prev = ap->private_data;
ata_device         40 drivers/ata/pata_sch.c static void sch_set_piomode(struct ata_port *ap, struct ata_device *adev);
ata_device         41 drivers/ata/pata_sch.c static void sch_set_dmamode(struct ata_port *ap, struct ata_device *adev);
ata_device         96 drivers/ata/pata_sch.c static void sch_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        125 drivers/ata/pata_sch.c static void sch_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        153 drivers/ata/pata_serverworks.c static unsigned long serverworks_osb4_filter(struct ata_device *adev, unsigned long mask)
ata_device        169 drivers/ata/pata_serverworks.c static unsigned long serverworks_csb_filter(struct ata_device *adev, unsigned long mask)
ata_device        197 drivers/ata/pata_serverworks.c static void serverworks_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        227 drivers/ata/pata_serverworks.c static void serverworks_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         67 drivers/ata/pata_sil680.c static unsigned long sil680_seldev(struct ata_port *ap, struct ata_device *adev, int r)
ata_device        106 drivers/ata/pata_sil680.c static void sil680_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        125 drivers/ata/pata_sil680.c 	struct ata_device *pair = ata_dev_pair(adev);
ata_device        158 drivers/ata/pata_sil680.c static void sil680_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         86 drivers/ata/pata_sis.c static int sis_old_port_base(struct ata_device *adev)
ata_device         99 drivers/ata/pata_sis.c static int sis_port_base(struct ata_device *adev)
ata_device        195 drivers/ata/pata_sis.c static void sis_set_fifo(struct ata_port *ap, struct ata_device *adev)
ata_device        227 drivers/ata/pata_sis.c static void sis_old_set_piomode (struct ata_port *ap, struct ata_device *adev)
ata_device        264 drivers/ata/pata_sis.c static void sis_100_set_piomode (struct ata_port *ap, struct ata_device *adev)
ata_device        289 drivers/ata/pata_sis.c static void sis_133_set_piomode (struct ata_port *ap, struct ata_device *adev)
ata_device        337 drivers/ata/pata_sis.c static void sis_old_set_dmamode (struct ata_port *ap, struct ata_device *adev)
ata_device        376 drivers/ata/pata_sis.c static void sis_66_set_dmamode (struct ata_port *ap, struct ata_device *adev)
ata_device        415 drivers/ata/pata_sis.c static void sis_100_set_dmamode (struct ata_port *ap, struct ata_device *adev)
ata_device        449 drivers/ata/pata_sis.c static void sis_133_early_set_dmamode (struct ata_port *ap, struct ata_device *adev)
ata_device        482 drivers/ata/pata_sis.c static void sis_133_set_dmamode (struct ata_port *ap, struct ata_device *adev)
ata_device        528 drivers/ata/pata_sis.c static unsigned long sis_133_mode_filter(struct ata_device *adev, unsigned long mask)
ata_device         78 drivers/ata/pata_sl82c105.c static void sl82c105_configure_piomode(struct ata_port *ap, struct ata_device *adev, int pio)
ata_device        101 drivers/ata/pata_sl82c105.c static void sl82c105_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        115 drivers/ata/pata_sl82c105.c static void sl82c105_configure_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device         73 drivers/ata/pata_triflex.c static void triflex_load_timing(struct ata_port *ap, struct ata_device *adev, int speed)
ata_device        126 drivers/ata/pata_triflex.c static void triflex_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        245 drivers/ata/pata_via.c static void via_do_set_mode(struct ata_port *ap, struct ata_device *adev,
ata_device        249 drivers/ata/pata_via.c 	struct ata_device *peer = ata_dev_pair(adev);
ata_device        330 drivers/ata/pata_via.c static void via_set_piomode(struct ata_port *ap, struct ata_device *adev)
ata_device        338 drivers/ata/pata_via.c static void via_set_dmamode(struct ata_port *ap, struct ata_device *adev)
ata_device        355 drivers/ata/pata_via.c static unsigned long via_mode_filter(struct ata_device *dev, unsigned long mask)
ata_device        602 drivers/ata/sata_mv.c static void mv6_dev_config(struct ata_device *dev);
ata_device       1405 drivers/ata/sata_mv.c static void mv6_dev_config(struct ata_device *adev)
ata_device       1882 drivers/ata/sata_nv.c 	struct ata_device *dev;
ata_device        102 drivers/ata/sata_sil.c static void sil_dev_config(struct ata_device *dev);
ata_device        105 drivers/ata/sata_sil.c static int sil_set_mode(struct ata_link *link, struct ata_device **r_failed);
ata_device        344 drivers/ata/sata_sil.c static int sil_set_mode(struct ata_link *link, struct ata_device **r_failed)
ata_device        349 drivers/ata/sata_sil.c 	struct ata_device *dev;
ata_device        610 drivers/ata/sata_sil.c static void sil_dev_config(struct ata_device *dev)
ata_device        325 drivers/ata/sata_sil24.c static void sil24_dev_config(struct ata_device *dev);
ata_device        469 drivers/ata/sata_sil24.c static void sil24_dev_config(struct ata_device *dev)
ata_device         82 drivers/ata/sata_via.c static void vt6421_set_pio_mode(struct ata_port *ap, struct ata_device *adev);
ata_device         83 drivers/ata/sata_via.c static void vt6421_set_dma_mode(struct ata_port *ap, struct ata_device *adev);
ata_device        402 drivers/ata/sata_via.c static void vt6421_set_pio_mode(struct ata_port *ap, struct ata_device *adev)
ata_device        410 drivers/ata/sata_via.c static void vt6421_set_dma_mode(struct ata_port *ap, struct ata_device *adev)
ata_device         98 drivers/scsi/aic94xx/aic94xx_dev.c 	struct ata_device *ata_dev = sas_to_ata_dev(dev);
ata_device       1296 drivers/scsi/hisi_sas/hisi_sas_main.c static void hisi_sas_fill_ata_reset_cmd(struct ata_device *dev,
ata_device       1651 drivers/scsi/isci/request.c 	struct ata_device *dev = sas_to_ata_dev(ireq->target_device->domain_dev);
ata_device       1668 drivers/scsi/isci/request.c 	struct ata_device *dev = sas_to_ata_dev(ireq->target_device->domain_dev);
ata_device        475 drivers/scsi/libsas/sas_ata.c static void sas_ata_set_dmamode(struct ata_port *ap, struct ata_device *ata_dev)
ata_device        615 include/linux/libata.h 	struct ata_device	*dev;
ata_device        737 include/linux/libata.h #define ATA_DEVICE_CLEAR_BEGIN		offsetof(struct ata_device, n_sectors)
ata_device        738 include/linux/libata.h #define ATA_DEVICE_CLEAR_END		offsetof(struct ata_device, ering)
ata_device        741 include/linux/libata.h 	struct ata_device	*dev;		/* offending device */
ata_device        800 include/linux/libata.h 	struct ata_device	device[ATA_MAX_DEVICES];
ata_device        904 include/linux/libata.h 	unsigned long (*mode_filter)(struct ata_device *dev, unsigned long xfer_mask);
ata_device        905 include/linux/libata.h 	void (*set_piomode)(struct ata_port *ap, struct ata_device *dev);
ata_device        906 include/linux/libata.h 	void (*set_dmamode)(struct ata_port *ap, struct ata_device *dev);
ata_device        907 include/linux/libata.h 	int  (*set_mode)(struct ata_link *link, struct ata_device **r_failed_dev);
ata_device        908 include/linux/libata.h 	unsigned int (*read_id)(struct ata_device *dev, struct ata_taskfile *tf, u16 *id);
ata_device        910 include/linux/libata.h 	void (*dev_config)(struct ata_device *dev);
ata_device        977 include/linux/libata.h 	ssize_t (*sw_activity_show)(struct ata_device *dev, char *buf);
ata_device        978 include/linux/libata.h 	ssize_t (*sw_activity_store)(struct ata_device *dev,
ata_device       1168 include/linux/libata.h extern void ata_dev_disable(struct ata_device *adev);
ata_device       1173 include/linux/libata.h extern unsigned int ata_do_dev_read_id(struct ata_device *dev,
ata_device       1178 include/linux/libata.h extern void ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd);
ata_device       1189 include/linux/libata.h extern struct ata_device *ata_dev_pair(struct ata_device *adev);
ata_device       1190 include/linux/libata.h extern int ata_do_set_mode(struct ata_link *link, struct ata_device **r_failed_dev);
ata_device       1202 include/linux/libata.h extern unsigned int ata_pio_need_iordy(const struct ata_device *);
ata_device       1204 include/linux/libata.h extern int ata_timing_compute(struct ata_device *, unsigned short,
ata_device       1250 include/linux/libata.h unsigned long ata_acpi_gtm_xfermask(struct ata_device *dev,
ata_device       1271 include/linux/libata.h static inline unsigned int ata_acpi_gtm_xfermask(struct ata_device *dev,
ata_device       1412 include/linux/libata.h void ata_dev_printk(const struct ata_device *dev, const char *level,
ata_device       1532 include/linux/libata.h static inline unsigned int ata_dev_enabled(const struct ata_device *dev)
ata_device       1537 include/linux/libata.h static inline unsigned int ata_dev_disabled(const struct ata_device *dev)
ata_device       1542 include/linux/libata.h static inline unsigned int ata_dev_absent(const struct ata_device *dev)
ata_device       1593 include/linux/libata.h extern struct ata_device *ata_dev_next(struct ata_device *dev,
ata_device       1629 include/linux/libata.h static inline int ata_ncq_enabled(struct ata_device *dev)
ata_device       1635 include/linux/libata.h static inline bool ata_fpdma_dsm_supported(struct ata_device *dev)
ata_device       1642 include/linux/libata.h static inline bool ata_fpdma_read_log_supported(struct ata_device *dev)
ata_device       1649 include/linux/libata.h static inline bool ata_fpdma_zac_mgmt_in_supported(struct ata_device *dev)
ata_device       1656 include/linux/libata.h static inline bool ata_fpdma_zac_mgmt_out_supported(struct ata_device *dev)
ata_device       1695 include/linux/libata.h static inline void ata_tf_init(struct ata_device *dev, struct ata_taskfile *tf)
ata_device       1729 include/linux/libata.h static inline int ata_try_flush_cache(const struct ata_device *dev)
ata_device       1780 include/linux/libata.h static inline int ata_using_mwdma(struct ata_device *adev)
ata_device       1787 include/linux/libata.h static inline int ata_using_udma(struct ata_device *adev)
ata_device       1794 include/linux/libata.h static inline int ata_dma_enabled(struct ata_device *adev)
ata_device       1864 include/linux/libata.h extern unsigned int ata_sff_dev_classify(struct ata_device *dev, int present,
ata_device        418 include/scsi/libsas.h static inline struct ata_device *sas_to_ata_dev(struct domain_device *dev)
ata_device        280 include/trace/events/libata.h 	TP_PROTO(struct ata_device *dev, unsigned int eh_action, unsigned int eh_err_mask),