Home
last modified time | relevance | path

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

123456

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dcrypto.c20 #define MLX5_CRYPTO_DEK_BULK_CALC_FREED(bulk) MLX5_CRYPTO_DEK_CALC_FREED(bulk) argument
22 #define MLX5_CRYPTO_DEK_BULK_IDLE(bulk) \ argument
23 ({ typeof(bulk) _bulk = (bulk); \
80 struct mlx5_crypto_dek_bulk *bulk; member
292 struct mlx5_crypto_dek_bulk *bulk; in mlx5_crypto_dek_bulk_create() local
296 bulk = kzalloc(sizeof(*bulk), GFP_KERNEL); in mlx5_crypto_dek_bulk_create()
297 if (!bulk) in mlx5_crypto_dek_bulk_create()
301 bulk->need_sync = bitmap_zalloc(num_deks, GFP_KERNEL); in mlx5_crypto_dek_bulk_create()
302 if (!bulk->need_sync) { in mlx5_crypto_dek_bulk_create()
307 bulk->in_use = bitmap_zalloc(num_deks, GFP_KERNEL); in mlx5_crypto_dek_bulk_create()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c65 struct mlx5_fc_bulk *bulk; member
230 if (counter->bulk) in mlx5_fc_release()
545 static void mlx5_fc_init(struct mlx5_fc *counter, struct mlx5_fc_bulk *bulk, in mlx5_fc_init() argument
548 counter->bulk = bulk; in mlx5_fc_init()
552 static int mlx5_fc_bulk_get_free_fcs_amount(struct mlx5_fc_bulk *bulk) in mlx5_fc_bulk_get_free_fcs_amount() argument
554 return bitmap_weight(bulk->bitmask, bulk->bulk_len); in mlx5_fc_bulk_get_free_fcs_amount()
560 struct mlx5_fc_bulk *bulk; in mlx5_fc_bulk_create() local
569 bulk = kvzalloc(struct_size(bulk, fcs, bulk_len), GFP_KERNEL); in mlx5_fc_bulk_create()
570 if (!bulk) in mlx5_fc_bulk_create()
573 bulk->bitmask = kvcalloc(BITS_TO_LONGS(bulk_len), sizeof(unsigned long), in mlx5_fc_bulk_create()
[all …]
/Linux-v6.6/drivers/staging/vc04_services/interface/
DTESTING49 Testing bulk transfer for alignment.
50 Testing bulk transfer at PAGE_SIZE.
61 vchi bulk (size 0, 0 async, 0 oneway) -> 546.000000us
62 vchi bulk (size 0, 0 oneway) -> 230.000000us
65 vchi bulk (size 0, 0 async, 0 oneway) -> 296.000000us
66 vchi bulk (size 0, 0 oneway) -> 266.000000us
68 vchi bulk (size 0, 0 oneway) -> 456.000000us
70 vchi bulk (size 0, 0 oneway) -> 640.000000us
72 vchi bulk (size 0, 0 oneway) -> 2309.000000us
78 vchi bulk (size 0, 0 oneway) -> nanus
/Linux-v6.6/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-vchiq.c149 } bulk; /* bulk data */ member
253 container_of(work, struct mmal_msg_context, u.bulk.work); in buffer_work_cb()
254 struct mmal_buffer *buffer = msg_context->u.bulk.buffer; in buffer_work_cb()
262 buffer->length = msg_context->u.bulk.buffer_used; in buffer_work_cb()
263 buffer->mmal_flags = msg_context->u.bulk.mmal_flags; in buffer_work_cb()
264 buffer->dts = msg_context->u.bulk.dts; in buffer_work_cb()
265 buffer->pts = msg_context->u.bulk.pts; in buffer_work_cb()
267 atomic_dec(&msg_context->u.bulk.port->buffers_with_vpu); in buffer_work_cb()
269 msg_context->u.bulk.port->buffer_cb(msg_context->u.bulk.instance, in buffer_work_cb()
270 msg_context->u.bulk.port, in buffer_work_cb()
[all …]
/Linux-v6.6/drivers/gpu/drm/msm/
Dmsm_io_utils.c17 struct clk *msm_clk_bulk_get_clock(struct clk_bulk_data *bulk, int count, in msm_clk_bulk_get_clock() argument
25 for (i = 0; bulk && i < count; i++) { in msm_clk_bulk_get_clock()
26 if (!strcmp(bulk[i].id, name) || !strcmp(bulk[i].id, n)) in msm_clk_bulk_get_clock()
27 return bulk[i].clk; in msm_clk_bulk_get_clock()
Dmsm_mdss.c349 struct clk_bulk_data *bulk; in mdp5_mdss_parse_clock() local
356 bulk = devm_kcalloc(&pdev->dev, MDP5_MDSS_NUM_CLOCKS, sizeof(struct clk_bulk_data), GFP_KERNEL); in mdp5_mdss_parse_clock()
357 if (!bulk) in mdp5_mdss_parse_clock()
360 bulk[num_clocks++].id = "iface"; in mdp5_mdss_parse_clock()
361 bulk[num_clocks++].id = "bus"; in mdp5_mdss_parse_clock()
362 bulk[num_clocks++].id = "vsync"; in mdp5_mdss_parse_clock()
364 ret = devm_clk_bulk_get_optional(&pdev->dev, num_clocks, bulk); in mdp5_mdss_parse_clock()
368 *clocks = bulk; in mdp5_mdss_parse_clock()
/Linux-v6.6/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-v6.6/drivers/gpu/drm/ttm/
Dttm_resource.c39 void ttm_lru_bulk_move_init(struct ttm_lru_bulk_move *bulk) in ttm_lru_bulk_move_init() argument
41 memset(bulk, 0, sizeof(*bulk)); in ttm_lru_bulk_move_init()
53 void ttm_lru_bulk_move_tail(struct ttm_lru_bulk_move *bulk) in ttm_lru_bulk_move_tail() argument
59 struct ttm_lru_bulk_move_pos *pos = &bulk->pos[i][j]; in ttm_lru_bulk_move_tail()
79 ttm_lru_bulk_move_pos(struct ttm_lru_bulk_move *bulk, struct ttm_resource *res) in ttm_lru_bulk_move_pos() argument
81 return &bulk->pos[res->mem_type][res->bo->priority]; in ttm_lru_bulk_move_pos()
97 static void ttm_lru_bulk_move_add(struct ttm_lru_bulk_move *bulk, in ttm_lru_bulk_move_add() argument
100 struct ttm_lru_bulk_move_pos *pos = ttm_lru_bulk_move_pos(bulk, res); in ttm_lru_bulk_move_add()
111 static void ttm_lru_bulk_move_del(struct ttm_lru_bulk_move *bulk, in ttm_lru_bulk_move_del() argument
114 struct ttm_lru_bulk_move_pos *pos = ttm_lru_bulk_move_pos(bulk, res); in ttm_lru_bulk_move_del()
/Linux-v6.6/drivers/media/usb/uvc/
Duvc_video.c1283 nbytes = min(stream->bulk.max_payload_size - stream->bulk.payload_size, in uvc_video_encode_data()
1472 if (urb->actual_length == 0 && stream->bulk.header_size == 0) in uvc_video_decode_bulk()
1477 stream->bulk.payload_size += len; in uvc_video_decode_bulk()
1483 if (stream->bulk.header_size == 0 && !stream->bulk.skip_payload) { in uvc_video_decode_bulk()
1492 stream->bulk.skip_payload = 1; in uvc_video_decode_bulk()
1494 memcpy(stream->bulk.header, mem, ret); in uvc_video_decode_bulk()
1495 stream->bulk.header_size = ret; in uvc_video_decode_bulk()
1511 if (!stream->bulk.skip_payload && buf != NULL) in uvc_video_decode_bulk()
1519 stream->bulk.payload_size >= stream->bulk.max_payload_size) { in uvc_video_decode_bulk()
1520 if (!stream->bulk.skip_payload && buf != NULL) { in uvc_video_decode_bulk()
[all …]
/Linux-v6.6/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c1296 get_bulk_reason(struct vchiq_bulk *bulk) in get_bulk_reason() argument
1298 if (bulk->dir == VCHIQ_BULK_TRANSMIT) { in get_bulk_reason()
1299 if (bulk->actual == VCHIQ_BULK_ACTUAL_ABORTED) in get_bulk_reason()
1305 if (bulk->actual == VCHIQ_BULK_ACTUAL_ABORTED) in get_bulk_reason()
1325 struct vchiq_bulk *bulk = in notify_bulks() local
1332 if (bulk->data && service->instance) { in notify_bulks()
1333 if (bulk->actual != VCHIQ_BULK_ACTUAL_ABORTED) { in notify_bulks()
1334 if (bulk->dir == VCHIQ_BULK_TRANSMIT) { in notify_bulks()
1337 bulk->actual); in notify_bulks()
1341 bulk->actual); in notify_bulks()
[all …]
Dvchiq_arm.c626 vchiq_prepare_bulk_data(struct vchiq_instance *instance, struct vchiq_bulk *bulk, void *offset, in vchiq_prepare_bulk_data() argument
639 bulk->data = pagelistinfo->dma_addr; in vchiq_prepare_bulk_data()
645 bulk->remote_data = pagelistinfo; in vchiq_prepare_bulk_data()
651 vchiq_complete_bulk(struct vchiq_instance *instance, struct vchiq_bulk *bulk) in vchiq_complete_bulk() argument
653 if (bulk && bulk->remote_data && bulk->actual) in vchiq_complete_bulk()
654 free_pagelist(instance, (struct vchiq_pagelist_info *)bulk->remote_data, in vchiq_complete_bulk()
655 bulk->actual); in vchiq_complete_bulk()
944 struct vchiq_bulk *bulk = waiter->bulk_waiter.bulk; in vchiq_blocking_bulk_transfer() local
946 if (bulk) { in vchiq_blocking_bulk_transfer()
949 if ((bulk->data != (dma_addr_t)(uintptr_t)data) || (bulk->size != size)) { in vchiq_blocking_bulk_transfer()
[all …]
Dvchiq_core.h447 struct vchiq_bulk *bulk; member
564 int vchiq_prepare_bulk_data(struct vchiq_instance *instance, struct vchiq_bulk *bulk, void *offset,
567 void vchiq_complete_bulk(struct vchiq_instance *instance, struct vchiq_bulk *bulk);
/Linux-v6.6/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
/Linux-v6.6/drivers/remoteproc/
Dqcom_wcnss.c431 struct regulator_bulk_data *bulk; in wcnss_init_regulators() local
445 bulk = devm_kcalloc(wcnss->dev, in wcnss_init_regulators()
448 if (!bulk) in wcnss_init_regulators()
452 bulk[i].supply = info[i].name; in wcnss_init_regulators()
454 ret = devm_regulator_bulk_get(wcnss->dev, num_vregs, bulk); in wcnss_init_regulators()
460 regulator_set_voltage(bulk[i].consumer, in wcnss_init_regulators()
465 regulator_set_load(bulk[i].consumer, info[i].load_uA); in wcnss_init_regulators()
468 wcnss->vregs = bulk; in wcnss_init_regulators()
/Linux-v6.6/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()
/Linux-v6.6/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
/Linux-v6.6/drivers/media/usb/dvb-usb/
Ddtt200u.c213 .bulk = {
265 .bulk = {
317 .bulk = {
369 .bulk = {
Ddibusb-mb.c224 .bulk = {
314 .bulk = {
383 .bulk = {
445 .bulk = {
Dcxusb.c482 const int junk_len = p->u.bulk.buffersize; in cxusb_d680_dmb_drain_video()
1744 .bulk = {
1796 .bulk = {
1855 .bulk = {
1923 .bulk = {
1982 .bulk = {
2034 .bulk = {
2088 .bulk = {
2145 .bulk = {
2199 .bulk = {
[all …]
/Linux-v6.6/include/drm/ttm/
Dttm_resource.h345 void ttm_lru_bulk_move_init(struct ttm_lru_bulk_move *bulk);
346 void ttm_lru_bulk_move_tail(struct ttm_lru_bulk_move *bulk);
/Linux-v6.6/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
/Linux-v6.6/drivers/interconnect/
DMakefile4 icc-core-objs := core.o bulk.o debugfs-client.o
/Linux-v6.6/drivers/usb/core/
Ddevio.c1281 struct usbdevfs_bulktransfer *bulk) in do_proc_bulk() argument
1290 ret = findintfep(ps->dev, bulk->ep); in do_proc_bulk()
1297 len1 = bulk->len; in do_proc_bulk()
1301 if (bulk->ep & USB_DIR_IN) in do_proc_bulk()
1302 pipe = usb_rcvbulkpipe(dev, bulk->ep & 0x7f); in do_proc_bulk()
1304 pipe = usb_sndbulkpipe(dev, bulk->ep & 0x7f); in do_proc_bulk()
1333 tmo = bulk->timeout; in do_proc_bulk()
1334 if (bulk->ep & 0x80) { in do_proc_bulk()
1343 if (copy_to_user(bulk->data, tbuf, len2)) { in do_proc_bulk()
1350 if (copy_from_user(tbuf, bulk->data, len1)) { in do_proc_bulk()
[all …]

123456