Home
last modified time | relevance | path

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

/openbmc/linux/tools/spi/
H A Dspidev_test.c357 int tx_fd; in transfer_file() local
364 tx_fd = open(filename, O_RDONLY); in transfer_file()
365 if (tx_fd < 0) in transfer_file()
376 bytes = read(tx_fd, tx, sb.st_size); in transfer_file()
383 close(tx_fd); in transfer_file()
/openbmc/linux/arch/um/drivers/
H A 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()
H A Dvector_user.h65 int tx_fd; member
H A 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()
H A Dvector_kern.c429 vp->fds->tx_fd, in vector_send()
924 vp->fds->tx_fd, in writev_tx()
1055 if ((vp->fds->rx_fd != vp->fds->tx_fd) && (vp->tx_irq != 0)) in vector_net_start_xmit()
1056 deactivate_fd(vp->fds->tx_fd, vp->tx_irq); in vector_net_start_xmit()
1145 if (vp->fds->tx_fd > 0) { in vector_net_close()
1146 os_close_file(vp->fds->tx_fd); in vector_net_close()
1147 vp->fds->tx_fd = -1; in vector_net_close()
1280 irq_rr + VECTOR_BASE_IRQ, vp->fds->tx_fd, in vector_net_open()