Home
last modified time | relevance | path

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

12345

/Linux-v5.4/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 …]
/Linux-v5.4/drivers/staging/vc04_services/bcm2835-camera/
Dmmal-vchiq.c141 } bulk; /* bulk data */ member
247 container_of(work, struct mmal_msg_context, u.bulk.work); in buffer_work_cb()
249 atomic_dec(&msg_context->u.bulk.port->buffers_with_vpu); in buffer_work_cb()
251 msg_context->u.bulk.port->buffer_cb(msg_context->u.bulk.instance, in buffer_work_cb()
252 msg_context->u.bulk.port, in buffer_work_cb()
253 msg_context->u.bulk.status, in buffer_work_cb()
254 msg_context->u.bulk.buffer, in buffer_work_cb()
255 msg_context->u.bulk.buffer_used, in buffer_work_cb()
256 msg_context->u.bulk.mmal_flags, in buffer_work_cb()
257 msg_context->u.bulk.dts, in buffer_work_cb()
[all …]
/Linux-v5.4/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-v5.4/drivers/media/usb/uvc/
Duvc_video.c1203 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()
1426 if (!stream->bulk.skip_payload && buf != NULL) in uvc_video_decode_bulk()
1433 stream->bulk.payload_size >= stream->bulk.max_payload_size) { in uvc_video_decode_bulk()
1434 if (!stream->bulk.skip_payload && buf != NULL) { in uvc_video_decode_bulk()
[all …]
/Linux-v5.4/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_2835_arm.c220 vchiq_prepare_bulk_data(struct vchiq_bulk *bulk, void *offset, int size, in vchiq_prepare_bulk_data() argument
233 bulk->data = (void *)(unsigned long)pagelistinfo->dma_addr; in vchiq_prepare_bulk_data()
239 bulk->remote_data = pagelistinfo; in vchiq_prepare_bulk_data()
245 vchiq_complete_bulk(struct vchiq_bulk *bulk) in vchiq_complete_bulk() argument
247 if (bulk && bulk->remote_data && bulk->actual) in vchiq_complete_bulk()
248 free_pagelist((struct vchiq_pagelist_info *)bulk->remote_data, in vchiq_complete_bulk()
249 bulk->actual); in vchiq_complete_bulk()
Dvchiq_core.c1197 struct vchiq_bulk *bulk = in notify_bulks() local
1202 if (bulk->data && service->instance) { in notify_bulks()
1203 if (bulk->actual != VCHIQ_BULK_ACTUAL_ABORTED) { in notify_bulks()
1204 if (bulk->dir == VCHIQ_BULK_TRANSMIT) { in notify_bulks()
1209 bulk->actual); in notify_bulks()
1215 bulk->actual); in notify_bulks()
1221 if (bulk->mode == VCHIQ_BULK_MODE_BLOCKING) { in notify_bulks()
1225 waiter = bulk->userdata; in notify_bulks()
1227 waiter->actual = bulk->actual; in notify_bulks()
1231 } else if (bulk->mode == in notify_bulks()
[all …]
Dvchiq_arm.c459 struct vchiq_bulk *bulk = waiter->bulk_waiter.bulk; in vchiq_blocking_bulk_transfer() local
461 if (bulk) { in vchiq_blocking_bulk_transfer()
463 if ((bulk->data != data) || in vchiq_blocking_bulk_transfer()
464 (bulk->size != size)) { in vchiq_blocking_bulk_transfer()
470 bulk->userdata = NULL; in vchiq_blocking_bulk_transfer()
488 !waiter->bulk_waiter.bulk) { in vchiq_blocking_bulk_transfer()
489 struct vchiq_bulk *bulk = waiter->bulk_waiter.bulk; in vchiq_blocking_bulk_transfer() local
491 if (bulk) { in vchiq_blocking_bulk_transfer()
496 bulk->userdata = NULL; in vchiq_blocking_bulk_transfer()
1100 !waiter->bulk_waiter.bulk) { in vchiq_ioctl()
[all …]
Dvchiq_core.h475 struct vchiq_bulk *bulk; member
584 vchiq_prepare_bulk_data(struct vchiq_bulk *bulk, void *offset, int size,
588 vchiq_complete_bulk(struct vchiq_bulk *bulk);
/Linux-v5.4/drivers/remoteproc/
Dqcom_wcnss.c370 struct regulator_bulk_data *bulk; in wcnss_init_regulators() local
374 bulk = devm_kcalloc(wcnss->dev, in wcnss_init_regulators()
377 if (!bulk) in wcnss_init_regulators()
381 bulk[i].supply = info[i].name; in wcnss_init_regulators()
383 ret = devm_regulator_bulk_get(wcnss->dev, num_vregs, bulk); in wcnss_init_regulators()
389 regulator_set_voltage(bulk[i].consumer, in wcnss_init_regulators()
394 regulator_set_load(bulk[i].consumer, info[i].load_uA); in wcnss_init_regulators()
397 wcnss->vregs = bulk; in wcnss_init_regulators()
/Linux-v5.4/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 = { \
151 } bulk; member
/Linux-v5.4/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.c485 const int junk_len = p->u.bulk.buffersize; in cxusb_d680_dmb_drain_video()
1788 .bulk = {
1840 .bulk = {
1899 .bulk = {
1967 .bulk = {
2026 .bulk = {
2078 .bulk = {
2132 .bulk = {
2189 .bulk = {
2243 .bulk = {
[all …]
Dm920x.c943 .bulk = {
991 .bulk = {
1054 .bulk = {
1078 .bulk = {
1120 .bulk = {
1231 .bulk = {
Dusb-urb.c143 stream->props.u.bulk.buffersize)) < 0) in usb_bulk_urb_init()
158 stream->props.u.bulk.buffersize, in usb_bulk_urb_init()
/Linux-v5.4/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-v5.4/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
/Linux-v5.4/Documentation/ABI/testing/
Dconfigfs-usb-gadget-sourcesink13 bulk_qlen - depth of queue for bulk
/Linux-v5.4/include/drm/ttm/
Dttm_bo_api.h405 struct ttm_lru_bulk_move *bulk);
415 void ttm_bo_bulk_move_lru_tail(struct ttm_lru_bulk_move *bulk);
/Linux-v5.4/drivers/iio/magnetometer/
Dak8974.c196 __le16 bulk; in ak8974_get_u16_val() local
198 ret = regmap_bulk_read(ak8974->map, reg, &bulk, 2); in ak8974_get_u16_val()
201 *val = le16_to_cpu(bulk); in ak8974_get_u16_val()
208 __le16 bulk = cpu_to_le16(val); in ak8974_set_u16_val() local
210 return regmap_bulk_write(ak8974->map, reg, &bulk, 2); in ak8974_set_u16_val()
/Linux-v5.4/Documentation/fb/
Dudlfb.rst15 pixels line-by-line via USB bulk transfers.
17 Because of the efficiency of bulk transfers and a protocol on top that
22 Mode setting, EDID read, etc are other bulk or control transfers. Mode
46 Writes need to be detected and encoded into USB bulk transfers by the CPU.
/Linux-v5.4/drivers/usb/core/
Ddevio.c1173 struct usbdevfs_bulktransfer bulk; in proc_bulk() local
1179 if (copy_from_user(&bulk, arg, sizeof(bulk))) in proc_bulk()
1181 ret = findintfep(ps->dev, bulk.ep); in proc_bulk()
1187 if (bulk.ep & USB_DIR_IN) in proc_bulk()
1188 pipe = usb_rcvbulkpipe(dev, bulk.ep & 0x7f); in proc_bulk()
1190 pipe = usb_sndbulkpipe(dev, bulk.ep & 0x7f); in proc_bulk()
1191 if (!usb_maxpacket(dev, pipe, !(bulk.ep & USB_DIR_IN))) in proc_bulk()
1193 len1 = bulk.len; in proc_bulk()
1204 tmo = bulk.timeout; in proc_bulk()
1205 if (bulk.ep & 0x80) { in proc_bulk()
[all …]

12345