Home
last modified time | relevance | path

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

/linux-4.1.27/include/scsi/
Dsas_ata.h33 static inline int dev_is_sata(struct domain_device *dev) in dev_is_sata()
39 int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy);
40 int sas_ata_init(struct domain_device *dev);
45 void sas_ata_schedule_reset(struct domain_device *dev);
46 void sas_ata_wait_eh(struct domain_device *dev);
54 static inline int dev_is_sata(struct domain_device *dev) in dev_is_sata()
58 static inline int sas_ata_init(struct domain_device *dev) in sas_ata_init()
75 static inline void sas_ata_schedule_reset(struct domain_device *dev) in sas_ata_schedule_reset()
79 static inline void sas_ata_wait_eh(struct domain_device *dev) in sas_ata_wait_eh()
95 static inline int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy) in sas_get_ata_info()
Dlibsas.h99 #define to_dom_device(_obj) container_of(_obj, struct domain_device, dev_obj)
190 struct domain_device { struct
200 struct domain_device *parent; argument
267 struct domain_device *port_dev;
430 static inline struct domain_device *
435 static inline struct domain_device *
440 static inline struct ata_device *sas_to_ata_dev(struct domain_device *dev) in sas_to_ata_dev()
445 static inline struct domain_device *
600 struct domain_device *dev;
650 int (*lldd_dev_found)(struct domain_device *);
[all …]
/linux-4.1.27/drivers/scsi/libsas/
Dsas_internal.h83 int sas_notify_lldd_dev_found(struct domain_device *);
84 void sas_notify_lldd_dev_gone(struct domain_device *);
86 int sas_smp_phy_control(struct domain_device *dev, int phy_id,
91 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port);
92 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy);
93 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id);
94 int sas_ex_phy_discover(struct domain_device *dev, int single);
95 int sas_get_report_phy_sata(struct domain_device *dev, int phy_id,
116 static inline void sas_fail_probe(struct domain_device *dev, const char *func, int err) in sas_fail_probe()
125 static inline void sas_fill_in_rphy(struct domain_device *dev, in sas_fill_in_rphy()
[all …]
Dsas_expander.c36 static int sas_discover_expander(struct domain_device *dev);
37 static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr);
38 static int sas_configure_phy(struct domain_device *dev, int phy_id,
40 static int sas_disable_routing(struct domain_device *dev, u8 *sas_addr);
67 static int smp_execute_task(struct domain_device *dev, void *req, int req_size, in smp_execute_task()
169 static char sas_route_char(struct domain_device *dev, struct ex_phy *phy) in sas_route_char()
198 static void sas_set_ex_phy(struct domain_device *dev, int phy_id, void *rsp) in sas_set_ex_phy()
347 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) in sas_ex_to_ata()
350 struct domain_device *dev; in sas_ex_to_ata()
371 static int sas_ex_phy_discover_helper(struct domain_device *dev, u8 *disc_req, in sas_ex_phy_discover_helper()
[all …]
Dsas_ata.c98 struct domain_device *dev = task->dev; in sas_ata_task_done()
185 struct domain_device *dev = ap->private_data; in sas_ata_qc_issue()
264 struct domain_device *dev = qc->ap->private_data; in sas_ata_qc_fill_rtf()
270 static struct sas_internal *dev_to_sas_internal(struct domain_device *dev) in dev_to_sas_internal()
275 static int sas_get_ata_command_set(struct domain_device *dev);
277 int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy) in sas_get_ata_info()
305 static int sas_ata_clear_pending(struct domain_device *dev, struct ex_phy *phy) in sas_ata_clear_pending()
327 struct domain_device *dev = ap->private_data; in smp_ata_check_ready()
328 struct domain_device *ex_dev = dev->parent; in smp_ata_check_ready()
357 struct domain_device *dev = ap->private_data; in local_ata_check_ready()
[all …]
Dsas_scsi_host.c121 struct domain_device *dev = task->dev; in sas_scsi_task_done()
149 struct domain_device *dev, in sas_create_task()
183 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_queuecommand()
242 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_eh_defer_cmd()
268 struct domain_device *dev) in sas_scsi_clear_queue_I_T()
273 struct domain_device *x = cmd_to_domain_dev(cmd); in sas_scsi_clear_queue_I_T()
286 struct domain_device *dev = cmd_to_domain_dev(cmd); in sas_scsi_clear_queue_port()
350 static int sas_recover_lu(struct domain_device *dev, struct scsi_cmnd *cmd) in sas_recover_lu()
379 static int sas_recover_I_T(struct domain_device *dev) in sas_recover_I_T()
395 struct sas_phy *sas_get_local_phy(struct domain_device *dev) in sas_get_local_phy()
[all …]
Dsas_discover.c39 void sas_init_dev(struct domain_device *dev) in sas_init_dev()
70 struct domain_device *dev; in sas_get_port_device()
177 int sas_notify_lldd_dev_found(struct domain_device *dev) in sas_notify_lldd_dev_found()
200 void sas_notify_lldd_dev_gone(struct domain_device *dev) in sas_notify_lldd_dev_gone()
217 struct domain_device *dev, *n; in sas_probe_devices()
246 struct domain_device *dev; in sas_suspend_devices()
290 int sas_discover_end_dev(struct domain_device *dev) in sas_discover_end_dev()
306 struct domain_device *dev = container_of(kref, typeof(*dev), kref); in sas_free_device()
329 static void sas_unregister_common_dev(struct asd_sas_port *port, struct domain_device *dev) in sas_unregister_common_dev()
358 struct domain_device *dev, *n; in sas_destruct_devices()
[all …]
Dsas_init.c208 struct domain_device *dev = NULL; in sas_try_ata_reset()
254 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in transport_sas_phy_reset()
255 struct domain_device *ata_dev = sas_ex_to_ata(ddev, phy->number); in transport_sas_phy_reset()
289 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_phy_enable()
322 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_phy_reset()
358 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_set_phy_speed()
Dsas_port.c44 struct domain_device *dev; in sas_resume_port()
210 struct domain_device *dev; in sas_deform_port()
/linux-4.1.27/drivers/scsi/aic94xx/
Daic94xx.h76 int asd_dev_found(struct domain_device *dev);
77 void asd_dev_gone(struct domain_device *dev);
83 void asd_set_dmamode(struct domain_device *dev);
87 int asd_abort_task_set(struct domain_device *, u8 *lun);
88 int asd_clear_aca(struct domain_device *, u8 *lun);
89 int asd_clear_task_set(struct domain_device *, u8 *lun);
90 int asd_lu_reset(struct domain_device *, u8 *lun);
91 int asd_I_T_nexus_reset(struct domain_device *dev);
Daic94xx_dev.c82 static void asd_set_ddb_type(struct domain_device *dev) in asd_set_ddb_type()
95 static int asd_init_sata_tag_ddb(struct domain_device *dev) in asd_init_sata_tag_ddb()
112 void asd_set_dmamode(struct domain_device *dev) in asd_set_dmamode()
137 static int asd_init_sata(struct domain_device *dev) in asd_init_sata()
154 static int asd_init_target_ddb(struct domain_device *dev) in asd_init_target_ddb()
235 static int asd_init_sata_pm_table_ddb(struct domain_device *dev) in asd_init_sata_pm_table_ddb()
264 static int asd_init_sata_pm_port_ddb(struct domain_device *dev) in asd_init_sata_pm_port_ddb()
296 static int asd_init_initiator_ddb(struct domain_device *dev) in asd_init_initiator_ddb()
308 static int asd_init_sata_pm_ddb(struct domain_device *dev) in asd_init_sata_pm_ddb()
323 int asd_dev_found(struct domain_device *dev) in asd_dev_found()
[all …]
Daic94xx_tmf.c159 static int asd_clear_nexus_I_T(struct domain_device *dev, in asd_clear_nexus_I_T()
181 int asd_I_T_nexus_reset(struct domain_device *dev) in asd_I_T_nexus_reset()
220 static int asd_clear_nexus_I_T_L(struct domain_device *dev, u8 *lun) in asd_clear_nexus_I_T_L()
575 static int asd_initiate_ssp_tmf(struct domain_device *dev, u8 *lun, in asd_initiate_ssp_tmf()
657 int asd_abort_task_set(struct domain_device *dev, u8 *lun) in asd_abort_task_set()
666 int asd_clear_aca(struct domain_device *dev, u8 *lun) in asd_clear_aca()
675 int asd_clear_task_set(struct domain_device *dev, u8 *lun) in asd_clear_task_set()
684 int asd_lu_reset(struct domain_device *dev, u8 *lun) in asd_lu_reset()
Daic94xx_task.c367 struct domain_device *dev = task->dev; in asd_build_ata_ascb()
436 struct domain_device *dev = task->dev; in asd_build_smp_ascb()
485 struct domain_device *dev = task->dev; in asd_build_ssp_ascb()
Daic94xx_scb.c447 struct domain_device *failed_dev = NULL; in escb_tasklet_complete()
512 struct domain_device *dev; in escb_tasklet_complete()
538 struct domain_device *dev; in escb_tasklet_complete()
/linux-4.1.27/drivers/scsi/isci/
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);
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);
298 static inline bool dev_is_expander(struct domain_device *dev) in dev_is_expander()
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()
742 struct domain_device *dev, in isci_reset_device()
782 int isci_task_I_T_nexus_reset(struct domain_device *dev) in isci_task_I_T_nexus_reset()
Dremote_node_context.c114 struct domain_device *dev = idev->domain_dev; in sci_remote_node_context_construct_buffer()
240 struct domain_device *dev = idev->domain_dev; in sci_remote_node_context_validate_context_buffer()
310 struct domain_device *dev; in sci_remote_node_context_resuming_state_enter()
715 struct domain_device *dev = idev->domain_dev; in sci_remote_node_context_resume()
Dhost.h337 static inline struct isci_host *dev_to_ihost(struct domain_device *dev) in dev_to_ihost()
363 struct domain_device *dev = idev->domain_dev; in sci_remote_device_node_count()
Dremote_device.c1086 struct domain_device *dev = idev->domain_dev; in sci_remote_device_ready_state_enter()
1099 struct domain_device *dev = idev->domain_dev; in sci_remote_device_ready_state_exit()
1312 struct domain_device *dev = idev->domain_dev; in sci_remote_device_ea_construct()
1478 struct domain_device *dev = idev->domain_dev; in isci_remote_device_construct()
1591 void isci_remote_device_gone(struct domain_device *dev) in isci_remote_device_gone()
1613 int isci_remote_device_found(struct domain_device *dev) in isci_remote_device_found()
Dport.h282 int isci_ata_check_ready(struct domain_device *dev);
Drequest.c673 struct domain_device *dev = ireq->target_device->domain_dev; in sci_io_request_construct_sata()
2965 struct domain_device *dev = ireq->target_device->domain_dev; in sci_request_started_state_enter()
3091 struct domain_device *dev = idev->domain_dev; in sci_io_request_construct()
3118 struct domain_device *dev = idev->domain_dev; in sci_task_request_construct()
Dport.c1694 int isci_ata_check_ready(struct domain_device *dev) in isci_ata_check_ready()
/linux-4.1.27/drivers/scsi/mvsas/
Dmv_sas.h246 struct domain_device *sas_device;
460 int mvs_abort_task_set(struct domain_device *dev, u8 *lun);
461 int mvs_clear_aca(struct domain_device *dev, u8 *lun);
462 int mvs_clear_task_set(struct domain_device *dev, u8 * lun);
465 int mvs_dev_found(struct domain_device *dev);
466 void mvs_dev_gone(struct domain_device *dev);
467 int mvs_lu_reset(struct domain_device *dev, u8 *lun);
469 int mvs_I_T_nexus_reset(struct domain_device *dev);
472 struct domain_device *dev);
474 struct domain_device *dev);
Dmv_sas.c77 struct mvs_info *mvs_find_dev_mvi(struct domain_device *dev) in mvs_find_dev_mvi()
105 int mvs_find_dev_phyno(struct domain_device *dev, int *phyno) in mvs_find_dev_phyno()
322 struct domain_device *dev = task->dev; in mvs_task_prep_smp()
445 struct domain_device *dev = task->dev; in mvs_task_prep_ata()
574 struct domain_device *dev = task->dev; in mvs_task_prep_ssp()
711 struct domain_device *dev = task->dev; in mvs_task_prep()
1131 struct domain_device *dev; in mvs_port_notify_deformed()
1185 int mvs_dev_found_notify(struct domain_device *dev, int lock) in mvs_dev_found_notify()
1190 struct domain_device *parent_dev = dev->parent; in mvs_dev_found_notify()
1236 int mvs_dev_found(struct domain_device *dev) in mvs_dev_found()
[all …]
/linux-4.1.27/drivers/scsi/pm8001/
Dpm8001_sas.c138 struct pm8001_hba_info *pm8001_find_ha_by_dev(struct domain_device *dev) in pm8001_find_ha_by_dev()
326 static int sas_find_local_port_id(struct domain_device *dev) in sas_find_local_port_id()
328 struct domain_device *pdev = dev->parent; in sas_find_local_port_id()
334 struct domain_device *pdev_p = pdev->parent; in sas_find_local_port_id()
356 struct domain_device *dev = task->dev; in pm8001_task_exec()
584 static int pm8001_dev_found_notify(struct domain_device *dev) in pm8001_dev_found_notify()
589 struct domain_device *parent_dev = dev->parent; in pm8001_dev_found_notify()
644 int pm8001_dev_found(struct domain_device *dev) in pm8001_dev_found()
676 static int pm8001_exec_internal_tmf_task(struct domain_device *dev, in pm8001_exec_internal_tmf_task()
765 struct pm8001_device *pm8001_dev, struct domain_device *dev, u32 flag, in pm8001_exec_internal_task_abort()
[all …]
Dpm8001_sas.h268 struct domain_device *sas_device;
628 int pm8001_abort_task_set(struct domain_device *dev, u8 *lun);
629 int pm8001_clear_aca(struct domain_device *dev, u8 *lun);
630 int pm8001_clear_task_set(struct domain_device *dev, u8 *lun);
631 int pm8001_dev_found(struct domain_device *dev);
632 void pm8001_dev_gone(struct domain_device *dev);
633 int pm8001_lu_reset(struct domain_device *dev, u8 *lun);
634 int pm8001_I_T_nexus_reset(struct domain_device *dev);
635 int pm8001_I_T_nexus_event_handler(struct domain_device *dev);
Dpm8001_hwi.c1497 struct domain_device *dev; in pm8001_work_fn()
1768 struct domain_device *dev; in pm8001_send_read_log()
1792 dev = kzalloc(sizeof(struct domain_device), GFP_ATOMIC); in pm8001_send_read_log()
4224 struct domain_device *dev = task->dev; in pm8001_chip_smp_req()
4292 struct domain_device *dev = task->dev; in pm8001_chip_ssp_io_req()
4344 struct domain_device *dev = task->dev; in pm8001_chip_sata_req()
4522 struct domain_device *dev = pm8001_dev->sas_device; in pm8001_chip_reg_dev_req()
4523 struct domain_device *parent_dev = dev->parent; in pm8001_chip_reg_dev_req()
4696 struct domain_device *dev = task->dev; in pm8001_chip_ssp_tm_req()
Dpm80xx_hwi.c1423 struct domain_device *dev; in pm80xx_send_read_log()
1447 dev = kzalloc(sizeof(struct domain_device), GFP_ATOMIC); in pm80xx_send_read_log()
3728 struct domain_device *dev = task->dev; in pm80xx_chip_smp_req()
3890 struct domain_device *dev = task->dev; in pm80xx_chip_ssp_io_req()
4050 struct domain_device *dev = task->dev; in pm80xx_chip_sata_req()
4380 struct domain_device *dev = pm8001_dev->sas_device; in pm80xx_chip_reg_dev_req()
4381 struct domain_device *parent_dev = dev->parent; in pm80xx_chip_reg_dev_req()
/linux-4.1.27/Documentation/scsi/
Dlibsas.txt178 int (*lldd_abort_task_set)(struct domain_device *, u8 *lun);
179 int (*lldd_clear_aca)(struct domain_device *, u8 *lun);
180 int (*lldd_clear_task_set)(struct domain_device *, u8 *lun);
181 int (*lldd_I_T_nexus_reset)(struct domain_device *);
182 int (*lldd_lu_reset)(struct domain_device *, u8 *lun);
354 The structure domain_device describes any device in the SAS
358 contents of the domain_device structure, but it never creates