Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/i915/gvt/cmd_parser.c cmd_reg_handler() -> (struct intel_gvt_mmio_info)->write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->down_irq_bitmask | 0-4294967295 |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->down_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->up_irq_bit | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->up_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->mmio.vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | *vgpu->hws_pga | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 0,4-8388604 |
| PARAM_VALUE | 2 | p_data | 5129937768527126528 |
| PARAM_VALUE | 3 | bytes | 4 |
| BUF_SIZE | 2 | p_data | 4 |
| CAPPED_DATA | 1 | reg | 1 |
| DATA_SOURCE | 1 | reg | $1 |
| BIT_INFO | 1 | reg | 0x0,0x7ffffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vgpu->display.i2c_edid.current_edid_read | 0-255[c] |
| USER_DATA | 0 | vgpu->display.i2c_edid.gmbus.cycle_type | 0-7[c] |
| USER_DATA | 0 | vgpu->display.i2c_edid.gmbus.total_byte_count | 0-511[c] |
| HALF_LOCKED2 | &gvt->lock | ||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/i915/gvt/handlers.c intel_vgpu_mmio_reg_rw() -> (struct intel_gvt_mmio_info)->write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->failsafe | 0 |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm->ppgtt_mm.root_entry_type | 0,11-12 |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm->vgpu->gvt->gt->i915->drm.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | vgpu->gvt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->device_info.mmio_size | 1-u32max |
| PARAM_VALUE | 0 | vgpu->gvt->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->ggtt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->i915->drm.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | vgpu->gvt->gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->down_irq_bitmask | 0-4294967295 |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->down_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->up_irq_bit | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->up_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->mmio.mmio_attribute | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *vgpu->hws_pga | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 0-4294967294 |
| PARAM_VALUE | 2 | p_data | 3409945690100224000,7385378861487415296 |
| PARAM_VALUE | 3 | bytes | 1-2,4,8 |
| BUF_SIZE | 2 | p_data | (-1),2,4,8 |
| BUF_SIZE | 2 | p_data | (-1),2,4,8 |
| CAPPED_DATA | 1 | reg | 1 |
| DATA_SOURCE | 0 | vgpu | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| DATA_SOURCE | 2 | p_data | $2 |
| DATA_SOURCE | 3 | bytes | $3 |
| BIT_INFO | 1 | reg | 0x0,0x7fffffff |
| HOST_DATA | 0 | vgpu->gvt->gt->uncore->fifo_count | 0-127,u32max |
| USER_PTR | 2 | p_data | |
| LOCK2 | 0 | &vgpu->vgpu_lock | |
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |
drivers/gpu/drm/i915/gvt/handlers.c intel_vgpu_mmio_reg_rw() -> (struct intel_gvt_mmio_info)->write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->failsafe | 0 |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm->ppgtt_mm.root_entry_type | 0,11-12 |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm->vgpu->gvt->gt->i915->drm.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | vgpu->gvt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->device_info.mmio_size | 1-u32max |
| PARAM_VALUE | 0 | vgpu->gvt->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->ggtt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->i915->drm.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | vgpu->gvt->gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->down_irq_bitmask | 0-4294967295 |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->down_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->up_irq_bit | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->up_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->mmio.mmio_attribute | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->mmio.vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *vgpu->hws_pga | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 0-4294967294 |
| PARAM_VALUE | 2 | p_data | 7768291379107352576 |
| PARAM_VALUE | 3 | bytes | 1-2,4,8 |
| BUF_SIZE | 2 | p_data | 8 |
| CAPPED_DATA | 1 | reg | 1 |
| DATA_SOURCE | 0 | vgpu | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| DATA_SOURCE | 3 | bytes | $3 |
| BIT_INFO | 1 | reg | 0x0,0x7fffffff |
| HOST_DATA | 0 | vgpu->gvt->gt->uncore->fifo_count | 0-127,u32max |
| LOCK2 | 0 | &vgpu->vgpu_lock | |
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |