/drivers/gpu/drm/radeon/ |
D | evergreen_blit_kms.c | 609 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 …]
|
D | r600_blit_kms.c | 490 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 …]
|
D | radeon_asic.h | 91 uint32_t offset, uint32_t obj_size); 326 uint32_t offset, uint32_t obj_size);
|
D | r100.c | 3069 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()
|
D | radeon.h | 1318 uint32_t offset, uint32_t obj_size);
|
D | r600.c | 3190 uint32_t offset, uint32_t obj_size) in r600_set_surface_reg() argument
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | icm.c | 233 (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()
|
D | icm.h | 81 u64 virt, int obj_size, u32 nobj, int reserved,
|
D | mlx4.h | 262 int obj_size; member
|
/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.c | 224 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 …]
|
D | mthca_memfree.h | 67 int obj_size; member 87 u64 virt, int obj_size,
|
/drivers/block/ |
D | osdblk.c | 400 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()
|
D | rbd.c | 3911 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/ |
D | pppopns.c | 355 .obj_size = sizeof(struct pppox_sock),
|
D | pppolac.c | 376 .obj_size = sizeof(struct pppox_sock),
|
D | pptp.c | 635 .obj_size = sizeof(struct pppox_sock),
|
D | pppoe.c | 525 .obj_size = sizeof(struct pppox_sock),
|
/drivers/isdn/mISDN/ |
D | socket.c | 28 .obj_size = sizeof(struct mISDN_sock)
|
/drivers/net/ |
D | macvtap.c | 52 .obj_size = sizeof (struct macvtap_queue),
|
D | tun.c | 1508 .obj_size = sizeof(struct tun_file),
|