Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/ata/libata-eh.c ata_eh_handle_dev_fail() -> sata_down_spd_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 1-u64max |
| PARAM_VALUE | 1 | spd_limit | 0 |
| BUF_SIZE | 0 | link | (-1),10240 |
| NOCHECK_CALL |
drivers/ata/libata-eh.c ata_eh_schedule_probe() -> sata_down_spd_limit()
| 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 | 1 | spd_limit | 1 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 0 | link | (-1),10240 |
| CAPPED_DATA | 0 | link | 1 |
| 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->ap->link.pmp | 0-255 |
| HOST_DATA | 0 | link->eh_context.i.serror | 0-u32max |
| HOST_DATA | 0 | link->eh_info.serror | 0-u32max |
| HOST_DATA | 0 | link->pmp | 0-255 |
| HALF_LOCKED2 | &ap->host->eh_mutex |
drivers/ata/libata-eh.c ata_eh_speed_down() -> sata_down_spd_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 1-u64max |
| PARAM_VALUE | 1 | spd_limit | 0 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 0 | link | (-1),10240 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ap->host->eh_mutex | ||
| TYPE_LOCK | (struct ata_host)->eh_mutex |
drivers/ata/libata-pmp.c sata_pmp_eh_recover_pmp() -> sata_down_spd_limit()
| 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->device | 4096-ptr_max |
| PARAM_VALUE | 0 | link->eh_context.classes | 4096-ptr_max |
| PARAM_VALUE | 1 | spd_limit | 0 |
| BUF_SIZE | 0 | link | 10240 |
| 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->pmp | 0-255 |
| HOST_DATA | 0 | link->sata_spd_limit | 1-u32max[c] |
| LOCK2 | &ap->host->eh_mutex | ||
| TYPE_LOCK | (struct ata_host)->eh_mutex |