Home
last modified time | relevance | path

Searched refs:domain_device (Results 1 – 25 of 36) sorted by relevance

12

/linux/include/scsi/
A Dsas_ata.h18 static inline int dev_is_sata(struct domain_device *dev) in dev_is_sata()
24 int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy);
25 int sas_ata_init(struct domain_device *dev);
30 void sas_ata_schedule_reset(struct domain_device *dev);
31 void sas_ata_wait_eh(struct domain_device *dev);
39 static inline int dev_is_sata(struct domain_device *dev) in dev_is_sata()
43 static inline int sas_ata_init(struct domain_device *dev) in sas_ata_init()
60 static inline void sas_ata_schedule_reset(struct domain_device *dev) in sas_ata_schedule_reset()
64 static inline void sas_ata_wait_eh(struct domain_device *dev) in sas_ata_wait_eh()
80 static inline int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy) in sas_get_ata_info()
A Dlibsas.h166 struct domain_device { struct
176 struct domain_device *parent; argument
247 struct domain_device *port_dev;
404 static inline struct domain_device *
409 static inline struct domain_device *
419 static inline struct domain_device *
580 struct domain_device *dev;
631 int (*lldd_dev_found)(struct domain_device *);
632 void (*lldd_dev_gone)(struct domain_device *);
688 int sas_discover_sata(struct domain_device *);
[all …]
/linux/drivers/scsi/libsas/
A Dsas_internal.h70 int sas_notify_lldd_dev_found(struct domain_device *);
71 void sas_notify_lldd_dev_gone(struct domain_device *);
75 int sas_smp_phy_control(struct domain_device *dev, int phy_id,
82 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy);
83 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id);
84 int sas_ex_phy_discover(struct domain_device *dev, int single);
85 int sas_get_report_phy_sata(struct domain_device *dev, int phy_id,
117 static inline void sas_fill_in_rphy(struct domain_device *dev, in sas_fill_in_rphy()
173 static inline struct domain_device *sas_alloc_device(void) in sas_alloc_device()
175 struct domain_device *dev = kzalloc(sizeof(*dev), GFP_KERNEL); in sas_alloc_device()
[all …]
A Dsas_expander.c345 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) in sas_ex_to_ata()
348 struct domain_device *dev; in sas_ex_to_ata()
646 struct domain_device *dev; in sas_dev_present_in_domain()
1139 struct domain_device *child; in sas_check_level_subtractive_boundary()
1523 struct domain_device *child, in sas_configure_parent()
1618 struct domain_device *dev; in sas_ex_level_discovery()
1831 struct domain_device *ch; in sas_find_bcast_dev()
1866 struct domain_device *child, *n; in sas_unregister_ex_tree()
1915 struct domain_device *child; in sas_discover_bfs_by_root_level()
1954 struct domain_device *child; in sas_discover_new()
[all …]
A Dsas_ata.c78 struct domain_device *dev = task->dev; in sas_ata_task_done()
165 struct domain_device *dev = ap->private_data; in sas_ata_qc_issue()
302 struct domain_device *dev = ap->private_data; in smp_ata_check_ready()
303 struct domain_device *ex_dev = dev->parent; in smp_ata_check_ready()
627 struct domain_device *dev, *n; in sas_probe_sata()
655 struct domain_device *dev, *n; in sas_ata_flush_pm_eh()
671 struct domain_device *dev; in sas_suspend_sata()
693 struct domain_device *dev; in sas_resume_sata()
734 struct domain_device *dev = data; in async_sas_ata_eh()
762 struct domain_device *dev; in sas_ata_strategy_handler()
[all …]
A Dsas_scsi_host.c104 struct domain_device *dev = task->dev; in sas_scsi_task_done()
132 struct domain_device *dev, in sas_create_task()
166 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_queuecommand()
209 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_eh_finish_cmd()
245 struct domain_device *dev) in sas_scsi_clear_queue_I_T()
250 struct domain_device *x = cmd_to_domain_dev(cmd); in sas_scsi_clear_queue_I_T()
390 static void sas_wait_eh(struct domain_device *dev) in sas_wait_eh()
636 struct domain_device *dev = task->dev; in sas_eh_handle_sas_errors()
700 struct domain_device *dev; in sas_eh_handle_resets()
802 struct domain_device *found_dev = NULL; in sas_find_dev_by_rphy()
[all …]
A Dsas_discover.c23 void sas_init_dev(struct domain_device *dev) in sas_init_dev()
54 struct domain_device *dev; in sas_get_port_device()
170 int sas_notify_lldd_dev_found(struct domain_device *dev) in sas_notify_lldd_dev_found()
193 void sas_notify_lldd_dev_gone(struct domain_device *dev) in sas_notify_lldd_dev_gone()
210 struct domain_device *dev, *n; in sas_probe_devices()
235 struct domain_device *dev; in sas_suspend_devices()
279 int sas_discover_end_dev(struct domain_device *dev) in sas_discover_end_dev()
343 struct domain_device *dev, *n; in sas_destruct_devices()
383 struct domain_device *dev, *n; in sas_unregister_domain_devices()
431 struct domain_device *dev; in sas_discover_domain()
[all …]
A Dsas_init.c199 struct domain_device *dev = NULL; in sas_try_ata_reset()
245 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in transport_sas_phy_reset()
246 struct domain_device *ata_dev = sas_ex_to_ata(ddev, phy->number); in transport_sas_phy_reset()
280 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_phy_enable()
314 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_phy_reset()
351 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_set_phy_speed()
A Dsas_port.c28 struct domain_device *dev, *n; in sas_resume_port()
82 struct domain_device *port_dev; in sas_form_port()
205 struct domain_device *dev; in sas_deform_port()
/linux/drivers/scsi/aic94xx/
A Daic94xx.h51 int asd_dev_found(struct domain_device *dev);
52 void asd_dev_gone(struct domain_device *dev);
58 void asd_set_dmamode(struct domain_device *dev);
62 int asd_abort_task_set(struct domain_device *, u8 *lun);
63 int asd_clear_aca(struct domain_device *, u8 *lun);
64 int asd_clear_task_set(struct domain_device *, u8 *lun);
65 int asd_lu_reset(struct domain_device *, u8 *lun);
66 int asd_I_T_nexus_reset(struct domain_device *dev);
A Daic94xx_dev.c65 static void asd_set_ddb_type(struct domain_device *dev) in asd_set_ddb_type()
78 static int asd_init_sata_tag_ddb(struct domain_device *dev) in asd_init_sata_tag_ddb()
95 void asd_set_dmamode(struct domain_device *dev) in asd_set_dmamode()
120 static int asd_init_sata(struct domain_device *dev) in asd_init_sata()
137 static int asd_init_target_ddb(struct domain_device *dev) in asd_init_target_ddb()
216 static int asd_init_sata_pm_table_ddb(struct domain_device *dev) in asd_init_sata_pm_table_ddb()
245 static int asd_init_sata_pm_port_ddb(struct domain_device *dev) in asd_init_sata_pm_port_ddb()
277 static int asd_init_initiator_ddb(struct domain_device *dev) in asd_init_initiator_ddb()
289 static int asd_init_sata_pm_ddb(struct domain_device *dev) in asd_init_sata_pm_ddb()
304 int asd_dev_found(struct domain_device *dev) in asd_dev_found()
[all …]
A Daic94xx_tmf.c140 static int asd_clear_nexus_I_T(struct domain_device *dev, in asd_clear_nexus_I_T()
162 int asd_I_T_nexus_reset(struct domain_device *dev) in asd_I_T_nexus_reset()
201 static int asd_clear_nexus_I_T_L(struct domain_device *dev, u8 *lun) in asd_clear_nexus_I_T_L()
556 static int asd_initiate_ssp_tmf(struct domain_device *dev, u8 *lun, in asd_initiate_ssp_tmf()
638 int asd_abort_task_set(struct domain_device *dev, u8 *lun) in asd_abort_task_set()
647 int asd_clear_aca(struct domain_device *dev, u8 *lun) in asd_clear_aca()
656 int asd_clear_task_set(struct domain_device *dev, u8 *lun) in asd_clear_task_set()
665 int asd_lu_reset(struct domain_device *dev, u8 *lun) in asd_lu_reset()
/linux/drivers/iommu/
A Ds390-iommu.c91 struct s390_domain_device *domain_device; in s390_iommu_attach_device() local
98 domain_device = kzalloc(sizeof(*domain_device), GFP_KERNEL); in s390_iommu_attach_device()
99 if (!domain_device) in s390_iommu_attach_device()
131 domain_device->zdev = zdev; in s390_iommu_attach_device()
133 list_add(&domain_device->list, &s390_domain->devices); in s390_iommu_attach_device()
141 kfree(domain_device); in s390_iommu_attach_device()
151 struct s390_domain_device *domain_device, *tmp; in s390_iommu_detach_device() local
161 if (domain_device->zdev == zdev) { in s390_iommu_detach_device()
162 list_del(&domain_device->list); in s390_iommu_detach_device()
163 kfree(domain_device); in s390_iommu_detach_device()
[all …]
/linux/drivers/scsi/isci/
A Dtask.h140 struct domain_device *d_device,
144 struct domain_device *d_device,
148 struct domain_device *d_device,
155 struct domain_device *d_device,
165 struct domain_device *d_device);
A Dremote_device.h94 struct domain_device *domain_dev;
120 static inline struct isci_remote_device *isci_lookup_device(struct domain_device *dev) in isci_lookup_device()
143 void isci_remote_device_gone(struct domain_device *domain_dev);
144 int isci_remote_device_found(struct domain_device *domain_dev);
A Dtask.c220 struct domain_device *dev; in isci_task_request_build()
412 int isci_task_lu_reset(struct domain_device *dev, u8 *lun) in isci_task_lu_reset()
621 struct domain_device *d_device, in isci_task_abort_task_set()
638 struct domain_device *d_device, in isci_task_clear_aca()
656 struct domain_device *d_device, in isci_task_clear_task_set()
741 struct domain_device *dev, in isci_reset_device()
781 int isci_task_I_T_nexus_reset(struct domain_device *dev) in isci_task_I_T_nexus_reset()
A Dremote_node_context.c117 struct domain_device *dev = idev->domain_dev; in sci_remote_node_context_construct_buffer()
236 struct domain_device *dev = idev->domain_dev; in sci_remote_node_context_validate_context_buffer()
306 struct domain_device *dev; in sci_remote_node_context_resuming_state_enter()
711 struct domain_device *dev = idev->domain_dev; in sci_remote_node_context_resume()
A Dhost.h336 static inline struct isci_host *dev_to_ihost(struct domain_device *dev) in dev_to_ihost()
362 struct domain_device *dev = idev->domain_dev; in sci_remote_device_node_count()
/linux/drivers/scsi/mvsas/
A Dmv_sas.h230 struct domain_device *sas_device;
443 int mvs_abort_task_set(struct domain_device *dev, u8 *lun);
444 int mvs_clear_aca(struct domain_device *dev, u8 *lun);
445 int mvs_clear_task_set(struct domain_device *dev, u8 * lun);
448 int mvs_dev_found(struct domain_device *dev);
449 void mvs_dev_gone(struct domain_device *dev);
450 int mvs_lu_reset(struct domain_device *dev, u8 *lun);
452 int mvs_I_T_nexus_reset(struct domain_device *dev);
455 struct domain_device *dev);
457 struct domain_device *dev);
A Dmv_sas.c304 struct domain_device *dev = task->dev; in mvs_task_prep_smp()
430 struct domain_device *dev = task->dev; in mvs_task_prep_ata()
559 struct domain_device *dev = task->dev; in mvs_task_prep_ssp()
696 struct domain_device *dev = task->dev; in mvs_task_prep()
1117 struct domain_device *dev; in mvs_port_notify_deformed()
1222 int mvs_dev_found(struct domain_device *dev) in mvs_dev_found()
1434 struct domain_device *dev = task->dev; in mvs_query_task()
1467 struct domain_device *dev = task->dev; in mvs_abort_task()
1705 struct domain_device *dev; in mvs_slot_complete()
1826 int phy_no, struct domain_device *dev) in mvs_do_release_task()
[all …]
/linux/drivers/scsi/pm8001/
A Dpm8001_sas.c357 struct domain_device *pdev = dev->parent; in sas_find_local_port_id()
363 struct domain_device *pdev_p = pdev->parent; in sas_find_local_port_id()
383 struct domain_device *dev = task->dev; in pm8001_task_exec()
625 struct domain_device *parent_dev = dev->parent; in pm8001_dev_found_notify()
680 int pm8001_dev_found(struct domain_device *dev) in pm8001_dev_found()
898 void pm8001_dev_gone(struct domain_device *dev) in pm8001_dev_gone()
993 int pm8001_I_T_nexus_reset(struct domain_device *dev) in pm8001_I_T_nexus_reset()
1103 int pm8001_lu_reset(struct domain_device *dev, u8 *lun) in pm8001_lu_reset()
1142 struct domain_device *dev = task->dev; in pm8001_query_task()
1180 struct domain_device *dev ; in pm8001_abort_task()
[all …]
A Dpm8001_sas.h263 struct domain_device *sas_device;
648 int pm8001_abort_task_set(struct domain_device *dev, u8 *lun);
649 int pm8001_clear_aca(struct domain_device *dev, u8 *lun);
650 int pm8001_clear_task_set(struct domain_device *dev, u8 *lun);
651 int pm8001_dev_found(struct domain_device *dev);
652 void pm8001_dev_gone(struct domain_device *dev);
653 int pm8001_lu_reset(struct domain_device *dev, u8 *lun);
654 int pm8001_I_T_nexus_reset(struct domain_device *dev);
655 int pm8001_I_T_nexus_event_handler(struct domain_device *dev);
/linux/drivers/scsi/hisi_sas/
A Dhisi_sas_main.c17 struct domain_device *device,
23 struct domain_device *device);
761 struct domain_device *ddev; in hisi_sas_slave_alloc()
1040 struct domain_device *device) in hisi_sas_release_task()
1052 struct domain_device *device; in hisi_sas_release_tasks()
1069 struct domain_device *device) in hisi_sas_dereg_device()
1490 struct domain_device *device; in hisi_sas_reset_init_all_devices()
1506 struct domain_device *device) in hisi_sas_send_ata_reset_each_phy()
1562 struct domain_device *device; in hisi_sas_terminate_stp_reject()
1948 struct domain_device *device = data; in hisi_sas_async_I_T_nexus_reset()
[all …]
A Dhisi_sas.h221 struct domain_device *sas_device;
319 struct domain_device *device);
320 struct hisi_sas_device *(*alloc_dev)(struct domain_device *device);
345 struct domain_device *device);
/linux/Documentation/scsi/
A Dlibsas.rst209 int (*lldd_abort_task_set)(struct domain_device *, u8 *lun);
210 int (*lldd_clear_aca)(struct domain_device *, u8 *lun);
211 int (*lldd_clear_task_set)(struct domain_device *, u8 *lun);
212 int (*lldd_I_T_nexus_reset)(struct domain_device *);
213 int (*lldd_lu_reset)(struct domain_device *, u8 *lun);
411 The structure domain_device describes any device in the SAS
415 contents of the domain_device structure, but it never creates

Completed in 64 milliseconds

12