Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/ata/libata-sff.c
- drivers/ata/sata_promise.c, line 1029
- drivers/ata/sata_sx4.c, line 906
- drivers/ata/sata_via.c, line 319
Smatch caller information:
drivers/ata/sata_promise.c pdc_tf_load_mmio() -> ata_sff_tf_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ap | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->bmdma_status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_check_status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_dev_select | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tf | 4096-ptr_max |
| DATA_SOURCE | 0 | ap | $0 |
| DATA_SOURCE | 1 | tf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ap->last_ctl | 0-255 |
| HOST_DATA | 0 | ap->link.ap->last_ctl | 0-255 |
| HOST_DATA | 0 | ap->link.ap->link.eh_info.serror | 0-u32max |
| HOST_DATA | 1 | tf->auxiliary | 0 |
| HOST_DATA | 1 | tf->command | 161,236 |
| HOST_DATA | 1 | tf->ctl | 0-255 |
| HOST_DATA | 1 | tf->device | 0-255 |
| HOST_DATA | 1 | tf->error | 0 |
| HOST_DATA | 1 | tf->feature | 0,4[c] |
| HOST_DATA | 1 | tf->flags | 70[c] |
| HOST_DATA | 1 | tf->hob_feature | 0 |
| HOST_DATA | 1 | tf->hob_lbah | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbal | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbam | 0-255[c] |
| HOST_DATA | 1 | tf->hob_nsect | 0 |
| HOST_DATA | 1 | tf->lbah | 0-255 |
| HOST_DATA | 1 | tf->lbal | 0-255 |
| HOST_DATA | 1 | tf->lbam | 0-255 |
| HOST_DATA | 1 | tf->nsect | 0-255 |
| HOST_DATA | 1 | tf->protocol | 0-1,8-9 |
| HOST_DATA | 1 | tf->status | 161,236 |
| HALF_LOCKED2 | ap->lock | ||
| HALF_LOCKED2 | flags |
drivers/ata/sata_sx4.c pdc_tf_load_mmio() -> ata_sff_tf_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ap | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->bmdma_status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_check_status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_dev_select | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tf | 4096-ptr_max |
| DATA_SOURCE | 0 | ap | $0 |
| DATA_SOURCE | 1 | tf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ap->last_ctl | 0-255 |
| HOST_DATA | 0 | ap->link.ap->last_ctl | 0-255 |
| HOST_DATA | 0 | ap->link.ap->link.eh_info.serror | 0-u32max |
| HOST_DATA | 1 | tf->auxiliary | 0 |
| HOST_DATA | 1 | tf->command | 161,236 |
| HOST_DATA | 1 | tf->ctl | 0-255 |
| HOST_DATA | 1 | tf->device | 0-255 |
| HOST_DATA | 1 | tf->error | 0 |
| HOST_DATA | 1 | tf->feature | 0,4[c] |
| HOST_DATA | 1 | tf->flags | 70[c] |
| HOST_DATA | 1 | tf->hob_feature | 0 |
| HOST_DATA | 1 | tf->hob_lbah | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbal | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbam | 0-255[c] |
| HOST_DATA | 1 | tf->hob_nsect | 0 |
| HOST_DATA | 1 | tf->lbah | 0-255 |
| HOST_DATA | 1 | tf->lbal | 0-255 |
| HOST_DATA | 1 | tf->lbam | 0-255 |
| HOST_DATA | 1 | tf->nsect | 0-255 |
| HOST_DATA | 1 | tf->protocol | 0-1,8-9 |
| HOST_DATA | 1 | tf->status | 161,236 |
| HALF_LOCKED2 | ap->lock | ||
| HALF_LOCKED2 | flags |
drivers/ata/sata_via.c svia_tf_load() -> ata_sff_tf_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ap | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->bmdma_status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_check_status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_dev_select | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tf | 4096-ptr_max |
| BUF_SIZE | 1 | tf | (-1),32 |
| BUF_SIZE | 1 | tf | (-1),32 |
| DATA_SOURCE | 0 | ap | $0 |
| DATA_SOURCE | 1 | tf | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ap->last_ctl | 0-255 |
| HOST_DATA | 0 | ap->link.ap->last_ctl | 0-255 |
| HOST_DATA | 0 | ap->link.ap->link.eh_info.serror | 0-u32max |
| HOST_DATA | 1 | tf->auxiliary | 0 |
| HOST_DATA | 1 | tf->command | 161,236 |
| HOST_DATA | 1 | tf->ctl | 0-255 |
| HOST_DATA | 1 | tf->device | 0-255 |
| HOST_DATA | 1 | tf->error | 0 |
| HOST_DATA | 1 | tf->feature | 0,4[c] |
| HOST_DATA | 1 | tf->flags | 70[c] |
| HOST_DATA | 1 | tf->hob_feature | 0 |
| HOST_DATA | 1 | tf->hob_lbah | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbal | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbam | 0-255[c] |
| HOST_DATA | 1 | tf->hob_nsect | 0 |
| HOST_DATA | 1 | tf->lbah | 0-255 |
| HOST_DATA | 1 | tf->lbal | 0-255 |
| HOST_DATA | 1 | tf->lbam | 0-255 |
| HOST_DATA | 1 | tf->nsect | 0-255 |
| HOST_DATA | 1 | tf->protocol | 0-1,8-9 |
| HOST_DATA | 1 | tf->status | 161,236 |
| HALF_LOCKED2 | ap->lock | ||
| HALF_LOCKED2 | flags |
drivers/ata/libata-sff.c ata_bmdma_qc_issue() -> (struct ata_port_operations)->sff_tf_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ap | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->host->private_data->pardev->port->timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | ap->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_check_status | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_dev_select | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->private_data->last_device | 0-u16max |
| PARAM_VALUE | 0 | ap->private_data->pp_flags | 0-4294967295 |
| PARAM_VALUE | 1 | tf | 4096-ptr_max |
| PARAM_VALUE | 1 | tf->protocol | 2 |
| CONTAINER | 0 | -336-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | tf->auxiliary | 0 |
| HOST_DATA | 1 | tf->command | 161,236[c] |
| HOST_DATA | 1 | tf->ctl | 0-255 |
| HOST_DATA | 1 | tf->device | 0-255 |
| HOST_DATA | 1 | tf->error | 0 |
| HOST_DATA | 1 | tf->feature | 0,4[c] |
| HOST_DATA | 1 | tf->flags | 70[c] |
| HOST_DATA | 1 | tf->hob_feature | 0 |
| HOST_DATA | 1 | tf->hob_lbah | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbal | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbam | 0-255[c] |
| HOST_DATA | 1 | tf->hob_nsect | 0 |
| HOST_DATA | 1 | tf->lbah | 0-255 |
| HOST_DATA | 1 | tf->lbal | 0-255 |
| HOST_DATA | 1 | tf->lbam | 0-255 |
| HOST_DATA | 1 | tf->nsect | 0-255 |
| HOST_DATA | 1 | tf->status | 161,236 |
| LOCK2 | ap->lock | ||
| HALF_LOCKED2 | flags |
drivers/ata/libata-sff.c ata_bmdma_qc_issue() -> (struct ata_port_operations)->sff_tf_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ap | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->host->private_data->pardev->port->timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | ap->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_check_status | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_dev_select | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->private_data->last_device | 0-u16max |
| PARAM_VALUE | 0 | ap->private_data->pp_flags | 0-4294967295 |
| PARAM_VALUE | 1 | tf | 4096-ptr_max |
| PARAM_VALUE | 1 | tf->protocol | 10 |
| CONTAINER | 0 | -336-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | tf->auxiliary | 0 |
| HOST_DATA | 1 | tf->command | 161,236[c] |
| HOST_DATA | 1 | tf->ctl | 0-255 |
| HOST_DATA | 1 | tf->device | 0-255 |
| HOST_DATA | 1 | tf->error | 0 |
| HOST_DATA | 1 | tf->feature | 0,4[c] |
| HOST_DATA | 1 | tf->flags | 70[c] |
| HOST_DATA | 1 | tf->hob_feature | 0 |
| HOST_DATA | 1 | tf->hob_lbah | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbal | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbam | 0-255[c] |
| HOST_DATA | 1 | tf->hob_nsect | 0 |
| HOST_DATA | 1 | tf->lbah | 0-255 |
| HOST_DATA | 1 | tf->lbal | 0-255 |
| HOST_DATA | 1 | tf->lbam | 0-255 |
| HOST_DATA | 1 | tf->nsect | 0-255 |
| HOST_DATA | 1 | tf->status | 161,236 |
| LOCK2 | ap->lock | ||
| HALF_LOCKED2 | flags |
drivers/ata/libata-sff.c ata_tf_to_host() -> (struct ata_port_operations)->sff_tf_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ap | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->host->private_data->pardev->port->timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | ap->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_check_status | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_dev_select | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->private_data->last_device | 0-u16max |
| PARAM_VALUE | 0 | ap->private_data->pp_flags | 0-4294967295 |
| PARAM_VALUE | 1 | tf | 4096-ptr_max |
| PARAM_VALUE | 1 | tf->protocol | 0-1,8-9 |
| DATA_SOURCE | 0 | ap | $0 |
| DATA_SOURCE | 1 | tf | $1 |
| CONTAINER | 0 | -336-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | tf->auxiliary | 0 |
| HOST_DATA | 1 | tf->command | 161,236 |
| HOST_DATA | 1 | tf->ctl | 0-255 |
| HOST_DATA | 1 | tf->device | 0-255 |
| HOST_DATA | 1 | tf->error | 0 |
| HOST_DATA | 1 | tf->feature | 0,4[c] |
| HOST_DATA | 1 | tf->flags | 70[c] |
| HOST_DATA | 1 | tf->hob_feature | 0 |
| HOST_DATA | 1 | tf->hob_lbah | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbal | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbam | 0-255[c] |
| HOST_DATA | 1 | tf->hob_nsect | 0 |
| HOST_DATA | 1 | tf->lbah | 0-255 |
| HOST_DATA | 1 | tf->lbal | 0-255 |
| HOST_DATA | 1 | tf->lbam | 0-255 |
| HOST_DATA | 1 | tf->nsect | 0-255 |
| HOST_DATA | 1 | tf->protocol | 0-1,8-9 |
| HOST_DATA | 1 | tf->status | 161,236 |
| LOCK2 | ap->lock | ||
| HALF_LOCKED2 | flags |
drivers/ata/sata_dwc_460ex.c sata_dwc_qc_issue() -> (struct ata_port_operations)->sff_tf_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ap | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->link.ap | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | tf | 4096-ptr_max |
| PARAM_VALUE | 1 | tf->protocol | 4-255 |
| CONTAINER | 0 | -336-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | tf->auxiliary | 0 |
| HOST_DATA | 1 | tf->command | 161,236[c] |
| HOST_DATA | 1 | tf->ctl | 0-255 |
| HOST_DATA | 1 | tf->device | 0-255 |
| HOST_DATA | 1 | tf->error | 0 |
| HOST_DATA | 1 | tf->feature | 0,4[c] |
| HOST_DATA | 1 | tf->flags | 70 |
| HOST_DATA | 1 | tf->hob_feature | 0 |
| HOST_DATA | 1 | tf->hob_lbah | 0[c] |
| HOST_DATA | 1 | tf->hob_lbal | 0[c] |
| HOST_DATA | 1 | tf->hob_lbam | 0[c] |
| HOST_DATA | 1 | tf->hob_nsect | 0 |
| HOST_DATA | 1 | tf->lbah | 0-255 |
| HOST_DATA | 1 | tf->lbal | 0-255 |
| HOST_DATA | 1 | tf->lbam | 0-255 |
| HOST_DATA | 1 | tf->nsect | 0-255 |
| HOST_DATA | 1 | tf->status | 161,236 |
| LOCK2 | ap->lock | ||
| HALF_LOCKED2 | flags |
drivers/ata/sata_nv.c nv_swncq_issue_atacmd() -> (struct ata_port_operations)->sff_tf_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ap | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->bmdma_status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ap->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | tf | 4096-ptr_max |
| DATA_SOURCE | 0 | ap | $0 |
| CONTAINER | 0 | -336-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ap->last_ctl | 0-255 |
| HOST_DATA | 0 | ap->link.ap->last_ctl | 0-255 |
| HOST_DATA | 0 | ap->link.ap->link.eh_info.serror | 0-u32max |
| HOST_DATA | 1 | tf->auxiliary | 0 |
| HOST_DATA | 1 | tf->command | 161,236[c] |
| HOST_DATA | 1 | tf->ctl | 0 |
| HOST_DATA | 1 | tf->device | 0-255 |
| HOST_DATA | 1 | tf->error | 0 |
| HOST_DATA | 1 | tf->feature | 0,4[c] |
| HOST_DATA | 1 | tf->flags | 70 |
| HOST_DATA | 1 | tf->hob_feature | 0 |
| HOST_DATA | 1 | tf->hob_lbah | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbal | 0-255[c] |
| HOST_DATA | 1 | tf->hob_lbam | 0-255[c] |
| HOST_DATA | 1 | tf->hob_nsect | 0 |
| HOST_DATA | 1 | tf->lbah | 0-255 |
| HOST_DATA | 1 | tf->lbal | 0-255 |
| HOST_DATA | 1 | tf->lbam | 0-255 |
| HOST_DATA | 1 | tf->nsect | 0-255 |
| HOST_DATA | 1 | tf->status | 161,236 |
| HALF_LOCKED2 | &host->lock | ||
| HALF_LOCKED2 | ap->lock | ||
| HALF_LOCKED2 | flags |
drivers/ata/pata_arasan_cf.c arasan_cf_qc_issue() -> (struct ata_port_operations)->sff_tf_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ap | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->host | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ioaddr.device_addr | 0-ptr_max |
| PARAM_VALUE | 0 | ap->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ap->ops->sff_check_status | 4096-ptr_max |
| PARAM_VALUE | 1 | tf | 4096-ptr_max |
| PARAM_VALUE | 1 | tf->protocol | 2 |
| CONTAINER | 0 | -336-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | tf->auxiliary | 0 |
| HOST_DATA | 1 | tf->command | 161,236[c] |
| HOST_DATA | 1 | tf->ctl | 0-255 |
| HOST_DATA | 1 | tf->device | 0-255 |
| HOST_DATA | 1 | tf->error | 0 |
| HOST_DATA | 1 | tf->feature | 0,4[c] |
| HOST_DATA | 1 | tf->flags | 70 |
| HOST_DATA | 1 | tf->hob_feature | 0 |
| HOST_DATA | 1 | tf->hob_lbah | 0[c] |
| HOST_DATA | 1 | tf->hob_lbal | 0[c] |
| HOST_DATA | 1 | tf->hob_lbam | 0[c] |
| HOST_DATA | 1 | tf->hob_nsect | 0 |
| HOST_DATA | 1 | tf->lbah | 0-255 |
| HOST_DATA | 1 | tf->lbal | 0-255 |
| HOST_DATA | 1 | tf->lbam | 0-255 |
| HOST_DATA | 1 | tf->nsect | 0-255 |
| HOST_DATA | 1 | tf->status | 161,236 |
| LOCK2 | ap->lock | ||
| HALF_LOCKED2 | flags |