Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/bcma/sprom.c bcma_sprom_extract_r8() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 4096-ptr_max
PARAM_VALUE 1 offset 158
PARAM_VALUE 2 mask 255
PARAM_VALUE 3 shift 0
BUF_SIZE 0 in 2
DATA_SOURCE 0 in $1
RX_PATH
TASK_NOT_RUNNING

drivers/bcma/sprom.c bcma_sprom_extract_r8() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 4096-ptr_max
PARAM_VALUE 1 offset 158
PARAM_VALUE 2 mask 65280
PARAM_VALUE 3 shift 8
BUF_SIZE 0 in 2
DATA_SOURCE 0 in $1
RX_PATH
TASK_NOT_RUNNING

drivers/bcma/sprom.c bcma_sprom_extract_r8() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 4096-ptr_max
PARAM_VALUE 1 offset 160
PARAM_VALUE 2 mask 255
PARAM_VALUE 3 shift 0
BUF_SIZE 0 in 2
DATA_SOURCE 0 in $1
RX_PATH
TASK_NOT_RUNNING

drivers/bcma/sprom.c bcma_sprom_extract_r8() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 4096-ptr_max
PARAM_VALUE 1 offset 160
PARAM_VALUE 2 mask 65280
PARAM_VALUE 3 shift 8
BUF_SIZE 0 in 2
DATA_SOURCE 0 in $1
RX_PATH
TASK_NOT_RUNNING

drivers/ssb/pci.c sprom_extract_r123() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 1-3
PARAM_VALUE 1 offset 4096-ptr_max
PARAM_VALUE 2 mask 116
PARAM_VALUE 3 shift 255
PARAM_VALUE 4 shift 0
BUF_SIZE 1 offset 2
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING

drivers/ssb/pci.c sprom_extract_r123() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 1-3
PARAM_VALUE 1 offset 4096-ptr_max
PARAM_VALUE 2 mask 116
PARAM_VALUE 3 shift 65280
PARAM_VALUE 4 shift 8
BUF_SIZE 1 offset 2
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING

drivers/ssb/pci.c sprom_extract_r45() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 4-5
PARAM_VALUE 1 offset 4096-ptr_max
PARAM_VALUE 2 mask 94
PARAM_VALUE 3 shift 255
PARAM_VALUE 4 shift 0
BUF_SIZE 1 offset 2
DATA_SOURCE 1 offset $1
FUZZY_MAX 0 in 4
BIT_INFO 0 in 0x4,0x5
RX_PATH
TASK_NOT_RUNNING

drivers/ssb/pci.c sprom_extract_r45() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 4-5
PARAM_VALUE 1 offset 4096-ptr_max
PARAM_VALUE 2 mask 94
PARAM_VALUE 3 shift 65280
PARAM_VALUE 4 shift 8
BUF_SIZE 1 offset 2
DATA_SOURCE 1 offset $1
FUZZY_MAX 0 in 4
BIT_INFO 0 in 0x4,0x7
RX_PATH
TASK_NOT_RUNNING

drivers/ssb/pci.c sprom_extract_r45() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 4-5
PARAM_VALUE 1 offset 4096-ptr_max
PARAM_VALUE 2 mask 96
PARAM_VALUE 3 shift 255
PARAM_VALUE 4 shift 0
BUF_SIZE 1 offset 2
DATA_SOURCE 1 offset $1
FUZZY_MAX 0 in 4
BIT_INFO 0 in 0x4,0x7
RX_PATH
TASK_NOT_RUNNING

drivers/ssb/pci.c sprom_extract_r45() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 4-5
PARAM_VALUE 1 offset 4096-ptr_max
PARAM_VALUE 2 mask 96
PARAM_VALUE 3 shift 65280
PARAM_VALUE 4 shift 8
BUF_SIZE 1 offset 2
DATA_SOURCE 1 offset $1
FUZZY_MAX 0 in 4
BIT_INFO 0 in 0x4,0x7
RX_PATH
TASK_NOT_RUNNING

drivers/ssb/pci.c sprom_extract_r8() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 8
PARAM_VALUE 1 offset 4096-ptr_max
PARAM_VALUE 2 mask 158
PARAM_VALUE 3 shift 255
PARAM_VALUE 4 shift 0
BUF_SIZE 1 offset 2
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING

drivers/ssb/pci.c sprom_extract_r8() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 8
PARAM_VALUE 1 offset 4096-ptr_max
PARAM_VALUE 2 mask 158
PARAM_VALUE 3 shift 65280
PARAM_VALUE 4 shift 8
BUF_SIZE 1 offset 2
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING

drivers/ssb/pci.c sprom_extract_r8() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 8
PARAM_VALUE 1 offset 4096-ptr_max
PARAM_VALUE 2 mask 160
PARAM_VALUE 3 shift 255
PARAM_VALUE 4 shift 0
BUF_SIZE 1 offset 2
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING

drivers/ssb/pci.c sprom_extract_r8() -> sprom_extract_antgain()

Type Parameter Key Value
PARAM_VALUE 0 in 8
PARAM_VALUE 1 offset 4096-ptr_max
PARAM_VALUE 2 mask 160
PARAM_VALUE 3 shift 65280
PARAM_VALUE 4 shift 8
BUF_SIZE 1 offset 2
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING