Searched refs:dev (Results 51 - 75 of 8049) sorted by path

1234567891011>>

/drivers/ata/
H A Dlibata-acpi.c35 static void ata_acpi_clear_gtf(struct ata_device *dev) argument
37 kfree(dev->gtf_cache);
38 dev->gtf_cache = NULL;
45 struct ata_device *dev; member in union:ata_acpi_hotplug_context::__anon30
53 * @dev: the acpi_handle returned will correspond to this device
59 acpi_handle ata_dev_acpi_handle(struct ata_device *dev) argument
61 return dev->flags & ATA_DFLAG_ACPI_DISABLED ?
62 NULL : ACPI_HANDLE(&dev->tdev);
65 /* @ap and @dev are the same as ata_acpi_handle_hotplug() */
66 static void ata_acpi_detach_device(struct ata_port *ap, struct ata_device *dev) argument
99 ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device *dev, u32 event) argument
136 struct ata_device *dev = ata_hotplug_data(adev->hp).dev; local
147 ata_acpi_uevent(struct ata_port *ap, struct ata_device *dev, u32 event) argument
173 struct ata_device *dev = ata_hotplug_data(adev->hp).dev; local
205 ata_acpi_bind_dev(struct ata_device *dev) argument
402 ata_dev_get_GTF(struct ata_device *dev, struct ata_acpi_gtf **gtf) argument
490 ata_acpi_gtm_xfermask(struct ata_device *dev, const struct ata_acpi_gtm *gtm) argument
532 struct ata_device *dev; local
548 ata_acpi_gtf_to_tf(struct ata_device *dev, const struct ata_acpi_gtf *gtf, struct ata_taskfile *tf) argument
565 ata_acpi_filter_tf(struct ata_device *dev, const struct ata_taskfile *tf, const struct ata_taskfile *ptf) argument
644 ata_acpi_run_tf(struct ata_device *dev, const struct ata_acpi_gtf *gtf, const struct ata_acpi_gtf *prev_gtf) argument
725 ata_acpi_exec_tfs(struct ata_device *dev, int *nr_executed) argument
770 ata_acpi_push_id(struct ata_device *dev) argument
841 struct ata_device *dev; local
873 ata_acpi_choose_suspend_state(struct ata_device *dev, bool runtime) argument
894 struct ata_device *dev; local
922 struct ata_device *dev; local
977 ata_acpi_on_devcfg(struct ata_device *dev) argument
1051 ata_acpi_on_disable(struct ata_device *dev) argument
[all...]
H A Dlibata-core.c96 static unsigned int ata_dev_init_params(struct ata_device *dev,
98 static unsigned int ata_dev_set_xfermode(struct ata_device *dev);
99 static void ata_dev_xfermask(struct ata_device *dev);
100 static unsigned long ata_dev_blacklisted(const struct ata_device *dev);
240 * @dev: the previous device, NULL to start
250 struct ata_device *ata_dev_next(struct ata_device *dev, struct ata_link *link, argument
256 /* NULL dev indicates start of iteration */
257 if (!dev)
261 dev = link->device;
265 dev
305 ata_dev_phys_link(struct ata_device *dev) argument
411 ata_force_xfermask(struct ata_device *dev) argument
465 ata_force_horkage(struct ata_device *dev) argument
649 ata_rwcmd_protocol(struct ata_taskfile *tf, struct ata_device *dev) argument
694 ata_tf_read_block(struct ata_taskfile *tf, struct ata_device *dev) argument
748 ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev, u64 block, u32 n_block, unsigned int tf_flags, unsigned int tag) argument
1214 ata_read_native_max_address(struct ata_device *dev, u64 *max_sectors) argument
1265 ata_set_max_sectors(struct ata_device *dev, u64 new_sectors) argument
1322 ata_hpa_resize(struct ata_device *dev) argument
1545 ata_exec_internal_sg(struct ata_device *dev, struct ata_taskfile *tf, const u8 *cdb, int dma_dir, struct scatterlist *sgl, unsigned int n_elem, unsigned long timeout) argument
1730 ata_exec_internal(struct ata_device *dev, struct ata_taskfile *tf, const u8 *cdb, int dma_dir, void *buf, unsigned int buflen, unsigned long timeout) argument
1763 ata_do_simple_cmd(struct ata_device *dev, u8 cmd) argument
1842 ata_do_dev_read_id(struct ata_device *dev, struct ata_taskfile *tf, u16 *id) argument
1870 ata_dev_read_id(struct ata_device *dev, unsigned int *p_class, unsigned int flags, u16 *id) argument
2057 ata_do_link_spd_horkage(struct ata_device *dev) argument
2090 ata_dev_knobble(struct ata_device *dev) argument
2100 ata_dev_config_ncq(struct ata_device *dev, char *desc, size_t desc_sz) argument
2182 ata_dev_configure(struct ata_device *dev) argument
2598 struct ata_device *dev; local
3145 ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel) argument
3218 ata_dev_set_mode(struct ata_device *dev) argument
3319 struct ata_device *dev; local
3941 ata_dev_same_device(struct ata_device *dev, unsigned int new_class, const u16 *new_id) argument
3988 ata_dev_reread_id(struct ata_device *dev, unsigned int readid_flags) argument
4022 ata_dev_revalidate(struct ata_device *dev, unsigned int new_class, unsigned int readid_flags) argument
4254 ata_dev_blacklisted(const struct ata_device *dev) argument
4275 ata_dma_blacklisted(const struct ata_device *dev) argument
4295 ata_is_40wire(struct ata_device *dev) argument
4318 struct ata_device *dev; local
4365 ata_dev_xfermask(struct ata_device *dev) argument
4445 ata_dev_set_xfermode(struct ata_device *dev) argument
4491 ata_dev_set_feature(struct ata_device *dev, u8 enable, u8 feature) argument
4525 ata_dev_init_params(struct ata_device *dev, u16 heads, u16 sectors) argument
4768 ata_qc_new_init(struct ata_device *dev) argument
4860 struct ata_device *dev = qc->dev; local
4904 struct ata_device *dev = qc->dev; local
5357 ata_port_pm_suspend(struct device *dev) argument
5368 ata_port_pm_freeze(struct device *dev) argument
5379 ata_port_pm_poweroff(struct device *dev) argument
5398 ata_port_pm_resume(struct device *dev) argument
5415 ata_port_runtime_idle(struct device *dev) argument
5431 ata_port_runtime_suspend(struct device *dev) argument
5437 ata_port_runtime_resume(struct device *dev) argument
5514 ata_dev_init(struct ata_device *dev) argument
5566 struct ata_device *dev = &link->device[i]; local
5714 ata_host_alloc(struct device *dev, int max_ports) argument
5776 ata_host_alloc_pinfo(struct device *dev, const struct ata_port_info * const * ppi, int n_ports) argument
6025 ata_host_init(struct ata_host *host, struct device *dev, struct ata_port_operations *ops) argument
6260 struct ata_device *dev; local
6814 ata_dev_printk(const struct ata_device *dev, const char *level, const char *fmt, ...) argument
6833 ata_print_version(const struct device *dev, const char *version) argument
[all...]
H A Dlibata-eh.c289 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
327 * @dev: target device
330 * Determine timeout for internal command @cmd for @dev.
338 unsigned long ata_internal_cmd_timeout(struct ata_device *dev, u8 cmd) argument
340 struct ata_eh_context *ehc = &dev->link->eh_context;
347 idx = ehc->cmd_timeout_idx[dev->devno][ent];
353 * @dev: target device
356 * Notify EH that internal command @cmd for @dev timed out. This
363 void ata_internal_cmd_timed_out(struct ata_device *dev, u8 cmd) argument
365 struct ata_eh_context *ehc = &dev
434 ata_eh_dev_action(struct ata_device *dev) argument
441 ata_eh_clear_action(struct ata_link *link, struct ata_device *dev, struct ata_eh_info *ehi, unsigned int action) argument
555 struct ata_device *dev; local
741 struct ata_device *dev; local
1194 struct ata_device *dev = ap->link.device; local
1346 ata_dev_disable(struct ata_device *dev) argument
1372 ata_eh_detach_dev(struct ata_device *dev) argument
1412 ata_eh_about_to_do(struct ata_link *link, struct ata_device *dev, unsigned int action) argument
1445 ata_eh_done(struct ata_link *link, struct ata_device *dev, unsigned int action) argument
1504 ata_read_log_page(struct ata_device *dev, u8 log, u8 page, void *buf, unsigned int sectors) argument
1543 ata_eh_read_log_10h(struct ata_device *dev, int *tag, struct ata_taskfile *tf) argument
1595 atapi_eh_tur(struct ata_device *dev, u8 *r_sense_key) argument
1628 atapi_eh_request_sense(struct ata_device *dev, u8 *sense_buf, u8 dfl_sense_key) argument
1732 struct ata_device *dev = link->device; local
1951 ata_eh_speed_down_verdict(struct ata_device *dev) argument
2011 ata_eh_speed_down(struct ata_device *dev, unsigned int eflags, unsigned int err_mask) argument
2122 struct ata_device *dev; local
2592 struct ata_device *dev; local
2625 struct ata_device *dev; local
3005 struct ata_device *dev; local
3048 ata_eh_park_issue_cmd(struct ata_device *dev, int park) argument
3081 struct ata_device *dev; local
3223 struct ata_device *dev; local
3271 atapi_eh_clear_ua(struct ata_device *dev) argument
3322 ata_eh_maybe_retry_flush(struct ata_device *dev) argument
3403 struct ata_device *dev, *link_dev = NULL, *lpm_dev = NULL; local
3513 struct ata_device *dev; local
3523 struct ata_device *dev; local
3536 struct ata_device *dev; local
3579 ata_eh_schedule_probe(struct ata_device *dev) argument
3628 ata_eh_handle_dev_fail(struct ata_device *dev, int err) argument
3706 struct ata_device *dev; local
3985 struct ata_device *dev; local
4036 struct ata_device *dev; local
4100 struct ata_device *dev; local
[all...]
H A Dlibata-pmp.c112 struct ata_link *link = qc->dev->link;
212 * @dev: PMP device
215 * Read selected PMP GSCRs from the PMP at @dev. This will serve
224 static int sata_pmp_read_gscr(struct ata_device *dev, u32 *gscr) argument
233 err_mask = sata_pmp_read(dev->link, reg, &gscr[reg]);
235 ata_dev_err(dev, "failed to read PMP GSCR[%d] (Emask=0x%x)\n",
259 static int sata_pmp_configure(struct ata_device *dev, int print_info) argument
261 struct ata_port *ap = dev->link->ap;
262 u32 *gscr = dev->gscr;
279 dev
479 sata_pmp_attach(struct ata_device *dev) argument
553 sata_pmp_detach(struct ata_device *dev) argument
591 sata_pmp_same_pmp(struct ata_device *dev, const u32 *new_gscr) argument
642 sata_pmp_revalidate(struct ata_device *dev, unsigned int new_class) argument
704 sata_pmp_revalidate_quick(struct ata_device *dev) argument
751 struct ata_device *dev = link->device; local
925 struct ata_device *dev; local
[all...]
H A Dlibata-scsi.c121 struct ata_device *dev; local
139 ata_for_each_dev(dev, &ap->link, ENABLED) {
140 if (dev->horkage & ATA_HORKAGE_NOLPM) {
154 static ssize_t ata_scsi_lpm_show(struct device *dev, argument
157 struct Scsi_Host *shost = class_to_shost(dev);
176 struct ata_device *dev; local
184 dev = ata_scsi_find_dev(ap, sdev);
185 if (!dev) {
189 if (dev->flags & ATA_DFLAG_NO_UNLOAD) {
194 link = dev
215 struct ata_device *dev; local
280 ata_scsi_em_message_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
291 ata_scsi_em_message_show(struct device *dev, struct device_attribute *attr, char *buf) argument
306 ata_scsi_em_message_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
319 ata_scsi_activity_show(struct device *dev, struct device_attribute *attr, char *buf) argument
333 ata_scsi_activity_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
415 struct ata_device *dev; local
446 struct ata_device *dev = ata_scsi_find_dev(ap, sdev); local
753 ata_scsi_qc_new(struct ata_device *dev, struct scsi_cmnd *cmd) argument
1031 struct ata_device *dev = qc->dev; local
1113 ata_scsi_dev_config(struct scsi_device *sdev, struct ata_device *dev) argument
1191 struct ata_device *dev = __ata_scsi_find_dev(ap, sdev); local
1221 struct ata_device *dev; local
1255 struct ata_device *dev; local
1538 struct ata_device *dev = qc->dev; local
1813 ata_scsi_translate(struct ata_device *dev, struct scsi_cmnd *cmd, ata_xlat_func_t xlat_func) argument
2352 struct ata_device *dev = args->dev; local
2468 struct ata_device *dev = args->dev; local
2715 struct ata_device *dev = qc->dev; local
2847 struct ata_device *dev = __ata_scsi_find_dev(ap, scsidev); local
2905 struct ata_device *dev = qc->dev; local
3089 struct ata_device *dev = qc->dev; local
3165 struct ata_device *dev = qc->dev; local
3344 ata_get_xlat_func(struct ata_device *dev, u8 cmd) argument
3408 __ata_scsi_queuecmd(struct scsi_cmnd *scmd, struct ata_device *dev) argument
3478 struct ata_device *dev; local
3514 ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd) argument
3678 struct ata_device *dev; local
3761 ata_scsi_offline_dev(struct ata_device *dev) argument
3780 ata_scsi_remove_dev(struct ata_device *dev) argument
3832 struct ata_device *dev; local
3861 ata_scsi_media_change_notify(struct ata_device *dev) argument
3981 struct ata_device *dev = ata_find_dev(ap, devno); local
4016 struct ata_device *dev; local
[all...]
H A Dlibata-sff.c545 * @dev: device to target
558 unsigned int ata_sff_data_xfer(struct ata_device *dev, unsigned char *buf, argument
561 struct ata_port *ap = dev->link->ap;
598 * @dev: device to target
613 unsigned int ata_sff_data_xfer32(struct ata_device *dev, unsigned char *buf, argument
616 struct ata_port *ap = dev->link->ap;
622 return ata_sff_data_xfer(dev, buf, buflen, rw);
661 * @dev: device to target
675 unsigned int ata_sff_data_xfer_noirq(struct ata_device *dev, unsigned char *buf, argument
682 consumed = ata_sff_data_xfer32(dev, bu
832 struct ata_device *dev = qc->dev; local
914 struct ata_device *dev = qc->dev; local
1877 ata_sff_dev_classify(struct ata_device *dev, int present, u8 *r_err) argument
2417 struct device *dev = host->dev; local
2505 struct device *dev = &pdev->dev; local
[all...]
H A Dlibata-transport.c70 #define transport_class_to_dev(dev) \
71 tdev_to_device((dev)->parent)
75 #define transport_class_to_link(dev) \
76 tdev_to_link((dev)->parent)
80 #define transport_class_to_port(dev) \
81 tdev_to_port((dev)->parent)
85 static int ata_tdev_add(struct ata_device *dev);
86 static void ata_tdev_delete(struct ata_device *dev);
205 show_ata_port_##name(struct device *dev, \
208 struct ata_port *ap = transport_class_to_port(dev); \
224 ata_tport_release(struct device *dev) argument
236 ata_is_port(const struct device *dev) argument
241 ata_tport_match(struct attribute_container *cont, struct device *dev) argument
257 struct device *dev = &ap->tdev; local
281 struct device *dev = &ap->tdev; local
348 ata_tlink_release(struct device *dev) argument
360 ata_is_link(const struct device *dev) argument
365 ata_tlink_match(struct attribute_container *cont, struct device *dev) argument
382 struct device *dev = &link->tdev; local
406 struct device *dev = &link->tdev; local
509 show_ata_dev_ering(struct device *dev, struct device_attribute *attr, char *buf) argument
523 show_ata_dev_id(struct device *dev, struct device_attribute *attr, char *buf) argument
542 show_ata_dev_gscr(struct device *dev, struct device_attribute *attr, char *buf) argument
565 ata_tdev_release(struct device *dev) argument
577 ata_is_ata_dev(const struct device *dev) argument
582 ata_tdev_match(struct attribute_container *cont, struct device *dev) argument
601 ata_tdev_free(struct ata_device *dev) argument
615 struct device *dev = &ata_dev->tdev; local
634 struct device *dev = &ata_dev->tdev; local
[all...]
H A Dlibata-zpodd.c22 struct ata_device *dev; member in struct:zpodd
34 static int eject_tray(struct ata_device *dev) argument
43 ata_tf_init(dev, &tf);
48 return ata_exec_internal(dev, &tf, cdb, DMA_NONE, NULL, 0, 0);
52 static enum odd_mech_type zpodd_get_mech_type(struct ata_device *dev) argument
66 ata_tf_init(dev, &tf);
72 ret = ata_exec_internal(dev, &tf, cdb, DMA_FROM_DEVICE,
89 static bool zpready(struct ata_device *dev) argument
93 struct zpodd *zpodd = dev->zpodd;
95 ret = atapi_eh_tur(dev,
131 zpodd_on_suspend(struct ata_device *dev) argument
156 zpodd_zpready(struct ata_device *dev) argument
170 zpodd_enable_run_wake(struct ata_device *dev) argument
182 zpodd_disable_run_wake(struct ata_device *dev) argument
207 zpodd_post_poweron(struct ata_device *dev) argument
232 struct device *dev = &ata_dev->sdev->sdev_gendev; local
240 ata_acpi_add_pm_notifier(struct ata_device *dev) argument
247 ata_acpi_remove_pm_notifier(struct ata_device *dev) argument
253 zpodd_init(struct ata_device *dev) argument
278 zpodd_exit(struct ata_device *dev) argument
[all...]
H A Dlibata.h35 struct ata_device *dev; member in struct:ata_scsi_args
62 extern struct ata_link *ata_dev_phys_link(struct ata_device *dev);
66 extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev);
67 extern int ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev,
70 extern u64 ata_tf_read_block(struct ata_taskfile *tf, struct ata_device *dev);
71 extern unsigned ata_exec_internal(struct ata_device *dev,
75 extern unsigned ata_exec_internal_sg(struct ata_device *dev,
79 extern unsigned int ata_do_simple_cmd(struct ata_device *dev, u8 cmd);
82 extern int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class,
84 extern int ata_dev_reread_id(struct ata_device *dev, unsigne
128 ata_acpi_on_devcfg(struct ata_device *dev) argument
129 ata_acpi_on_disable(struct ata_device *dev) argument
133 ata_acpi_bind_dev(struct ata_device *dev) argument
210 sata_pmp_attach(struct ata_device *dev) argument
237 zpodd_dev_enabled(struct ata_device *dev) argument
247 zpodd_init(struct ata_device *dev) argument
248 zpodd_exit(struct ata_device *dev) argument
249 zpodd_dev_enabled(struct ata_device *dev) argument
250 zpodd_on_suspend(struct ata_device *dev) argument
251 zpodd_zpready(struct ata_device *dev) argument
252 zpodd_enable_run_wake(struct ata_device *dev) argument
253 zpodd_disable_run_wake(struct ata_device *dev) argument
254 zpodd_post_poweron(struct ata_device *dev) argument
[all...]
H A Dpata_acpi.c169 struct ata_device *adev = qc->dev;
193 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
199 acpi = ap->private_data = devm_kzalloc(&pdev->dev, sizeof(struct pata_acpi), GFP_KERNEL);
H A Dpata_ali.c91 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
143 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
172 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
247 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
H A Dpata_amd.c48 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
62 dev_err(&pdev->dev, "unknown mode %d\n", speed);
139 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
157 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
180 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
267 static unsigned long nv_mode_filter(struct ata_device *dev, argument
273 struct ata_port *ap = dev->link->ap;
284 if (dev->devno == 0)
293 acpi_limit = ata_acpi_gtm_xfermask(dev, gtm);
337 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
[all...]
H A Dpata_arasan_cf.c228 struct device *dev = acdev->host->dev; local
230 dev_dbg(dev, ": =========== REGISTER DUMP ===========");
231 dev_dbg(dev, ": CFI_STS: %x", readl(acdev->vbase + CFI_STS));
232 dev_dbg(dev, ": IRQ_STS: %x", readl(acdev->vbase + IRQ_STS));
233 dev_dbg(dev, ": IRQ_EN: %x", readl(acdev->vbase + IRQ_EN));
234 dev_dbg(dev, ": OP_MODE: %x", readl(acdev->vbase + OP_MODE));
235 dev_dbg(dev, ": CLK_CFG: %x", readl(acdev->vbase + CLK_CFG));
236 dev_dbg(dev, ": TM_CFG: %x", readl(acdev->vbase + TM_CFG));
237 dev_dbg(dev, "
357 dma_callback(void *dev) argument
591 arasan_cf_interrupt(int irq, void *dev) argument
925 arasan_cf_suspend(struct device *dev) argument
937 arasan_cf_resume(struct device *dev) argument
[all...]
H A Dpata_artop.c57 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
76 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
100 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
127 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
154 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
181 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
206 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
246 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
390 ata_print_version_once(&pdev->dev, DRV_VERSION);
H A Dpata_at32.c91 static int pata_at32_setup_timing(struct device *dev, argument
136 dev_dbg(dev, "ATA: C=%d S=%d P=%d R=%d\n",
139 dev_dbg(dev, "SMC: C=%d S=%d P=%d NS=%d NP=%d\n",
160 dev_warn(ap->dev, "Failed to compute ATA timing %d\n", ret);
165 ret = pata_at32_setup_timing(ap->dev, info, &timing);
167 dev_warn(ap->dev, "Failed to setup ATA timing %d\n", ret);
182 static int __init pata_at32_init_one(struct device *dev, argument
188 host = ata_host_alloc(dev, 1);
240 static void __init pata_at32_debug_bus(struct device *dev, argument
272 struct device *dev local
[all...]
H A Dpata_at91.c92 * @dev: ATA device
108 static int calc_smc_vals(struct device *dev, argument
130 dev_warn(dev, "maximal SMC Setup value\n");
136 dev_warn(dev, "maximal SMC Pulse value\n");
142 dev_warn(dev, "maximal SMC Cycle value\n");
146 dev_err(dev, "unable to calculate valid SMC settings\n");
153 dev_warn(dev, "maximal SMC CS Pulse value\n");
156 dev_warn(dev, "SMC Cycle extended\n");
197 * @dev: device
204 static void set_smc_timing(struct device *dev, struc argument
278 pata_at91_data_xfer_noirq(struct ata_device *dev, unsigned char *buf, unsigned int buflen, int rw) argument
318 struct device *dev = &pdev->dev; local
[all...]
H A Dpata_atiixp.c50 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
83 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
105 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
152 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
213 struct ata_device *adev = qc->dev;
215 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
242 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
243 int dn = (2 * ap->port_no) + qc->dev->devno;
H A Dpata_atp867x.c123 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
265 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
351 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
356 devm_kzalloc(&pdev->dev, sizeof(*dp), GFP_KERNEL);
373 struct pci_dev *pdev = to_pci_dev(host->dev);
419 struct device *gdev = host->dev;
500 ata_print_version_once(&pdev->dev, DRV_VERSION);
509 host = ata_host_alloc_pinfo(&pdev->dev, ppi, ATP867X_NUM_PORTS);
511 dev_err(&pdev->dev, "failed to allocate ATA host\n");
518 dev_err(&pdev->dev, "faile
[all...]
H A Dpata_bf54x.c304 dev_dbg(adev->link->ap->dev, "set piomode: mode=%d, fsclk=%ud\n", mode, fsclk);
380 dev_dbg(adev->link->ap->dev, "set udmamode: mode=%d\n", mode);
429 dev_dbg(adev->link->ap->dev, "set mdmamode: mode=%d\n", mode);
689 dev_dbg(ap->dev, "hob: feat 0x%X nsect 0x%X, lba 0x%X "
703 dev_dbg(ap->dev, "feat 0x%X nsect 0x%X lba 0x%X 0x%X 0x%X\n",
713 dev_dbg(ap->dev, "device 0x%X\n", tf->device);
774 dev_dbg(ap->dev, "ata%u: cmd 0x%X\n", ap->print_id, tf->command);
844 dev_dbg(qc->ap->dev, "in atapi dma setup\n");
855 dma_map_sg(ap->dev, qc->sg, qc->n_elem, dir);
916 dev_dbg(qc->ap->dev, "i
1154 bfin_data_xfer(struct ata_device *dev, unsigned char *buf, unsigned int buflen, int rw) argument
[all...]
H A Dpata_cmd640.c54 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
131 struct ata_device *adev = qc->dev;
132 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
152 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
155 timing = devm_kzalloc(&pdev->dev, sizeof(struct cmd640_reg), GFP_KERNEL);
165 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
H A Dpata_cmd64x.c74 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
95 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
196 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
240 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
260 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
279 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
296 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
476 dev_notice(&pdev->dev, "Mobility Bridge detected, ignoring CNTRL port enable/disable\n");
478 dev_notice(&pdev->dev, "Primary port is disabled\n");
483 dev_notice(&pdev->dev, "Secondar
[all...]
H A Dpata_cs5520.c71 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
151 dev_warn(&pdev->dev, "DMA mode disabled. Enabling.\n");
157 host = ata_host_alloc_pinfo(&pdev->dev, ppi, 2);
177 iomap[0] = devm_ioport_map(&pdev->dev, cmd_port[0], 8);
178 iomap[1] = devm_ioport_map(&pdev->dev, ctl_port[0], 1);
179 iomap[2] = devm_ioport_map(&pdev->dev, cmd_port[1], 8);
180 iomap[3] = devm_ioport_map(&pdev->dev, ctl_port[1], 1);
221 rc = devm_request_irq(&pdev->dev, irq[ap->port_no],
H A Dpata_cs5530.c146 struct ata_device *adev = qc->dev;
207 struct pci_dev *master_0 = NULL, *cs5530_0 = NULL, *dev = NULL; local
209 while ((dev = pci_get_device(PCI_VENDOR_ID_CYRIX, PCI_ANY_ID, dev)) != NULL) {
210 switch (dev->device) {
212 master_0 = pci_dev_get(dev);
215 cs5530_0 = pci_dev_get(dev);
288 * @dev: PCI device
H A Dpata_cs5535.c80 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
169 * @dev: PCI device
177 static int cs5535_init_one(struct pci_dev *dev, const struct pci_device_id *id) argument
188 return ata_pci_bmdma_init_one(dev, ppi, &cs5535_sht, NULL, 0);
H A Dpata_cs5536.c122 struct pci_dev *pdev = to_pci_dev(adev->link->ap->host->dev);
143 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
174 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
214 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
245 * @dev: PCI device
250 static int cs5536_init_one(struct pci_dev *dev, const struct pci_device_id *id) argument
280 cs5536_read(dev, CFG, &cfg);
287 return ata_pci_bmdma_init_one(dev, ppi, &cs5536_sht, NULL, 0);

Completed in 262 milliseconds

1234567891011>>