Home
last modified time | relevance | path

Searched full:bind (Results 1 – 25 of 196) sorted by relevance

12345678

/Zephyr-latest/subsys/pm/
DKconfig84 bool "Dynamically bind devices to a Power Domain"
87 Enable support for dynamically bind devices to a Power Domain.
90 int "Number of devices that can dynamically be bind to a Power Domain"
94 The number of devices that can dynamically be bind to a Power Domain.
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/
DREADME.rst75 …oning is done using the BlueZ meshctl utility. In this example, we'll use meshctl commands to bind:
89 bind 0 1 1000
90 bind 0 1 1001
91 bind 0 1 1002
92 bind 0 1 1003
/Zephyr-latest/tests/net/socket/reuseaddr_reuseport/src/
Dmain.c157 zassert_equal(ret, 0, "bind() failed with error %d", errno); in test_bind_success()
165 zassert_equal(ret, -1, "bind() succeeded incorrectly"); in test_bind_fail()
167 zassert_equal(errno, EADDRINUSE, "bind() returned unexpected errno (%d)", errno); in test_bind_fail()
313 /* Bind the first socket */ in test_reuseaddr_unspecified_specified_common()
316 /* Try to bind the second socket, should fail */ in test_reuseaddr_unspecified_specified_common()
322 /* Try to bind the second socket again */ in test_reuseaddr_unspecified_specified_common()
396 /* Bind the first socket */ in test_reuseaddr_tcp_listening_common()
405 /* Try to bind the second socket, should fail */ in test_reuseaddr_tcp_listening_common()
458 /* Bind the server socket */ in test_reuseaddr_tcp_tcp_time_wait_common()
482 /* Bind the server socket, should fail */ in test_reuseaddr_tcp_tcp_time_wait_common()
[all …]
/Zephyr-latest/drivers/xen/
Devents.c72 struct evtchn_bind_interdomain bind = { in bind_interdomain_event_channel() local
77 rc = HYPERVISOR_event_channel_op(EVTCHNOP_bind_interdomain, &bind); in bind_interdomain_event_channel()
82 rc = bind_event_channel(bind.local_port, cb, data); in bind_interdomain_event_channel()
87 return bind.local_port; in bind_interdomain_event_channel()
130 "%s: trying to bind invalid evtchn #%u\n", in bind_event_channel()
136 LOG_WRN("%s: re-bind callback for evtchn #%u\n", in bind_event_channel()
275 /* bind all ports with default callback */ in xen_events_init()
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/
DREADME.rst72 bind 0 1 1000 # bind appkey 1 to LED server on element 0 (unicast 0100)
74 bind 1 1 1001 # bind appkey 1 to button 2 on element 1 (unicast 0101)
/Zephyr-latest/dts/bindings/gpio/
Datmel-xplained-header.yaml36 Bind Pin Name Pin Pin Pin Name Bind
Datmel-xplained-pro-header.yaml35 Bind Pin Name Pin Pin Pin Name Bind
/Zephyr-latest/tests/net/socket/socketpair/src/
Dunsupported_calls.c21 "bind should fail on a socketpair endpoint"); in ZTEST_USER_F()
23 "bind should set errno to EISCONN"); in ZTEST_USER_F()
/Zephyr-latest/modules/thrift/src/thrift/transport/
DTSSLServerSocket.cpp111 // we may want to try to bind more than once, since THRIFT_NO_SOCKET_CACHING doesn't in listen()
160 if (0 == ::bind(serverSocket_, trybind->ai_addr, in listen()
169 // retrieve bind info in listen()
198 // throw an error if we failed to bind properly in listen()
203 "TServerSocket::listen() Could not bind to port %d", port_); in listen()
207 throw TTransportException(TTransportException::NOT_OPEN, "Could not bind", in listen()
DTServerSocket.h48 * @param port Port number to bind to
55 * @param port Port number to bind to
64 * @param address Address to bind to
65 * @param port Port number to bind to
/Zephyr-latest/samples/net/mdns_responder/src/
Dservice.c19 /* A default port of 0 causes bind(2) to request an ephemeral port */
29 /* This is mainly here to bind to a port to get service advertisement
85 r = bind(server_fd, &server_addr, sizeof(server_addr)); in service()
87 NET_DBG("bind() failed (%d)", errno); in service()
/Zephyr-latest/samples/net/sockets/echo_async/src/
Dsocket_echo.c142 res = bind(serv4, (struct sockaddr *)&bind_addr4, sizeof(bind_addr4)); in main()
144 printf("Cannot bind IPv4, errno: %d\n", errno); in main()
160 /* For Linux, we need to make socket IPv6-only to bind it to the in main()
170 res = bind(serv6, (struct sockaddr *)&bind_addr6, sizeof(bind_addr6)); in main()
172 printf("Cannot bind IPv6, errno: %d\n", errno); in main()
/Zephyr-latest/samples/net/sockets/echo_async_select/src/
Dsocket_echo_select.c124 res = bind(serv4, (struct sockaddr *)&bind_addr4, sizeof(bind_addr4));
126 printf("Cannot bind IPv4, errno: %d\n", errno);
139 /* For Linux, we need to make socket IPv6-only to bind it to the
149 res = bind(serv6, (struct sockaddr *)&bind_addr6, sizeof(bind_addr6));
151 printf("Cannot bind IPv6, errno: %d\n", errno);
/Zephyr-latest/samples/net/sockets/tcp/src/
Dmain.c59 if (bind(fd, (struct sockaddr *)&sin, sizeof(sin)) < 0) { in udp()
60 perror("bind"); in udp()
/Zephyr-latest/samples/drivers/misc/timeaware_gpio/src/
Dmain.c36 printk("[TGPIO] Bind failed\n"); in main()
40 printk("[TGPIO] Bind Success\n"); in main()
/Zephyr-latest/tests/net/socket/service/src/
Dmain.c96 ret = bind(s_sock_udp, (struct sockaddr *)&s_addr, sizeof(s_addr)); in run_test_service()
97 zassert_equal(ret, 0, "bind failed"); in run_test_service()
114 ret = bind(s_sock_tcp, (struct sockaddr *)&s_addr, sizeof(s_addr)); in run_test_service()
115 zassert_equal(ret, 0, "bind failed (%d)", -errno); in run_test_service()
/Zephyr-latest/tests/drivers/build_all/modem/src/
Dmain.c17 /* Bind L2 connectity APIs. */
/Zephyr-latest/scripts/coredump/
Dcoredump_gdbserver.py20 # Only bind to local host
126 # close before we can bind to the port again
129 gdbserver.bind((GDBSERVER_HOST, args.port))
/Zephyr-latest/tests/net/socket/misc/src/
Dmain.c185 zassert_equal(ret, 0, "bind failed, %d", errno); in test_so_bindtodevice()
187 /* Bind server socket with interface 2. */ in test_so_bindtodevice()
194 /* Bind client socket with interface 1 and send a packet. */ in test_so_bindtodevice()
219 /* Bind client socket with interface 2 and send a packet. */ in test_so_bindtodevice()
258 /* Bind client socket with interface 1 again. */ in test_so_bindtodevice()
412 zassert_equal(ret, 0, "bind failed, %d", errno); in test_getpeername()
487 zassert_equal(ret, 0, "bind failed, %d", errno); in test_getsockname_tcp()
556 zassert_equal(ret, 0, "bind failed, %d", errno); in test_getsockname_udp()
613 zassert_equal(ret, 0, "bind failed, %d", errno); in test_ipv4_mapped_to_ipv6_disabled()
622 zassert_equal(ret, 0, "bind failed, %d", errno); in test_ipv4_mapped_to_ipv6_disabled()
[all …]
/Zephyr-latest/include/zephyr/drivers/console/
Dipm_console.h31 /** Name of the low-level IPM driver to bind to */
86 /** Name of the low-level driver to bind to */
/Zephyr-latest/samples/bluetooth/mesh/
DREADME.rst61 device an Application key and bind it to both Generic OnOff models.
64 bind a dummy Application key to these models.
/Zephyr-latest/drivers/xen/dom0/
Ddomctl.c249 struct xen_domctl_bind_pt_irq *bind = &(domctl.u.bind_pt_irq); in xen_domctl_bind_pt_irq() local
253 bind->irq_type = irq_type; in xen_domctl_bind_pt_irq()
254 bind->machine_irq = machine_irq; in xen_domctl_bind_pt_irq()
255 bind->u.spi.spi = spi; in xen_domctl_bind_pt_irq()
/Zephyr-latest/drivers/usb/device/
Dusb_dc_numaker.c834 /* Bind EP context to EP address */
847 /* Bind EP context to EP address */ in numaker_usbd_ep_mgmt_bind_ep()
980 /* Bind EP context to EP address */ in numaker_usbd_msg_cb_ep()
984 LOG_ERR("Bind EP context: ep=0x%02x", ep); in numaker_usbd_msg_cb_ep()
1385 /* To respect this capability check, pre-bind EP context to EP address, in usb_dc_ep_check_cap()
1390 LOG_ERR("Bind EP context: ep=0x%02x", ep_cfg->ep_addr); in usb_dc_ep_check_cap()
1410 /* Bind EP context to EP address */ in usb_dc_ep_set_callback()
1414 LOG_ERR("Bind EP context: ep=0x%02x", ep); in usb_dc_ep_set_callback()
1440 /* Bind EP context to EP address */ in usb_dc_ep_configure()
1444 LOG_ERR("Bind EP context: ep=0x%02x", ep_cfg->ep_addr); in usb_dc_ep_configure()
[all …]
/Zephyr-latest/tests/net/socket/af_packet/src/
Dmain.c187 /* Bind UDP socket to local port */ in prepare_udp_socket()
189 zassert_equal(ret, 0, "Cannot bind DGRAM (UDP) socket (%d)", -errno); in prepare_udp_socket()
211 zassert_equal(ret, 0, "Cannot bind 1st socket (%d)", -errno); in __test_packet_sockets()
214 zassert_equal(ret, 0, "Cannot bind 2nd socket (%d)", -errno); in __test_packet_sockets()
321 zassert_equal(ret, 0, "Cannot bind 1st socket (%d)", -errno); in ZTEST()
324 zassert_equal(ret, 0, "Cannot bind 2nd socket (%d)", -errno); in ZTEST()
431 zassert_equal(ret, 0, "Cannot bind 1st socket (%d)", -errno); in ZTEST()
434 zassert_equal(ret, 0, "Cannot bind 2nd socket (%d)", -errno); in ZTEST()
533 zassert_equal(ret, 0, "Cannot bind 1st socket (%d)", -errno); in ZTEST()
536 zassert_equal(ret, 0, "Cannot bind 2nd socket (%d)", -errno); in ZTEST()
[all …]
/Zephyr-latest/tests/net/conn_mgr_conn/src/
Dtest_ifaces.c104 /* Bind L2 connectivity implementations to ifaces */
109 /* Bind edge-case L2 connectivity implementations to ifaces */

12345678