Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/ata/sata_fsl.c sata_fsl_error_intr() -> sata_fsl_scr_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | sc_reg_in | 1 |
| PARAM_VALUE | 2 | val | 5777855904813617152 |
| PARAM_VALUE | 2 | *val | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &host->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct ata_host)->lock |
drivers/ata/sata_fsl.c sata_fsl_host_intr() -> sata_fsl_scr_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | sc_reg_in | 1 |
| PARAM_VALUE | 2 | val | 273964660963930112 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &host->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ata_host)->lock |
drivers/ata/sata_fsl.c sata_fsl_softreset() -> sata_fsl_scr_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | sc_reg_in | 1 |
| PARAM_VALUE | 2 | val | 1809852002048507904 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | link->eh_info.serror | 0-u32max |
| HALF_LOCKED2 | &ap->host->eh_mutex |
drivers/ata/sata_nv.c nv_swncq_host_interrupt() -> (struct ata_port_operations)->scr_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->sactive | 1-u32max |
| PARAM_VALUE | 1 | sc_reg_in | 1 |
| PARAM_VALUE | 2 | val | 7697902698276139008 |
| CONTAINER | 0 | -224-8+8384 | $(-1) |
| LOCK2 | &host->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ata_host)->lock |
drivers/ata/libata-sata.c sata_scr_read() -> (struct ata_port_operations)->scr_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->flags | 2-u64max |
| 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->ap->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->class | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->fastdrain_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->hsm_task_state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->pflags | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->__state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->dl.flags | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->mm->mm_cid.max_cids | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->mm->mm_cid.nr_cpus_allowed | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->mm->mm_cid.pcpu_thrs | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->mm->mm_cid.update_deferred | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->numa_scan_period | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->on_rq | s32min-s32max |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->psi_flags | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->rt.time_slice | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->saved_state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->host_eh_scheduled | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->shost_state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | *link->device->gscr | 0-4294967295 |
| PARAM_VALUE | 1 | sc_reg_in | 0-2,4 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 0 | link | (-1),10240 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | sc_reg_in | $1 |
| DATA_SOURCE | 2 | val | $2 |
| CONTAINER | 0 | -224-8-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->ap->slave_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->hw_sata_spd_limit | 0-u32max[c] |
| HOST_DATA | 0 | link->pmp | 0-255 |
| HOST_DATA | 0 | link->sata_spd | 0-15 |
| HOST_DATA | 0 | link->sata_spd_limit | 0-u32max[c] |
| HOST_DATA | 0 | link->saved_scontrol | 0-u32max |
| HOST_DATA | 2 | *val | 0-u32max |
| HALF_LOCKED2 | &ap->host->eh_mutex | ||
| HALF_LOCKED2 | &host->lock | ||
| HALF_LOCKED2 | flags |
drivers/ata/libata-sata.c sata_scr_write_flush() -> (struct ata_port_operations)->scr_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->flags | 2-u64max |
| 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->ap->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->class | 0-4294967295 |
| PARAM_VALUE | 1 | sc_reg_in | 1-2 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 0 | link | (-1),10240 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | sc_reg_in | $1 |
| CONTAINER | 0 | -224-8-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->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 |
| HOST_DATA | 2 | *val | 0-u32max |
| HALF_LOCKED2 | &host->lock |