Home
last modified time | relevance | path

Searched refs:bulk (Results 1 – 25 of 128) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c63 struct mlx5_fc_bulk *bulk; member
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
500 bulk = kzalloc(sizeof(*bulk) + bulk_len * sizeof(struct mlx5_fc), in mlx5_fc_bulk_create()
502 if (!bulk) in mlx5_fc_bulk_create()
505 bulk->bitmask = kcalloc(BITS_TO_LONGS(bulk_len), sizeof(unsigned long), in mlx5_fc_bulk_create()
[all …]
/kernel/linux/linux-5.10/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-vchiq.c149 } bulk; /* bulk data */ member
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()
270 atomic_dec(&msg_context->u.bulk.port->buffers_with_vpu); in buffer_work_cb()
272 msg_context->u.bulk.port->buffer_cb(msg_context->u.bulk.instance, in buffer_work_cb()
273 msg_context->u.bulk.port, in buffer_work_cb()
[all …]
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
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.c1221 struct vchiq_bulk *bulk = in notify_bulks() local
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()
1251 waiter->actual = bulk->actual; in notify_bulks()
1255 } else if (bulk->mode == in notify_bulks()
[all …]
Dvchiq_arm.c456 struct vchiq_bulk *bulk = waiter->bulk_waiter.bulk; in vchiq_blocking_bulk_transfer() local
458 if (bulk) { in vchiq_blocking_bulk_transfer()
461 if ((bulk->data != (dma_addr_t)(uintptr_t)data) || in vchiq_blocking_bulk_transfer()
462 (bulk->size != size)) { in vchiq_blocking_bulk_transfer()
468 bulk->userdata = NULL; in vchiq_blocking_bulk_transfer()
485 !waiter->bulk_waiter.bulk) { in vchiq_blocking_bulk_transfer()
486 struct vchiq_bulk *bulk = waiter->bulk_waiter.bulk; in vchiq_blocking_bulk_transfer() local
488 if (bulk) { in vchiq_blocking_bulk_transfer()
493 bulk->userdata = NULL; in vchiq_blocking_bulk_transfer()
1015 !waiter->bulk_waiter.bulk) { in vchiq_irq_queue_bulk_tx_rx()
[all …]
/kernel/linux/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
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_video.c1235 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()
1458 if (!stream->bulk.skip_payload && buf != NULL) in uvc_video_decode_bulk()
1465 stream->bulk.payload_size >= stream->bulk.max_payload_size) { in uvc_video_decode_bulk()
1466 if (!stream->bulk.skip_payload && buf != NULL) { in uvc_video_decode_bulk()
[all …]
/kernel/linux/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).
Dconfigfs-usb-gadget-sourcesink14 bulk_qlen depth of queue for bulk
/kernel/linux/linux-5.10/drivers/remoteproc/
Dqcom_wcnss.c378 struct regulator_bulk_data *bulk; in wcnss_init_regulators() local
382 bulk = devm_kcalloc(wcnss->dev, in wcnss_init_regulators()
385 if (!bulk) in wcnss_init_regulators()
389 bulk[i].supply = info[i].name; in wcnss_init_regulators()
391 ret = devm_regulator_bulk_get(wcnss->dev, num_vregs, bulk); in wcnss_init_regulators()
397 regulator_set_voltage(bulk[i].consumer, in wcnss_init_regulators()
402 regulator_set_load(bulk[i].consumer, info[i].load_uA); in wcnss_init_regulators()
405 wcnss->vregs = bulk; in wcnss_init_regulators()
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
Dusb_urb.c155 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()
Ddvb_usb.h70 .bulk = { \
153 } bulk; member
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dbulk-streams.rst1 USB bulk streams
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
Dindex.rst10 bulk-streams
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Ddtt200u.c199 .bulk = {
251 .bulk = {
303 .bulk = {
355 .bulk = {
Ddibusb-mb.c203 .bulk = {
293 .bulk = {
362 .bulk = {
424 .bulk = {
Dcxusb.c482 const int junk_len = p->u.bulk.buffersize; in cxusb_d680_dmb_drain_video()
1786 .bulk = {
1838 .bulk = {
1897 .bulk = {
1965 .bulk = {
2024 .bulk = {
2076 .bulk = {
2130 .bulk = {
2187 .bulk = {
2241 .bulk = {
[all …]
Dm920x.c953 .bulk = {
1001 .bulk = {
1064 .bulk = {
1088 .bulk = {
1130 .bulk = {
1241 .bulk = {
/kernel/linux/linux-5.10/drivers/usb/core/
Ddevio.c1195 struct usbdevfs_bulktransfer *bulk) in do_proc_bulk() argument
1203 ret = findintfep(ps->dev, bulk->ep); in do_proc_bulk()
1209 if (bulk->ep & USB_DIR_IN) in do_proc_bulk()
1210 pipe = usb_rcvbulkpipe(dev, bulk->ep & 0x7f); in do_proc_bulk()
1212 pipe = usb_sndbulkpipe(dev, bulk->ep & 0x7f); in do_proc_bulk()
1213 if (!usb_maxpacket(dev, pipe, !(bulk->ep & USB_DIR_IN))) in do_proc_bulk()
1215 len1 = bulk->len; in do_proc_bulk()
1231 tmo = bulk->timeout; in do_proc_bulk()
1232 if (bulk->ep & 0x80) { in do_proc_bulk()
1241 if (copy_to_user(bulk->data, tbuf, len2)) { in do_proc_bulk()
[all …]
/kernel/linux/linux-5.10/drivers/interconnect/
DMakefile4 icc-core-objs := core.o bulk.o
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_bo_api.h315 struct ttm_lru_bulk_move *bulk);
325 void ttm_bo_bulk_move_lru_tail(struct ttm_lru_bulk_move *bulk);
/kernel/linux/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
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
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
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_bo.c161 struct ttm_lru_bulk_move *bulk) in ttm_bo_move_to_lru_tail() argument
168 if (bulk && !(bo->mem.placement & TTM_PL_FLAG_NO_EVICT)) { in ttm_bo_move_to_lru_tail()
171 ttm_bo_bulk_move_set_pos(&bulk->tt[bo->priority], bo); in ttm_bo_move_to_lru_tail()
175 ttm_bo_bulk_move_set_pos(&bulk->vram[bo->priority], bo); in ttm_bo_move_to_lru_tail()
180 ttm_bo_bulk_move_set_pos(&bulk->swap[bo->priority], bo); in ttm_bo_move_to_lru_tail()
185 void ttm_bo_bulk_move_lru_tail(struct ttm_lru_bulk_move *bulk) in ttm_bo_bulk_move_lru_tail() argument
190 struct ttm_lru_bulk_move_pos *pos = &bulk->tt[i]; in ttm_bo_bulk_move_lru_tail()
205 struct ttm_lru_bulk_move_pos *pos = &bulk->vram[i]; in ttm_bo_bulk_move_lru_tail()
220 struct ttm_lru_bulk_move_pos *pos = &bulk->swap[i]; in ttm_bo_bulk_move_lru_tail()
/kernel/linux/linux-5.10/Documentation/w1/slaves/
Dw1_therm.rst41 A bulk read of all devices on the bus could be done writing ``trigger``
47 ``therm_bulk_read`` will return 0 if no bulk conversion pending,
51 may return empty if conversion is still in progress. Note that if a bulk
54 time of issue of the bulk read command (not the current temperature).

123456