Searched refs:size (Results 26 - 50 of 11190) sorted by last modified time

1234567891011>>

/linux-master/tools/testing/nvdimm/test/
H A Dndtest.c52 .size = DIMM_SIZE,
59 .size = DIMM_SIZE,
66 .size = DIMM_SIZE,
73 .size = DIMM_SIZE,
80 .size = DIMM_SIZE,
90 .size = DIMM_SIZE,
106 .size = SZ_16M,
112 .size = SZ_16M,
121 .size = SZ_16M,
127 .size
234 ndtest_get_config_size(struct ndtest_dimm *dimm, unsigned int buf_len, struct nd_cmd_get_config_size *size) argument
334 ndtest_alloc_resource(struct ndtest_priv *p, size_t size, dma_addr_t *dma) argument
511 fail_cmd_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
536 fail_cmd_code_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
[all...]
H A Dndtest.h25 u64 size; member in struct:ndtest_blk_mmio
44 unsigned int size; member in struct:ndtest_dimm
56 u64 size; member in struct:ndtest_mapping
64 u64 size; member in struct:ndtest_region
/linux-master/tools/testing/cxl/test/
H A Dmem.c121 .size = cpu_to_le32(sizeof(mock_cel)),
/linux-master/tools/power/x86/intel-speed-select/
H A Disst-display.c45 int size, index, curr_index; local
47 size = max_cpus / (sizeof(unsigned int) * 8);
49 size++;
51 mask = calloc(size, sizeof(unsigned int));
67 for (i = size - 1; i >= 0; --i) {
H A Disst-config.c661 size_t size; local
666 size = CPU_ALLOC_SIZE((topo_max_cpus + 1));
667 CPU_ZERO_S(size, _cpu_set);
670 return size;
749 size_t size; local
763 size = alloc_cpu_set(&present_cpumask);
764 present_cpumask_size = size;
778 CPU_SET_S(i, size, present_cpumask);
827 size = alloc_cpu_set(&target_cpumask);
828 target_cpumask_size = size;
[all...]
/linux-master/tools/include/uapi/linux/
H A Dkvm.h237 __u8 size; /* bytes */ member in struct:kvm_run::__anon1613::__anon1617
434 __u64 size; member in struct:kvm_run::__anon1613::__anon1644
436 /* Fix the size of the union. */
440 /* 2048 is the size of the char array used to bound/pad the size
463 __u32 size; member in struct:kvm_coalesced_mmio_zone
639 * address size for the VM. Bits[7-0] are reserved for the guest
640 * PA size shift (i.e, log2(PA_Size)). For backward compatibility,
641 * value 0 implies the default IPA size, 40bits.
660 * Get size fo
1337 __u64 size; member in struct:kvm_enc_region
1510 __u16 size; member in struct:kvm_stats_desc
1536 __u64 size; member in struct:kvm_memory_attributes
1546 __u64 size; member in struct:kvm_create_guest_memfd
[all...]
/linux-master/tools/arch/x86/intel_sdsi/
H A Dintel_sdsi.c345 int ret, size; local
376 size = fread(buf, 1, sizeof(buf), cert_ptr);
377 if (!size) {
435 int ret, size; local
459 size = fread(buf, 1, sizeof(buf), cert_ptr);
460 if (!size) {
496 sizeof(*sc) + // size of the state certificate
497 (4 * sc->num_licenses) + // total size of the blob size blocks
498 sizeof(*lki) + // size o
531 int bin_fd, prov_fd, size, ret; local
[all...]
/linux-master/sound/usb/
H A Dquirks.c912 dev_err(&dev->dev, "Invalid firmware size=%d.\n", fwsize);
1258 dev_err(&dev->dev, "MBOX3: Invalid descriptor size=%d.\n", descriptor_size);
1873 __u16 index, void *data, __u16 size)
2034 /* mic works only when ep packet size is set to wMaxPacketSize */
1871 snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe, __u8 request, __u8 requesttype, __u16 value, __u16 index, void *data, __u16 size) argument
H A Dmixer_scarlett2.c244 /* Maximum size of the data in the USB mux assignment message:
561 /* Location, size, and activation command number for the configuration
577 u8 size; member in struct:scarlett2_config
607 .offset = 0x34, .size = 16, .activate = 1 },
610 .offset = 0x5c, .size = 8, .activate = 1 },
613 .offset = 0x7c, .size = 8, .activate = 7 },
616 .offset = 0x84, .size = 8, .activate = 8 },
619 .offset = 0x8d, .size = 8, .activate = 6 },
629 .offset = 0x31, .size = 8, .activate = 2 },
632 .offset = 0x34, .size
2283 __le16 size; member in struct:scarlett2_usb_packet
2304 scarlett2_usb_tx(struct usb_device *dev, int interface, void *buf, u16 size) argument
2313 scarlett2_usb_rx(struct usb_device *dev, int interface, u32 usb_req, void *buf, u16 size) argument
2441 scarlett2_usb_get( struct usb_mixer_interface *mixer, int offset, void *buf, int size) argument
2447 __le32 size; member in struct:__anon1586
2473 int size, err, i; local
2523 scarlett2_usb_set_data( struct usb_mixer_interface *mixer, int offset, int size, int value) argument
2530 __le32 size; member in struct:__anon1587
2546 scarlett2_usb_set_data_buf( struct usb_mixer_interface *mixer, int offset, int size, int count, void *buf) argument
2554 __le32 size; member in struct:__anon1588
2614 int offset, size; local
2714 int offset, size; local
8721 __le32 size; member in struct:__anon1594
8727 __le32 size; member in struct:__anon1595
[all...]
/linux-master/sound/synth/emux/
H A Dsoundfont.c695 if (si->end < 0 || si->end > si->size)
737 if (sample_info.size * 2 != count)
748 if (sample_info.size > 0) {
776 if (sp->v.size > 0) {
1010 smp->v.size = patch.len;
1033 smp->v.size /= 2;
1054 if (smp->v.size > 0) {
H A Demux_proc.c34 snd_iprintf(buf, "Memory Size: %d\n", emu->memhdr->size);
H A Demux_hwdep.c96 int size = snd_util_mem_avail(emu->memhdr); local
97 return put_user(size, (unsigned int __user *)arg);
/linux-master/sound/soc/xilinx/
H A Dxlnx_formatter_pcm.c96 * @buffer_size: stream ring buffer size
460 u64 size; local
496 size = params_buffer_bytes(params);
498 stream_data->buffer_size = size;
/linux-master/sound/soc/tegra/
H A Dtegra_pcm.c93 /* Ensure period size is multiple of 8 */
195 size_t size)
204 return snd_pcm_set_fixed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV_WC, dev, size);
194 tegra_pcm_dma_allocate(struct device *dev, struct snd_soc_pcm_runtime *rtd, size_t size) argument
/linux-master/sound/soc/sof/
H A Dtopology.c47 * @object_size: size of the object
264 * "size" specifies the number of entries in the table
267 int tlv[SOF_TLV_ITEMS], int size)
274 return tplg_ops->control->set_up_volume_table(scontrol, tlv, size);
486 * @array_size: size of @array
492 * @tuples_size: size of @tuples
533 asize = le32_to_cpu(array->size);
537 dev_err(sdev->dev, "Invalid array size 0x%x\n", asize);
544 dev_err(sdev->dev, "Invalid array size 0x%x\n", asize);
704 * @array_size: total size o
266 set_up_volume_table(struct snd_sof_control *scontrol, int tlv[SOF_TLV_ITEMS], int size) argument
2331 snd_sof_dspless_bytes_ext_get(struct snd_kcontrol *kcontrol, unsigned int __user *binary_data, unsigned int size) argument
2338 snd_sof_dspless_bytes_ext_put(struct snd_kcontrol *kcontrol, const unsigned int __user *binary_data, unsigned int size) argument
[all...]
H A Dstream-ipc.c33 if (!sps || !sdev->stream_box.size) {
68 if (posn_offset > sdev->stream_box.size ||
106 /* align to DMA minimum transfer size */
H A Dsof-utils.c27 unsigned char *page_table, size_t size)
31 pages = snd_sgbuf_aligned_pages(size);
33 dev_dbg(dev, "generating page table for %p size 0x%zx pages %d\n",
34 dmab->area, size, pages);
25 snd_sof_create_page_table(struct device *dev, struct snd_dma_buffer *dmab, unsigned char *page_table, size_t size) argument
H A Dsof-utils.h17 unsigned char *page_table, size_t size);
H A Dsof-priv.h73 /* DMA buffer size for trace */
209 void *dest, size_t size); /* mandatory */
212 void *src, size_t size); /* mandatory */
217 size_t size); /* optional */
220 size_t size); /* optional */
325 size_t size, const char *name,
379 size_t size; member in struct:snd_sof_dfsentry
404 u32 size; member in struct:snd_sof_debugfs_map
415 size_t size; member in struct:snd_sof_mailbox
537 /* Maximum allowed size o
858 sof_client_dev_register(struct snd_sof_dev *sdev, const char *name, u32 id, const void *data, size_t size) argument
[all...]
H A Dsof-client.c58 size_t size)
63 d = kmemdup(data, size, GFP_KERNEL);
209 const void *data, size_t size)
226 ret = sof_client_dev_add_data(cdev, data, size);
293 return sof_ipc_tx_message(cdev->sdev->ipc, ipc_msg, hdr->size,
312 if (hdr->size < sizeof(hdr)) {
313 dev_err(cdev->sdev->dev, "The received message size is invalid\n");
331 return sof_ipc_set_get_data(cdev->sdev->ipc, ipc_msg, hdr->size,
57 sof_client_dev_add_data(struct sof_client_dev *cdev, const void *data, size_t size) argument
208 sof_client_dev_register(struct snd_sof_dev *sdev, const char *name, u32 id, const void *data, size_t size) argument
H A Dsof-client-probes-ipc3.c53 * @buffer_size: DMA buffer size to set for extractor
67 size_t size = struct_size(msg, dma, 1); local
70 msg = kmalloc(size, GFP_KERNEL);
73 msg->hdr.size = size;
96 msg.size = sizeof(msg);
117 msg.rhdr.hdr.size = sizeof(msg);
180 size_t size = struct_size(msg, desc, num_desc); local
183 msg = kmalloc(size, GFP_KERNEL);
186 msg->hdr.size
210 size_t size = struct_size(msg, buffer_id, num_buffer_id); local
[all...]
H A Dsof-client-ipc-msg-injector.c59 if (!rhdr->hdr.size || !count || *ppos)
62 if (count > rhdr->hdr.size)
63 count = rhdr->hdr.size;
153 ssize_t size; local
159 size = simple_write_to_buffer(priv->tx_buffer, priv->max_msg_size,
161 if (size < 0)
162 return size;
163 if (size != count)
172 size = ret;
174 return size;
[all...]
H A Dsof-client-ipc-kernel-injector.c47 ssize_t size; local
53 size = simple_write_to_buffer(priv->kernel_buffer, priv->max_msg_size,
55 if (size < 0)
56 return size;
57 if (size != count)
H A Dsof-audio.h65 static inline u32 mixer_to_ipc(unsigned int value, u32 *volume_map, int size) argument
67 if (value >= size)
68 return volume_map[size - 1];
73 static inline u32 ipc_to_mixer(u32 value, u32 *volume_map, int size) argument
77 for (i = 0; i < size; i++) {
156 const unsigned int __user *binary_data, unsigned int size);
158 const unsigned int __user *binary_data, unsigned int size);
160 const unsigned int __user *binary_data, unsigned int size);
167 int size);
196 * @widget: Array of pointers to IPC-specific ops for widgets. This should always be of size
380 u32 size; /* cdata size */ member in struct:snd_sof_control
[all...]
H A Dsof-client-ipc-flood-test.c77 hdr.size = sizeof(hdr);

Completed in 223 milliseconds

1234567891011>>