/openbmc/linux/include/scsi/ |
H A D | sas_ata.h | 18 static inline int dev_is_sata(struct domain_device *dev) in dev_is_sata() 25 int sas_ata_init(struct domain_device *dev); 29 void sas_ata_schedule_reset(struct domain_device *dev); 30 void sas_ata_wait_eh(struct domain_device *dev); 36 int sas_execute_ata_cmd(struct domain_device *device, u8 *fis, 39 int sas_discover_sata(struct domain_device *dev); 41 struct domain_device *child, int phy_id); 49 static inline int dev_is_sata(struct domain_device *dev) in dev_is_sata() 53 static inline int sas_ata_init(struct domain_device *dev) in sas_ata_init() 73 static inline void sas_ata_wait_eh(struct domain_device *dev) in sas_ata_wait_eh() [all …]
|
H A D | libsas.h | 156 struct domain_device { struct 166 struct domain_device *parent; argument 237 struct domain_device *port_dev; 386 static inline struct domain_device * 391 static inline struct domain_device * 401 static inline struct domain_device * 574 struct domain_device *dev; 645 int (*lldd_dev_found)(struct domain_device *); 646 void (*lldd_dev_gone)(struct domain_device *); 714 void sas_init_dev(struct domain_device *); [all …]
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_internal.h | 70 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, 80 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy); 81 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id); 82 int sas_ex_phy_discover(struct domain_device *dev, int single); 144 struct domain_device *parent = dev->parent; in sas_fail_probe() 153 static inline void sas_fill_in_rphy(struct domain_device *dev, in sas_fill_in_rphy() 209 static inline struct domain_device *sas_alloc_device(void) in sas_alloc_device() 211 struct domain_device *dev = kzalloc(sizeof(*dev), GFP_KERNEL); in sas_alloc_device() [all …]
|
H A D | sas_expander.c | 327 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) in sas_ex_to_ata() 330 struct domain_device *dev; in sas_ex_to_ata() 623 struct domain_device *dev; in sas_dev_present_in_domain() 1069 struct domain_device *child; in sas_check_level_subtractive_boundary() 1471 struct domain_device *child, in sas_configure_parent() 1565 struct domain_device *dev; in sas_ex_level_discovery() 1779 struct domain_device *ch; in sas_find_bcast_dev() 1814 struct domain_device *child, *n; in sas_unregister_ex_tree() 1862 struct domain_device *child; in sas_discover_bfs_by_root_level() 1901 struct domain_device *child; in sas_discover_new() [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() 305 struct domain_device *ex_dev = dev->parent; in smp_ata_check_ready_type() 331 struct domain_device *ex_dev = dev->parent; in smp_ata_check_ready() 648 struct domain_device *dev, *n; in sas_probe_sata() 738 struct domain_device *dev, *n; in sas_ata_flush_pm_eh() 754 struct domain_device *dev; in sas_suspend_sata() 776 struct domain_device *dev; in sas_resume_sata() 817 struct domain_device *dev = data; in async_sas_ata_eh() 845 struct domain_device *dev; in sas_ata_strategy_handler() [all …]
|
H A D | sas_scsi_host.c | 102 struct domain_device *dev = task->dev; in sas_scsi_task_done() 130 struct domain_device *dev, in sas_create_task() 163 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_queuecommand() 242 struct domain_device *dev) in sas_scsi_clear_queue_I_T() 247 struct domain_device *x = cmd_to_domain_dev(cmd); in sas_scsi_clear_queue_I_T() 600 struct domain_device *dev = task->dev; in sas_eh_handle_sas_errors() 664 struct domain_device *dev; in sas_eh_handle_resets() 766 struct domain_device *found_dev = NULL; in sas_find_dev_by_rphy() 773 struct domain_device *dev; in sas_find_dev_by_rphy() 1144 struct domain_device *dev = task->dev; in sas_query_task() [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() 209 struct domain_device *dev, *n; in sas_probe_devices() 234 struct domain_device *dev; in sas_suspend_devices() 278 int sas_discover_end_dev(struct domain_device *dev) in sas_discover_end_dev() 342 struct domain_device *dev, *n; in sas_destruct_devices() 366 struct domain_device *dev = data; in sas_abort_cmd() 411 struct domain_device *dev, *n; in sas_unregister_domain_devices() 459 struct domain_device *dev; in sas_discover_domain() [all …]
|
H A D | sas_init.c | 196 struct domain_device *dev = NULL; in sas_try_ata_reset() 242 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in transport_sas_phy_reset() 243 struct domain_device *ata_dev = sas_ex_to_ata(ddev, phy->number); in transport_sas_phy_reset() 277 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_phy_enable() 311 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_phy_reset() 348 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_set_phy_speed() 394 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()
|
/openbmc/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()
|
/openbmc/linux/drivers/scsi/isci/ |
H A D | task.h | 140 struct domain_device *d_device, 144 struct domain_device *d_device, 151 struct domain_device *d_device, 161 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() 410 int isci_task_lu_reset(struct domain_device *dev, u8 *lun) in isci_task_lu_reset() 616 struct domain_device *d_device, in isci_task_abort_task_set() 633 struct domain_device *d_device, in isci_task_clear_task_set() 718 struct domain_device *dev, in isci_reset_device() 758 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 | remote_device.c | 1087 struct domain_device *dev = idev->domain_dev; in sci_remote_device_ready_state_enter() 1100 struct domain_device *dev = idev->domain_dev; in sci_remote_device_ready_state_exit() 1313 struct domain_device *dev = idev->domain_dev; in sci_remote_device_ea_construct() 1479 struct domain_device *dev = idev->domain_dev; in isci_remote_device_construct() 1592 void isci_remote_device_gone(struct domain_device *dev) in isci_remote_device_gone() 1614 int isci_remote_device_found(struct domain_device *dev) in isci_remote_device_found()
|
/openbmc/linux/drivers/scsi/pm8001/ |
H A D | pm8001_sas.c | 380 struct domain_device *pdev = dev->parent; in sas_find_local_port_id() 386 struct domain_device *pdev_p = pdev->parent; in sas_find_local_port_id() 436 struct domain_device *dev = task->dev; in pm8001_queue_command() 641 struct domain_device *parent_dev = dev->parent; in pm8001_dev_found_notify() 690 int pm8001_dev_found(struct domain_device *dev) in pm8001_dev_found() 730 void pm8001_dev_gone(struct domain_device *dev) in pm8001_dev_gone() 811 int pm8001_I_T_nexus_reset(struct domain_device *dev) in pm8001_I_T_nexus_reset() 918 int pm8001_lu_reset(struct domain_device *dev, u8 *lun) in pm8001_lu_reset() 963 struct domain_device *dev = task->dev; in pm8001_query_task() 999 struct domain_device *dev ; in pm8001_abort_task() [all …]
|
H A D | pm8001_sas.h | 265 struct domain_device *sas_device; 643 int pm8001_clear_task_set(struct domain_device *dev, u8 *lun); 644 int pm8001_dev_found(struct domain_device *dev); 645 void pm8001_dev_gone(struct domain_device *dev); 646 int pm8001_lu_reset(struct domain_device *dev, u8 *lun); 647 int pm8001_I_T_nexus_reset(struct domain_device *dev); 648 int pm8001_I_T_nexus_event_handler(struct domain_device *dev); 790 void pm8001_setds_completion(struct domain_device *dev);
|
/openbmc/linux/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_main.c | 17 struct domain_device *device); 464 struct domain_device *device = task->dev; in hisi_sas_queue_command() 742 struct domain_device *device = task->dev; in hisi_sas_tmf_aborted() 1102 struct domain_device *device) in hisi_sas_release_task() 1117 struct domain_device *device; in hisi_sas_release_tasks() 1134 struct domain_device *device) in hisi_sas_dereg_device() 1419 struct domain_device *device; in hisi_sas_reset_init_all_devices() 1435 struct domain_device *device) in hisi_sas_send_ata_reset_each_phy() 1483 struct domain_device *device; in hisi_sas_terminate_stp_reject() 1611 struct domain_device *device = task->dev; in hisi_sas_abort_task() [all …]
|
H A D | hisi_sas.h | 223 struct domain_device *sas_device; 314 struct domain_device *device); 315 struct hisi_sas_device *(*alloc_dev)(struct domain_device *device); 339 struct domain_device *device);
|
/openbmc/linux/drivers/scsi/mvsas/ |
H A D | mv_sas.h | 230 struct domain_device *sas_device; 439 int mvs_dev_found(struct domain_device *dev); 440 void mvs_dev_gone(struct domain_device *dev); 441 int mvs_lu_reset(struct domain_device *dev, u8 *lun); 443 int mvs_I_T_nexus_reset(struct domain_device *dev); 446 struct domain_device *dev); 448 struct domain_device *dev);
|
H A D | mv_sas.c | 305 struct domain_device *dev = task->dev; in mvs_task_prep_smp() 431 struct domain_device *dev = task->dev; in mvs_task_prep_ata() 560 struct domain_device *dev = task->dev; in mvs_task_prep_ssp() 692 struct domain_device *dev = task->dev; in mvs_task_prep() 1111 struct domain_device *dev; in mvs_port_notify_deformed() 1209 int mvs_dev_found(struct domain_device *dev) in mvs_dev_found() 1310 struct domain_device *dev = task->dev; in mvs_query_task() 1337 struct domain_device *dev = task->dev; in mvs_abort_task() 1536 struct domain_device *dev; in mvs_slot_complete() 1656 int phy_no, struct domain_device *dev) in mvs_do_release_task() [all …]
|
/openbmc/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
|