Home
last modified time | relevance | path

Searched refs:mmio_info (Results 1 – 3 of 3) sorted by relevance

/drivers/acpi/
Dprmt.c68 struct prm_mmio_info *mmio_info; member
126 mmio_range_size = struct_size(tm->mmio_info, addr_ranges, *mmio_count); in acpi_parse_prmt()
127 tm->mmio_info = kmalloc(mmio_range_size, GFP_KERNEL); in acpi_parse_prmt()
128 if (!tm->mmio_info) in acpi_parse_prmt()
134 memmove(tm->mmio_info, temp_mmio, mmio_range_size); in acpi_parse_prmt()
136 tm->mmio_info = kmalloc(sizeof(*tm->mmio_info), GFP_KERNEL); in acpi_parse_prmt()
137 if (!tm->mmio_info) in acpi_parse_prmt()
140 tm->mmio_info->mmio_count = 0; in acpi_parse_prmt()
159 kfree(tm->mmio_info); in acpi_parse_prmt()
261 context.mmio_ranges = module->mmio_info; in acpi_platformrt_space_handler()
/drivers/gpu/drm/i915/gvt/
Dcmd_parser.c906 struct intel_gvt_mmio_info *mmio_info; in cmd_reg_handler() local
909 mmio_info = intel_gvt_find_mmio_info(gvt, offset); in cmd_reg_handler()
910 if (mmio_info && mmio_info->write) in cmd_reg_handler()
973 struct intel_gvt_mmio_info *mmio_info; in cmd_reg_handler() local
977 mmio_info = intel_gvt_find_mmio_info(gvt, offset); in cmd_reg_handler()
978 if (!mmio_info) { in cmd_reg_handler()
981 u64 ro_mask = mmio_info->ro_mask; in cmd_reg_handler()
985 ret = mmio_info->write(s->vgpu, offset, in cmd_reg_handler()
Dhandlers.c3133 struct intel_gvt_mmio_info *mmio_info; in intel_vgpu_mmio_reg_rw() local
3155 mmio_info = intel_gvt_find_mmio_info(gvt, offset); in intel_vgpu_mmio_reg_rw()
3156 if (!mmio_info) { in intel_vgpu_mmio_reg_rw()
3162 return mmio_info->read(vgpu, offset, pdata, bytes); in intel_vgpu_mmio_reg_rw()
3164 u64 ro_mask = mmio_info->ro_mask; in intel_vgpu_mmio_reg_rw()
3168 if (intel_gvt_mmio_has_mode_mask(gvt, mmio_info->offset)) { in intel_vgpu_mmio_reg_rw()
3173 ret = mmio_info->write(vgpu, offset, pdata, bytes); in intel_vgpu_mmio_reg_rw()
3182 ret = mmio_info->write(vgpu, offset, &data, bytes); in intel_vgpu_mmio_reg_rw()
3186 if (intel_gvt_mmio_has_mode_mask(gvt, mmio_info->offset)) { in intel_vgpu_mmio_reg_rw()