Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pci/pcie/aspm.c __pci_disable_link_state() -> pcie_set_clkpm()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->pdev 4096-ptr_max
PARAM_VALUE 1 enable 0-1
DATA_SOURCE 0 link r pcie_aspm_get_link
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &aspm_lock
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_bus_sem

drivers/pci/pcie/aspm.c __pci_enable_link_state() -> pcie_set_clkpm()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->pdev 4096-ptr_max
PARAM_VALUE 1 enable 0-1
DATA_SOURCE 0 link r pcie_aspm_get_link
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &aspm_lock
HALF_LOCKED2 global &pci_bus_sem

drivers/pci/pcie/aspm.c clkpm_store() -> pcie_set_clkpm()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 1 enable 0-1
DATA_SOURCE 0 link r pcie_aspm_get_link
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &aspm_lock
LOCK2 global &pci_bus_sem
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/pci/pcie/aspm.c pcie_aspm_init_link_state() -> pcie_set_clkpm()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->downstream->bus 4096-ptr_max
PARAM_VALUE 0 link->pdev->ari_enabled 0
PARAM_VALUE 0 link->pdev->bus 4096-ptr_max
PARAM_VALUE 0 link->pdev->link_state 0
PARAM_VALUE 0 link->pdev->subordinate 4096-ptr_max
PARAM_VALUE 0 link->sibling.next->next 4096-ptr_max
PARAM_VALUE 0 link->sibling.prev->next 4096-ptr_max
PARAM_VALUE 0 link->sibling.prev->prev 4096-ptr_max
PARAM_VALUE 1 enable 0-1
BUF_SIZE 0 link 56
DATA_SOURCE 0 link r alloc_pcie_link_state
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &aspm_lock
LOCK2 global &pci_bus_sem
HALF_LOCKED2 &ctrl->reset_lock
HALF_LOCKED2 &p_slot->ctrl->crit_sect
HALF_LOCKED2 &s->skt_mutex
HALF_LOCKED2 global &list_rwsem
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/pci/pcie/aspm.c pcie_aspm_powersave_config_link() -> pcie_set_clkpm()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->downstream->bus 4096-ptr_max
PARAM_VALUE 0 link->pdev->pcie_cap_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 enable 0-1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &aspm_lock
LOCK2 global &pci_bus_sem
HALF_LOCKED2 &dev->dev.mutex

drivers/pci/pcie/aspm.c pcie_aspm_set_policy() -> pcie_set_clkpm()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->pdev 4096-ptr_max
PARAM_VALUE 1 enable 0-1
CAPPED_DATA 0 &link->sibling 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &aspm_lock
LOCK2 global &pci_bus_sem
HALF_LOCKED2 &of->mutex