Home
last modified time | relevance | path

Searched refs:descriptors (Results 1 – 25 of 211) sorted by relevance

123456789

/linux/drivers/net/wireless/ath/wil6210/
H A Dpmc.c88 pmc->descriptors = kcalloc(num_descriptors, in wil_pmc_alloc()
91 if (!pmc->descriptors) { in wil_pmc_alloc()
97 pmc->descriptors); in wil_pmc_alloc()
145 pmc->descriptors[i].va = dma_alloc_coherent(dev, in wil_pmc_alloc()
147 &pmc->descriptors[i].pa, in wil_pmc_alloc()
150 if (unlikely(!pmc->descriptors[i].va)) { in wil_pmc_alloc()
156 u32 *p = (u32 *)pmc->descriptors[i].va + j; in wil_pmc_alloc()
162 cpu_to_le32(lower_32_bits(pmc->descriptors[i].pa)); in wil_pmc_alloc()
164 cpu_to_le16((u16)upper_32_bits(pmc->descriptors[i].pa)); in wil_pmc_alloc()
196 for (i = 0; i < num_descriptors && pmc->descriptors[i].va; i++) { in wil_pmc_alloc()
[all …]
/linux/Documentation/usb/
H A Dfunctionfs-desc.rst5 Some of the descriptors that can be written to the FFS gadget are
6 described below. Device and configuration descriptors are handled
14 :doc: descriptors
19 Standard USB interface descriptors may be written. The class/subclass of the
21 descriptors are accepted.
26 Class-specific descriptors are accepted only for the class/subclass of the
28 class-specific descriptors that are supported.
H A Dfunctionfs.rst10 the user space driver has registered by writing descriptors and
20 write descriptors and strings to that file. It does not need
22 simply provide descriptors such as if the function was the
28 For more information about FunctionFS descriptors see :doc:`functionfs-desc`
30 When descriptors and strings are written "ep#" files appear
69 filesystems have been mounted and USB descriptors of all functions
H A Draw-gadget.rst25 descriptors. Note that the UDC driver might respond to some requests on
29 while GadgetFS performs sanity checks on the provided USB descriptors.
61 therefore arbitrary endpoint addresses cannot be used in the descriptors.
66 endpoints for the gadget and assign addresses in the endpoint descriptors
/linux/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c81 } __attribute__ ((__packed__)) descriptors = { variable
86 .length = cpu_to_le32(sizeof(descriptors)),
91 .bLength = sizeof(descriptors.fs_descs.intf),
98 .bLength = sizeof(descriptors.fs_descs.bulk_sink),
104 .bLength = sizeof(descriptors.fs_descs.bulk_source),
113 .bLength = sizeof(descriptors.hs_descs.intf),
120 .bLength = sizeof(descriptors.hs_descs.bulk_sink),
127 .bLength = sizeof(descriptors.hs_descs.bulk_source),
258 if (write(ep0, &descriptors, sizeof(descriptors)) < 0) { in main()
/linux/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c65 } __attribute__ ((__packed__)) descriptors = { variable
70 .length = htole32(sizeof(descriptors)),
75 .bLength = sizeof(descriptors.fs_descs.intf),
82 .bLength = sizeof(descriptors.fs_descs.bulk_sink),
88 .bLength = sizeof(descriptors.fs_descs.bulk_source),
97 .bLength = sizeof(descriptors.hs_descs.intf),
104 .bLength = sizeof(descriptors.hs_descs.bulk_sink),
111 .bLength = sizeof(descriptors.hs_descs.bulk_source),
269 if (write(ep0, &descriptors, sizeof(descriptors)) < 0) { in main()
/linux/tools/usb/
H A Dffs-test.c126 } __attribute__((packed)) descriptors = { variable
132 .length = cpu_to_le32(sizeof descriptors),
137 .bLength = sizeof descriptors.fs_descs.intf,
144 .bLength = sizeof descriptors.fs_descs.sink,
151 .bLength = sizeof descriptors.fs_descs.source,
161 .bLength = sizeof descriptors.fs_descs.intf,
168 .bLength = sizeof descriptors.hs_descs.sink,
175 .bLength = sizeof descriptors.hs_descs.source,
186 .bLength = sizeof descriptors.fs_descs.intf,
193 .bLength = sizeof descriptors.hs_descs.sink,
[all …]
/linux/Documentation/networking/device_drivers/ethernet/google/
H A Dgve.rst53 entirely different descriptors, which will be described below.
74 - GQI descriptors and datapath registers are Big Endian.
75 - DQO descriptors and datapath registers are Little Endian.
126 fixed-size descriptors. They advance their head pointer using a __be32
128 descriptors in-order and updating a __be32 counter. Both the doorbell
149 - TX and RX buffers queues, which send descriptors to the device, use MMIO
150 doorbells to notify the device of new descriptors.
152 - RX and TX completion queues, which receive descriptors from the device, use a
155 populate received descriptors with the "next generation" which is inverted
161 descriptors posted to HW.
[all …]
/linux/arch/mips/net/
H A Dbpf_jit_comp.c171 u32 index = INDEX(ctx->descriptors[loc]); in get_target()
187 return (INDEX(ctx->descriptors[ctx->bpf_index + off]) - in get_offset()
556 u32 *descp = &ctx->descriptors[ctx->bpf_index]; in setup_jmp()
583 offset = (INDEX(ctx->descriptors[target]) - in setup_jmp()
584 INDEX(ctx->descriptors[origin]) + 1) * sizeof(u32); in setup_jmp()
686 if (CONVERTED(ctx->descriptors[ctx->bpf_index])) { in finish_jmp()
858 u32 *descp = &ctx->descriptors[i]; in build_body()
883 ctx->descriptors[prog->len] = ctx->jit_index; in build_body()
895 ctx->descriptors[i] = INDEX(ctx->descriptors[i]) | flag; in set_convert_flag()
949 ctx.descriptors = kcalloc(prog->len + 1, sizeof(*ctx.descriptors), in bpf_int_jit_compile()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dp2p.c43 __le32_to_cpu(noa->descriptors[i].type_count); in ath10k_p2p_noa_ie_fill()
44 noa_attr->desc[i].duration = noa->descriptors[i].duration; in ath10k_p2p_noa_ie_fill()
45 noa_attr->desc[i].interval = noa->descriptors[i].interval; in ath10k_p2p_noa_ie_fill()
46 noa_attr->desc[i].start_time = noa->descriptors[i].start_time; in ath10k_p2p_noa_ie_fill()
/linux/drivers/net/wireless/ath/ath11k/
H A Dp2p.c46 noa_attr->desc[i].count = noa->descriptors[i].type_count; in ath11k_p2p_noa_ie_fill()
48 cpu_to_le32(noa->descriptors[i].duration); in ath11k_p2p_noa_ie_fill()
50 cpu_to_le32(noa->descriptors[i].interval); in ath11k_p2p_noa_ie_fill()
52 cpu_to_le32(noa->descriptors[i].start_time); in ath11k_p2p_noa_ie_fill()
/linux/drivers/thunderbolt/
H A Dnhi.c247 descriptor = &ring->descriptors[ring->head]; in ring_write_descriptors()
292 if (!(ring->descriptors[ring->tail].flags in ring_work()
299 frame->size = ring->descriptors[ring->tail].length; in ring_work()
300 frame->eof = ring->descriptors[ring->tail].eof; in ring_work()
301 frame->sof = ring->descriptors[ring->tail].sof; in ring_work()
302 frame->flags = ring->descriptors[ring->tail].flags; in ring_work()
360 if (ring->descriptors[ring->tail].flags & RING_DESC_COMPLETED) { in tb_ring_poll()
366 frame->size = ring->descriptors[ring->tail].length; in tb_ring_poll()
367 frame->eof = ring->descriptors[ring->tail].eof; in tb_ring_poll()
368 frame->sof = ring->descriptors[ring->tail].sof; in tb_ring_poll()
[all …]
/linux/Documentation/filesystems/ext4/
H A Dblockgroup.rst38 descriptors that are found in block group 0. Redundant copies of the
39 superblock and group descriptors are written to some of the block groups
45 GDT block” space after the block group descriptors and before the start
71 superblock, group descriptors, data block bitmaps for groups 0-3, inode
76 and group descriptors are always at the beginning of block groups, even
84 descriptors copies are kept in the first block group. Given the default
85 128MiB(2^27 bytes) block group size and 64-byte group descriptors, ext4
96 feature moves the location of the group descriptors from the congested
104 descriptors. Instead, the superblock and a single block group descriptor
/linux/drivers/dma/amd/
H A DKconfig40 operate on instructions (descriptors) provided by the host operating
41 system. Using the descriptors, the QDMA can move data in either the
/linux/tools/usb/usbip/src/
H A Dusbip_list.c260 const char *descriptors; in list_gadget_devices() local
287 descriptors = udev_device_get_sysattr_value(dev, in list_gadget_devices()
290 if (!descriptors) { in list_gadget_devices()
296 d_desc = (const struct usb_device_descriptor *) descriptors; in list_gadget_devices()
/linux/Documentation/driver-api/pldmfw/
H A Ddriver-ops.rst15 descriptors in the record with information from the device. Many record
16 descriptors are defined by the PLDM standard, but it is also allowed for
17 devices to implement their own descriptors.
/linux/drivers/usb/gadget/
H A Dcomposite.c66 struct usb_descriptor_header **descriptors; in function_descriptors() local
75 descriptors = f->ssp_descriptors; in function_descriptors()
76 if (descriptors) in function_descriptors()
80 descriptors = f->ss_descriptors; in function_descriptors()
81 if (descriptors) in function_descriptors()
85 descriptors = f->hs_descriptors; in function_descriptors()
86 if (descriptors) in function_descriptors()
90 descriptors = f->fs_descriptors; in function_descriptors()
98 return descriptors; in function_descriptors()
585 if (config->descriptors) { in config_buf()
[all …]
/linux/drivers/mfd/
H A Dtimberdale.c303 .descriptors = 2,
309 .descriptors = 2,
315 .descriptors = 2,
321 .descriptors = 2,
328 .descriptors = 2,
344 .descriptors = 2,
350 .descriptors = 2,
/linux/Documentation/ABI/stable/
H A Dsysfs-bus-usb121 What: /sys/bus/usb/devices/.../descriptors
124 Binary file containing cached descriptors of the device. The
126 descriptors for each configuration of the device.
127 Note that the wTotalLength of the config descriptors can not
132 All descriptors read from this file are in bus-endian format
H A Dsysfs-driver-dma-ioatdma12 Description: The number of descriptors active in the ring.
18 Description: Descriptor ring size, total number of descriptors available.
/linux/drivers/usb/gadget/legacy/
H A Dzero.c327 sourcesink_driver.descriptors = NULL; in zero_bind()
328 loopback_driver.descriptors = NULL; in zero_bind()
349 sourcesink_driver.descriptors = otg_desc; in zero_bind()
351 loopback_driver.descriptors = otg_desc; in zero_bind()
/linux/drivers/staging/gpib/common/
H A Dgpib_os.c509 return file_priv->descriptors[handle]; in handle_to_descriptor()
516 priv->descriptors[0] = kmalloc(sizeof(gpib_descriptor_t), GFP_KERNEL); in init_gpib_file_private()
517 if (!priv->descriptors[0]) { in init_gpib_file_private()
521 init_gpib_descriptor(priv->descriptors[0]); in init_gpib_file_private()
522 priv->descriptors[0]->is_board = 1; in init_gpib_file_private()
1210 desc = file_priv->descriptors[i]; in cleanup_open_devices()
1221 file_priv->descriptors[i] = NULL; in cleanup_open_devices()
1241 if (!file_priv->descriptors[i]) in open_dev_ioctl()
1247 file_priv->descriptors[i] = kmalloc(sizeof(gpib_descriptor_t), GFP_KERNEL); in open_dev_ioctl()
1248 if (!file_priv->descriptors[i]) { in open_dev_ioctl()
[all …]
/linux/Documentation/devicetree/bindings/soc/ti/
H A Dkeystone-navigator-qmss.txt12 Linking RAM registers are used to link the descriptors which are stored in
67 queues looking for descriptors that have been pushed
92 navigator packet DMA descriptors. The memory for
93 descriptors will be allocated by the driver.
95 -- region-spec : specifies the number of descriptors in the
97 <"# of descriptors" "descriptor size">.
/linux/Documentation/userspace-api/media/v4l/
H A Ddmabuf.rst19 exporting V4L2 buffers as DMABUF file descriptors.
25 importing DMA buffers through DMABUF file descriptors is supported is
33 descriptors using an API which is specific for an allocator driver. Only
34 such file descriptor are exchanged. The descriptors and meta-information
40 Example: Initiating streaming I/O with DMABUF file descriptors
/linux/Documentation/hid/
H A Dhidintro.rst4 Introduction to HID report descriptors
8 descriptors are, and of how a casual (non-kernel) programmer can deal
48 The HID subsystem is in charge of parsing the HID report descriptors,
55 The format of HID report descriptors is described by two documents,
66 Parsing HID report descriptors
83 The basic structure of HID report descriptors is defined in the HID
91 HID report descriptors can, in principle, be painstakingly parsed by
96 if you need to patch HID report descriptors.
98 In practice you should not parse HID report descriptors by hand; rather,
106 descriptors);
[all …]

123456789