Home
last modified time | relevance | path

Searched refs:sas_dev (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c211 struct hisi_sas_device *sas_dev = &hisi_hba->devices[device_id]; in hisi_sas_slot_task_free() local
243 spin_lock(&sas_dev->lock); in hisi_sas_slot_task_free()
245 spin_unlock(&sas_dev->lock); in hisi_sas_slot_task_free()
401 struct hisi_sas_device *sas_dev) in hisi_sas_task_deliver()
413 spin_lock(&sas_dev->lock); in hisi_sas_task_deliver()
414 list_add_tail(&slot->entry, &sas_dev->list); in hisi_sas_task_deliver()
415 spin_unlock(&sas_dev->lock); in hisi_sas_task_deliver()
420 slot->device_id = sas_dev->device_id; in hisi_sas_task_deliver()
466 struct hisi_sas_device *sas_dev = device->lldd_dev; in hisi_sas_queue_command() local
507 if (DEV_IS_GONE(sas_dev)) { in hisi_sas_queue_command()
398 hisi_sas_task_deliver(struct hisi_hba *hisi_hba, struct hisi_sas_slot *slot, struct hisi_sas_dq *dq, struct hisi_sas_device *sas_dev) hisi_sas_task_deliver() argument
660 struct hisi_sas_device *sas_dev = NULL; hisi_sas_alloc_dev() local
743 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_tmf_aborted() local
811 struct hisi_sas_device *sas_dev = ddev->lldd_dev; hisi_sas_slave_alloc() local
830 struct hisi_sas_device *sas_dev; hisi_sas_dev_found() local
1105 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_release_task() local
1116 struct hisi_sas_device *sas_dev; hisi_sas_release_tasks() local
1141 hisi_sas_internal_task_abort_dev(struct hisi_sas_device *sas_dev, bool rst_ha_timeout) hisi_sas_internal_task_abort_dev() argument
1165 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_dev_gone() local
1349 struct hisi_sas_device *sas_dev = &hisi_hba->devices[i]; hisi_sas_refresh_port_id() local
1418 struct hisi_sas_device *sas_dev; hisi_sas_reset_init_all_devices() local
1468 struct hisi_sas_device *sas_dev = &hisi_hba->devices[i]; hisi_sas_terminate_stp_reject() local
1612 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_abort_task() local
1721 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_abort_task_set() local
1743 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_debug_I_T_nexus_reset() local
1806 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_I_T_nexus_reset() local
1856 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_lu_reset() local
1916 struct hisi_sas_device *sas_dev = &hisi_hba->devices[i]; hisi_sas_clear_nexus_ha() local
[all...]
H A Dhisi_sas_v2_hw.c773 struct hisi_sas_device *sas_dev = device->lldd_dev; in slot_index_alloc_quirk_v2_hw() local
774 int sata_idx = sas_dev->sata_idx; in slot_index_alloc_quirk_v2_hw()
842 struct hisi_sas_device *sas_dev = NULL; in alloc_dev_quirk_v2_hw() local
863 sas_dev = &hisi_hba->devices[i]; in alloc_dev_quirk_v2_hw()
864 sas_dev->dev_status = HISI_SAS_DEV_INIT; in alloc_dev_quirk_v2_hw()
865 sas_dev->dev_type = device->dev_type; in alloc_dev_quirk_v2_hw()
866 sas_dev->hisi_hba = hisi_hba; in alloc_dev_quirk_v2_hw()
867 sas_dev->sas_device = device; in alloc_dev_quirk_v2_hw()
868 sas_dev->sata_idx = sata_idx; in alloc_dev_quirk_v2_hw()
869 sas_dev in alloc_dev_quirk_v2_hw()
921 setup_itct_v2_hw(struct hisi_hba *hisi_hba, struct hisi_sas_device *sas_dev) setup_itct_v2_hw() argument
975 clear_itct_v2_hw(struct hisi_hba *hisi_hba, struct hisi_sas_device *sas_dev) clear_itct_v2_hw() argument
1007 free_device_v2_hw(struct hisi_sas_device *sas_dev) free_device_v2_hw() argument
1704 struct hisi_sas_device *sas_dev = device->lldd_dev; prep_smp_v2_hw() local
1741 struct hisi_sas_device *sas_dev = device->lldd_dev; prep_ssp_v2_hw() local
2330 struct hisi_sas_device *sas_dev; slot_complete_v2_hw() local
2498 struct hisi_sas_device *sas_dev = device->lldd_dev; prep_ata_v2_hw() local
2622 struct hisi_sas_device *sas_dev = dev->lldd_dev; prep_abort_v2_hw() local
3098 struct hisi_sas_device *sas_dev = &hisi_hba->devices[dev_id]; fatal_axi_int_v2_hw() local
[all...]
H A Dhisi_sas_v1_hw.c491 struct hisi_sas_device *sas_dev) in setup_itct_v1_hw()
493 struct domain_device *device = sas_dev->sas_device; in setup_itct_v1_hw()
495 u64 qw0, device_id = sas_dev->device_id; in setup_itct_v1_hw()
505 switch (sas_dev->dev_type) { in setup_itct_v1_hw()
513 sas_dev->dev_type); in setup_itct_v1_hw()
535 struct hisi_sas_device *sas_dev) in clear_itct_v1_hw()
537 u64 dev_id = sas_dev->device_id; in clear_itct_v1_hw()
921 struct hisi_sas_device *sas_dev = device->lldd_dev; in prep_smp_v1_hw() local
938 hdr->dw1 = cpu_to_le32(sas_dev->device_id << CMD_HDR_DEVICE_ID_OFF); in prep_smp_v1_hw()
957 struct hisi_sas_device *sas_dev in prep_ssp_v1_hw() local
490 setup_itct_v1_hw(struct hisi_hba *hisi_hba, struct hisi_sas_device *sas_dev) setup_itct_v1_hw() argument
534 clear_itct_v1_hw(struct hisi_hba *hisi_hba, struct hisi_sas_device *sas_dev) clear_itct_v1_hw() argument
1177 struct hisi_sas_device *sas_dev; slot_complete_v1_hw() local
[all...]
H A Dhisi_sas_v3_hw.c821 struct hisi_sas_device *sas_dev) in setup_itct_v3_hw()
823 struct domain_device *device = sas_dev->sas_device; in setup_itct_v3_hw()
825 u64 qw0, device_id = sas_dev->device_id; in setup_itct_v3_hw()
836 switch (sas_dev->dev_type) { in setup_itct_v3_hw()
851 sas_dev->dev_type); in setup_itct_v3_hw()
873 struct hisi_sas_device *sas_dev) in clear_itct_v3_hw()
876 u64 dev_id = sas_dev->device_id; in clear_itct_v3_hw()
881 sas_dev->completion = &completion; in clear_itct_v3_hw()
892 if (!wait_for_completion_timeout(sas_dev->completion, in clear_itct_v3_hw()
906 struct hisi_sas_device *sas_dev in dereg_device_v3_hw() local
820 setup_itct_v3_hw(struct hisi_hba *hisi_hba, struct hisi_sas_device *sas_dev) setup_itct_v3_hw() argument
872 clear_itct_v3_hw(struct hisi_hba *hisi_hba, struct hisi_sas_device *sas_dev) clear_itct_v3_hw() argument
1264 struct hisi_sas_device *sas_dev = device->lldd_dev; prep_ssp_v3_hw() local
1388 struct hisi_sas_device *sas_dev = device->lldd_dev; prep_smp_v3_hw() local
1425 struct hisi_sas_device *sas_dev = device->lldd_dev; prep_ata_v3_hw() local
1506 struct hisi_sas_device *sas_dev = dev->lldd_dev; prep_abort_v3_hw() local
2178 struct hisi_sas_device *sas_dev = fatal_axi_int_v3_hw() local
2276 struct hisi_sas_device *sas_dev; slot_complete_v3_hw() local
2462 struct hisi_sas_device *sas_dev = complete_v3_hw() local
[all...]
H A Dhisi_sas.h336 void (*free_device)(struct hisi_sas_device *sas_dev);
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c221 struct hisi_sas_device *sas_dev = &hisi_hba->devices[device_id]; in hisi_sas_slot_task_free() local
247 spin_lock(&sas_dev->lock); in hisi_sas_slot_task_free()
249 spin_unlock(&sas_dev->lock); in hisi_sas_slot_task_free()
413 struct hisi_sas_device *sas_dev = device->lldd_dev; in hisi_sas_task_prep() local
426 if (DEV_IS_GONE(sas_dev)) { in hisi_sas_task_prep()
427 if (sas_dev) in hisi_sas_task_prep()
429 sas_dev->device_id); in hisi_sas_task_prep()
462 *dq_pointer = dq = sas_dev->dq; in hisi_sas_task_prep()
502 spin_lock(&sas_dev->lock); in hisi_sas_task_prep()
503 list_add_tail(&slot->entry, &sas_dev in hisi_sas_task_prep()
669 struct hisi_sas_device *sas_dev = NULL; hisi_sas_alloc_dev() local
770 struct hisi_sas_device *sas_dev; hisi_sas_dev_found() local
1028 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_release_task() local
1036 struct hisi_sas_device *sas_dev; hisi_sas_release_tasks() local
1062 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_dev_gone() local
1199 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_exec_internal_tmf_task() local
1383 struct hisi_sas_device *sas_dev = &hisi_hba->devices[i]; hisi_sas_refresh_port_id() local
1449 struct hisi_sas_device *sas_dev; hisi_sas_reset_init_all_devices() local
1505 struct hisi_sas_device *sas_dev = &hisi_hba->devices[i]; hisi_sas_terminate_stp_reject() local
1616 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_abort_task() local
1755 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_debug_I_T_nexus_reset() local
1839 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_lu_reset() local
1890 struct hisi_sas_device *sas_dev = &hisi_hba->devices[i]; hisi_sas_clear_nexus_ha() local
1948 struct hisi_sas_device *sas_dev = device->lldd_dev; hisi_sas_internal_abort_task_exec() local
2038 struct hisi_sas_device *sas_dev = device->lldd_dev; _hisi_sas_internal_task_abort() local
[all...]
H A Dhisi_sas_v2_hw.c773 struct hisi_sas_device *sas_dev = device->lldd_dev; in slot_index_alloc_quirk_v2_hw() local
774 int sata_idx = sas_dev->sata_idx; in slot_index_alloc_quirk_v2_hw()
842 struct hisi_sas_device *sas_dev = NULL; in alloc_dev_quirk_v2_hw() local
863 sas_dev = &hisi_hba->devices[i]; in alloc_dev_quirk_v2_hw()
864 sas_dev->dev_status = HISI_SAS_DEV_INIT; in alloc_dev_quirk_v2_hw()
865 sas_dev->dev_type = device->dev_type; in alloc_dev_quirk_v2_hw()
866 sas_dev->hisi_hba = hisi_hba; in alloc_dev_quirk_v2_hw()
867 sas_dev->sas_device = device; in alloc_dev_quirk_v2_hw()
868 sas_dev->sata_idx = sata_idx; in alloc_dev_quirk_v2_hw()
869 sas_dev in alloc_dev_quirk_v2_hw()
921 setup_itct_v2_hw(struct hisi_hba *hisi_hba, struct hisi_sas_device *sas_dev) setup_itct_v2_hw() argument
975 clear_itct_v2_hw(struct hisi_hba *hisi_hba, struct hisi_sas_device *sas_dev) clear_itct_v2_hw() argument
1007 free_device_v2_hw(struct hisi_sas_device *sas_dev) free_device_v2_hw() argument
1704 struct hisi_sas_device *sas_dev = device->lldd_dev; prep_smp_v2_hw() local
1741 struct hisi_sas_device *sas_dev = device->lldd_dev; prep_ssp_v2_hw() local
2331 struct hisi_sas_device *sas_dev; slot_complete_v2_hw() local
2498 struct hisi_sas_device *sas_dev = device->lldd_dev; prep_ata_v2_hw() local
3103 struct hisi_sas_device *sas_dev = &hisi_hba->devices[dev_id]; fatal_axi_int_v2_hw() local
[all...]
H A Dhisi_sas_v1_hw.c491 struct hisi_sas_device *sas_dev) in setup_itct_v1_hw()
493 struct domain_device *device = sas_dev->sas_device; in setup_itct_v1_hw()
495 u64 qw0, device_id = sas_dev->device_id; in setup_itct_v1_hw()
505 switch (sas_dev->dev_type) { in setup_itct_v1_hw()
513 sas_dev->dev_type); in setup_itct_v1_hw()
535 struct hisi_sas_device *sas_dev) in clear_itct_v1_hw()
537 u64 dev_id = sas_dev->device_id; in clear_itct_v1_hw()
921 struct hisi_sas_device *sas_dev = device->lldd_dev; in prep_smp_v1_hw() local
938 hdr->dw1 = cpu_to_le32(sas_dev->device_id << CMD_HDR_DEVICE_ID_OFF); in prep_smp_v1_hw()
957 struct hisi_sas_device *sas_dev in prep_ssp_v1_hw() local
490 setup_itct_v1_hw(struct hisi_hba *hisi_hba, struct hisi_sas_device *sas_dev) setup_itct_v1_hw() argument
534 clear_itct_v1_hw(struct hisi_hba *hisi_hba, struct hisi_sas_device *sas_dev) clear_itct_v1_hw() argument
1182 struct hisi_sas_device *sas_dev; slot_complete_v1_hw() local
[all...]
H A Dhisi_sas_v3_hw.c768 struct hisi_sas_device *sas_dev) in setup_itct_v3_hw()
770 struct domain_device *device = sas_dev->sas_device; in setup_itct_v3_hw()
772 u64 qw0, device_id = sas_dev->device_id; in setup_itct_v3_hw()
783 switch (sas_dev->dev_type) { in setup_itct_v3_hw()
798 sas_dev->dev_type); in setup_itct_v3_hw()
820 struct hisi_sas_device *sas_dev) in clear_itct_v3_hw()
823 u64 dev_id = sas_dev->device_id; in clear_itct_v3_hw()
828 sas_dev->completion = &completion; in clear_itct_v3_hw()
839 if (!wait_for_completion_timeout(sas_dev->completion, in clear_itct_v3_hw()
853 struct hisi_sas_device *sas_dev in dereg_device_v3_hw() local
767 setup_itct_v3_hw(struct hisi_hba *hisi_hba, struct hisi_sas_device *sas_dev) setup_itct_v3_hw() argument
819 clear_itct_v3_hw(struct hisi_hba *hisi_hba, struct hisi_sas_device *sas_dev) clear_itct_v3_hw() argument
1209 struct hisi_sas_device *sas_dev = device->lldd_dev; prep_ssp_v3_hw() local
1333 struct hisi_sas_device *sas_dev = device->lldd_dev; prep_smp_v3_hw() local
1370 struct hisi_sas_device *sas_dev = device->lldd_dev; prep_ata_v3_hw() local
2109 struct hisi_sas_device *sas_dev = fatal_axi_int_v3_hw() local
2194 struct hisi_sas_device *sas_dev; slot_complete_v3_hw() local
[all...]
H A Dhisi_sas.h341 void (*free_device)(struct hisi_sas_device *sas_dev);
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.h423 * @sas_dev: The sas_device associated with this target
435 struct _sas_device *sas_dev; member
H A Dmpt3sas_scsih.c557 ret = tgt_priv->sas_dev; in __mpt3sas_get_sdev_from_target()
1770 sas_target_priv_data->sas_dev = sas_device; in scsih_target_alloc()
1849 sas_target_priv_data->sas_dev = NULL; in scsih_target_destroy()
/kernel/linux/linux-6.6/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.h436 * @sas_dev: The sas_device associated with this target
449 struct _sas_device *sas_dev; member
H A Dmpt3sas_scsih.c653 ret = tgt_priv->sas_dev; in __mpt3sas_get_sdev_from_target()
1937 sas_target_priv_data->sas_dev = sas_device; in scsih_target_alloc()
2016 sas_target_priv_data->sas_dev = NULL; in scsih_target_destroy()
9683 sas_device = sas_device_priv_data->sas_target->sas_dev; in _scsih_update_device_qdepth()
H A Dmpt3sas_ctl.c3917 qdepth = (sas_target_priv_data->sas_dev->port_type > 1) ? in enable_sdev_max_qd_store()

Completed in 106 milliseconds