/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
H A D | dmabuf.c | 47 struct drm_i915_private *dev_priv = to_i915(obj->base.dev); in vgpu_gem_get_pages() 56 if (overflows_type(obj->base.size >> PAGE_SHIFT, page_num)) in vgpu_gem_get_pages() 59 page_num = obj->base.size >> PAGE_SHIFT; in vgpu_gem_get_pages() 116 if (obj->base.dma_buf) { in vgpu_gem_put_pages() 179 gem_obj->base.dma_buf = NULL; in vgpu_gem_release() 184 gem_obj->base.dma_buf = NULL; in vgpu_gem_release() 208 drm_gem_private_object_init(dev, &obj->base, in vgpu_create_gem() 268 info->start = p.base; in vgpu_get_plane_info() 298 info->start = c.base; in vgpu_get_plane_info() 527 dmabuf = i915_gem_prime_export(&obj->base, DRM_CLOEXE in intel_vgpu_get_dmabuf() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | vmmgf100.c | 35 u64 base = (addr >> 8) | map->type; in gf100_vmm_pgt_pte() local 36 u64 data = base; in gf100_vmm_pgt_pte() 40 data = base | ((map->ctag >> 1) << 44); in gf100_vmm_pgt_pte() 45 base += map->next; in gf100_vmm_pgt_pte() 342 gf100_vmm_join_(struct nvkm_vmm *vmm, struct nvkm_memory *inst, u64 base) in gf100_vmm_join_() argument 347 case NVKM_MEM_TARGET_VRAM: base |= 0ULL << 0; break; in gf100_vmm_join_() 348 case NVKM_MEM_TARGET_HOST: base |= 2ULL << 0; in gf100_vmm_join_() 349 base |= BIT_ULL(2) /* VOL. */; in gf100_vmm_join_() 351 case NVKM_MEM_TARGET_NCOH: base |= 3ULL << 0; break; in gf100_vmm_join_() 356 base | in gf100_vmm_join_() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/ |
H A D | omap_plane.c | 21 #define to_omap_plane_state(x) container_of(x, struct omap_plane_state, base) 25 struct drm_plane_state base; member 31 #define to_omap_plane(x) container_of(x, struct omap_plane, base) 34 struct drm_plane base; member 90 DBG("[PLANE:%d:%s] no overlay attached", plane->base.id, plane->name); in omap_plane_atomic_update() 397 if (plane->rotation_property && obj != &plane->base) in omap_plane_install_properties() 416 __drm_atomic_helper_plane_reset(plane, &omap_state->base); in omap_plane_reset() 433 __drm_atomic_helper_plane_duplicate_state(plane, &state->base); in omap_plane_atomic_duplicate_state() 438 return &state->base; in omap_plane_atomic_duplicate_state() 548 plane = &omap_plane->base; in omap_plane_init() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_page_dirty.c | 85 pgoff_t offset = drm_vma_node_start(&vbo->tbo.base.vma_node); in vmw_bo_dirty_scan_pagetable() 123 unsigned long offset = drm_vma_node_start(&vbo->tbo.base.vma_node); in vmw_bo_dirty_scan_mkwrite() 188 unsigned long offset = drm_vma_node_start(&vbo->tbo.base.vma_node); in vmw_bo_dirty_pre_unmap() 212 unsigned long offset = drm_vma_node_start(&vbo->tbo.base.vma_node); in vmw_bo_dirty_unmap() 257 pgoff_t offset = drm_vma_node_start(&vbo->tbo.base.vma_node); in vmw_bo_dirty_add() 383 struct vmw_bo *vbo = to_vmw_bo(&bo->base); in vmw_bo_vm_mkwrite() 396 page_offset = vmf->pgoff - drm_vma_node_start(&bo->base.vma_node); in vmw_bo_vm_mkwrite() 412 dma_resv_unlock(bo->base.resv); in vmw_bo_vm_mkwrite() 421 struct vmw_bo *vbo = to_vmw_bo(&bo->base); in vmw_bo_vm_fault() 438 drm_vma_node_start(&bo->base in vmw_bo_vm_fault() [all...] |
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-gic-v2m.c | 67 void __iomem *base; /* GICv2m virt address */ member 237 static bool is_msi_spi_valid(u32 base, u32 num) in is_msi_spi_valid() argument 239 if (base < V2M_MIN_SPI) { in is_msi_spi_valid() 240 pr_err("Invalid MSI base SPI (base:%u)\n", base); in is_msi_spi_valid() 244 if ((num == 0) || (base + num > V2M_MAX_SPI)) { in is_msi_spi_valid() 273 iounmap(v2m->base); in gicv2m_teardown() 334 v2m->base = ioremap(v2m->res.start, resource_size(&v2m->res)); in gicv2m_init_one() 335 if (!v2m->base) { in gicv2m_init_one() [all...] |
/kernel/linux/linux-6.6/drivers/mailbox/ |
H A D | hi6220-mailbox.c | 80 void __iomem *base; member 95 status = readl(mbox->base + MBOX_MODE_REG(slot)); in mbox_set_state() 97 writel(status, mbox->base + MBOX_MODE_REG(slot)); in mbox_set_state() 105 mode = readl(mbox->base + MBOX_MODE_REG(slot)); in mbox_set_mode() 107 writel(mode, mbox->base + MBOX_MODE_REG(slot)); in mbox_set_mode() 119 state = readl(mbox->base + MBOX_MODE_REG(mchan->slot)); in hi6220_mbox_last_tx_done() 142 writel(buf[i], mbox->base + MBOX_DATA_REG(slot) + i * 4); in hi6220_mbox_send_data() 180 msg[i] = readl(mbox->base + in hi6220_mbox_interrupt() 296 mbox->base = devm_platform_ioremap_resource(pdev, 1); in hi6220_mbox_probe() 297 if (IS_ERR(mbox->base)) { in hi6220_mbox_probe() [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | arizona.h | 141 #define ARIZONA_GAINMUX_CONTROLS(name, base) \ 142 SOC_SINGLE_RANGE_TLV(name " Input Volume", base + 1, \ 146 #define ARIZONA_MIXER_CONTROLS(name, base) \ 147 SOC_SINGLE_RANGE_TLV(name " Input 1 Volume", base + 1, \ 150 SOC_SINGLE_RANGE_TLV(name " Input 2 Volume", base + 3, \ 153 SOC_SINGLE_RANGE_TLV(name " Input 3 Volume", base + 5, \ 156 SOC_SINGLE_RANGE_TLV(name " Input 4 Volume", base + 7, \ 247 ((unsigned long)&(struct soc_bytes) { .base = xbase, \ 254 ((unsigned long)&(struct soc_bytes) { .base = xbase, \ 322 unsigned int base; member [all...] |
H A D | madera.h | 161 unsigned int base; member 188 #define MADERA_GAINMUX_CONTROLS(name, base) \ 189 SOC_SINGLE_RANGE_TLV(name " Input Volume", base + 1, \ 193 #define MADERA_MIXER_CONTROLS(name, base) \ 194 SOC_SINGLE_RANGE_TLV(name " Input 1 Volume", base + 1, \ 197 SOC_SINGLE_RANGE_TLV(name " Input 2 Volume", base + 3, \ 200 SOC_SINGLE_RANGE_TLV(name " Input 3 Volume", base + 5, \ 203 SOC_SINGLE_RANGE_TLV(name " Input 4 Volume", base + 7, \ 301 ((unsigned long)&(struct soc_bytes) { .base = xbase, \ 308 ((unsigned long)&(struct soc_bytes) { .base [all...] |
/kernel/linux/linux-6.6/drivers/scsi/arm/ |
H A D | powertec.c | 63 void __iomem *base; member 77 writeb(POWERTEC_INTR_ENABLE, info->base + POWERTEC_INTR_CONTROL); in powertecscsi_irqenable() 89 writeb(POWERTEC_INTR_DISABLE, info->base + POWERTEC_INTR_CONTROL); in powertecscsi_irqdisable() 108 writeb(info->term_ctl, info->base + POWERTEC_TERM_CONTROL); in powertecscsi_terminator_ctl() 307 void __iomem *base; in powertecscsi_probe() local 314 base = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0); in powertecscsi_probe() 315 if (!base) { in powertecscsi_probe() 330 info->base = base; in powertecscsi_probe() 334 info->info.scsi.io_base = base in powertecscsi_probe() [all...] |
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | qeth_ethtool.c | 340 switch (cmd->base.port) { in qeth_set_ethtool_link_modes() 345 switch (cmd->base.speed) { in qeth_set_ethtool_link_modes() 391 switch (cmd->base.speed) { in qeth_set_ethtool_link_modes() 433 cmd->base.speed = card->info.link_info.speed; in qeth_get_link_ksettings() 434 cmd->base.duplex = card->info.link_info.duplex; in qeth_get_link_ksettings() 435 cmd->base.port = card->info.link_info.port; in qeth_get_link_ksettings() 436 cmd->base.autoneg = AUTONEG_ENABLE; in qeth_get_link_ksettings() 437 cmd->base.phy_address = 0; in qeth_get_link_ksettings() 438 cmd->base.mdio_support = 0; in qeth_get_link_ksettings() 439 cmd->base in qeth_get_link_ksettings() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | idr.c | 38 unsigned int base = idr->idr_base; in idr_alloc_u32() local 44 id = (id < base) ? 0 : id - base; in idr_alloc_u32() 46 slot = idr_get_free(&idr->idr_rt, &iter, gfp, max - base); in idr_alloc_u32() 50 *nextid = iter.index + base; in idr_alloc_u32() 200 int base = idr->idr_base; in idr_for_each() local 204 unsigned long id = iter.index + base; in idr_for_each() 232 unsigned long base = idr->idr_base; in idr_get_next_ul() local 235 id = (id < base) ? 0 : id - base; in idr_get_next_ul() [all...] |
/kernel/linux/linux-6.6/sound/soc/sof/intel/ |
H A D | byt.c | 118 u32 base, size; in byt_acpi_probe() local 136 /* LPE base */ in byt_acpi_probe() 140 base = mmio->start; in byt_acpi_probe() 143 dev_err(sdev->dev, "error: failed to get LPE base at idx %d\n", in byt_acpi_probe() 148 dev_dbg(sdev->dev, "LPE PHY base at 0x%x size 0x%x", base, size); in byt_acpi_probe() 149 sdev->bar[DSP_BAR] = devm_ioremap(sdev->dev, base, size); in byt_acpi_probe() 151 dev_err(sdev->dev, "error: failed to ioremap LPE base 0x%x size 0x%x\n", in byt_acpi_probe() 152 base, size); in byt_acpi_probe() 161 /* IMR base in byt_acpi_probe() [all...] |
/third_party/mesa3d/src/gallium/winsys/sw/kms-dri/ |
H A D | kms_dri_sw_winsys.c | 96 struct sw_winsys base; member 513 ws->base.destroy = kms_destroy_sw_winsys; in kms_dri_create_winsys() 515 ws->base.is_displaytarget_format_supported = kms_sw_is_displaytarget_format_supported; in kms_dri_create_winsys() 518 ws->base.displaytarget_create = kms_sw_displaytarget_create; in kms_dri_create_winsys() 519 ws->base.displaytarget_destroy = kms_sw_displaytarget_destroy; in kms_dri_create_winsys() 520 ws->base.displaytarget_from_handle = kms_sw_displaytarget_from_handle; in kms_dri_create_winsys() 521 ws->base.displaytarget_get_handle = kms_sw_displaytarget_get_handle; in kms_dri_create_winsys() 524 ws->base.displaytarget_map = kms_sw_displaytarget_map; in kms_dri_create_winsys() 525 ws->base.displaytarget_unmap = kms_sw_displaytarget_unmap; in kms_dri_create_winsys() 527 ws->base in kms_dri_create_winsys() [all...] |
/third_party/mesa3d/src/gallium/winsys/sw/xlib/ |
H A D | xlib_sw_winsys.c | 88 struct sw_winsys base; member 487 ws->base.destroy = xlib_destroy; in xlib_create_sw_winsys() 489 ws->base.is_displaytarget_format_supported = xlib_is_displaytarget_format_supported; in xlib_create_sw_winsys() 491 ws->base.displaytarget_create = xlib_displaytarget_create; in xlib_create_sw_winsys() 492 ws->base.displaytarget_from_handle = xlib_displaytarget_from_handle; in xlib_create_sw_winsys() 493 ws->base.displaytarget_get_handle = xlib_displaytarget_get_handle; in xlib_create_sw_winsys() 494 ws->base.displaytarget_map = xlib_displaytarget_map; in xlib_create_sw_winsys() 495 ws->base.displaytarget_unmap = xlib_displaytarget_unmap; in xlib_create_sw_winsys() 496 ws->base.displaytarget_destroy = xlib_displaytarget_destroy; in xlib_create_sw_winsys() 498 ws->base in xlib_create_sw_winsys() [all...] |
/third_party/mesa3d/src/intel/blorp/ |
H A D | blorp.c | 215 blorp_init_base_prog_key(&wm_key->base); in brw_blorp_init_wm_prog_key() 222 blorp_init_base_prog_key(&cs_key->base); in brw_blorp_init_cs_prog_key() 238 wm_prog_data->base.nr_params = 0; in blorp_compile_fs() 239 wm_prog_data->base.param = NULL; in blorp_compile_fs() 281 &vs_prog_data->base.vue_map, in blorp_compile_vs() 322 cs_prog_data->base.nr_params = nr_params; in blorp_compile_cs() 323 cs_prog_data->base.param = rzalloc_array(NULL, uint32_t, nr_params); in blorp_compile_cs() 337 ralloc_free(cs_prog_data->base.param); in blorp_compile_cs() 338 cs_prog_data->base.param = NULL; in blorp_compile_cs() 344 struct brw_blorp_base_key base; member [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_vp3_video_bsp.c | 119 pic_bsp->width = dec->base.width; in nouveau_vp3_fill_picparm_mpeg12_bsp() 120 pic_bsp->height = dec->base.height; in nouveau_vp3_fill_picparm_mpeg12_bsp() 131 return (desc->num_slices << 4) | (dec->base.profile != PIPE_VIDEO_PROFILE_MPEG1); in nouveau_vp3_fill_picparm_mpeg12_bsp() 141 pic_bsp->width = dec->base.width; in nouveau_vp3_fill_picparm_mpeg4_bsp() 142 pic_bsp->height = dec->base.height; in nouveau_vp3_fill_picparm_mpeg4_bsp() 166 vc->width = dec->base.width; in nouveau_vp3_fill_picparm_vc1_bsp() 167 vc->height = dec->base.height; in nouveau_vp3_fill_picparm_vc1_bsp() 168 vc->profile = dec->base.profile - PIPE_VIDEO_PROFILE_VC1_SIMPLE; // 04 in nouveau_vp3_fill_picparm_vc1_bsp() 210 h->width_mb = mb(dec->base.width); in nouveau_vp3_fill_picparm_h264_bsp() 211 h->height_mb = mb(dec->base in nouveau_vp3_fill_picparm_h264_bsp() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_query_hw.c | 55 nouveau_fence_work(screen->base.fence.current, in nv50_hw_query_allocate() 60 hq->mm = nouveau_mm_allocate(screen->base.mm_GART, size, in nv50_hw_query_allocate() 66 ret = nouveau_bo_map(hq->bo, 0, nv50->base.client); in nv50_hw_query_allocate() 125 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_hw_begin_query() 200 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_hw_end_query() 268 nouveau_fence_ref(nv50->screen->base.fence.current, &hq->fence); in nv50_hw_end_query() 293 PUSH_KICK(nv50->base.pushbuf); in nv50_hw_get_query_result() 297 if (nouveau_bo_wait(hq->bo, NOUVEAU_BO_RD, nv50->base.client)) in nv50_hw_get_query_result() 363 hq->base.funcs = &hw_query_funcs; in nv50_hw_create_query() 369 hq->base in nv50_hw_create_query() [all...] |
/third_party/node/deps/v8/src/ast/ |
H A D | ast-value-factory.h | 33 #include "src/base/hashmap.h" 34 #include "src/base/logging.h" 99 AstRawString(bool is_one_byte, const base::Vector<const byte>& literal_bytes, in AstRawString() 128 base::Vector<const byte> literal_bytes_; // Memory owned by Zone. 225 base::TemplateHashMapImpl<const AstRawString*, base::NoHashMapValue, 227 base::DefaultAllocationPolicy>; 350 const AstRawString* GetOneByteString(base::Vector<const uint8_t> literal) { in GetOneByteString() 354 return GetOneByteString(base::OneByteVector(string)); in GetOneByteString() 356 const AstRawString* GetTwoByteString(base in GetOneByteString() [all...] |
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-fuchsia.cc | 12 #include "src/base/bits.h" 13 #include "src/base/macros.h" 14 #include "src/base/platform/platform-posix-time.h" 15 #include "src/base/platform/platform-posix.h" 16 #include "src/base/platform/platform.h" 19 namespace base { namespace 109 uintptr_t base = reinterpret_cast<uintptr_t>(vmar_base); in MapVmo() local 110 DCHECK_GE(target_addr, base); in MapVmo() 111 vmar_offset = target_addr - base; in MapVmo() 205 uintptr_t base in CreateAddressSpaceReservationInternal() local [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_texture.c | 100 so->base = *cso; in fd6_sampler_state_create() 167 so->base = *cso; in fd6_sampler_view_create() 169 so->base.texture = prsc; in fd6_sampler_view_create() 170 so->base.reference.count = 1; in fd6_sampler_view_create() 171 so->base.context = pctx; in fd6_sampler_view_create() 174 return &so->base; in fd6_sampler_view_create() 198 struct fd_resource *rsc = fd_resource(so->base.texture); 200 fd6_validate_format(ctx, rsc, so->base.format); 211 const struct pipe_sampler_view *cso = &so->base; in fd6_sampler_view_update() 309 pipe_resource_reference(&view->base in fd6_sampler_view_destroy() [all...] |
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_surface.c | 454 if (i915_screen(i915->base.screen)->debug.use_blitter) { in i915_init_surface_functions() 455 i915->base.resource_copy_region = i915_surface_copy_blitter; in i915_init_surface_functions() 456 i915->base.clear_render_target = i915_clear_render_target_blitter; in i915_init_surface_functions() 457 i915->base.clear_depth_stencil = i915_clear_depth_stencil_blitter; in i915_init_surface_functions() 459 i915->base.resource_copy_region = i915_surface_copy_render; in i915_init_surface_functions() 460 i915->base.clear_render_target = i915_clear_render_target_render; in i915_init_surface_functions() 461 i915->base.clear_depth_stencil = i915_clear_depth_stencil_render; in i915_init_surface_functions() 463 i915->base.blit = i915_blit; in i915_init_surface_functions() 464 i915->base.flush_resource = i915_flush_resource; in i915_init_surface_functions() 465 i915->base in i915_init_surface_functions() [all...] |
/third_party/python/Lib/distutils/ |
H A D | _msvccompiler.py | 190 # base class, CCompiler. 297 base, ext = os.path.splitext(p) 299 base = os.path.basename(base) 301 _, base = os.path.splitdrive(base) 302 if base.startswith((os.path.sep, os.path.altsep)): 303 base = base[1:] 306 # the length of the result and trim base unti [all...] |
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_cpp.cpp | 456 string base = type_to_glsl(type); in argument_decl() local 458 remap_variable_type_name(type, variable_name, base); in argument_decl() 461 base = join("std::array<", base, ", ", to_array_size(type, i), ">"); in argument_decl() 463 return join(constref ? "const " : "", base, " &", variable_name); in argument_decl() 468 string base = type_to_glsl(type); in variable_decl() local 469 remap_variable_type_name(type, name, base); in variable_decl() 482 base = join("std::array<", base, ", ", to_array_size(type, i), ">"); in variable_decl() 484 base in variable_decl() [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-shape-fallback.cc | 319 unsigned int base, in position_around_base() 325 buffer->unsafe_to_break (base, end); in position_around_base() 328 if (!font->get_glyph_extents (buffer->info[base].codepoint, in position_around_base() 332 zero_mark_advances (buffer, base + 1, end, adjust_offsets_when_zeroing); in position_around_base() 335 base_extents.y_bearing += buffer->pos[base].y_offset; in position_around_base() 340 base_extents.width = font->get_glyph_h_advance (buffer->info[base].codepoint); in position_around_base() 342 unsigned int lig_id = _hb_glyph_info_get_lig_id (&buffer->info[base]); in position_around_base() 345 int num_lig_components = _hb_glyph_info_get_lig_num_comps (&buffer->info[base]); in position_around_base() 349 x_offset -= buffer->pos[base].x_advance; in position_around_base() 350 y_offset -= buffer->pos[base] in position_around_base() 316 position_around_base(const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer, unsigned int base, unsigned int end, bool adjust_offsets_when_zeroing) position_around_base() argument [all...] |
/third_party/toybox/toys/other/ |
H A D | bzcat.c | 65 int limit[MAX_HUFCODE_BITS+1], base[MAX_HUFCODE_BITS], permute[MAX_SYMBOLS]; member 164 int hh, ii, jj, kk, symCount, *base, *limit; in read_block_header() local 257 /* Calculate permute[], base[], and limit[] tables from length[]. in read_block_header() 262 * base[] is the amount to subtract from the value of a huffman symbol in read_block_header() 270 * equals permute[hufcode_value - base[hufcode_bitcount]]. in read_block_header() 276 // Note that minLen can't be smaller than 1, so we adjust the base in read_block_header() 279 base = hufGroup->base-1; in read_block_header() 295 * base[] (number of symbols to ignore at each bit length, which is in read_block_header() 302 base[i in read_block_header() 323 *byteCount, *base, *limit; read_huffman_data() local [all...] |