Home
last modified time | relevance | path

Searched refs:tx_fd (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/tools/spi/
Dspidev_test.c336 int tx_fd; in transfer_file() local
343 tx_fd = open(filename, O_RDONLY); in transfer_file()
344 if (tx_fd < 0) in transfer_file()
355 bytes = read(tx_fd, tx, sb.st_size); in transfer_file()
362 close(tx_fd); in transfer_file()
/linux-6.1.9/arch/um/drivers/
Dvector_user.c220 result->tx_fd = -1; in user_init_tap_fds()
239 result->tx_fd = fd; in user_init_tap_fds()
274 result->tx_fd = -1; in user_init_hybrid_fds()
280 result->tx_fd = create_tap_fd(iface); in user_init_hybrid_fds()
281 if (result->tx_fd < 0) { in user_init_hybrid_fds()
282 printk(UM_KERN_ERR "uml_tap: failed to create tun interface: %i\n", result->tx_fd); in user_init_hybrid_fds()
373 result->tx_fd = fd; in user_init_unix_fds()
425 result->tx_fd = fd; in user_init_fd_fds()
462 result->tx_fd = txfd; in user_init_raw_fds()
619 result->tx_fd = fd; in user_init_socket_fds()
Dvector_transports.c403 if (!uml_raw_enable_vnet_headers(vp->fds->tx_fd)) in build_raw_transport_data()
440 if (uml_tap_enable_vnet_headers(vp->fds->tx_fd)) in build_hybrid_transport_data()
448 if (uml_tap_enable_vnet_headers(vp->fds->tx_fd)) { in build_tap_transport_data()
Dvector_user.h65 int tx_fd; member
Dvector_kern.c429 vp->fds->tx_fd, in vector_send()
923 vp->fds->tx_fd, in writev_tx()
1054 if ((vp->fds->rx_fd != vp->fds->tx_fd) && (vp->tx_irq != 0)) in vector_net_start_xmit()
1055 deactivate_fd(vp->fds->tx_fd, vp->tx_irq); in vector_net_start_xmit()
1144 if (vp->fds->tx_fd > 0) { in vector_net_close()
1145 os_close_file(vp->fds->tx_fd); in vector_net_close()
1146 vp->fds->tx_fd = -1; in vector_net_close()
1279 irq_rr + VECTOR_BASE_IRQ, vp->fds->tx_fd, in vector_net_open()