| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_counters.c | 63 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 …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | reset.h | 115 int reset_get_bulk(struct udevice *dev, struct reset_ctl_bulk *bulk); 181 int reset_assert_bulk(struct reset_ctl_bulk *bulk); 208 int reset_deassert_bulk(struct reset_ctl_bulk *bulk); 235 static inline int reset_release_bulk(struct reset_ctl_bulk *bulk) in reset_release_bulk() argument 237 return reset_release_all(bulk->resets, bulk->count); in reset_release_bulk() 247 struct reset_ctl_bulk *bulk) in reset_get_bulk() argument 268 static inline int reset_assert_bulk(struct reset_ctl_bulk *bulk) in reset_assert_bulk() argument 278 static inline int reset_deassert_bulk(struct reset_ctl_bulk *bulk) in reset_deassert_bulk() argument 288 static inline int reset_release_bulk(struct reset_ctl_bulk *bulk) in reset_release_bulk() argument
|
| H A D | clk.h | 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 200 static inline int clk_release_bulk(struct clk_bulk *bulk) in clk_release_bulk() argument 202 return clk_release_all(bulk->clks, bulk->count); in clk_release_bulk() 296 int clk_enable_bulk(struct clk_bulk *bulk); 314 int clk_disable_bulk(struct clk_bulk *bulk);
|
| /OK3568_Linux_fs/u-boot/drivers/reset/ |
| H A D | reset-uclass.c | 84 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 D | sandbox-reset-test.c | 15 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/u-boot/drivers/clk/ |
| H A D | clk-uclass.c | 108 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 D | clk_sandbox_test.c | 14 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/staging/vc04_services/vchiq-mmal/ |
| H A D | mmal-vchiq.c | 149 } 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/uvc/ |
| H A D | uvc_video.c | 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() 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/vc04_services/interface/vchiq_arm/ |
| H A D | vchiq_2835_arm.c | 219 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()
|
| H A D | vchiq_core.c | 1221 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 …]
|
| H A D | vchiq_arm.c | 456 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/w1/masters/ |
| H A D | ds2490.rst | 49 - 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/drivers/remoteproc/ |
| H A D | qcom_wcnss.c | 378 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()
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-driver-w1_therm | 75 * 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/media/usb/dvb-usb-v2/ |
| H A D | usb_urb.c | 155 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()
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/usb/ |
| H A D | bulk-streams.rst | 1 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
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb/ |
| H A D | dtt200u.c | 199 .bulk = { 251 .bulk = { 303 .bulk = { 355 .bulk = {
|
| H A D | dibusb-mb.c | 203 .bulk = { 293 .bulk = { 362 .bulk = { 424 .bulk = {
|
| H A D | cxusb.c | 482 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/core/ |
| H A D | devio.c | 1195 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/usb/ |
| H A D | ehci.rst | 58 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
|
| H A D | mass-storage.rst | 15 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
|
| /OK3568_Linux_fs/kernel/include/drm/ttm/ |
| H A D | ttm_bo_api.h | 315 struct ttm_lru_bulk_move *bulk); 325 void ttm_bo_bulk_move_lru_tail(struct ttm_lru_bulk_move *bulk);
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo.c | 161 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()
|