Home
last modified time | relevance | path

Searched refs:io_handle (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/libfido2/src/
H A Ddev.c96 if (dev->io_handle != NULL) { in fido_dev_open_tx()
97 fido_log_debug("%s: handle=%p", __func__, dev->io_handle); in fido_dev_open_tx()
116 if ((dev->io_handle = dev->io.open(path)) == NULL) { in fido_dev_open_tx()
125 dev->rx_len = fido_hid_report_in_len(dev->io_handle); in fido_dev_open_tx()
126 dev->tx_len = fido_hid_report_out_len(dev->io_handle); in fido_dev_open_tx()
156 dev->io.close(dev->io_handle); in fido_dev_open_tx()
157 dev->io_handle = NULL; in fido_dev_open_tx()
220 dev->io.close(dev->io_handle); in fido_dev_open_rx()
221 dev->io_handle = NULL; in fido_dev_open_rx()
319 if (dev->io_handle == NULL || dev->io.close == NULL) in fido_dev_close()
[all …]
H A Dnfc.c39 if (d->io.write(d->io_handle, apdu, apdu_len) < 0) { in tx_short_apdu()
45 if (d->io.read(d->io_handle, sw, sizeof(sw), -1) != 2) { in tx_short_apdu()
160 if ((n = d->io.read(d->io_handle, f, sizeof(f), ms)) < 2 || in rx_init()
195 if (d->io.write(d->io_handle, apdu, sizeof(apdu)) < 0) { in tx_get_response()
213 if ((n = d->io.read(d->io_handle, f, sizeof(f), *ms)) < 2) { in rx_apdu()
332 if (d->io_handle != NULL) { in fido_dev_set_nfc()
H A Dio.c42 n = d->io.write(d->io_handle, pkt, len);
172 if (d->io_handle == NULL || d->io.write == NULL || count > UINT16_MAX) { in fido_tx()
191 if (d->rx_len > sizeof(*fp) || (n = d->io.read(d->io_handle, in rx_frame()
322 if (d->io_handle == NULL || d->io.read == NULL || count > UINT16_MAX) { in fido_rx()
H A Dpcsc.c377 if (d->io_handle != NULL) { in fido_dev_set_pcsc()
/freebsd/sys/dev/vmware/vmci/
H A Dvmci_driver.c233 vmci_read_datagrams_from_port(vmci_io_handle io_handle, vmci_io_port dg_in_port, in vmci_read_datagrams_from_port() argument
244 vmci_read_port_bytes(io_handle, dg_in_port, dg_in_buffer, in vmci_read_datagrams_from_port()
305 vmci_read_port_bytes(io_handle, dg_in_port, in vmci_read_datagrams_from_port()
344 vmci_read_port_bytes(io_handle, dg_in_port, in vmci_read_datagrams_from_port()
361 vmci_read_port_bytes(io_handle, dg_in_port, in vmci_read_datagrams_from_port()
H A Dvmci_driver.h39 void vmci_read_datagrams_from_port(vmci_io_handle io_handle,
/freebsd/contrib/libfido2/fuzz/
H A Dfuzz_pcsc.c199 if ((dev.io_handle = fido_pcsc_open(path)) == NULL) in test_tx()
212 fido_pcsc_close(dev.io_handle); in test_tx()
/freebsd/contrib/libfido2/src/fido/
H A Dtypes.h309 void *io_handle; /* abstract i/o handle */
307 void *io_handle; /* abstract i/o handle */ global() member