Searched refs:io_handle (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/libfido2/src/ |
H A D | dev.c | 96 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 D | nfc.c | 39 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 D | io.c | 42 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 D | pcsc.c | 377 if (d->io_handle != NULL) { in fido_dev_set_pcsc()
|
/freebsd/sys/dev/vmware/vmci/ |
H A D | vmci_driver.c | 233 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 D | vmci_driver.h | 39 void vmci_read_datagrams_from_port(vmci_io_handle io_handle,
|
/freebsd/contrib/libfido2/fuzz/ |
H A D | fuzz_pcsc.c | 199 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 D | types.h | 309 void *io_handle; /* abstract i/o handle */ 307 void *io_handle; /* abstract i/o handle */ global() member
|