Home
last modified time | relevance | path

Searched refs:obj_size (Results 1 – 20 of 20) sorted by relevance

/drivers/gpu/drm/radeon/
Devergreen_blit_kms.c609 u32 obj_size; in evergreen_blit_init() local
649 obj_size = dwords * 4; in evergreen_blit_init()
650 obj_size = ALIGN(obj_size, 256); in evergreen_blit_init()
652 rdev->r600_blit.vs_offset = obj_size; in evergreen_blit_init()
654 obj_size += evergreen_vs_size * 4; in evergreen_blit_init()
656 obj_size += cayman_vs_size * 4; in evergreen_blit_init()
657 obj_size = ALIGN(obj_size, 256); in evergreen_blit_init()
659 rdev->r600_blit.ps_offset = obj_size; in evergreen_blit_init()
661 obj_size += evergreen_ps_size * 4; in evergreen_blit_init()
663 obj_size += cayman_ps_size * 4; in evergreen_blit_init()
[all …]
Dr600_blit_kms.c490 u32 obj_size; in r600_blit_init() local
530 obj_size = dwords * 4; in r600_blit_init()
531 obj_size = ALIGN(obj_size, 256); in r600_blit_init()
533 rdev->r600_blit.vs_offset = obj_size; in r600_blit_init()
534 obj_size += r6xx_vs_size * 4; in r600_blit_init()
535 obj_size = ALIGN(obj_size, 256); in r600_blit_init()
537 rdev->r600_blit.ps_offset = obj_size; in r600_blit_init()
538 obj_size += r6xx_ps_size * 4; in r600_blit_init()
539 obj_size = ALIGN(obj_size, 256); in r600_blit_init()
543 r = radeon_bo_create(rdev, obj_size, PAGE_SIZE, true, in r600_blit_init()
[all …]
Dradeon_asic.h91 uint32_t offset, uint32_t obj_size);
326 uint32_t offset, uint32_t obj_size);
Dr100.c3069 uint32_t offset, uint32_t obj_size) in r100_set_surface_reg() argument
3111 DRM_DEBUG_KMS("writing surface %d %d %x %x\n", reg, flags, offset, offset+obj_size-1); in r100_set_surface_reg()
3114 WREG32(RADEON_SURFACE0_UPPER_BOUND + surf_index, offset + obj_size - 1); in r100_set_surface_reg()
Dradeon.h1318 uint32_t offset, uint32_t obj_size);
Dr600.c3190 uint32_t offset, uint32_t obj_size) in r600_set_surface_reg() argument
/drivers/net/ethernet/mellanox/mlx4/
Dicm.c233 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get()
271 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_put()
300 idx = (u64) (obj & (table->num_obj - 1)) * table->obj_size; in mlx4_table_find()
336 int inc = MLX4_TABLE_CHUNK_SIZE / table->obj_size; in mlx4_table_get_range()
362 for (i = start; i <= end; i += MLX4_TABLE_CHUNK_SIZE / table->obj_size) in mlx4_table_put_range()
367 u64 virt, int obj_size, u32 nobj, int reserved, in mlx4_init_icm_table() argument
376 obj_per_chunk = MLX4_TABLE_CHUNK_SIZE / obj_size; in mlx4_init_icm_table()
385 table->obj_size = obj_size; in mlx4_init_icm_table()
390 size = (u64) nobj * obj_size; in mlx4_init_icm_table()
391 for (i = 0; i * MLX4_TABLE_CHUNK_SIZE < reserved * obj_size; ++i) { in mlx4_init_icm_table()
Dicm.h81 u64 virt, int obj_size, u32 nobj, int reserved,
Dmlx4.h262 int obj_size; member
/drivers/infiniband/hw/mthca/
Dmthca_memfree.c224 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_get()
264 i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_put()
290 idx = (obj & (table->num_obj - 1)) * table->obj_size; in mthca_table_find()
324 int inc = MTHCA_TABLE_CHUNK_SIZE / table->obj_size; in mthca_table_get_range()
352 for (i = start; i <= end; i += MTHCA_TABLE_CHUNK_SIZE / table->obj_size) in mthca_table_put_range()
357 u64 virt, int obj_size, in mthca_alloc_icm_table() argument
367 obj_per_chunk = MTHCA_TABLE_CHUNK_SIZE / obj_size; in mthca_alloc_icm_table()
377 table->obj_size = obj_size; in mthca_alloc_icm_table()
385 for (i = 0; i * MTHCA_TABLE_CHUNK_SIZE < reserved * obj_size; ++i) { in mthca_alloc_icm_table()
387 if ((i + 1) * MTHCA_TABLE_CHUNK_SIZE > nobj * obj_size) in mthca_alloc_icm_table()
[all …]
Dmthca_memfree.h67 int obj_size; member
87 u64 virt, int obj_size,
/drivers/block/
Dosdblk.c400 u64 obj_size = 0; in osdblk_init_disk() local
403 rc = osdblk_get_obj_size(osdev, &obj_size); in osdblk_init_disk()
450 set_capacity(disk, obj_size / 512ULL); in osdblk_init_disk()
454 disk->disk_name, (unsigned long long)obj_size); in osdblk_init_disk()
Drbd.c3911 u64 obj_size; in rbd_dev_v2_striping_info() local
3932 obj_size = (u64)1 << rbd_dev->header.obj_order; in rbd_dev_v2_striping_info()
3935 if (stripe_unit != obj_size) { in rbd_dev_v2_striping_info()
3938 stripe_unit, obj_size); in rbd_dev_v2_striping_info()
/drivers/net/ppp/
Dpppopns.c355 .obj_size = sizeof(struct pppox_sock),
Dpppolac.c376 .obj_size = sizeof(struct pppox_sock),
Dpptp.c635 .obj_size = sizeof(struct pppox_sock),
Dpppoe.c525 .obj_size = sizeof(struct pppox_sock),
/drivers/isdn/mISDN/
Dsocket.c28 .obj_size = sizeof(struct mISDN_sock)
/drivers/net/
Dmacvtap.c52 .obj_size = sizeof (struct macvtap_queue),
Dtun.c1508 .obj_size = sizeof(struct tun_file),