Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ata/libahci_platform.c ahci_platform_get_resources() -> ahci_platform_get_phy()

Type Parameter Key Value
PARAM_VALUE 0 hpriv 4096-ptr_max
PARAM_VALUE 0 hpriv->ahci_regulator 4096-u64max
PARAM_VALUE 0 hpriv->clks 4096-ptr_max
PARAM_VALUE 0 hpriv->clks->clk 0,4096-ptr_max
PARAM_VALUE 0 hpriv->clks->id 0,1414042063032205312
PARAM_VALUE 0 hpriv->mmio 4096-ptr_max
PARAM_VALUE 0 hpriv->nports 1-32
PARAM_VALUE 0 hpriv->phy_regulator 4096-ptr_max
PARAM_VALUE 0 hpriv->target_pwrs 16,4096-ptr_max
PARAM_VALUE 1 port 0-31
PARAM_VALUE 2 dev 4096-ptr_max
PARAM_VALUE 2 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 2 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 2 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 2 dev->dma_mem->pfn_base 0-s64max
PARAM_VALUE 2 dev->iommu->attach_deferred 0-1
PARAM_VALUE 2 dev->iommu->max_pasids 0-4294967295
PARAM_VALUE 2 dev->of_node 1-u64max
PARAM_VALUE 2 dev->power.entry.prev->next 4096-ptr_max
PARAM_VALUE 3 node 4096-ptr_max
BUF_SIZE 0 hpriv->ahci_regulator s32min,(-1)-s32max
BUF_SIZE 0 hpriv->clks 16,u64max
BUF_SIZE 0 hpriv->clks->clk (-1),1-s32max
BUF_SIZE 0 hpriv->clks->id (-1)-0,5
BUF_SIZE 0 hpriv->phy_regulator s32min,(-1)-s32max
BUF_SIZE 0 hpriv->rsts (-1),8,96,280,1296
BUF_SIZE 0 hpriv->target_pwrs 0-256
BUF_SIZE 2 dev 1616
CAPPED_DATA 0 hpriv->nports 1
CAPPED_DATA 1 port 1
CAPPED_DATA 2 dev 1
DATA_SOURCE 0 hpriv r __devres_alloc_node
STR_LEN 0 hpriv->clks->id (-1),4
PARAM_COMPARE 0 hpriv->nports > $1
PARAM_COMPARE 1 port < $0->nports
TERMINATED 0 hpriv->node.name 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hpriv->nports
UNITS 1 port unit_array_size

drivers/ata/libahci_platform.c ahci_platform_get_resources() -> ahci_platform_get_phy()

Type Parameter Key Value
PARAM_VALUE 0 hpriv 4096-ptr_max
PARAM_VALUE 0 hpriv->ahci_regulator 4096-u64max
PARAM_VALUE 0 hpriv->clks 4096-ptr_max
PARAM_VALUE 0 hpriv->clks->clk 0,4096-ptr_max
PARAM_VALUE 0 hpriv->clks->id 0,1414042063032205312
PARAM_VALUE 0 hpriv->mmio 4096-ptr_max
PARAM_VALUE 0 hpriv->nports 0-32
PARAM_VALUE 0 hpriv->phy_regulator 4096-ptr_max
PARAM_VALUE 0 hpriv->target_pwrs 16,4096-ptr_max
PARAM_VALUE 1 port 0
PARAM_VALUE 2 dev 4096-ptr_max
PARAM_VALUE 2 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 2 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 2 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 2 dev->dma_mem->pfn_base 0-s64max
PARAM_VALUE 2 dev->iommu->attach_deferred 0-1
PARAM_VALUE 2 dev->iommu->max_pasids 0-4294967295
PARAM_VALUE 2 dev->power.entry.prev->next 4096-ptr_max
BUF_SIZE 0 hpriv->ahci_regulator s32min,(-1)-s32max
BUF_SIZE 0 hpriv->clks 16,u64max
BUF_SIZE 0 hpriv->clks->clk (-1),1-s32max
BUF_SIZE 0 hpriv->clks->id (-1)-0,5
BUF_SIZE 0 hpriv->phy_regulator s32min,(-1)-s32max
BUF_SIZE 0 hpriv->rsts (-1),8,96,280,1296
BUF_SIZE 0 hpriv->target_pwrs 0-256
BUF_SIZE 2 dev 1616
CAPPED_DATA 0 hpriv->nports 1
DATA_SOURCE 0 hpriv r __devres_alloc_node
STR_LEN 0 hpriv->clks->id (-1),4
TERMINATED 0 hpriv->node.name 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hpriv->nports
UNITS 3 node unit_byte