Searched defs:size (Results 1 - 25 of 2434) sorted by relevance

1234567891011>>

/drivers/gpu/drm/radeon/
H A Duvd_v4_2.c41 uint32_t size; local
45 size = RADEON_GPU_PAGE_ALIGN(rdev->uvd_fw->size + 4) >> 3;
47 WREG32(UVD_VCPU_CACHE_SIZE0, size);
49 addr += size;
50 size = RADEON_UVD_STACK_SIZE >> 3;
52 WREG32(UVD_VCPU_CACHE_SIZE1, size);
54 addr += size;
55 size = RADEON_UVD_HEAP_SIZE >> 3;
57 WREG32(UVD_VCPU_CACHE_SIZE2, size);
[all...]
H A Duvd_v2_2.c72 uint32_t chip_id, size; local
85 size = RADEON_GPU_PAGE_ALIGN(rdev->uvd_fw->size + 4) >> 3;
87 WREG32(UVD_VCPU_CACHE_SIZE0, size);
89 addr += size;
90 size = RADEON_UVD_STACK_SIZE >> 3;
92 WREG32(UVD_VCPU_CACHE_SIZE1, size);
94 addr += size;
95 size = RADEON_UVD_HEAP_SIZE >> 3;
97 WREG32(UVD_VCPU_CACHE_SIZE2, size);
[all...]
/drivers/scsi/aacraid/
H A Dnark.c40 * @size: mapping resize request
43 static int aac_nark_ioremap(struct aac_dev * dev, u32 size) argument
45 if (!size) {
59 dev->base = ioremap(dev->base_start, size);
H A Drkt.c57 * FIB size. The problem that causes us to add this check is
73 * @size: mapping resize request
76 static int aac_rkt_ioremap(struct aac_dev * dev, u32 size) argument
78 if (!size) {
82 dev->base = dev->regs.rkt = ioremap(dev->base_start, size);
/drivers/gpu/drm/msm/
H A Dmsm_ringbuffer.c21 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int size) argument
26 size = ALIGN(size, 4); /* size should be dword aligned */
35 ring->bo = msm_gem_new(gpu->dev, size, MSM_BO_WC);
43 ring->end = ring->start + (size / 4);
46 ring->size = size;
/drivers/gpu/drm/nouveau/core/subdev/bus/
H A Dnv94.c31 nv94_bus_hwsq_exec(struct nouveau_bus *pbus, u32 *data, u32 size) argument
39 for (i = 0; i < size; i++)
/drivers/media/platform/coda/
H A Dcoda-h264.c21 int coda_h264_padding(int size, char *p) argument
26 diff = size - (size & ~0x7);
/drivers/media/platform/soc_camera/
H A Dsoc_scale_crop.h25 static inline unsigned int soc_camera_shift_scale(unsigned int size, argument
28 return DIV_ROUND_CLOSEST(size << shift, scale);
/drivers/video/fbdev/
H A Dsbuslib.h8 unsigned long size; member in struct:sbus_mmap_map
/drivers/gpu/drm/nouveau/core/engine/perfmon/
H A Dnvf0.c41 struct nouveau_oclass *oclass, void *data, u32 size,
40 nvf0_perfmon_ctor(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, void *data, u32 size, struct nouveau_object **pobject) argument
/drivers/gpu/drm/nouveau/core/subdev/bar/
H A Dgk20a.c29 struct nouveau_oclass *oclass, void *data, u32 size,
35 ret = nvc0_bar_ctor(parent, engine, oclass, data, size, pobject);
28 gk20a_bar_ctor(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, void *data, u32 size, struct nouveau_object **pobject) argument
/drivers/gpu/drm/nouveau/core/subdev/fb/
H A Dnv25.c30 nv25_fb_tile_comp(struct nouveau_fb *pfb, int i, u32 size, u32 flags, argument
33 u32 tiles = DIV_ROUND_UP(size, 0x40);
H A Dnv35.c30 nv35_fb_tile_comp(struct nouveau_fb *pfb, int i, u32 size, u32 flags, argument
33 u32 tiles = DIV_ROUND_UP(size, 0x40);
H A Dnv36.c30 nv36_fb_tile_comp(struct nouveau_fb *pfb, int i, u32 size, u32 flags, argument
33 u32 tiles = DIV_ROUND_UP(size, 0x40);
H A Dnv46.c30 nv46_fb_tile_init(struct nouveau_fb *pfb, int i, u32 addr, u32 size, u32 pitch, argument
39 tile->limit = max(1u, addr + size) - 1;
/drivers/hid/
H A Dhid-primax.c26 u8 *data, int size)
28 int idx = size;
45 * As long as it's in the size range, the upper level
55 hid_report_raw_event(hid, HID_INPUT_REPORT, data, size, 0);
25 px_raw_event(struct hid_device *hid, struct hid_report *report, u8 *data, int size) argument
/drivers/input/
H A Dinput-compat.c65 int input_ff_effect_from_user(const char __user *buffer, size_t size, argument
71 if (size != sizeof(struct ff_effect_compat))
90 if (size != sizeof(struct ff_effect))
120 int input_ff_effect_from_user(const char __user *buffer, size_t size, argument
123 if (size != sizeof(struct ff_effect))
/drivers/media/common/
H A Dbtcx-risc.h4 unsigned int size; member in struct:btcx_riscmem
17 unsigned int size);
/drivers/misc/genwqe/
H A Dgenwqe_driver.h66 const void *buff, unsigned int size)
74 size, true);
65 genwqe_hexdump(struct pci_dev *pci_dev, const void *buff, unsigned int size) argument
/drivers/misc/vmw_vmci/
H A Dvmci_handle_array.h27 size_t size; member in struct:vmci_handle_arr
48 return array->size;
/drivers/staging/line6/
H A Dmidibuf.h17 int size; member in struct:midi_buffer
28 extern int line6_midibuf_init(struct midi_buffer *mb, int size, int split);
/drivers/acpi/acpica/
H A Dnsnames.c57 * size - Size of the pathname
69 acpi_size size, char *name_buffer)
78 index = size - 1;
110 "Could not construct external pathname; index=%u, size=%u, Path=%s",
111 (u32) index, (u32) size, &name_buffer[size]));
138 acpi_size size; local
142 /* Calculate required buffer size based on depth below root */
144 size = acpi_ns_get_pathname_length(node);
145 if (!size) {
68 acpi_ns_build_external_path(struct acpi_namespace_node *node, acpi_size size, char *name_buffer) argument
182 acpi_size size; local
[all...]
H A Dutalloc.c56 * PARAMETERS: size - Size of the allocation
65 void *acpi_os_allocate_zeroed(acpi_size size) argument
71 allocation = acpi_os_allocate(size);
76 ACPI_MEMSET(allocation, 0, size);
324 /* Existing buffer: Validate the size of the buffer */
/drivers/block/drbd/
H A Ddrbd_interval.h10 unsigned int size; /* size in bytes */ member in struct:drbd_interval
37 #define drbd_for_each_overlap(i, root, sector, size) \
38 for (i = drbd_find_overlap(root, sector, size); \
40 i = drbd_next_overlap(i, sector, size))
/drivers/gpu/drm/
H A Ddrm_flip_work.c82 * @size: the max queue depth
91 int drm_flip_work_init(struct drm_flip_work *work, int size, argument
101 ret = kfifo_alloc(&work->fifo, size, GFP_KERNEL);

Completed in 629 milliseconds

1234567891011>>