Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/scsi/hisi_sas/hisi_sas_main.c
- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c, line 1377
- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
Smatch caller information:
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c int_chnl_int_v2_hw() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c phy_up_v2_hw() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->frame_rcvd_size | 32 |
| PARAM_VALUE | 0 | phy->identify.device_type | 0-7 |
| PARAM_VALUE | 0 | phy->phy_attached | 1 |
| PARAM_VALUE | 0 | phy->phy_type | 0,2-u32max |
| PARAM_VALUE | 0 | phy->port_id | 0-14 |
| PARAM_VALUE | 0 | phy->sas_phy.linkrate | 0-15 |
| PARAM_VALUE | 0 | phy->sas_phy.oob_mode | 2 |
| PARAM_VALUE | 0 | phy->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | phy->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | phy->timer.function | 0 |
| PARAM_VALUE | 1 | event | 0 |
| BIT_INFO | 0 | phy->phy_type | 0x2,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | phy->port_id | 0-14[c] |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c sata_int_v2_hw() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hisi_hba | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hisi_hba->initial_fis | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | phy->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | phy->timer.function | 0 |
| PARAM_VALUE | 1 | event | 1 |
| DATA_SOURCE | 0 | phy | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c sata_int_v2_hw() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->frame_rcvd_size | 20 |
| PARAM_VALUE | 0 | phy->hisi_hba | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hisi_hba->initial_fis | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hisi_hba->shost | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->identify.device_type | 5 |
| PARAM_VALUE | 0 | phy->identify.target_port_protocols | 1 |
| PARAM_VALUE | 0 | phy->maximum_linkrate | 0-15 |
| PARAM_VALUE | 0 | phy->minimum_linkrate | 0-15 |
| PARAM_VALUE | 0 | phy->phy_attached | 1 |
| PARAM_VALUE | 0 | phy->port_id | 0-14 |
| PARAM_VALUE | 0 | phy->sas_phy.linkrate | 0-15 |
| PARAM_VALUE | 0 | phy->sas_phy.oob_mode | 1 |
| PARAM_VALUE | 0 | phy->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | phy->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | phy->timer.function | 0 |
| PARAM_VALUE | 1 | event | 0 |
| DATA_SOURCE | 0 | phy | $1 |
| BIT_INFO | 0 | phy->phy_type | 0x1,0xfffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | phy->maximum_linkrate | 0-15 |
| HOST_DATA | 0 | phy->minimum_linkrate | 0-15 |
| HOST_DATA | 0 | phy->port_id | 0-14[c] |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_phyup_work_common() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hisi_hba | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->port | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 1 |
| NOCHECK_CALL |
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_rescan_topology() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->sas_phy.phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->sas_phy.phy->enabled | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | event | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_wait_phyup_timedout() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hisi_hba | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c int_phyup_v1_hw() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->frame_rcvd_size | 32 |
| PARAM_VALUE | 0 | phy->hisi_hba | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->identify.device_type | 0-7 |
| PARAM_VALUE | 0 | phy->phy_attached | 1 |
| PARAM_VALUE | 0 | phy->phy_type | 0,2-u32max |
| PARAM_VALUE | 0 | phy->port_id | 0-14 |
| PARAM_VALUE | 0 | phy->sas_phy.linkrate | 0-15 |
| PARAM_VALUE | 0 | phy->sas_phy.oob_mode | 2 |
| PARAM_VALUE | 1 | event | 0 |
| DATA_SOURCE | 0 | phy | $1 |
| BIT_INFO | 0 | phy->phy_type | 0x2,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | phy->port_id | 0-14 |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c handle_chl_int2_v3_hw() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c handle_chl_int2_v3_hw() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c handle_chl_int2_v3_hw() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c phy_up_v3_hw() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->phy_type | 0,4-u32max |
| PARAM_VALUE | 0 | phy->sas_phy.linkrate | 0-15 |
| PARAM_VALUE | 1 | event | 1 |
| BIT_INFO | 0 | phy->phy_type | 0x0,0xfffffffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c phy_up_v3_hw() -> hisi_sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->frame_rcvd_size | 20,32 |
| PARAM_VALUE | 0 | phy->identify.device_type | 0-7 |
| PARAM_VALUE | 0 | phy->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phy->phy_attached | 1 |
| PARAM_VALUE | 0 | phy->port_id | 0-14 |
| PARAM_VALUE | 0 | phy->sas_phy.linkrate | 0-15 |
| PARAM_VALUE | 0 | phy->sas_phy.oob_mode | 1-2 |
| PARAM_VALUE | 0 | phy->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | phy->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | phy->timer.function | 0 |
| PARAM_VALUE | 1 | event | 2 |
| FUZZY_MAX | 0 | phy->frame_rcvd_size | 32 |
| FUZZY_MAX | 0 | phy->identify.device_type | 5 |
| FUZZY_MAX | 0 | phy->sas_phy.oob_mode | 2 |
| BIT_INFO | 0 | phy->frame_rcvd_size | 0x0,0x34 |
| HARD_MAX | 0 | phy->frame_rcvd_size | 32 |
| HARD_MAX | 0 | phy->sas_phy.oob_mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | phy->port_id | 0-14 |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |