xref: /kernel/linux/linux-5.10/arch/um/drivers/port.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/um/drivers/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2001 Jeff Dike (jdike@karaya.com)
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef __PORT_H__
78c2ecf20Sopenharmony_ci#define __PORT_H__
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciextern void *port_data(int port);
108c2ecf20Sopenharmony_ciextern int port_wait(void *data);
118c2ecf20Sopenharmony_ciextern void port_kern_close(void *d);
128c2ecf20Sopenharmony_ciextern int port_connection(int fd, int *socket_out, int *pid_out);
138c2ecf20Sopenharmony_ciextern int port_listen_fd(int port);
148c2ecf20Sopenharmony_ciextern void port_read(int fd, void *data);
158c2ecf20Sopenharmony_ciextern void port_kern_free(void *d);
168c2ecf20Sopenharmony_ciextern int port_rcv_fd(int fd);
178c2ecf20Sopenharmony_ciextern void port_remove_dev(void *d);
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#endif
208c2ecf20Sopenharmony_ci
21

Indexes created Thu Nov 07 10:32:03 CST 2024