Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/isci/phy.c sci_phy_resetting_state_enter() -> sci_port_deactivate_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | iphy | 4096-ptr_max |
| PARAM_VALUE | 2 | do_notify_user | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | &isci_host->scic_lock | ||
| HALF_LOCKED2 | irq |
drivers/scsi/isci/port.c sci_port_link_down() -> sci_port_deactivate_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->physical_port_index | 0-3 |
| PARAM_VALUE | 1 | iphy | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->link_layer_registers | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->owning_port | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->owning_port->physical_port_index | 0-3,255 |
| PARAM_VALUE | 1 | iphy->sm.previous_state_id | 1-u32max |
| PARAM_VALUE | 2 | do_notify_user | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | iphy | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | &isci_host->scic_lock | ||
| HALF_LOCKED2 | irq |
drivers/scsi/isci/port.c sci_port_link_down() -> sci_port_deactivate_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->physical_port_index | 0-3 |
| PARAM_VALUE | 1 | iphy | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->link_layer_registers | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->owning_port | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->owning_port->physical_port_index | 0-3,255 |
| PARAM_VALUE | 1 | iphy->sm.previous_state_id | 1-u32max |
| PARAM_VALUE | 2 | do_notify_user | 0 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | iphy | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | &isci_host->scic_lock | ||
| HALF_LOCKED2 | irq |
drivers/scsi/isci/port.c sci_port_remove_phy() -> sci_port_deactivate_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->physical_port_index | 0-3 |
| PARAM_VALUE | 0 | *iport->phy_table | 0 |
| PARAM_VALUE | 1 | iphy | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->link_layer_registers | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->owning_port | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->owning_port->hard_reset_status | 0,33 |
| PARAM_VALUE | 1 | iphy->owning_port->logical_port_index | 0-3,255 |
| PARAM_VALUE | 1 | iphy->owning_port->not_ready_reason | 0-1,3 |
| PARAM_VALUE | 1 | iphy->owning_port->physical_port_index | 0-3,255 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->defer_q.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->defer_q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.idle_notification | 0 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.request | 0-1 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.request_pending | 1 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.timer_autosuspends | 1 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | iphy->sas_phy.in_shutdown | 0-s32max |
| PARAM_VALUE | 1 | iphy->sm.previous_state_id | 1-u32max |
| PARAM_VALUE | 2 | do_notify_user | 1 |
| CAPPED_DATA | 0 | iport | 1 |
| CAPPED_DATA | 1 | iphy | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | iphy | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | &isci_host->scic_lock | ||
| HALF_LOCKED2 | irq |
drivers/scsi/isci/port.c sci_port_remove_phy() -> sci_port_deactivate_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->physical_port_index | 0-3 |
| PARAM_VALUE | 0 | *iport->phy_table | 0 |
| PARAM_VALUE | 1 | iphy | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->link_layer_registers | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->owning_port | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->owning_port->hard_reset_status | 0,33 |
| PARAM_VALUE | 1 | iphy->owning_port->logical_port_index | 0-3,255 |
| PARAM_VALUE | 1 | iphy->owning_port->not_ready_reason | 0-1,3 |
| PARAM_VALUE | 1 | iphy->owning_port->physical_port_index | 0-3,255 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->defer_q.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->defer_q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.idle_notification | 0 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.request | 0-1 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.request_pending | 1 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.timer_autosuspends | 1 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | iphy->sas_phy.ha->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | iphy->sas_phy.in_shutdown | 0-s32max |
| PARAM_VALUE | 1 | iphy->sm.previous_state_id | 1-u32max |
| PARAM_VALUE | 2 | do_notify_user | 1 |
| CAPPED_DATA | 0 | iport | 1 |
| CAPPED_DATA | 1 | iphy | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | iphy | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | &isci_host->scic_lock | ||
| HALF_LOCKED2 | irq |