Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/phy/apple/atc.c atcphy_configure_lanes() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 72
PARAM_VALUE 2 mask 7
PARAM_VALUE 3 set 0-7
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
CAPPED_DATA 0 atcphy->tunables.axi2af->sz 1
DATA_SOURCE 0 atcphy $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/phy/apple/atc.c atcphy_configure_lanes() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 72
PARAM_VALUE 2 mask 56
PARAM_VALUE 3 set 0,8-56
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
CAPPED_DATA 0 atcphy->tunables.axi2af->sz 1
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x38
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/phy/apple/atc.c atcphy_configure_lanes() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 72
PARAM_VALUE 2 mask 448
PARAM_VALUE 3 set 0,64-448
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
CAPPED_DATA 0 atcphy->tunables.axi2af->sz 1
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x1c0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/phy/apple/atc.c atcphy_configure_lanes() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 72
PARAM_VALUE 2 mask 3584
PARAM_VALUE 3 set 0,512-3584
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
CAPPED_DATA 0 atcphy->tunables.axi2af->sz 1
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0xe00
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/phy/apple/atc.c atcphy_configure_lanes() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 76
PARAM_VALUE 2 mask 31
PARAM_VALUE 3 set 0-31
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
CAPPED_DATA 0 atcphy->tunables.axi2af->sz 1
DATA_SOURCE 0 atcphy $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/phy/apple/atc.c atcphy_configure_lanes() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 76
PARAM_VALUE 2 mask 131040
PARAM_VALUE 3 set 0,32-131040
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
CAPPED_DATA 0 atcphy->tunables.axi2af->sz 1
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x1ffe0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/phy/apple/atc.c atcphy_configure_pipehandler_usb3() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 172
PARAM_VALUE 2 mask 15360
PARAM_VALUE 3 set 0,1024-15360
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x3c00
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 &phy->mutex
LOCK2 _T->lock
HALF_LOCKED2 &cdns->mutex
HALF_LOCKED2 &dwc->mutex
HALF_LOCKED2 &musb->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &udc->connect_lock
HALF_LOCKED2 &uphy->mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_dp_configure() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 8320
PARAM_VALUE 2 mask 1023
PARAM_VALUE 3 set 0-1023
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &phy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_dp_configure() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 8320
PARAM_VALUE 2 mask 245760
PARAM_VALUE 3 set 0,16384-245760
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x3c000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &phy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_dp_configure() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 8320
PARAM_VALUE 2 mask 3932160
PARAM_VALUE 3 set 0,262144-3932160
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x3c0000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &phy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_dp_configure() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 8320
PARAM_VALUE 2 mask 62914560
PARAM_VALUE 3 set 0,4194304-62914560
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x3c00000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &phy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_dp_configure() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 8320
PARAM_VALUE 2 mask 1006632960
PARAM_VALUE 3 set 0,67108864-1006632960
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x3c000000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &phy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_dp_configure() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 8324
PARAM_VALUE 2 mask 16383
PARAM_VALUE 3 set 0-16383
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &phy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_dp_configure() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 8324
PARAM_VALUE 2 mask 268419072
PARAM_VALUE 3 set 0,16384-268419072
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0xfffc000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &phy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_dp_configure() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 8328
PARAM_VALUE 2 mask 15872
PARAM_VALUE 3 set 0,512-15872
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x3e00
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &phy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_dp_configure() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 8328
PARAM_VALUE 2 mask 49152
PARAM_VALUE 3 set 0,16384-49152
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0xc000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &phy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_dp_configure() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 8328
PARAM_VALUE 2 mask 983040
PARAM_VALUE 3 set 0,65536-983040
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0xf0000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &phy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_dp_configure() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 8328
PARAM_VALUE 2 mask 3145728
PARAM_VALUE 3 set 0,1048576-3145728
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x300000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &phy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_dp_configure() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 8712
PARAM_VALUE 2 mask 2031616
PARAM_VALUE 3 set 0,65536-2031616
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x1f0000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &phy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/phy/apple/atc.c atcphy_enable_dp_aux() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 28672
PARAM_VALUE 2 mask 7168
PARAM_VALUE 3 set 0,1024-7168
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
CAPPED_DATA 0 atcphy->tunables.axi2af->sz 1
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x1c00
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/phy/apple/atc.c atcphy_enable_dp_aux() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 28672
PARAM_VALUE 2 mask 112
PARAM_VALUE 3 set 0,16-112
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
CAPPED_DATA 0 atcphy->tunables.axi2af->sz 1
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x70
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/phy/apple/atc.c atcphy_enable_dp_aux() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 28672
PARAM_VALUE 2 mask 896
PARAM_VALUE 3 set 0,128-896
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
BUF_SIZE 0 atcphy s32min-(-2),1-s32max
CAPPED_DATA 0 atcphy->tunables.axi2af->sz 1
DATA_SOURCE 0 atcphy $0
BIT_INFO 3 set 0x0,0x380
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/phy/apple/atc.c core_clear32() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 76,144,8192,8320,8328,8736,8740,28672,36880,65552,131072,131080
PARAM_VALUE 2 mask 1-5,8,16,128,255-256,512,1024,8192,14336,16384,32768,131072,3221225472
PARAM_VALUE 3 set 0
BUF_SIZE 0 atcphy s32min-(-1),1-s32max
BUF_SIZE 0 atcphy s32min-(-1),1-s32max
BUF_SIZE 0 atcphy->dev (-1),1616
DATA_SOURCE 0 atcphy $0
DATA_SOURCE 1 reg $1
DATA_SOURCE 2 mask $2
HARD_MAX 1 reg 131080
HARD_MAX 2 mask 3221225472
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &phy->mutex

drivers/phy/apple/atc.c core_set32() -> core_mask32()

Type Parameter Key Value
PARAM_VALUE 0 atcphy 4096-ptr_max
PARAM_VALUE 1 reg 76,132,140,144,168,4116,4136,8192,8328,8704,8724,8736,10752,28672,36880,65552,131072,131080
PARAM_VALUE 2 mask 0
PARAM_VALUE 3 set 1-2,4,8,16,32,64,128,8192,16384,32768,131072,2088960,4194304,16777216,33554432,134217728,268435456
BUF_SIZE 0 atcphy s32min-(-1),1-s32max
BUF_SIZE 0 atcphy s32min-(-1),1-s32max
BUF_SIZE 0 atcphy->dev (-1),1616
DATA_SOURCE 0 atcphy $0
DATA_SOURCE 1 reg $1
DATA_SOURCE 3 set $2
HARD_MAX 1 reg 131080
HARD_MAX 3 set 268435456
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 atcphy unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &phy->mutex