Searched defs:obj (Results 51 - 75 of 134) sorted by relevance

123456

/drivers/gpu/drm/nouveau/
H A Dnouveau_fence.c500 struct nouveau_gpuobj *obj = NULL; local
525 NV_MEM_TARGET_VRAM, &obj);
529 ret = nouveau_ramht_insert(chan, NvSema, obj);
530 nouveau_gpuobj_ref(NULL, &obj);
H A Dnv31_mpeg.c110 struct nouveau_gpuobj *obj = NULL; local
114 NVOBJ_FLAG_ZERO_FREE, &obj);
117 obj->engine = 2;
118 obj->class = class;
120 nv_wo32(obj, 0x00, class);
122 ret = nouveau_ramht_insert(chan, handle, obj);
123 nouveau_gpuobj_ref(NULL, &obj);
H A Dnv40_graph.c105 struct nouveau_gpuobj *obj = NULL; local
108 ret = nouveau_gpuobj_new(dev, chan, 20, 16, NVOBJ_FLAG_ZERO_FREE, &obj);
111 obj->engine = 1;
112 obj->class = class;
114 nv_wo32(obj, 0x00, class);
115 nv_wo32(obj, 0x04, 0x00000000);
117 nv_wo32(obj, 0x08, 0x00000000);
119 nv_wo32(obj, 0x08, 0x01000000);
121 nv_wo32(obj, 0x0c, 0x00000000);
122 nv_wo32(obj,
[all...]
H A Dnouveau_acpi.c60 union acpi_object *obj; local
86 obj = (union acpi_object *)output.pointer;
88 if (obj->type == ACPI_TYPE_INTEGER)
89 if (obj->integer.value == 0x80000002) {
93 if (obj->type == ACPI_TYPE_BUFFER) {
94 if (obj->buffer.length == 4 && result) {
96 *result |= obj->buffer.pointer[0];
97 *result |= (obj->buffer.pointer[1] << 8);
98 *result |= (obj->buffer.pointer[2] << 16);
99 *result |= (obj
112 union acpi_object *obj; local
349 union acpi_object rom_arg_elements[2], *obj; local
[all...]
H A Dnouveau_connector.c48 struct drm_mode_object *obj; local
56 obj = drm_mode_object_find(dev, id, DRM_MODE_OBJECT_ENCODER);
57 if (!obj)
59 nv_encoder = nouveau_encoder(obj_to_encoder(obj));
117 struct drm_mode_object *obj; local
124 obj = drm_mode_object_find(dev, id, DRM_MODE_OBJECT_ENCODER);
125 if (!obj)
127 nv_encoder = nouveau_encoder(obj_to_encoder(obj));
H A Dnv04_fifo.c341 struct nouveau_gpuobj *obj; local
356 obj = nouveau_ramht_find(chan, data);
357 if (unlikely(!obj || obj->engine != NVOBJ_ENGINE_SW))
360 chan->sw_subchannel[subc] = obj->class;
H A Dnv04_graph.c472 struct nouveau_gpuobj *obj = NULL; local
475 ret = nouveau_gpuobj_new(dev, chan, 16, 16, NVOBJ_FLAG_ZERO_FREE, &obj);
478 obj->engine = 1;
479 obj->class = class;
482 nv_wo32(obj, 0x00, 0x00080000 | class);
484 nv_wo32(obj, 0x00, class);
486 nv_wo32(obj, 0x04, 0x00000000);
487 nv_wo32(obj, 0x08, 0x00000000);
488 nv_wo32(obj, 0x0c, 0x00000000);
490 ret = nouveau_ramht_insert(chan, handle, obj);
[all...]
/drivers/gpu/drm/radeon/
H A Dradeon_atpx_handler.c41 union acpi_object atrm_arg_elements[2], *obj; local
60 obj = (union acpi_object *)buffer.pointer;
61 memcpy(bios+offset, obj->buffer.pointer, obj->buffer.length);
62 len = obj->buffer.length;
87 union acpi_object atpx_arg_elements[2], *obj; local
105 obj = (union acpi_object *)buffer.pointer;
106 if (obj && (obj->type == ACPI_TYPE_BUFFER))
107 printk(KERN_INFO "radeon atpx: version is %d\n", *((u8 *)(obj
[all...]
H A Dradeon_gem.c33 int radeon_gem_object_init(struct drm_gem_object *obj) argument
52 struct drm_gem_object **obj)
57 *obj = NULL;
69 *obj = &robj->gem_base;
78 int radeon_gem_object_pin(struct drm_gem_object *obj, uint32_t pin_domain, argument
81 struct radeon_bo *robj = gem_to_radeon_bo(obj);
92 void radeon_gem_object_unpin(struct drm_gem_object *obj) argument
94 struct radeon_bo *robj = gem_to_radeon_bo(obj);
149 int radeon_gem_object_open(struct drm_gem_object *obj, struct drm_file *file_priv) argument
154 void radeon_gem_object_close(struct drm_gem_object *obj, argument
49 radeon_gem_object_create(struct radeon_device *rdev, int size, int alignment, int initial_domain, bool discardable, bool kernel, struct drm_gem_object **obj) argument
[all...]
/drivers/gpu/drm/ttm/
H A Dttm_object.c96 * @obj: Base object this ref object is referencing.
113 struct ttm_base_object *obj; member in struct:ttm_ref_object
281 ref->obj = base;
313 struct ttm_base_object *base = ref->obj;
326 ttm_base_object_unref(&ref->obj);
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_scrn.c114 SVGAScreenObject obj; member in struct:__anon813
129 cmd->obj.structSize = sizeof(SVGAScreenObject);
130 cmd->obj.id = sou->base.unit;
131 cmd->obj.flags = SVGA_SCREEN_HAS_ROOT |
133 cmd->obj.size.width = mode->hdisplay;
134 cmd->obj.size.height = mode->vdisplay;
136 cmd->obj.root.x = x;
137 cmd->obj.root.y = y;
139 cmd->obj.root.x = sou->base.gui_x;
140 cmd->obj
[all...]
/drivers/iommu/
H A Domap-iommu-debug.c48 struct omap_iommu *obj = dev_to_omap_iommu(dev); local
59 bytes = omap_iommu_dump_ctx(obj, p, count);
72 struct omap_iommu *obj = dev_to_omap_iommu(dev); local
86 p += omap_dump_tlb_entries(obj, p, rest);
103 struct omap_iommu *obj = dev_to_omap_iommu(dev); local
121 err = omap_iopgtable_store_entry(obj, &e);
123 dev_err(obj->dev, "%s: fail to store cr\n", __func__);
143 static ssize_t dump_ioptable(struct omap_iommu *obj, char *buf, ssize_t len) argument
149 spin_lock(&obj->page_table_lock);
151 iopgd = iopgd_offset(obj,
191 struct omap_iommu *obj = dev_to_omap_iommu(dev); local
220 struct omap_iommu *obj = dev_to_omap_iommu(dev); local
369 struct omap_iommu *obj = platform_get_drvdata(pdev); local
[all...]
H A Domap-iovmm.c210 static struct iovm_struct *__find_iovm_area(struct omap_iommu *obj, argument
215 list_for_each_entry(tmp, &obj->mmap, list) {
221 dev_dbg(obj->dev, "%s: %08x-%08x-%08x(%x) %08x\n",
241 struct omap_iommu *obj = dev_to_omap_iommu(dev); local
244 mutex_lock(&obj->mmap_lock);
245 area = __find_iovm_area(obj, da);
246 mutex_unlock(&obj->mmap_lock);
256 static struct iovm_struct *alloc_iovm_area(struct omap_iommu *obj, u32 da, argument
262 if (!obj || !bytes)
270 start = obj
331 free_iovm_area(struct omap_iommu *obj, struct iovm_struct *area) argument
356 struct omap_iommu *obj = dev_to_omap_iommu(dev); local
462 unmap_iovm_area(struct iommu_domain *domain, struct omap_iommu *obj, struct iovm_struct *area) argument
497 unmap_vm_area(struct iommu_domain *domain, struct omap_iommu *obj, const u32 da, void (*fn)(const void *), u32 flags) argument
539 map_iommu_region(struct iommu_domain *domain, struct omap_iommu *obj, u32 da, const struct sg_table *sgt, void *va, size_t bytes, u32 flags) argument
574 __iommu_vmap(struct iommu_domain *domain, struct omap_iommu *obj, u32 da, const struct sg_table *sgt, void *va, size_t bytes, u32 flags) argument
594 struct omap_iommu *obj = dev_to_omap_iommu(dev); local
635 struct omap_iommu *obj = dev_to_omap_iommu(dev); local
664 struct omap_iommu *obj = dev_to_omap_iommu(dev); local
713 struct omap_iommu *obj = dev_to_omap_iommu(dev); local
[all...]
/drivers/leds/
H A Ddell-led.c60 union acpi_object *obj; local
85 obj = output.pointer;
87 if (!obj)
89 else if (obj->type != ACPI_TYPE_BUFFER) {
90 kfree(obj);
94 bios_return = ((struct bios_args *)obj->buffer.pointer);
97 kfree(obj);
/drivers/net/can/
H A Dbfin_can.c278 int obj; local
293 obj = RECEIVE_EXT_CHL;
298 obj = RECEIVE_STD_CHL;
300 if (bfin_read(&reg->chl[obj].id1) & RTR)
304 cf->can_dlc = get_can_dlc(bfin_read(&reg->chl[obj].dlc) & 0xF);
308 val = bfin_read(&reg->chl[obj].data[i]);
/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c230 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, int obj) argument
232 int i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
265 void mlx4_table_put(struct mlx4_dev *dev, struct mlx4_icm_table *table, int obj) argument
269 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
283 void *mlx4_table_find(struct mlx4_icm_table *table, int obj, dma_addr_t *dma_handle) argument
295 idx = (obj & (table->num_obj - 1)) * table->obj_size;
/drivers/pci/
H A Dpci-label.c195 static void dsm_label_utf16s_to_utf8s(union acpi_object *obj, char *buf) argument
198 len = utf16s_to_utf8s((const wchar_t *)obj->
200 obj->package.elements[1].string.length,
213 union acpi_object *obj; local
235 obj = (union acpi_object *)output->pointer;
237 switch (obj->type) {
239 if (obj->package.count != 2)
241 len = obj->package.elements[0].integer.value;
245 obj->package.elements[0].integer.value);
247 dsm_label_utf16s_to_utf8s(obj, bu
[all...]
/drivers/platform/x86/
H A Dmsi-wmi.c70 union acpi_object *obj; local
76 obj = output.pointer;
78 if (!obj || obj->type != ACPI_TYPE_INTEGER) {
79 if (obj) {
81 "type: %d - buffer length:%d\n", obj->type,
82 obj->type == ACPI_TYPE_BUFFER ?
83 obj->buffer.length : 0);
85 kfree(obj);
88 *ret = obj
151 union acpi_object *obj; local
[all...]
/drivers/staging/zram/
H A Dxvmalloc.c494 u32 xv_get_object_size(void *obj) argument
498 blk = (struct block_header *)((char *)(obj) - XV_ALIGN);
/drivers/acpi/
H A Dprocessor_idle.c398 union acpi_object *obj; local
411 obj = &(element->package.elements[0]);
413 if (obj->type != ACPI_TYPE_BUFFER)
416 reg = (struct acpi_power_register *)obj->buffer.pointer;
423 obj = &(element->package.elements[1]);
424 if (obj->type != ACPI_TYPE_INTEGER)
427 cx.type = obj->integer.value;
479 obj = &(element->package.elements[2]);
480 if (obj->type != ACPI_TYPE_INTEGER)
483 cx.latency = obj
[all...]
H A Dprocessor_throttling.c429 union acpi_object obj = { 0 }; local
452 obj = ptc->package.elements[0];
454 if ((obj.type != ACPI_TYPE_BUFFER)
455 || (obj.buffer.length < sizeof(struct acpi_ptc_register))
456 || (obj.buffer.pointer == NULL)) {
462 memcpy(&pr->throttling.control_register, obj.buffer.pointer,
469 obj = ptc->package.elements[1];
471 if ((obj.type != ACPI_TYPE_BUFFER)
472 || (obj.buffer.length < sizeof(struct acpi_ptc_register))
473 || (obj
[all...]
/drivers/base/
H A Dnode.c317 struct device *obj; local
322 obj = get_cpu_device(cpu);
323 if (!obj)
327 &obj->kobj,
328 kobject_name(&obj->kobj));
332 return sysfs_create_link(&obj->kobj,
339 struct device *obj; local
344 obj = get_cpu_device(cpu);
345 if (!obj)
349 kobject_name(&obj
[all...]
/drivers/block/
H A Dosdblk.c115 struct osd_obj_id obj; /* OSD partition, obj id */ member in struct:osdblk_device
137 const struct osd_obj_id *obj)
139 osd_sec_init_nosec_doall_caps(cred_a, obj, false, true);
211 osd_req_get_attributes(or, &osdev->obj);
351 osd_req_flush_object(or, &osdev->obj,
354 osd_req_write(or, &osdev->obj, blk_rq_pos(rq) * 512ULL,
357 osd_req_read(or, &osdev->obj, blk_rq_pos(rq) * 512ULL,
489 osdev->obj.partition,
490 osdev->obj
136 osdblk_make_credential(u8 cred_a[OSD_CAP_LEN], const struct osd_obj_id *obj) argument
[all...]
/drivers/gpu/drm/gma500/
H A Dpsb_drv.c453 struct drm_mode_object *obj; local
461 obj = drm_mode_object_find(dev, obj_id, DRM_MODE_OBJECT_CONNECTOR);
462 if (!obj) {
467 connector = obj_to_connector(obj);
487 struct drm_mode_object *obj; local
503 obj = drm_mode_object_find(dev, obj_id,
505 if (!obj) {
510 connector = obj_to_connector(obj);
/drivers/gpu/drm/i915/
H A Dintel_ringbuffer.h14 struct drm_i915_gem_object *obj; member in struct:intel_hw_status_page
46 struct drm_i915_gem_object *obj; member in struct:intel_ring_buffer

Completed in 785 milliseconds

123456