Home
last modified time | relevance | path

Searched refs:port (Results 1 – 25 of 46) sorted by relevance

12

/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DTcpStream.cpp50 int TcpStream::listen(unsigned short port) in listen() argument
52 m_sock = socket_loopback_server(port, SOCK_STREAM); in listen()
81 int TcpStream::connect(unsigned short port) in connect() argument
83 return connect("127.0.0.1",port); in connect()
86 int TcpStream::connect(const char* hostname, unsigned short port) in connect() argument
88 m_sock = socket_network_client(hostname, port, SOCK_STREAM); in connect()
DTcpStream.h24 virtual int listen(unsigned short port);
26 virtual int connect(unsigned short port);
27 int connect(const char* hostname, unsigned short port);
DSocketStream.h29 virtual int listen(unsigned short port) = 0;
31 virtual int connect(unsigned short port) = 0;
/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dusart.c85 void usartOpen(struct usart* __restrict usart, UsartPort port, in usartOpen() argument
95 struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit = --port]; in usartOpen()
101 gpioConfigAlt(usart->rx, GPIO_SPEED_LOW, GPIO_PULL_UP, GPIO_OUT_PUSH_PULL, mUsartAlt[port]); in usartOpen()
103 gpioConfigAlt(usart->tx, GPIO_SPEED_LOW, GPIO_PULL_UP, GPIO_OUT_PUSH_PULL, mUsartAlt[port]); in usartOpen()
106 pwrUnitClock(mUsartBusses[port], mUsartPeriphs[port], true); in usartOpen()
109 if (!mUsartHasFlowControl[port]) in usartOpen()
118 baseClk = pwrGetBusSpeed(mUsartBusses[port]); in usartOpen()
/device/google/dragon/audio/hal/
Dcras_dsp_pipeline.c169 struct port *port; in find_origin_port() local
175 port = ARRAY_ELEMENT(&plugin->ports, index); in find_origin_port()
176 type = port->type; in find_origin_port()
177 flow_id = port->flow_id; in find_origin_port()
200 FOR_ARRAY_ELEMENT(&plugin->ports, i, port) { in find_origin_port()
205 if (port->direction == PORT_OUTPUT && port->type == type) in find_origin_port()
212 FOR_ARRAY_ELEMENT(&plugin->ports, i, port) { in find_origin_port()
213 if (port->direction == PORT_INPUT && port->type == type) { in find_origin_port()
281 struct port *port; in topological_sort() local
294 FOR_ARRAY_ELEMENT(&plugin->ports, i, port) { in topological_sort()
[all …]
Dcras_dsp_ini.c99 struct port *p; in parse_ports()
170 struct port *port; in fill_flow_info() local
176 FOR_ARRAY_ELEMENT(&plugin->ports, j, port) { in fill_flow_info()
177 int flow_id = port->flow_id; in fill_flow_info()
181 flow->type = port->type; in fill_flow_info()
182 if (port->direction == PORT_INPUT) { in fill_flow_info()
Dcras_dsp_mod_builtin.c22 static void empty_connect_port(struct dsp_module *module, unsigned long port, in empty_connect_port() argument
63 unsigned long port, float *data_location) in invert_lr_connect_port() argument
67 ports[port] = data_location; in invert_lr_connect_port()
109 unsigned long port, float *data_location) in mix_stereo_connect_port() argument
113 ports[port] = data_location; in mix_stereo_connect_port()
168 unsigned long port, float *data_location) in eq_connect_port() argument
171 data->ports[port] = data_location; in eq_connect_port()
240 unsigned long port, float *data_location) in eq2_connect_port() argument
243 data->ports[port] = data_location; in eq2_connect_port()
323 unsigned long port, float *data_location) in drc_connect_port() argument
[all …]
Dcras_dsp_ini.h30 struct port { struct
42 DECLARE_ARRAY_TYPE(struct port, port_array) argument
Dcras_dsp_module.h35 void (*connect_port)(struct dsp_module *mod, unsigned long port,
/device/generic/goldfish/libqemu/
Dtest_host_2.c56 socket_loopback_server( int port, int type ) in socket_loopback_server() argument
67 addr.sin_port = htons(port); in socket_loopback_server()
92 int port = DEFAULT_PORT; in main() local
94 printf("Starting pipe test server on local port %d\n", port); in main()
95 sock = socket_loopback_server( port, SOCK_STREAM ); in main()
Dtest_host_1.c58 socket_loopback_server( int port, int type ) in socket_loopback_server() argument
69 addr.sin_port = htons(port); in socket_loopback_server()
145 int port = DEFAULT_PORT; in main() local
191 printf("Starting pipe test server on local port %d\n", port); in main()
192 sock = socket_loopback_server( port, SOCK_STREAM ); in main()
Dtest_guest_1.c44 int port = 8012; in main() local
47 if (pipe_openSocket(pipe, port) < 0) { in main()
51 printf("Connected to tcp:host:%d\n", port); in main()
Dtest_util.c45 pipe_openSocket( Pipe* pipe, int port ) in pipe_openSocket() argument
60 addr.sin_port = htons(port); in pipe_openSocket()
65 __FUNCTION__, port, strerror(errno)); in pipe_openSocket()
Dtest_util.h29 int pipe_openSocket( Pipe* pipe, int port );
Dtest_guest_2.c55 int port = 8012; in main() local
141 printf("Connected to tcp:localhost:%d\n", port); in main()
/device/google/dragon/recovery/updater/
Dec_commands.h2537 uint8_t port; member
2551 uint8_t port; member
2702 uint8_t port; /* I2C port number */ member
3171 uint8_t port; member
3202 uint8_t port; member
3253 uint8_t port; member
3273 uint8_t port; member
3316 #define PD_LOG_PORT_SIZE(port, size) (((port) << PD_LOG_PORT_SHIFT) | \ argument
3391 uint8_t port; /* port */ member
3413 uint8_t port; /* port */ member
[all …]
Ddebug_ec.c141 .port = 0, .read_size = 8, .addr = BQ2589X_ADDR, .offset = reg in bq25892_read()
158 .port = 0, .write_size = 8, .addr = BQ2589X_ADDR, in bq25892_write()
223 .port = 0, .read_size = size, .addr = BQ27742_ADDR, in bq27742_read()
241 .port = 0, .write_size = size, .addr = BQ27742_ADDR, in bq27742_write()
771 .port = 0, .read_size = 8, .addr = PI3USB9281_ADDR, .offset = reg in pi3usb9281_read()
864 p.port = strtol(argv[1], &e, 0); in cmd_ec_usbpd()
940 p.port, (r.enabled & 1) ? "enabled" : "disabled", in cmd_ec_usbpd()
1028 p.port = i; in cmd_ec_usbpdpower()
/device/google/contexthub/firmware/inc/
Dusart.h60 void usartOpen(struct usart* __restrict usart, UsartPort port, /* port number is 1-based!!!!! */
/device/linaro/hikey/installer/
Dhisi-idt.py76 self.s = serial.Serial(port=serialport, baudrate=115200, timeout=1)
216 sys.stderr.write("could not open port %r: %s\n" % (port, e))
DREADME20 from the microUSB OTG port into RAM, and will present itself to a
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c544 int tunning_server_socket_listen(const char* ip_addr, uint16_t port) in tunning_server_socket_listen() argument
554 server_addr.addr_in.sin_port = (__be16) htons(port); in tunning_server_socket_listen()
601 CDBG_HIGH("%s. sock_fd: %d, listen at port: %d\n", __func__, sock_fd, port); in tunning_server_socket_listen()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c544 int tunning_server_socket_listen(const char* ip_addr, uint16_t port) in tunning_server_socket_listen() argument
554 server_addr.addr_in.sin_port = (__be16) htons(port); in tunning_server_socket_listen()
601 CDBG_HIGH("%s. sock_fd: %d, listen at port: %d\n", __func__, sock_fd, port); in tunning_server_socket_listen()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c543 int tunning_server_socket_listen(const char* ip_addr, uint16_t port) in tunning_server_socket_listen() argument
553 server_addr.sin_port= htons(port); in tunning_server_socket_listen()
600 CDBG_HIGH("%s. sock_fd: %d, listen at port: %d\n", __func__, sock_fd, port); in tunning_server_socket_listen()
/device/lge/bullhead/location/loc_api/loc_api_v02/
DLocApiV02.h179 setServer(unsigned int ip, int port, LocServerType type);
/device/huawei/angler/location/loc_api/loc_api_v02/
DLocApiV02.h179 setServer(unsigned int ip, int port, LocServerType type);

12