Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/ata/libata-sata.c, line 624 (as a function)
- include/linux/libata.h, line 1301 (as a function)
Referenced in 10 files:
- drivers/ata/ahci.c
- drivers/ata/ahci_qoriq.c, line 127
- drivers/ata/ahci_xgene.c, line 367
- drivers/ata/libahci.c, line 1612
- drivers/ata/libata-pmp.c, line 868
- drivers/ata/libata-sata.c
- drivers/ata/libata-sff.c, line 1979
- drivers/ata/sata_highbank.c, line 409
- drivers/ata/sata_mv.c, line 3609
- drivers/ata/sata_nv.c, line 1560
Smatch caller information:
drivers/ata/libata-sff.c sata_sff_hardreset() -> sata_link_hardreset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 1 | timing | 2502103657139937280,4941446035206324224 |
| PARAM_VALUE | 3 | online | 8881365924303069184 |
| PARAM_VALUE | 4 | check_ready | 4403755279373123584 |
| BUF_SIZE | 1 | timing | 12 |
| BUF_SIZE | 1 | timing | 12 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | timing | r sata_ehc_deb_timing |
| DATA_SOURCE | 2 | deadline | $2 |
drivers/ata/ahci_qoriq.c ahci_qoriq_hardreset() -> sata_link_hardreset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link->ap | 4096-ptr_max |
| PARAM_VALUE | 1 | timing | 2502103657139937280,4941446035206324224 |
| PARAM_VALUE | 3 | online | 8290747864432390144 |
| PARAM_VALUE | 4 | check_ready | 2879964423718400000 |
| BUF_SIZE | 1 | timing | 12 |
| BUF_SIZE | 1 | timing | 12 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | timing | r sata_ehc_deb_timing |
| DATA_SOURCE | 2 | deadline | $2 |
drivers/ata/sata_mv.c mv_hardreset() -> sata_link_hardreset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->link.device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->link.device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 1 | timing | 2502103657139937280,4941446035206324224 |
| PARAM_VALUE | 3 | online | 6023204717692112896 |
| PARAM_VALUE | 4 | check_ready | 0 |
| BUF_SIZE | 1 | timing | 12 |
| BUF_SIZE | 1 | timing | 12 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | timing | r sata_ehc_deb_timing |
drivers/ata/ahci_xgene.c xgene_ahci_do_hardreset() -> sata_link_hardreset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->link.device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->link.device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | link->device | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link->ap | 4096-ptr_max |
| PARAM_VALUE | 1 | timing | 2502103657139937280,4941446035206324224 |
| PARAM_VALUE | 3 | online | 7264110492909912064 |
| PARAM_VALUE | 4 | check_ready | 2879964423718400000 |
| BUF_SIZE | 1 | timing | 12 |
| BUF_SIZE | 1 | timing | 12 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | timing | r sata_ehc_deb_timing |
| DATA_SOURCE | 2 | deadline | $1 |
| DATA_SOURCE | 3 | online | $2 |
drivers/ata/ahci.c ahci_avn_hardreset() -> sata_link_hardreset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->link.device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->link.device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | link->device | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link->ap | 4096-ptr_max |
| PARAM_VALUE | 1 | timing | 2502103657139937280,4941446035206324224 |
| PARAM_VALUE | 3 | online | 4320113557536968704 |
| PARAM_VALUE | 4 | check_ready | 2879964423718400000 |
| BUF_SIZE | 1 | timing | 12 |
| BUF_SIZE | 1 | timing | 12 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | timing | r sata_ehc_deb_timing |
| DATA_SOURCE | 2 | deadline | $2 |
| UNITS | 2 | deadline | unit_jiffy |
drivers/ata/ahci.c ahci_p5wdh_hardreset() -> sata_link_hardreset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link->ap | 4096-ptr_max |
| PARAM_VALUE | 1 | timing | 2502103657139937280,4941446035206324224 |
| PARAM_VALUE | 3 | online | 3183781866554671104 |
| PARAM_VALUE | 4 | check_ready | 0 |
| BUF_SIZE | 1 | timing | 12 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 2 | deadline | $2 |
drivers/ata/ahci.c ahci_vt8251_hardreset() -> sata_link_hardreset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host | 4096-ptr_max |
| PARAM_VALUE | 1 | timing | 2502103657139937280,4941446035206324224 |
| PARAM_VALUE | 3 | online | 2204097946635816960 |
| PARAM_VALUE | 4 | check_ready | 0 |
| BUF_SIZE | 1 | timing | 12 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 2 | deadline | $2 |
drivers/ata/sata_nv.c nv_hardreset() -> sata_link_hardreset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->class | 0,2,4,6,8,10-4294967295 |
| PARAM_VALUE | 1 | timing | 2502103657139937280 |
| PARAM_VALUE | 3 | online | 0 |
| PARAM_VALUE | 4 | check_ready | 0 |
| BUF_SIZE | 1 | timing | 12 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 2 | deadline | $2 |
| BIT_INFO | 0 | link->ap->pflags | 0x0,0xffffffef |
| NOCHECK_CALL |
drivers/ata/sata_highbank.c ahci_highbank_hardreset() -> sata_link_hardreset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->link.device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->link.device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | link->device | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link->ap | 4096-ptr_max |
| PARAM_VALUE | 1 | timing | 4096-ptr_max |
| PARAM_VALUE | 3 | online | 7410119126590210048 |
| PARAM_VALUE | 4 | check_ready | 0 |
| BUF_SIZE | 1 | timing | 12 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 2 | deadline | $2 |
drivers/ata/libahci.c ahci_do_hardreset() -> sata_link_hardreset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->link.device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->link.device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | link->device | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link->ap | 4096-ptr_max |
| PARAM_VALUE | 1 | timing | 2502103657139937280,4941446035206324224 |
| PARAM_VALUE | 3 | online | 4289734007397953536,7760185843683962880 |
| PARAM_VALUE | 4 | check_ready | 2879964423718400000 |
| BUF_SIZE | 1 | timing | 12 |
| BUF_SIZE | 1 | timing | 12 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | timing | r sata_ehc_deb_timing |
| DATA_SOURCE | 2 | deadline | $2 |
| DATA_SOURCE | 3 | online | $3 |
| HOST_DATA | 0 | link->pmp | 0-255 |
drivers/ata/libata-pmp.c sata_pmp_eh_handle_disabled_links() -> sata_link_hardreset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->link.device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->link.device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | link->flags | 64-u32max |
| PARAM_VALUE | 1 | timing | 4941446035206324224 |
| PARAM_VALUE | 3 | online | 0 |
| PARAM_VALUE | 4 | check_ready | 0 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 1 | timing | 12 |
| BIT_INFO | 0 | link->flags | 0x40,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | link->ap->last_ctl | 0-255 |
| HOST_DATA | 0 | link->ap->link.eh_info.serror | 0-u32max |
| HOST_DATA | 0 | link->eh_context.i.serror | 0-u32max |
| HOST_DATA | 0 | link->eh_info.serror | 0-u32max |
| HOST_DATA | 0 | link->hw_sata_spd_limit | 0-u32max[c] |
| HOST_DATA | 0 | link->pmp | 0-255 |
| HOST_DATA | 0 | link->sata_spd_limit | 0-u32max[c] |
| HOST_DATA | 0 | link->saved_scontrol | 0-u32max |
| LOCK2 | &ap->host->eh_mutex | ||
| TYPE_LOCK | (struct ata_host)->eh_mutex |
drivers/ata/libata-sata.c sata_std_hardreset() -> sata_link_hardreset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 1 | timing | 2502103657139937280,4941446035206324224 |
| PARAM_VALUE | 3 | online | 1096089221845921792 |
| PARAM_VALUE | 4 | check_ready | 0 |
| BUF_SIZE | 1 | timing | 12 |
| BUF_SIZE | 1 | timing | 12 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | timing | r sata_ehc_deb_timing |
| DATA_SOURCE | 2 | deadline | $2 |