Home
last modified time | relevance | path

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

1234567

/linux/drivers/net/wireless/ath/wil6210/
H A Dpmc.c88 pmc->descriptors = kzalloc_objs(struct desc_alloc_info, num_descriptors); in wil_pmc_alloc()
89 if (!pmc->descriptors) { in wil_pmc_alloc()
95 pmc->descriptors); in wil_pmc_alloc()
143 pmc->descriptors[i].va = dma_alloc_coherent(dev, in wil_pmc_alloc()
145 &pmc->descriptors[i].pa, in wil_pmc_alloc()
148 if (unlikely(!pmc->descriptors[i].va)) { in wil_pmc_alloc()
154 u32 *p = (u32 *)pmc->descriptors[i].va + j; in wil_pmc_alloc()
160 cpu_to_le32(lower_32_bits(pmc->descriptors[i].pa)); in wil_pmc_alloc()
162 cpu_to_le16((u16)upper_32_bits(pmc->descriptors[i].pa)); in wil_pmc_alloc()
194 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 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/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/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/Documentation/ABI/stable/
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.
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
/linux/drivers/usb/gadget/legacy/
H A Dzero.c336 sourcesink_driver.descriptors = NULL; in zero_bind()
337 loopback_driver.descriptors = NULL; in zero_bind()
358 sourcesink_driver.descriptors = otg_desc; in zero_bind()
360 loopback_driver.descriptors = otg_desc; in zero_bind()
/linux/drivers/dma/xilinx/
H A Dxilinx_dpdma.c201 struct list_head descriptors; member
599 list_for_each_entry(sw_desc, &tx_desc->descriptors, node) { in xilinx_dpdma_chan_dump_tx_desc()
642 INIT_LIST_HEAD(&tx_desc->descriptors); in xilinx_dpdma_chan_alloc_tx_desc()
665 list_for_each_entry_safe(sw_desc, next, &desc->descriptors, node) { in xilinx_dpdma_chan_free_tx_desc()
727 list_add_tail(&sw_desc->node, &tx_desc->descriptors); in xilinx_dpdma_chan_prep_cyclic()
733 sw_desc = list_first_entry(&tx_desc->descriptors, in xilinx_dpdma_chan_prep_cyclic()
804 list_add_tail(&sw_desc->node, &tx_desc->descriptors); in xilinx_dpdma_chan_prep_interleaved_dma()
937 list_for_each_entry(sw_desc, &desc->descriptors, node) in xilinx_dpdma_chan_queue_transfer()
941 sw_desc = list_first_entry(&desc->descriptors, in xilinx_dpdma_chan_queue_transfer()
1164 sw_desc = list_first_entry(&pending->descriptors, in xilinx_dpdma_chan_vsync_irq()
[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/userspace-api/media/mediactl/
H A Drequest-func-poll.rst43 descriptors that have been selected (that is, file descriptors for which the
/linux/include/linux/
H A Dtimb_dma.h28 unsigned int descriptors; member
/linux/Documentation/userspace-api/media/cec/
H A Dcec-func-poll.rst42 On success :c:func:`poll()` returns the number of file descriptors
43 that have been selected (that is, file descriptors for which the
/linux/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget-hid9 report_desc blob corresponding to HID report descriptors
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A De100.rst53 Number of receive descriptors. A receive descriptor is a data
62 Where n is the number of desired Rx descriptors.
65 Number of transmit descriptors. A transmit descriptor is a data
74 Where n is the number of desired Tx descriptors.
/linux/Documentation/driver-api/rapidio/
H A Dtsi721.rst34 descriptors allocated for each registered Tsi721 DMA channel.
84 - defines number of hardware buffer descriptors used by
91 than hardware buffer descriptors ring.
/linux/Documentation/networking/device_drivers/ethernet/amazon/
H A Dena.rst138 device fetches the ENA Tx descriptors and packet data from host
142 In this mode the driver pushes the transmit descriptors and the
396 the ``ena_bufs`` to ENA descriptors (and adds meta ENA descriptors as
399 * This function also copies the ENA descriptors and the push buffer
407 completion descriptors generated by the ENA, with a single
413 * The function stops when the completion descriptors are completed or
423 number of descriptors used for a new packet, and zero if
435 descriptor as `skb`'s linear part and the other descriptors as the
/linux/drivers/input/rmi4/
H A Drmi_f12.c70 } descriptors[] = { in rmi_f12_read_register_descs() local
79 for (i = 0; i < ARRAY_SIZE(descriptors); i++) { in rmi_f12_read_register_descs()
81 descriptors[i].desc); in rmi_f12_read_register_descs()
85 descriptors[i].name, error); in rmi_f12_read_register_descs()

1234567