Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/sunplus/spl2sw_driver.c spl2sw_ethernet_set_mac_address() -> spl2sw_mac_addr_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mac | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->mac_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | *mac->ndev->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sunplus/spl2sw_driver.c spl2sw_probe() -> spl2sw_mac_addr_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mac | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->comm | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->comm->clk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mac->comm->desc_base | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->comm->l2sw_reg_base | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->comm->mii_bus | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->comm->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->comm->rstc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mac->comm->rx_desc_buff_size | 2047 |
| PARAM_VALUE | 0 | mac->comm->tx_desc | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->comm->tx_desc_full | 0 |
| PARAM_VALUE | 0 | mac->comm->tx_done_pos | 0 |
| PARAM_VALUE | 0 | mac->comm->tx_pos | 0 |
| PARAM_VALUE | 0 | mac->phy_mode | 0-37 |
| PARAM_VALUE | 0 | mac->phy_node | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->phy_node->phandle | 1-u32max |
| PARAM_VALUE | 0 | mac->vlan_id | 0-1 |
| BUF_SIZE | 0 | mac->comm | 1760 |
| CAPPED_DATA | 0 | mac->lan_port | 1 |
| CAPPED_DATA | 0 | mac->to_vlan | 1 |
| CAPPED_DATA | 0 | mac->vlan_id | 1 |
| POWER_OF_TWO | 0 | *mac | |
| RX_PATH | |||
| TASK_NOT_RUNNING |