/freebsd/lib/libusb/ |
H A D | libusb20.3 | 2 .\" Copyright (c) 2008-2019 Hans Petter Selasky 39 USB access library (libusb -lusb) 241 .Sh USB TRANSFER OPERATIONS 248 This function returns zero upon success. 250 Non-zero return values indicate a LIBUSB20_ERROR value. 261 and bind the transfer to the specified 280 frames rounded up, when this function returns. 282 for other transfer types. 286 This function returns zero upon success. 288 Non-zero return values indicate a LIBUSB20_ERROR value. [all …]
|
H A D | libusb.3 | 33 .Pq libusb, -lusb 44 This function returns version information about LibUSB. 48 Call this function before any other libusb v1.0 API function, to 52 argument is non-NULL, a pointer to the libusb context is stored at 54 This function returns 0 upon success or LIBUSB_ERROR on failure. 58 Call this function before any other libusb v1.0 API function, to 62 argument is non-NULL, a pointer to the libusb context is stored at 67 This function returns 0 upon success or a LIBUSB_ERROR value on failure. 73 Other libusb routines may not be called after this function. 77 This function checks the runtime capabilities of [all …]
|
H A D | libusb10_io.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 59 if (pollfd->entry.tqe_prev != NULL) in libusb10_add_pollfd() 65 pollfd->pdev = pdev; in libusb10_add_pollfd() 66 pollfd->pollfd.fd = fd; in libusb10_add_pollfd() 67 pollfd->pollfd.events = events; in libusb10_add_pollfd() 70 TAILQ_INSERT_TAIL(&ctx->pollfds, pollfd, entry); in libusb10_add_pollfd() 73 if (ctx->fd_added_cb) in libusb10_add_pollfd() 74 ctx->fd_added_cb(fd, events, ctx->fd_cb_user_data); in libusb10_add_pollfd() 83 if (pollfd->entry.tqe_prev == NULL) in libusb10_remove_pollfd() [all …]
|
H A D | libusb10.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2009-2023 Hans Petter Selasky 97 if (ctx && ctx->debug_fixed == 0) in libusb_set_debug() 98 ctx->debug = level; in libusb_set_debug() 107 * We ignore any failures in this function, hence the in libusb_set_nonblocking() 108 * non-blocking flag is not critical to the operation of in libusb_set_nonblocking() 114 if (flags == -1) in libusb_set_nonblocking() 128 err = eventfd_write(ctx->event, 1); in libusb_interrupt_event_handler() 157 ctx->devd_pipe = -1; in libusb_init_context() [all …]
|
/freebsd/share/man/man9/ |
H A D | usbdi.9 | 119 .Sh USB TRANSFER MANAGEMENT FUNCTIONS 125 All the transfer types are managed using the following five functions: 130 This function will allocate memory for and initialise an array of USB 133 This function can sleep or block waiting for resources to become 141 is a pointer to an array of USB transfer pointers that are initialized 150 "xfer->priv_sc". 152 is the private mutex protecting the transfer structure and the 154 This pointer is used to initialize "xfer->priv_mtx". 155 This function returns zero upon success. 156 A non-zero return value indicates failure. [all …]
|
H A D | uio.9 | 38 .Bd -literal 61 are used to transfer data between buffers and I/O vectors that might 70 system call that is being passed to a character-device driver, the 78 The transfer request is encoded in this structure. 88 .Bl -tag -width ".Va uio_iovcnt" 98 The remaining number of bytes to process, updated after transfer. 101 .Bl -tag -width ".Dv UIO_USERSPACE" 110 The direction of the desired transfer, either 119 indicates that the transfer is to be made from/to a process's address 123 The function [all …]
|
H A D | physio.9 | 46 is a helper function typically called from character device 51 The maximum amount of data to transfer with each call 53 .Fa dev->si_iosize_max . 71 always awaits the completion of the entire requested transfer before 74 A break-down of the arguments follows: 75 .Bl -tag -width indent 79 The description of the entire transfer as requested by the user process. 92 function calling 110 Note that the actual transfer size may be less than requested by 128 call has been completely re-written for providing higher
|
/freebsd/sys/contrib/device-tree/Bindings/iio/pressure/ |
H A D | honeywell,mprls0025pa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andreas Klinger <ak@it-klinger.de> 11 - Petre Rodan <petre.rodan@subdimension.ro> 20 differ in the pressure range, unit and transfer function. 23 as the transfer function. 26 the pressure values can be specified manually via honeywell,pmin-pascal and 27 honeywell,pmax-pascal. 31 The transfer function defines the ranges of numerical values delivered by the [all …]
|
H A D | honeywell,hsc030pa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 18 identical programming model but differ in pressure range, unit and transfer 19 function. 22 as the transfer function. Pressure range can either be provided via 23 pressure-triplet (directly extracted from the part number) or in case it's 26 The transfer function defines the ranges of raw conversion values delivered 27 by the sensor. pmin-pascal and pmax-pascal corespond to the minimum and 30 Please note that in case of an SPI-based sensor, the clock signal should not [all …]
|
/freebsd/sys/dev/usb/ |
H A D | usb_transfer.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2008-2021 Hans Petter Selasky. All rights reserved. 81 /* This transfer is used for generic control endpoint transfers */ 93 /* This transfer is used for generic clear stall only */ 108 /* This transfer is used for generic control endpoint transfers */ 119 /* This transfer is used for generic clear stall only */ 133 /* function prototypes */ 147 /*------------------------------------------------------------------------* 149 *------------------------------------------------------------------------*/ [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ExprEngine.h | 1 //===- ExprEngine.h - Path-Sensitive Expression-Level Dataflow --*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines a meta-engine for path-sensitive dataflow analysis that 10 // is built on CoreEngine, but provides the boilerplate to execute transfer 13 //===----------------------------------------------------------------------===// 99 /// compute the this-region correctly. 109 /// This call is a constructor for a temporary that is lifetime-extended 110 /// by binding it to a reference-type field within an aggregate, 114 /// This call is a pre-C++17 elidable constructor that we failed to elide [all …]
|
/freebsd/lib/libcuse/ |
H A D | cuse.3 | 2 .\" Copyright (c) 2010-2022 Hans Petter Selasky 38 .Bd -literal -offset indent 53 This function initialises 56 This function returns 0 on success or a negative value on failure. 69 This function returns 0 on success or a negative value on failure. 76 This function stores a uniq system unit number at the pointed 78 This function returns 0 on success or a negative value on failure. 85 This function stores a unique system unit number at the pointed 92 This function returns 0 on success or a negative value on failure. 99 This function frees the given allocated system unit number. [all …]
|
/freebsd/sys/dev/nvmf/ |
H A D | nvmf_transport.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2022-2024 Chelsio Communications, Inc. 43 * an error value which is non-zero if the request did not complete 64 * Capsules are either commands (host -> controller) or responses 65 * (controller -> host). A data buffer may be associated with a 84 /* Controller-specific APIs. */ 87 * A controller calls this function to check for any 88 * transport-specific errors (invalid fields) in a received command 95 * A controller calls this function to query the amount of data [all …]
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_usb.c | 1 /*- 2 * Copyright (c) 2007 Luigi Rizzo - Universita` di Pisa. All rights reserved. 100 /*------------------------------------------------------------------------* 102 *------------------------------------------------------------------------*/ 127 /*------------------------------------------------------------------------* 134 *------------------------------------------------------------------------*/ 146 for (; id->match_flags; id++) { in usb_linux_lookup_id() 147 if ((id->match_flags & USB_DEVICE_ID_MATCH_VENDOR) && in usb_linux_lookup_id() 148 (id->idVendor != uaa->info.idVendor)) { in usb_linux_lookup_id() 151 if ((id->match_flags & USB_DEVICE_ID_MATCH_PRODUCT) && in usb_linux_lookup_id() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-context-info-gen3.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2018, 2020-2024 Intel Corporation 8 #include "iwl-context-info.h" 18 /* Set bit for enabling automatic function boot */ 20 /* Set bit for initiating function boo [all...] |
/freebsd/sys/arm/ti/ |
H A D | ti_sdma.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 60 * A DMA transfer block consists of a number of frames (FN). Each frame 90 /* Callback function used when an interrupt is tripped on the given channel */ 133 #define TI_SDMA_LOCK(_sc) mtx_lock_spin(&(_sc)->sc_mtx) 134 #define TI_SDMA_UNLOCK(_sc) mtx_unlock_spin(&(_sc)->sc_mtx) 136 mtx_init(&_sc->sc_mtx, device_get_nameunit(_sc->sc_dev), \ 138 #define TI_SDMA_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx); 139 #define TI_SDMA_ASSERT_LOCKED(_sc) mtx_assert(&_sc->sc_mtx, MA_OWNED); 140 #define TI_SDMA_ASSERT_UNLOCKED(_sc) mtx_assert(&_sc->sc_mtx, MA_NOTOWNED); [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/rmi4/ |
H A D | rmi_spi.txt | 10 - compatible: syna,rmi4-spi 11 - reg: Chip select address for the device 12 - #address-cells: Set to 1 to indicate that the function child nodes 14 - #size-cells: Set to 0 to indicate that the function child nodes do not 18 - interrupts: interrupt which the rmi device is connected to. 19 See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - spi-rx-delay-us: microsecond delay after a read transfer. 22 - spi-tx-delay-us: microsecond delay after a write transfer. 24 Function Parameters: 26 node. Documentation for the parameters of each function can be found in: [all …]
|
/freebsd/contrib/ofed/librdmacm/man/ |
H A D | rsocket.7.in | 1 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md 2 .TH "RSOCKET" 7 "2013-01-21" "librdmacm" "Librdmacm Programmer's Manual" librdmacm 4 rsocket \- RDMA socket API 10 Rsockets is a protocol over RDMA that supports a socket-level API 13 functions match the name and function signature of socket calls, 14 with the exception that all function calls are prefixed with an 'r'. 39 SOL_SOCKET - SO_ERROR, SO_KEEPALIVE (flag supported, but ignored), 42 IPPROTO_TCP - TCP_NODELAY, TCP_MAXSEG 44 IPPROTO_IPV6 - IPV6_V6ONLY 50 This is also known as zero-copy support, since data is sent and [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | OSSL_CMP_MSG_http_perform.pod | 6 - client-side HTTP(S) transfer of a CMP request-response pair 22 On success the function returns the server's response PKIMessage. 24 The function makes use of any HTTP callback function 31 while using a proxy for HTTPS connections requires a suitable callback function 37 HTTP transfer for CMP is defined in RFC 6712. 53 Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved.
|
H A D | OSSL_HTTP_transfer.pod | 13 - HTTP client high-level functions 59 In this case I<rbio> must be NULL as well and the I<server> must be non-NULL. 60 The function creates a network BIO internally using L<BIO_new_connect(3)> 90 while using a proxy for HTTPS connections requires a suitable callback function 99 I<bio_update_fn> is a BIO connect/disconnect callback function with prototype 103 The callback function may modify the BIO provided in the I<bio> argument, 107 callback function is invoked with the I<connect> argument being 1 and 113 The callback function must return either the potentially modified BIO I<bio>. 146 seconds the overall HTTP transfer (i.e., connection setup if needed, 150 OSSL_HTTP_proxy_connect() may be used by an above BIO connect callback function [all …]
|
/freebsd/usr.sbin/rpc.ypxfrd/ |
H A D | rpc.ypxfrd.8 | 36 .Nd "NIS map transfer server" 47 .Bl -bullet -offset indent 51 to inform the slave servers to start a transfer. 56 using the yp_all() function. 88 utility speeds up the transfer process by allowing NIS slave servers to 93 implements an RPC-based file transfer protocol. 95 a multi-megabyte file in this fashion takes only a few seconds compared 103 This means that slave servers will only be permitted to transfer 111 ports will be allowed to transfer the 116 .Bl -tag -width indent [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | TypeErasedDataflowAnalysis.h | 1 //===- TypeErasedDataflowAnalysis.h -----------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines type-erased base types and functions for building dataflow 10 // analyses that run over Control-Flow Graphs (CFGs). 12 //===----------------------------------------------------------------------===// 35 /// Options for the built-in model, or empty to not apply them. 37 // (at which point the built-in transfer functions can be simply a standalone 43 /// Type-erased lattice element container. 48 /// join-semilattice. [all …]
|
/freebsd/sys/dev/rtsx/ |
H A D | rtsx.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 12 * - Lutz Bichler <Lutz.Bichler@gmail.com> 73 /* The softc holds our per-instance data. */ 89 /* function to call if transfer succeed */ 91 /* function to call if transfer fail */ 102 bus_dma_tag_t rtsx_cmd_dma_tag; /* DMA tag for command transfer */ 103 bus_dmamap_t rtsx_cmd_dmamap; /* DMA map for command transfer */ 104 void *rtsx_cmd_dmamem; /* DMA mem for command transfer */ 108 bus_dma_tag_t rtsx_data_dma_tag; /* DMA tag for data transfer */ [all …]
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | ftp_var.h | 55 extern int lineedit; /* use line-editing */ 72 extern char *altarg; /* argv[1] with no shell-like preprocessing */ 77 extern char typename[32]; /* name of file transfer type */ 78 extern int type; /* requested file transfer type */ 79 extern int curtype; /* current file transfer type */ 80 extern char structname[32]; /* name of file transfer structure */ 81 extern int stru; /* file transfer structure */ 82 extern char formname[32]; /* name of file transfer format */ 83 extern int form; /* file transfer format */ 84 extern char modename[32]; /* name of file transfer mode */ [all …]
|
/freebsd/secure/lib/libcrypto/man/man3/ |
H A D | OSSL_HTTP_transfer.3 | 18 .\" Set up some character translations and predefined strings. \*(-- will 24 .tr \(*W- 27 . ds -- \(*W- 29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 37 . ds -- \|\(em\| 71 .\" Fear. Run. Save yourself. No user-serviceable parts. 81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m) 97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" 98 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' [all …]
|