Home
last modified time | relevance | path

Searched full:bulk (Results 1 – 25 of 654) sorted by relevance

12345678910>>...27

/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c41 /* Max number of counters to query in bulk read is 32K */
63 struct mlx5_fc_bulk *bulk; member
183 /* first id must be aligned to 4 when using bulk query */ in mlx5_fc_stats_query_counter_range()
193 mlx5_core_err(dev, "Error doing bulk query: %d\n", err); in mlx5_fc_stats_query_counter_range()
222 if (counter->bulk) in mlx5_fc_release()
476 static void mlx5_fc_init(struct mlx5_fc *counter, struct mlx5_fc_bulk *bulk, in mlx5_fc_init() argument
479 counter->bulk = bulk; in mlx5_fc_init()
483 static int mlx5_fc_bulk_get_free_fcs_amount(struct mlx5_fc_bulk *bulk) in mlx5_fc_bulk_get_free_fcs_amount() argument
485 return bitmap_weight(bulk->bitmask, bulk->bulk_len); in mlx5_fc_bulk_get_free_fcs_amount()
491 struct mlx5_fc_bulk *bulk; in mlx5_fc_bulk_create() local
[all …]
/linux-5.10/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-vchiq.c137 /* actual buffer used to store bulk reply */
149 } bulk; /* bulk data */ member
171 /* vmalloc page to receive scratch bulk xfers into */
180 /* ordered workqueue to process all bulk operations */
256 container_of(work, struct mmal_msg_context, u.bulk.work); in buffer_work_cb()
257 struct mmal_buffer *buffer = msg_context->u.bulk.buffer; in buffer_work_cb()
265 buffer->length = msg_context->u.bulk.buffer_used; in buffer_work_cb()
266 buffer->mmal_flags = msg_context->u.bulk.mmal_flags; in buffer_work_cb()
267 buffer->dts = msg_context->u.bulk.dts; in buffer_work_cb()
268 buffer->pts = msg_context->u.bulk.pts; in buffer_work_cb()
[all …]
/linux-5.10/drivers/media/usb/dvb-usb/
Ddibusb.h25 * bulk msg to/from endpoint 0x01
36 * bulk write: 0x02 ((7bit i2c_addr << 1) | 0x01) register_bytes length_word
37 * bulk read: byte_buffer (length_word bytes)
43 * bulk write: 0x03 (7bit i2c_addr << 1) register_bytes value_bytes
49 * bulk write: 0x04
50 * bulk read: byte_buffer (5 bytes)
59 * bulk write: 0x05 mode_byte
/linux-5.10/include/linux/usb/
Dserial.h45 * @bulk_in_buffer: pointer to the bulk in buffer for this port.
47 * @read_urb: pointer to the bulk in struct urb for this port.
48 * @bulk_in_endpointAddress: endpoint address for the bulk in pipe for this
50 * @bulk_in_buffers: pointers to the bulk in buffers for this port
51 * @read_urbs: pointers to the bulk in urbs for this port
52 * @read_urbs_free: status bitmap the for bulk in urbs
53 * @bulk_out_buffer: pointer to the bulk out buffer for this port.
55 * @write_urb: pointer to the bulk out struct urb for this port.
57 * @bulk_out_buffers: pointers to the bulk out buffers for this port
58 * @write_urbs: pointers to the bulk out urbs for this port
[all …]
Dstorage.h32 #define USB_PR_CBI 0x00 /* Control/Bulk/Interrupt */
33 #define USB_PR_CB 0x01 /* Control/Bulk w/o interrupt */
34 #define USB_PR_BULK 0x50 /* bulk only */
50 * Bulk only data structures
83 /* bulk-only class specific requests */
/linux-5.10/Documentation/w1/masters/
Dds2490.rst49 - The ds2490 specification doesn't cover short bulk in reads in
51 available, the bulk read will return an error and the hardware will
52 clear the entire bulk in buffer. It would be possible to read the
63 most of the time one of the bulk out or in, and usually the bulk in
64 would fail. qemu sets a 50ms timeout and the bulk in would timeout
65 even when the status shows data available. A bulk out write would
/linux-5.10/drivers/usb/gadget/udc/
Ds3c2410_udc.h45 /* s3c2410 four bidirectional bulk endpoints */
46 "ep1-bulk", "ep2-bulk", "ep3-bulk", "ep4-bulk",
/linux-5.10/Documentation/ABI/testing/
Dsysfs-driver-w1_therm75 * If a bulk read has been triggered, it will directly
76 return the temperature computed when the bulk read
80 * If no bulk read has been triggered, it will trigger
115 (RW) trigger a bulk read conversion. read the status
124 no bulk operation. Reading temperature will
128 'trigger': trigger a bulk read on all supporting
131 Note that if a bulk read is sent but one sensor is not read
134 of the bulk read command (not the current temperature).
/linux-5.10/Documentation/driver-api/usb/
Dbulk-streams.rst1 USB bulk streams
7 Bulk endpoint streams were added in the USB 3.0 specification. Streams allow a
8 device driver to overload a bulk endpoint so that multiple transfers can be
41 ID for the bulk IN and OUT endpoints used in a Bi-directional command sequence.
46 declares how many stream IDs it can support, and each bulk endpoint on a
/linux-5.10/drivers/media/usb/uvc/
Duvc_video.c971 * uvc_video_decode_start is called with URB data at the start of a bulk or
989 * uvc_video_decode_end is called with header data at the end of a bulk or
1174 * uvc_video_encode_data(). Only bulk transfers are currently supported.
1203 nbytes = min(stream->bulk.max_payload_size - stream->bulk.payload_size, in uvc_video_encode_data()
1389 if (urb->actual_length == 0 && stream->bulk.header_size == 0) in uvc_video_decode_bulk()
1394 stream->bulk.payload_size += len; in uvc_video_decode_bulk()
1399 if (stream->bulk.header_size == 0 && !stream->bulk.skip_payload) { in uvc_video_decode_bulk()
1408 stream->bulk.skip_payload = 1; in uvc_video_decode_bulk()
1410 memcpy(stream->bulk.header, mem, ret); in uvc_video_decode_bulk()
1411 stream->bulk.header_size = ret; in uvc_video_decode_bulk()
[all …]
/linux-5.10/tools/usb/
Dhcd-tests.sh7 # - out, in: out needs 'bulk sink' firmware, in needs 'bulk src'
9 # - halt: needs bulk sink+src, tests halt set/clear from host
10 # - unlink: needs bulk sink and/or src, test HCD unlink processing
17 # this default provides a steady test load for a bulk device
37 # NOTE: the 'in' and 'out' cases are usually bulk, but can be
/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c1204 /* Called by the slot handler - don't hold the bulk mutex */
1221 struct vchiq_bulk *bulk = in notify_bulks() local
1224 /* Only generate callbacks for non-dummy bulk in notify_bulks()
1226 if (bulk->data && service->instance) { in notify_bulks()
1227 if (bulk->actual != VCHIQ_BULK_ACTUAL_ABORTED) { in notify_bulks()
1228 if (bulk->dir == VCHIQ_BULK_TRANSMIT) { in notify_bulks()
1233 bulk->actual); in notify_bulks()
1239 bulk->actual); in notify_bulks()
1245 if (bulk->mode == VCHIQ_BULK_MODE_BLOCKING) { in notify_bulks()
1249 waiter = bulk->userdata; in notify_bulks()
[all …]
Dvchiq_2835_arm.c219 vchiq_prepare_bulk_data(struct vchiq_bulk *bulk, void *offset, in vchiq_prepare_bulk_data() argument
232 bulk->data = pagelistinfo->dma_addr; in vchiq_prepare_bulk_data()
238 bulk->remote_data = pagelistinfo; in vchiq_prepare_bulk_data()
244 vchiq_complete_bulk(struct vchiq_bulk *bulk) in vchiq_complete_bulk() argument
246 if (bulk && bulk->remote_data && bulk->actual) in vchiq_complete_bulk()
247 free_pagelist((struct vchiq_pagelist_info *)bulk->remote_data, in vchiq_complete_bulk()
248 bulk->actual); in vchiq_complete_bulk()
Dvchiq_core.h242 int local_insert; /* Where to insert the next local bulk */
243 int remote_insert; /* Where to insert the next remote bulk (master) */
244 int process; /* Bulk to transfer next */
245 int remote_notify; /* Bulk to notify the remote client of next (mstr) */
246 int remove; /* Bulk to notify the local client of, and remove,
500 struct vchiq_bulk *bulk; member
508 is better to use a bulk transfer
635 vchiq_prepare_bulk_data(struct vchiq_bulk *bulk, void *offset,
639 vchiq_complete_bulk(struct vchiq_bulk *bulk);
/linux-5.10/Documentation/usb/
Dehci.rst58 At this writing the driver should comfortably handle all control, bulk,
125 and bulk transfers. Shows each active qh and the qtds
160 Bulk transfers are most often used where throughput is an issue. It's
161 good to keep in mind that bulk transfers are always in 512 byte packets,
165 So more than 50 MByte/sec is available for bulk transfers, when both
195 you issue a control or bulk request you can often expect to learn that
203 or using bulk queuing if a series of small requests needs to be issued.
213 I/O be efficient, it's better to just queue up several (bulk) requests
Dgadget_serial.rst89 with bulk in and bulk out endpoints, and it is treated similarly
93 or any driver that can talk to a device with a simple bulk in/out
122 To load it as a vendor specific bulk in/out device, do this::
150 serial is loaded as a bulk in/out device, you will want to use the
209 E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
210 E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
239 E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
240 E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
Dmass-storage.rst15 Its requirements are modest; only a bulk-in and a bulk-out endpoint
21 a single memory/DMA buffer will be usable for bulk-in and bulk-out
140 Specifies whether the gadget is allowed to halt bulk endpoints.
233 supported. MSG always uses SCSI protocol with bulk only
/linux-5.10/drivers/usb/misc/
Dusblcd.c48 bulk in endpoint */
50 bulk out endpoint */
140 /* do a blocking bulk read to get data from the device */ in lcd_read()
208 "nonzero write bulk status received: %d\n", status); in lcd_write_bulk_callback()
270 /* send the data out the bulk port */ in lcd_write()
345 /* use only the first bulk-in and bulk-out endpoints */ in lcd_probe()
350 "Could not find both bulk-in and bulk-out endpoints\n"); in lcd_probe()
/linux-5.10/drivers/media/usb/dvb-usb-v2/
Dmxl111sf.c30 MODULE_PARM_DESC(isoc, "enable usb isoc xfer (0=bulk, 1=isoc).");
1042 stream->u.bulk.buffersize = 8192; in mxl111sf_stream_config_bulk()
1061 * bulk EP4/BULK/5/8192
1102 * bulk EP6/BULK/5/8192
1143 * bulk EP5/BULK/5/8192/RAW
1184 * bulk EP6/BULK/5/8192 EP4/BULK/5/8192 EP5/BULK/5/8192/RAW
1252 * tp bulk EP6/BULK/5/8192 EP4/BULK/5/8192 EP6/BULK/5/8192/RAW
1254 * spi bulk EP6/BULK/5/8192 EP4/BULK/5/8192 EP5/BULK/5/8192/RAW
1330 * tp bulk EP4/BULK/5/8192 EP6/BULK/5/8192/RAW
1332 * spi bulk EP4/BULK/5/8192 EP5/BULK/5/8192/RAW
Dusb_urb.c8 * BULK and ISOC USB data transfers in a generic way.
28 __func__, ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", in usb_urb_complete()
155 stream->props.u.bulk.buffersize, in usb_urb_alloc_bulk_urbs()
260 buf_size = stream->props.u.bulk.buffersize; in usb_urb_reconfig()
281 props->u.bulk.buffersize == in usb_urb_reconfig()
282 stream->props.u.bulk.buffersize) in usb_urb_reconfig()
326 stream->props.u.bulk.buffersize); in usb_urb_initv2()
/linux-5.10/drivers/usb/serial/
Dipw.c90 #define IPW_SIO_RXCTL 0x00 /* control bulk rx channel transmissions, value=1/0 (on/off) */
159 /* reset the bulk pipes */ in ipw_open()
164 dev_dbg(dev, "%s: setting up bulk read callback\n", __func__); in ipw_open()
167 /*--3: Tell the modem to open the floodgates on the rx bulk channel */ in ipw_open()
178 dev_err(dev, "Enabling bulk RxRead failed (error = %d)\n", result); in ipw_open()
269 /* send RXBULK_off (tell modem to stop transmitting bulk data on in ipw_close()
281 dev_err(dev, "Disabling bulk RxRead failed (error = %d)\n", result); in ipw_close()
Dvisor.c298 * is ready to be read from the bulk ones. in visor_read_int_callback()
477 * Only swap the bulk endpoints for the Handspring devices with in visor_calc_num_ports()
491 * 1st bulk in endpoint to communicate with the 2nd bulk out endpoint, in visor_calc_num_ports()
492 * so let's swap the 1st and 2nd bulk in and interrupt endpoints. in visor_calc_num_ports()
493 * Note that swapping the bulk out endpoints would break lots of in visor_calc_num_ports()
507 * Communication in from the UX50/TH55 uses the first bulk-in in clie_5_calc_num_ports()
509 * bulk-out endpoint. in clie_5_calc_num_ports()
514 * bulk-out endpoint for both ports? in clie_5_calc_num_ports()
/linux-5.10/fs/xfs/libxfs/
Dxfs_btree_staging.c25 * use to construct a new btree index using the btree bulk loader code. The
26 * bulk loading code uses the staging btree cursor to abstract the details of
32 * construction by the bulk loading code. Staging btree cursors point to fake
36 * the _stage_cursor function for a specific btree type. When bulk loading is
57 * Bulk loading uses a separate callback to obtain new blocks from a
99 * Bulk Loading for AG Btrees
182 * Bulk Loading for Inode-Rooted Btrees
266 * Bulk Loading of Staged Btrees
278 * "Bulk Loading for AG Btrees" and "Bulk Loading for Inode-Rooted Btrees" for
290 * save them for later use by ->claim_block(). Bulk loading requires all
[all …]
/linux-5.10/drivers/usb/
Dusb-skeleton.c57 __u8 bulk_in_endpointAddr; /* the address of the bulk in endpoint */
58 __u8 bulk_out_endpointAddr; /* the address of the bulk out endpoint */
174 "%s - nonzero write bulk status received: %d\n", in skel_read_bulk_callback()
205 /* submit bulk in urb, which means no data to deliver */ in skel_do_read_io()
345 "%s - nonzero write bulk status received: %d\n", in skel_write_bulk_callback()
436 /* send the data out the bulk port */ in skel_write()
511 /* use only the first bulk-in and bulk-out endpoints */ in skel_probe()
516 "Could not find both bulk-in and bulk-out endpoints\n"); in skel_probe()
/linux-5.10/drivers/media/usb/em28xx/
Dem28xx.h195 * bulk transfers: transfer buffer size = packet size * packet multiplier
196 * USB 2.0 spec says bulk packet size is always 512 bytes
226 * @urb: urb for isoc/bulk transfers
227 * @buf: transfer buffers for isoc/bulk transfer
240 * @analog_bufs: isoc/bulk transfer buffers for analog mode
241 * @digital_bufs: isoc/bulk transfer buffers for digital mode
733 u8 analog_ep_bulk; // address of bulk endpoint for analog
735 u8 dvb_ep_bulk_ts2; // address of bulk endpoint for DVB TS2
737 u8 dvb_ep_bulk; // address of bulk endpoint for DVB
744 unsigned int analog_xfer_bulk:1; // use bulk instead of isoc
[all …]

12345678910>>...27