Home
last modified time | relevance | path

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

123456

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c65 struct mlx5_fc_bulk *bulk; member
230 if (counter->bulk) in mlx5_fc_release()
535 static void mlx5_fc_init(struct mlx5_fc *counter, struct mlx5_fc_bulk *bulk, in mlx5_fc_init() argument
538 counter->bulk = bulk; in mlx5_fc_init()
542 static int mlx5_fc_bulk_get_free_fcs_amount(struct mlx5_fc_bulk *bulk) in mlx5_fc_bulk_get_free_fcs_amount() argument
544 return bitmap_weight(bulk->bitmask, bulk->bulk_len); in mlx5_fc_bulk_get_free_fcs_amount()
550 struct mlx5_fc_bulk *bulk; in mlx5_fc_bulk_create() local
559 bulk = kvzalloc(struct_size(bulk, fcs, bulk_len), GFP_KERNEL); in mlx5_fc_bulk_create()
560 if (!bulk) in mlx5_fc_bulk_create()
563 bulk->bitmask = kvcalloc(BITS_TO_LONGS(bulk_len), sizeof(unsigned long), in mlx5_fc_bulk_create()
[all …]
/Linux-v6.1/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.1/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.1/drivers/gpu/drm/msm/
Dmsm_io_utils.c16 struct clk *msm_clk_bulk_get_clock(struct clk_bulk_data *bulk, int count, in msm_clk_bulk_get_clock() argument
24 for (i = 0; bulk && i < count; i++) { in msm_clk_bulk_get_clock()
25 if (!strcmp(bulk[i].id, name) || !strcmp(bulk[i].id, n)) in msm_clk_bulk_get_clock()
26 return bulk[i].clk; in msm_clk_bulk_get_clock()
Dmsm_mdss.c280 struct clk_bulk_data *bulk; in mdp5_mdss_parse_clock() local
287 bulk = devm_kcalloc(&pdev->dev, MDP5_MDSS_NUM_CLOCKS, sizeof(struct clk_bulk_data), GFP_KERNEL); in mdp5_mdss_parse_clock()
288 if (!bulk) in mdp5_mdss_parse_clock()
291 bulk[num_clocks++].id = "iface"; in mdp5_mdss_parse_clock()
292 bulk[num_clocks++].id = "bus"; in mdp5_mdss_parse_clock()
293 bulk[num_clocks++].id = "vsync"; in mdp5_mdss_parse_clock()
295 ret = devm_clk_bulk_get_optional(&pdev->dev, num_clocks, bulk); in mdp5_mdss_parse_clock()
299 *clocks = bulk; in mdp5_mdss_parse_clock()
/Linux-v6.1/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.1/drivers/gpu/drm/ttm/
Dttm_resource.c38 void ttm_lru_bulk_move_init(struct ttm_lru_bulk_move *bulk) in ttm_lru_bulk_move_init() argument
40 memset(bulk, 0, sizeof(*bulk)); in ttm_lru_bulk_move_init()
52 void ttm_lru_bulk_move_tail(struct ttm_lru_bulk_move *bulk) in ttm_lru_bulk_move_tail() argument
58 struct ttm_lru_bulk_move_pos *pos = &bulk->pos[i][j]; in ttm_lru_bulk_move_tail()
78 ttm_lru_bulk_move_pos(struct ttm_lru_bulk_move *bulk, struct ttm_resource *res) in ttm_lru_bulk_move_pos() argument
80 return &bulk->pos[res->mem_type][res->bo->priority]; in ttm_lru_bulk_move_pos()
94 static void ttm_lru_bulk_move_add(struct ttm_lru_bulk_move *bulk, in ttm_lru_bulk_move_add() argument
97 struct ttm_lru_bulk_move_pos *pos = ttm_lru_bulk_move_pos(bulk, res); in ttm_lru_bulk_move_add()
108 static void ttm_lru_bulk_move_del(struct ttm_lru_bulk_move *bulk, in ttm_lru_bulk_move_del() argument
111 struct ttm_lru_bulk_move_pos *pos = ttm_lru_bulk_move_pos(bulk, res); in ttm_lru_bulk_move_del()
/Linux-v6.1/drivers/media/usb/uvc/
Duvc_video.c1279 nbytes = min(stream->bulk.max_payload_size - stream->bulk.payload_size, in uvc_video_encode_data()
1466 if (urb->actual_length == 0 && stream->bulk.header_size == 0) in uvc_video_decode_bulk()
1471 stream->bulk.payload_size += len; in uvc_video_decode_bulk()
1477 if (stream->bulk.header_size == 0 && !stream->bulk.skip_payload) { in uvc_video_decode_bulk()
1486 stream->bulk.skip_payload = 1; in uvc_video_decode_bulk()
1488 memcpy(stream->bulk.header, mem, ret); in uvc_video_decode_bulk()
1489 stream->bulk.header_size = ret; in uvc_video_decode_bulk()
1505 if (!stream->bulk.skip_payload && buf != NULL) in uvc_video_decode_bulk()
1513 stream->bulk.payload_size >= stream->bulk.max_payload_size) { in uvc_video_decode_bulk()
1514 if (!stream->bulk.skip_payload && buf != NULL) { in uvc_video_decode_bulk()
[all …]
/Linux-v6.1/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c1286 get_bulk_reason(struct vchiq_bulk *bulk) in get_bulk_reason() argument
1288 if (bulk->dir == VCHIQ_BULK_TRANSMIT) { in get_bulk_reason()
1289 if (bulk->actual == VCHIQ_BULK_ACTUAL_ABORTED) in get_bulk_reason()
1295 if (bulk->actual == VCHIQ_BULK_ACTUAL_ABORTED) in get_bulk_reason()
1315 struct vchiq_bulk *bulk = in notify_bulks() local
1322 if (bulk->data && service->instance) { in notify_bulks()
1323 if (bulk->actual != VCHIQ_BULK_ACTUAL_ABORTED) { in notify_bulks()
1324 if (bulk->dir == VCHIQ_BULK_TRANSMIT) { in notify_bulks()
1327 bulk->actual); in notify_bulks()
1331 bulk->actual); in notify_bulks()
[all …]
Dvchiq_arm.c620 vchiq_prepare_bulk_data(struct vchiq_instance *instance, struct vchiq_bulk *bulk, void *offset, in vchiq_prepare_bulk_data() argument
633 bulk->data = pagelistinfo->dma_addr; in vchiq_prepare_bulk_data()
639 bulk->remote_data = pagelistinfo; in vchiq_prepare_bulk_data()
645 vchiq_complete_bulk(struct vchiq_instance *instance, struct vchiq_bulk *bulk) in vchiq_complete_bulk() argument
647 if (bulk && bulk->remote_data && bulk->actual) in vchiq_complete_bulk()
648 free_pagelist(instance, (struct vchiq_pagelist_info *)bulk->remote_data, in vchiq_complete_bulk()
649 bulk->actual); in vchiq_complete_bulk()
938 struct vchiq_bulk *bulk = waiter->bulk_waiter.bulk; in vchiq_blocking_bulk_transfer() local
940 if (bulk) { in vchiq_blocking_bulk_transfer()
943 if ((bulk->data != (dma_addr_t)(uintptr_t)data) || (bulk->size != size)) { in vchiq_blocking_bulk_transfer()
[all …]
Dvchiq_core.h429 struct vchiq_bulk *bulk; member
546 int vchiq_prepare_bulk_data(struct vchiq_instance *instance, struct vchiq_bulk *bulk, void *offset,
549 void vchiq_complete_bulk(struct vchiq_instance *instance, struct vchiq_bulk *bulk);
/Linux-v6.1/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.1/drivers/remoteproc/
Dqcom_wcnss.c420 struct regulator_bulk_data *bulk; in wcnss_init_regulators() local
434 bulk = devm_kcalloc(wcnss->dev, in wcnss_init_regulators()
437 if (!bulk) in wcnss_init_regulators()
441 bulk[i].supply = info[i].name; in wcnss_init_regulators()
443 ret = devm_regulator_bulk_get(wcnss->dev, num_vregs, bulk); in wcnss_init_regulators()
449 regulator_set_voltage(bulk[i].consumer, in wcnss_init_regulators()
454 regulator_set_load(bulk[i].consumer, info[i].load_uA); in wcnss_init_regulators()
457 wcnss->vregs = bulk; in wcnss_init_regulators()
/Linux-v6.1/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 = { \
155 } bulk; member
/Linux-v6.1/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.1/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.1/drivers/interconnect/
DMakefile4 icc-core-objs := core.o bulk.o
/Linux-v6.1/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.1/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.1/drivers/usb/core/
Ddevio.c1272 struct usbdevfs_bulktransfer *bulk) in do_proc_bulk() argument
1281 ret = findintfep(ps->dev, bulk->ep); in do_proc_bulk()
1288 len1 = bulk->len; in do_proc_bulk()
1292 if (bulk->ep & USB_DIR_IN) in do_proc_bulk()
1293 pipe = usb_rcvbulkpipe(dev, bulk->ep & 0x7f); in do_proc_bulk()
1295 pipe = usb_sndbulkpipe(dev, bulk->ep & 0x7f); in do_proc_bulk()
1324 tmo = bulk->timeout; in do_proc_bulk()
1325 if (bulk->ep & 0x80) { in do_proc_bulk()
1334 if (copy_to_user(bulk->data, tbuf, len2)) { in do_proc_bulk()
1341 if (copy_from_user(tbuf, bulk->data, len1)) { in do_proc_bulk()
[all …]

123456