Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c
- drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.c, line 137
Smatch caller information:
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.c wlapi_bmac_mctrl() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mask | 2097152 |
| PARAM_VALUE | 2 | val | 0,2097152 |
| DATA_SOURCE | 1 | mask | $1 |
| DATA_SOURCE | 2 | val | $2 |
| HARD_MAX | 2 | val | 2097152 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wl->lock | ||
| HALF_LOCKED2 | bh |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_b_coreinit() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->wlc | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | u32max |
| PARAM_VALUE | 2 | val | 67109892 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_b_coreinit() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->mapped_core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->mapped_core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->write32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->maccontrol | 67109892 |
| PARAM_VALUE | 0 | wlc_hw->wlc | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | u32max |
| PARAM_VALUE | 2 | val | 67240962 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_b_coreinit() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->mapped_core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->mapped_core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->aread32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->read16 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->read32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->write16 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->write32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->maccontrol | 67240962 |
| PARAM_VALUE | 0 | wlc_hw->wlc | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->xmtfifo_sz | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 1074135040 |
| PARAM_VALUE | 2 | val | 1073872896 |
| CAPPED_DATA | 0 | wlc_hw->d11core | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_b_corereset() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->mapped_core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->mapped_core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->aread32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->read32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->forcefastclk | 1 |
| PARAM_VALUE | 0 | wlc_hw->noreset | 1 |
| PARAM_VALUE | 0 | wlc_hw->wlc | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->wlc->macintstatus | 0 |
| PARAM_VALUE | 1 | mask | 3 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | wlc_hw->sih | (-1),64 |
| BUF_SIZE | 0 | wlc_hw->wlc | (-1),912 |
| CAPPED_DATA | 0 | wlc_hw->d11core | 1 |
| DATA_SOURCE | 0 | wlc_hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wl->lock | ||
| HALF_LOCKED2 | bh |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_enable_mac() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->mapped_core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->mapped_core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->read32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->mac_suspend_depth | 0 |
| PARAM_VALUE | 1 | mask | 1 |
| PARAM_VALUE | 2 | val | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | wlc_hw->machwcap | 0 |
| HOST_DATA | 0 | wlc_hw->machwcap_backup | 0 |
| HALF_LOCKED2 | &wl->lock | ||
| HALF_LOCKED2 | bh |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_gpio_init() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->maccontrol | 67240962 |
| PARAM_VALUE | 0 | wlc_hw->wlc | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 49152 |
| PARAM_VALUE | 2 | val | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_mac_promisc() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc_hw | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 30408704 |
| PARAM_VALUE | 2 | val | 0,1048576,4194304,5242880,8388608,9437184,12582912,13631488,16777216,17825792,20971520,22020096,25165824,26214400,29360128,30408704 |
| FUZZY_MAX | 2 | val | 0 |
| BIT_INFO | 2 | val | 0x0,0x1d00000 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_mctrl_reset() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->aread32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->awrite32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->read32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->maccontrol | 0 |
| PARAM_VALUE | 0 | wlc_hw->mute_override | 0 |
| PARAM_VALUE | 0 | wlc_hw->suspended_fifos | 0 |
| PARAM_VALUE | 0 | wlc_hw->wake_override | 0 |
| PARAM_VALUE | 1 | mask | u32max |
| PARAM_VALUE | 2 | val | 67109888 |
| BUF_SIZE | 0 | wlc_hw->sih | (-1),64 |
| CAPPED_DATA | 0 | wlc_hw->d11core | 1 |
| DATA_SOURCE | 0 | wlc_hw | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wl->lock | ||
| HALF_LOCKED2 | bh |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_set_ps_ctrl() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->band | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->read32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->write16 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->write32 | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 100663296 |
| PARAM_VALUE | 2 | val | 67108864,100663296 |
| CAPPED_DATA | 0 | wlc_hw->d11core | 1 |
| FUZZY_MAX | 2 | val | 67108864 |
| BIT_INFO | 2 | val | 0x4000000,0x6000000 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | wlc_hw->machwcap | 0 |
| HOST_DATA | 0 | wlc_hw->machwcap_backup | 0 |
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_start_adhoc() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->band | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->mapped_core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->write16 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->mute_override | 0 |
| PARAM_VALUE | 0 | wlc_hw->suspended_fifos | 0,2-240 |
| PARAM_VALUE | 0 | wlc_hw->wlc | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 393216 |
| PARAM_VALUE | 2 | val | 0 |
| CAPPED_DATA | 0 | wlc_hw->d11core | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &local->hw.wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_start_ap() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->band | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->mapped_core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->write16 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->mute_override | 0 |
| PARAM_VALUE | 0 | wlc_hw->suspended_fifos | 0,2-240 |
| PARAM_VALUE | 0 | wlc_hw->wlc | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 393216 |
| PARAM_VALUE | 2 | val | 393216 |
| CAPPED_DATA | 0 | wlc_hw->d11core | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &local->hw.wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_suspend_mac_and_wait() -> brcms_b_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->band | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->mapped_core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->mapped_core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->d11core->bus->ops->read32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc_hw->mac_suspend_depth | 0-1 |
| PARAM_VALUE | 0 | wlc_hw->wake_override | 0,4-u32max |
| PARAM_VALUE | 1 | mask | 1 |
| PARAM_VALUE | 2 | val | 0 |
| FUZZY_MAX | 0 | wlc_hw->mac_suspend_depth | 1 |
| HARD_MAX | 0 | wlc_hw->mac_suspend_depth | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | wlc_hw->machwcap | 0-u32max |
| HOST_DATA | 0 | wlc_hw->machwcap_backup | 0-u32max |
| HALF_LOCKED2 | &wl->lock | ||
| HALF_LOCKED2 | bh |