Home
last modified time | relevance | path

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

12345678910>>...38

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A 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 …]
/OK3568_Linux_fs/u-boot/include/
H A Dreset.h64 * struct reset_ctl_bulk - A handle to (allowing control of) a bulk of reset
67 * Clients provide storage for the reset control bulk. The content of the
68 * structure is managed solely by the reset API. A reset control bulk struct is
69 * initialized by "get"ing the reset control bulk struct.
70 * The reset control bulk struct is passed to all other bulk reset APIs to apply
71 * the API to all the reset signals in the bulk struct.
112 * @bulk A pointer to a reset control bulk struct to initialize.
115 int reset_get_bulk(struct udevice *dev, struct reset_ctl_bulk *bulk);
169 * reset_assert_bulk - Assert all reset signals in a reset control bulk struct.
172 * bulk struct, thus resetting the affected HW module(s). Depending on the
[all …]
H A Dclk.h64 * struct clk_bulk - A handle to (allowing control of) a bulk of clocks.
66 * Clients provide storage for the clock bulk. The content of the structure is
67 * managed solely by the clock API. A clock bulk struct is
68 * initialized by "get"ing the clock bulk struct.
69 * The clock bulk struct is passed to all other bulk clock APIs to apply
70 * the API to all the clock in the bulk struct.
112 * @bulk A pointer to a clock bulk struct to initialize.
115 int clk_get_bulk(struct udevice *dev, struct clk_bulk *bulk);
155 static inline int clk_get_bulk(struct udevice *dev, struct clk_bulk *bulk) in clk_get_bulk() argument
191 * requested clocks in a clock bulk struct.
[all …]
/OK3568_Linux_fs/u-boot/drivers/reset/
H A Dreset-uclass.c84 int reset_get_bulk(struct udevice *dev, struct reset_ctl_bulk *bulk) in reset_get_bulk() argument
88 bulk->count = 0; in reset_get_bulk()
94 bulk->resets = devm_kcalloc(dev, count, sizeof(struct reset_ctl), in reset_get_bulk()
96 if (!bulk->resets) in reset_get_bulk()
100 ret = reset_get_by_index(dev, i, &bulk->resets[i]); in reset_get_bulk()
104 ++bulk->count; in reset_get_bulk()
110 err = reset_release_all(bulk->resets, bulk->count); in reset_get_bulk()
163 int reset_assert_bulk(struct reset_ctl_bulk *bulk) in reset_assert_bulk() argument
167 for (i = 0; i < bulk->count; i++) { in reset_assert_bulk()
168 ret = reset_assert(&bulk->resets[i]); in reset_assert_bulk()
[all …]
H A Dsandbox-reset-test.c15 struct reset_ctl_bulk bulk; member
29 return reset_get_bulk(dev, &sbrt->bulk); in sandbox_reset_test_get_bulk()
43 return reset_assert_bulk(&sbrt->bulk); in sandbox_reset_test_assert_bulk()
57 return reset_deassert_bulk(&sbrt->bulk); in sandbox_reset_test_deassert_bulk()
71 return reset_release_bulk(&sbrt->bulk); in sandbox_reset_test_release_bulk()
/OK3568_Linux_fs/kernel/drivers/staging/vc04_services/vchiq-mmal/
H A 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 …]
/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Depautoconf.c39 * - ep1-bulk, ep2-bulk, ... address and type are fixed, not direction
40 * - ep1in-bulk, ep2out-iso, ... all three are fixed
43 * Type suffixes are "-bulk", "-iso", or "-int". Numbers are decimal.
72 /* type-restriction: "-iso", "-bulk", or "-int". in ep_matches()
80 /* bulk endpoints handle interrupt transfers, in ep_matches()
93 if ('b' != tmp[1]) /* != "-bulk" */ in ep_matches()
117 /* endpoint maxpacket size is an input parameter, except for bulk in ep_matches()
119 * the usb spec fixes high speed bulk maxpacket at 512 bytes. in ep_matches()
164 /* report (variable) full speed bulk maxpacket */ in ep_matches()
211 * descriptor bEndpointAddress. For bulk endpoints, the wMaxPacket value
[all …]
/OK3568_Linux_fs/kernel/include/linux/usb/
H A 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 …]
H A 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 */
/OK3568_Linux_fs/u-boot/drivers/clk/
H A Dclk-uclass.c108 int clk_get_bulk(struct udevice *dev, struct clk_bulk *bulk) in clk_get_bulk() argument
112 bulk->count = 0; in clk_get_bulk()
118 bulk->clks = devm_kcalloc(dev, count, sizeof(struct clk), GFP_KERNEL); in clk_get_bulk()
119 if (!bulk->clks) in clk_get_bulk()
123 ret = clk_get_by_index(dev, i, &bulk->clks[i]); in clk_get_bulk()
127 ++bulk->count; in clk_get_bulk()
133 err = clk_release_all(bulk->clks, bulk->count); in clk_get_bulk()
394 int clk_enable_bulk(struct clk_bulk *bulk) in clk_enable_bulk() argument
398 for (i = 0; i < bulk->count; i++) { in clk_enable_bulk()
399 ret = clk_enable(&bulk->clks[i]); in clk_enable_bulk()
[all …]
H A Dclk_sandbox_test.c14 struct clk_bulk bulk; member
42 return clk_get_bulk(dev, &sbct->bulk); in sandbox_clk_test_get_bulk()
79 return clk_enable_bulk(&sbct->bulk); in sandbox_clk_test_enable_bulk()
96 return clk_disable_bulk(&sbct->bulk); in sandbox_clk_test_disable_bulk()
117 return clk_release_bulk(&sbct->bulk); in sandbox_clk_test_release_bulk()
/OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb/
H A 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
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/
H A Ddrv_types_usb.h19 #define MAX_ENDPOINT_NUM 9 /* 2 x Bulk-IN + 7 x Bulk-OUT */
21 #define MAX_BULKIN_NUM 2 /*EP4 for Bulk-IN, EP8 for Bulk-IN interrupt or Bulk-INT*/
30 /* Bulk In , Out Pipe information */
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/
H A Ddrv_types_usb.h19 #define MAX_ENDPOINT_NUM 9 /* 2 x Bulk-IN + 7 x Bulk-OUT */
21 #define MAX_BULKIN_NUM 2 /*EP4 for Bulk-IN, EP8 for Bulk-IN interrupt or Bulk-INT*/
30 /* Bulk In , Out Pipe information */
/OK3568_Linux_fs/kernel/Documentation/w1/masters/
H A 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
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A 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).
/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H A Ds3c2410_udc.h45 /* s3c2410 four bidirectional bulk endpoints */
46 "ep1-bulk", "ep2-bulk", "ep3-bulk", "ep4-bulk",
/OK3568_Linux_fs/kernel/drivers/staging/vc04_services/interface/vchiq_arm/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/usb/
H A 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
/OK3568_Linux_fs/kernel/drivers/media/usb/uvc/
H A Duvc_video.c1003 * uvc_video_decode_start is called with URB data at the start of a bulk or
1021 * uvc_video_decode_end is called with header data at the end of a bulk or
1206 * uvc_video_encode_data(). Only bulk transfers are currently supported.
1235 nbytes = min(stream->bulk.max_payload_size - stream->bulk.payload_size, in uvc_video_encode_data()
1421 if (urb->actual_length == 0 && stream->bulk.header_size == 0) in uvc_video_decode_bulk()
1426 stream->bulk.payload_size += len; in uvc_video_decode_bulk()
1431 if (stream->bulk.header_size == 0 && !stream->bulk.skip_payload) { in uvc_video_decode_bulk()
1440 stream->bulk.skip_payload = 1; in uvc_video_decode_bulk()
1442 memcpy(stream->bulk.header, mem, ret); in uvc_video_decode_bulk()
1443 stream->bulk.header_size = ret; in uvc_video_decode_bulk()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf.c30 MODULE_PARM_DESC(isoc, "enable usb isoc xfer (0=bulk, 1=isoc).");
1040 stream->u.bulk.buffersize = 8192; in mxl111sf_stream_config_bulk()
1059 * bulk EP4/BULK/5/8192
1109 * bulk EP6/BULK/5/8192
1151 * bulk EP5/BULK/5/8192/RAW
1193 * bulk EP6/BULK/5/8192 EP4/BULK/5/8192 EP5/BULK/5/8192/RAW
1262 * tp bulk EP6/BULK/5/8192 EP4/BULK/5/8192 EP6/BULK/5/8192/RAW
1264 * spi bulk EP6/BULK/5/8192 EP4/BULK/5/8192 EP5/BULK/5/8192/RAW
1341 * tp bulk EP4/BULK/5/8192 EP6/BULK/5/8192/RAW
1343 * spi bulk EP4/BULK/5/8192 EP5/BULK/5/8192/RAW
/OK3568_Linux_fs/kernel/Documentation/usb/
H A 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
H A 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
/OK3568_Linux_fs/kernel/tools/usb/
H A 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
/OK3568_Linux_fs/kernel/drivers/usb/misc/
H A 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()

12345678910>>...38