Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/scsi/isci/host.c
- drivers/scsi/isci/phy.c
- drivers/scsi/isci/port.c
- drivers/scsi/isci/port_config.c, line 348
Smatch caller information:
drivers/scsi/isci/phy.c sci_phy_event_handler() -> phy_get_non_dummy_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iphy | 4096-ptr_max |
| DATA_SOURCE | 0 | iphy | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | irq |
drivers/scsi/isci/phy.c sci_phy_ready_state_enter() -> phy_get_non_dummy_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iphy | 4096-ptr_max |
| PARAM_VALUE | 0 | iphy->owning_port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | &isci_host->scic_lock | ||
| HALF_LOCKED2 | irq |
drivers/scsi/isci/phy.c sci_phy_starting_state_enter() -> phy_get_non_dummy_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iphy | 4096-ptr_max |
| PARAM_VALUE | 0 | iphy->owning_port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | &isci_host->scic_lock | ||
| HALF_LOCKED2 | irq |
drivers/scsi/isci/phy.c sci_phy_stopped_state_enter() -> phy_get_non_dummy_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iphy | 4096-ptr_max |
| PARAM_VALUE | 0 | iphy->owning_port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | &isci_host->scic_lock | ||
| HALF_LOCKED2 | irq |
drivers/scsi/isci/port_config.c mpc_agent_timeout() -> phy_get_non_dummy_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iphy | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ihost->scic_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct isci_host)->scic_lock |
drivers/scsi/isci/host.c is_controller_start_complete() -> phy_get_non_dummy_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iphy | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/isci/host.c sci_controller_start_next_phy() -> phy_get_non_dummy_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iphy | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/scsi/isci/port.c sci_port_clear_phy() -> phy_get_non_dummy_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iphy | 4096-ptr_max |
| PARAM_VALUE | 0 | iphy->owning_port | 4096-ptr_max |
| PARAM_VALUE | 0 | iphy->owning_port->physical_port_index | 0-3,255 |
| CAPPED_DATA | 0 | iphy | 1 |
| DATA_SOURCE | 0 | iphy | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | &isci_host->scic_lock | ||
| HALF_LOCKED2 | irq |
drivers/scsi/isci/port.c sci_port_set_phy() -> phy_get_non_dummy_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iphy | 4096-ptr_max |
| DATA_SOURCE | 0 | iphy | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct isci_host)->scic_lock |