Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c nvkm_mc_intr_mask() -> nvkm_device_subdev()

Type Parameter Key Value
PARAM_VALUE 1 type 20
PARAM_VALUE 2 inst 0
DATA_SOURCE 0 device $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 inst $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &event->refs_lock
LOCK2 flags
TYPE_LOCK (struct nvkm_event)->refs_lock

drivers/gpu/drm/nouveau/nvkm/engine/device/base.c nvkm_device_engine() -> nvkm_device_subdev()

Type Parameter Key Value
DATA_SOURCE 0 device $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 inst $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subdev->use.mutex

drivers/gpu/drm/nouveau/nvkm/core/intr.c nvkm_intr_subdev_add_dev() -> nvkm_device_subdev()

Type Parameter Key Value
DATA_SOURCE 1 type $1
DATA_SOURCE 2 inst $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &device->mutex
TYPE_LOCK (struct nvkm_device)->mutex

drivers/gpu/drm/nouveau/nvkm/engine/device/user.c nvkm_udevice_info_subdev() -> nvkm_device_subdev()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 1 type 34
PARAM_VALUE 2 inst 0
DATA_SOURCE 0 device $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c nvkm_top_fault() -> nvkm_device_subdev()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
DATA_SOURCE 0 device $0

drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c dev_to_gk20a_devfreq() -> nvkm_device_subdev()

Type Parameter Key Value
PARAM_VALUE 1 type 26
PARAM_VALUE 2 inst 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &df->lock

drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c gk20a_devfreq_get_cur_freq() -> nvkm_device_subdev()

Type Parameter Key Value
PARAM_VALUE 1 type 26
PARAM_VALUE 2 inst 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devfreq->lock
HALF_LOCKED2 &df->lock
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c gk20a_devfreq_target() -> nvkm_device_subdev()

Type Parameter Key Value
PARAM_VALUE 1 type 26
PARAM_VALUE 2 inst 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &devfreq->lock
TYPE_LOCK (struct devfreq)->lock

drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c gk104_clkgate_enable() -> nvkm_device_subdev()

Type Parameter Key Value
PARAM_VALUE 1 type s32min-51,53-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &device->mutex
TYPE_LOCK (struct nvkm_device)->mutex

drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c gk104_clkgate_enable() -> nvkm_device_subdev()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 1 type s32min-51,53-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &device->mutex
TYPE_LOCK (struct nvkm_device)->mutex

drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c gk104_clkgate_fini() -> nvkm_device_subdev()

Type Parameter Key Value
PARAM_VALUE 1 type s32min-51,53-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &device->mutex
TYPE_LOCK (struct nvkm_device)->mutex