| /linux/drivers/scsi/libsas/ |
| H A D | sas_internal.h | 44 int sas_discover_root_expander(struct domain_device *dev); 46 int sas_ex_revalidate_domain(struct domain_device *dev); 51 void sas_init_dev(struct domain_device *dev); 52 void sas_unregister_dev(struct asd_sas_port *port, struct domain_device *dev); 83 int sas_notify_lldd_dev_found(struct domain_device *); 84 void sas_notify_lldd_dev_gone(struct domain_device *); 88 int sas_smp_phy_control(struct domain_device *dev, int phy_id, 92 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port); 93 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy); 94 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id); [all …]
|
| H A D | sas_expander.c | 23 static int sas_discover_expander(struct domain_device *dev); 24 static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr); 25 static int sas_configure_phy(struct domain_device *dev, int phy_id, 27 static int sas_disable_routing(struct domain_device *dev, u8 *sas_addr); 36 static void sas_ex_add_parent_port(struct domain_device *dev, int phy_id) in sas_ex_add_parent_port() 56 static int smp_execute_task_sg(struct domain_device *dev, in smp_execute_task_sg() 145 static int smp_execute_task(struct domain_device *dev, void *req, int req_size, in smp_execute_task() 171 static char sas_route_char(struct domain_device *dev, struct ex_phy *phy) in sas_route_char() 200 static void sas_set_ex_phy(struct domain_device *dev, int phy_id, in sas_set_ex_phy() 349 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) in sas_ex_to_ata() [all …]
|
| H A D | sas_ata.c | 76 struct domain_device *dev = task->dev; in sas_ata_task_done() 163 struct domain_device *dev = ap->private_data; in sas_ata_qc_issue() 233 struct domain_device *dev = qc->ap->private_data; in sas_ata_qc_fill_rtf() 238 static struct sas_internal *dev_to_sas_internal(struct domain_device *dev) in dev_to_sas_internal() 243 static int sas_get_ata_command_set(struct domain_device *dev) in sas_get_ata_command_set() 255 static int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy) in sas_get_ata_info() 283 static int sas_ata_clear_pending(struct domain_device *dev, struct ex_phy *phy) in sas_ata_clear_pending() 303 struct domain_device *dev = link->ap->private_data; in smp_ata_check_ready_type() 305 struct domain_device *ex_dev = dev->parent; in smp_ata_check_ready_type() 330 struct domain_device *dev = ap->private_data; in smp_ata_check_ready() [all …]
|
| H A D | sas_scsi_host.c | 103 struct domain_device *dev = task->dev; in sas_scsi_task_done() 131 struct domain_device *dev, in sas_create_task() 165 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_queuecommand() 208 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_eh_finish_cmd() 244 struct domain_device *dev) in sas_scsi_clear_queue_I_T() 249 struct domain_device *x = cmd_to_domain_dev(cmd); in sas_scsi_clear_queue_I_T() 262 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_scsi_clear_queue_port() 326 static int sas_recover_lu(struct domain_device *dev, struct scsi_cmnd *cmd) in sas_recover_lu() 355 static int sas_recover_I_T(struct domain_device *dev) in sas_recover_I_T() 371 struct sas_phy *sas_get_local_phy(struct domain_device *dev) in sas_get_local_phy() [all …]
|
| H A D | sas_discover.c | 22 void sas_init_dev(struct domain_device *dev) in sas_init_dev() 53 struct domain_device *dev; in sas_get_port_device() 169 int sas_notify_lldd_dev_found(struct domain_device *dev) in sas_notify_lldd_dev_found() 192 void sas_notify_lldd_dev_gone(struct domain_device *dev) in sas_notify_lldd_dev_gone() 209 struct domain_device *dev, *n; in sas_probe_devices() 234 struct domain_device *dev; in sas_suspend_devices() 278 static int sas_discover_end_dev(struct domain_device *dev) in sas_discover_end_dev() 287 struct domain_device *dev = container_of(kref, typeof(*dev), kref); in sas_free_device() 313 static void sas_unregister_common_dev(struct asd_sas_port *port, struct domain_device *dev) in sas_unregister_common_dev() 342 struct domain_device *dev, *n; in sas_destruct_devices() [all …]
|
| H A D | sas_init.c | 197 struct domain_device *dev = NULL; in sas_try_ata_reset() 243 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in transport_sas_phy_reset() 244 struct domain_device *ata_dev = sas_ex_to_ata(ddev, phy->number); in transport_sas_phy_reset() 278 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_phy_enable() 312 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_phy_reset() 349 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_set_phy_speed() 395 struct domain_device *dev = port->port_dev; in sas_resume_insert_broadcast_ha()
|
| H A D | sas_port.c | 28 struct domain_device *dev, *n; in sas_resume_port() 109 struct domain_device *port_dev = NULL; in sas_form_port() 215 struct domain_device *dev; in sas_deform_port()
|
| /linux/include/scsi/ |
| H A D | sas_ata.h | 18 static inline bool dev_is_sata(struct domain_device *dev) in dev_is_sata() 31 void sas_ata_schedule_reset(struct domain_device *dev); 32 void sas_ata_device_link_abort(struct domain_device *dev, bool force_reset); 33 int sas_execute_ata_cmd(struct domain_device *device, u8 *fis, int force_phy_id); 40 static inline bool dev_is_sata(struct domain_device *dev) in dev_is_sata() 45 static inline void sas_ata_schedule_reset(struct domain_device *dev) in sas_ata_schedule_reset() 49 static inline void sas_ata_device_link_abort(struct domain_device *dev, in sas_ata_device_link_abort() 54 static inline int sas_execute_ata_cmd(struct domain_device *device, u8 *fis, in sas_execute_ata_cmd()
|
| H A D | libsas.h | 152 struct domain_device { struct 162 struct domain_device *parent; argument 202 static inline bool dev_parent_is_expander(struct domain_device *dev) in dev_parent_is_expander() argument 241 struct domain_device *port_dev; 390 static inline struct domain_device * 395 static inline struct domain_device * 400 static inline struct ata_device *sas_to_ata_dev(struct domain_device *dev) in sas_to_ata_dev() 405 static inline struct domain_device * 576 struct domain_device *dev; 647 int (*lldd_dev_found)(struct domain_device *); [all …]
|
| /linux/drivers/scsi/aic94xx/ |
| H A D | aic94xx.h | 51 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_task_set(struct domain_device *, u8 *lun); 64 int asd_lu_reset(struct domain_device *, u8 *lun); 65 int asd_I_T_nexus_reset(struct domain_device *dev);
|
| H A D | aic94xx_dev.c | 65 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 …]
|
| H A D | aic94xx_tmf.c | 140 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_task_set(struct domain_device *dev, u8 *lun) in asd_clear_task_set() 656 int asd_lu_reset(struct domain_device *dev, u8 *lun) in asd_lu_reset()
|
| H A D | aic94xx_scb.c | 431 struct domain_device *failed_dev = NULL; in escb_tasklet_complete() 496 struct domain_device *dev; in escb_tasklet_complete() 522 struct domain_device *dev; in escb_tasklet_complete()
|
| /linux/drivers/scsi/isci/ |
| H A D | task.h | 142 struct domain_device *d_device, 146 struct domain_device *d_device, 153 struct domain_device *d_device, 163 struct domain_device *d_device);
|
| H A D | remote_device.h | 94 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);
|
| H A D | task.c | 218 struct domain_device *dev; in isci_task_request_build() 408 int isci_task_lu_reset(struct domain_device *dev, u8 *lun) in isci_task_lu_reset() 614 struct domain_device *d_device, in isci_task_abort_task_set() 631 struct domain_device *d_device, in isci_task_clear_task_set() 716 struct domain_device *dev, in isci_reset_device() 756 int isci_task_I_T_nexus_reset(struct domain_device *dev) in isci_task_I_T_nexus_reset()
|
| H A D | remote_node_context.c | 117 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()
|
| H A D | host.h | 336 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()
|
| H A D | port.h | 282 int isci_ata_check_ready(struct domain_device *dev);
|
| /linux/Documentation/translations/zh_CN/scsi/ |
| H A D | libsas.rst | 195 int (*lldd_abort_task_set)(struct domain_device *, u8 *lun); 196 int (*lldd_clear_task_set)(struct domain_device *, u8 *lun); 197 int (*lldd_I_T_nexus_reset)(struct domain_device *); 198 int (*lldd_lu_reset)(struct domain_device *, u8 *lun); 384 结构体 domain_device 描述了 SAS 域中的任意设备。它完全由 SAS 386 道任务应发送到何处。SAS LLDD 只读取 domain_device 结构的内容,
|
| /linux/drivers/scsi/pm8001/ |
| H A D | pm8001_sas.c | 133 u32 pm80xx_get_local_phy_id(struct domain_device *dev) in pm80xx_get_local_phy_id() 209 struct pm8001_hba_info *pm8001_find_ha_by_dev(struct domain_device *dev) in pm8001_find_ha_by_dev() 486 struct domain_device *dev = task->dev; in pm8001_queue_command() 693 static int pm8001_dev_found_notify(struct domain_device *dev) in pm8001_dev_found_notify() 698 struct domain_device *parent_dev = dev->parent; in pm8001_dev_found_notify() 747 int pm8001_dev_found(struct domain_device *dev) in pm8001_dev_found() 758 static void pm8001_dev_gone_notify(struct domain_device *dev) in pm8001_dev_gone_notify() 797 void pm8001_dev_gone(struct domain_device *dev) in pm8001_dev_gone() 878 int pm8001_I_T_nexus_reset(struct domain_device *dev) in pm8001_I_T_nexus_reset() 927 int pm8001_I_T_nexus_event_handler(struct domain_device *dev) in pm8001_I_T_nexus_event_handler() [all …]
|
| /linux/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas_main.c | 23 static int hisi_sas_softreset_ata_disk(struct domain_device *device); 27 struct domain_device *device); 28 static void hisi_sas_dev_gone(struct domain_device *device); 167 static struct hisi_hba *dev_to_hisi_hba(struct domain_device *device) in dev_to_hisi_hba() 496 struct domain_device *device = task->dev; in hisi_sas_queue_command() 689 static struct hisi_sas_device *hisi_sas_alloc_dev(struct domain_device *device) in hisi_sas_alloc_dev() 774 struct domain_device *device = task->dev; in hisi_sas_tmf_aborted() 791 static int hisi_sas_init_device(struct domain_device *device) in hisi_sas_init_device() 842 struct domain_device *ddev = sdev_to_domain_dev(sdev); in hisi_sas_sdev_init() 858 static int hisi_sas_dev_found(struct domain_device *device) in hisi_sas_dev_found() [all …]
|
| H A D | hisi_sas.h | 233 struct domain_device *sas_device; 325 struct domain_device *device); 326 struct hisi_sas_device *(*alloc_dev)(struct domain_device *device); 350 struct domain_device *device);
|
| /linux/drivers/scsi/mvsas/ |
| H A D | mv_sas.c | 57 static struct mvs_info *mvs_find_dev_mvi(struct domain_device *dev) in mvs_find_dev_mvi() 87 static int mvs_find_dev_phyno(struct domain_device *dev, int *phyno) in mvs_find_dev_phyno() 295 struct domain_device *dev = task->dev; in mvs_task_prep_smp() 421 struct domain_device *dev = task->dev; in mvs_task_prep_ata() 550 struct domain_device *dev = task->dev; in mvs_task_prep_ssp() 682 struct domain_device *dev = task->dev; in mvs_task_prep() 1101 struct domain_device *dev; in mvs_port_notify_deformed() 1155 static int mvs_dev_found_notify(struct domain_device *dev, int lock) in mvs_dev_found_notify() 1160 struct domain_device *parent_dev = dev->parent; in mvs_dev_found_notify() 1199 int mvs_dev_found(struct domain_device *dev) in mvs_dev_found() [all …]
|
| /linux/Documentation/scsi/ |
| H A D | libsas.rst | 209 int (*lldd_abort_task_set)(struct domain_device *, u8 *lun); 210 int (*lldd_clear_task_set)(struct domain_device *, u8 *lun); 211 int (*lldd_I_T_nexus_reset)(struct domain_device *); 212 int (*lldd_lu_reset)(struct domain_device *, u8 *lun); 409 The structure domain_device describes any device in the SAS 413 contents of the domain_device structure, but it never creates
|