/Zephyr-latest/subsys/modem/ |
D | modem_pipelink.c | 9 static void try_callback(struct modem_pipelink *link, enum modem_pipelink_event event) in try_callback() argument 11 if (link->callback == NULL) { in try_callback() 15 link->callback(link, event, link->user_data); in try_callback() 18 void modem_pipelink_attach(struct modem_pipelink *link, in modem_pipelink_attach() argument 22 K_SPINLOCK(&link->spinlock) { in modem_pipelink_attach() 23 link->callback = callback; in modem_pipelink_attach() 24 link->user_data = user_data; in modem_pipelink_attach() 28 bool modem_pipelink_is_connected(struct modem_pipelink *link) in modem_pipelink_is_connected() argument 32 K_SPINLOCK(&link->spinlock) { in modem_pipelink_is_connected() 33 connected = link->connected; in modem_pipelink_is_connected() [all …]
|
/Zephyr-latest/include/zephyr/logging/ |
D | log_link.h | 20 * @brief Log link API 21 * @defgroup log_link Log link API 28 typedef void (*log_link_callback_t)(const struct log_link *link, 31 typedef void (*log_link_dropped_cb_t)(const struct log_link *link, 40 int (*initiate)(const struct log_link *link, struct log_link_config *config); 41 int (*activate)(const struct log_link *link); 42 int (*get_domain_name)(const struct log_link *link, uint32_t domain_id, 44 int (*get_source_name)(const struct log_link *link, uint32_t domain_id, 46 int (*get_levels)(const struct log_link *link, uint32_t domain_id, 49 int (*set_runtime_level)(const struct log_link *link, uint32_t domain_id, [all …]
|
D | log_multidomain_helper.h | 53 /** @brief Link-backend readiness indication ID/ */ 142 /** @brief Structure with link transport API. */ 144 int (*init)(struct log_multidomain_link *link); 145 int (*send)(struct log_multidomain_link *link, void *data, size_t len); 167 /** @brief Remote link API. */ 170 /** @brief Remote link structure. */ 174 const struct log_link *link; member 204 * @param link Link instance. 208 void log_multidomain_link_on_recv_cb(struct log_multidomain_link *link, 213 * @param link Link instance. [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | pb_adv.c | 43 #define XACT_SEG_DATA(_seg) (&link.rx.buf->data[XACT_SEG_OFFSET(_seg)]) 44 #define XACT_SEG_RECV(_seg) (link.rx.seg &= ~(1 << (_seg))) 60 /* Link close retransmits: */ 64 ADV_LINK_ACTIVE, /* Link has been opened */ 65 ADV_LINK_ACK_RECVD, /* Ack for link has been received */ 66 ADV_LINK_CLOSING, /* Link is closing down */ 69 ADV_PROVISIONER, /* The link was opened as provisioner */ 70 ADV_LINK_ACK_SENDING, /* Link Ack tx was scheduled but not finished. */ 77 uint32_t id; /* Link ID */ 105 /* Pending outgoing adv(s) (Link Open, Gen Trans Start and Gen Trans Cont) */ [all …]
|
D | pb_gatt.c | 38 static struct prov_link link; variable 42 if (link.conn) { in reset_state() 43 bt_conn_unref(link.conn); in reset_state() 44 link.conn = NULL; in reset_state() 48 (void)k_work_cancel_delayable(&link.prot_timer); in reset_state() 53 const struct prov_bearer_cb *cb = link.cb; in link_closed() 54 void *cb_data = link.cb_data; in link_closed() 70 if (link.conn) { in protocol_timeout() 71 (void)bt_conn_disconnect(link.conn, in protocol_timeout() 87 if (link.conn != conn || !link.cb) { in bt_mesh_pb_gatt_recv() [all …]
|
D | rpr_cli.c | 36 int link; member 52 struct bt_mesh_rpr_link *link) in link_report() argument 56 if (link->state == BT_MESH_RPR_LINK_ACTIVE && in link_report() 57 bearer.link == BEARER_LINK_OPENING) { in link_report() 58 bearer.link = BEARER_LINK_OPENED; in link_report() 62 /* PB-Remote Open Link procedure timeout is configurable, but the provisioning in link_report() 65 cli->link.time = PROTOCOL_TIMEOUT_SEC; in link_report() 69 if (link->state == BT_MESH_RPR_LINK_IDLE && in link_report() 70 bearer.link != BEARER_LINK_IDLE) { in link_report() 71 bearer.link = BEARER_LINK_IDLE; in link_report() [all …]
|
D | rpr_srv.c | 79 } link; member 140 srv.link.cli.addr = BT_MESH_ADDR_UNASSIGNED; in cli_link_clear() 141 srv.link.cli.net_idx = BT_MESH_KEY_UNUSED; in cli_link_clear() 171 net_buf_simple_add_u8(&buf, srv.link.state); in link_status_send() 178 struct bt_mesh_msg_ctx ctx = LINK_CTX(&srv.link.cli, true); in link_report_send() 182 net_buf_simple_add_u8(&buf, srv.link.status); in link_report_send() 183 net_buf_simple_add_u8(&buf, srv.link.state); in link_report_send() 184 if (srv.link.status == BT_MESH_RPR_ERR_LINK_CLOSED_BY_SERVER || in link_report_send() 185 srv.link.status == BT_MESH_RPR_ERR_LINK_CLOSED_BY_DEVICE) { in link_report_send() 186 net_buf_simple_add_u8(&buf, srv.link.close_reason); in link_report_send() [all …]
|
D | prov_bearer.h | 67 /** @brief Enable link establishment as a provisionee. 70 * start accepting link open messages. 72 * @param cb Bearer event callbacks used for the duration of the link. 79 /** @brief Send a packet on an established link. 100 /** @brief Open a new link as a provisioner. 105 * @param uuid UUID of the node to establish a link to. 106 * @param timeout Link open timeout in seconds. 107 * @param cb Bearer event callbacks used for the duration of the link. 115 /** @brief Close the current link. 120 * @param status Link status for the link close message.
|
/Zephyr-latest/include/zephyr/net/ |
D | net_linkaddr.h | 9 * @brief Public API for network link address 24 * @brief Network link address library 25 * @defgroup net_linkaddr Network Link Address Library 32 /** Maximum length of the link address */ 44 * Type of the link address. This indicates the network technology that this 50 /** Unknown link address type. */ 52 /** IEEE 802.15.4 link address. */ 54 /** Bluetooth IPSP link address. */ 56 /** Ethernet link address. */ 58 /** Dummy link address. Used in testing apps and loopback support. */ [all …]
|
D | phy.h | 31 /** @brief Ethernet link speeds. */ 52 * @brief Check if phy link is full duplex. 54 * @param x Link capabilities 56 * @return True if link is full duplex, false if not. 61 * @brief Check if phy link speed is 1 Gbit/sec. 63 * @param x Link capabilities 65 * @return True if link is 1 Gbit/sec, false if not. 70 * @brief Check if phy link speed is 100 Mbit/sec. 72 * @param x Link capabilities 74 * @return True if link is 1 Mbit/sec, false if not. [all …]
|
/Zephyr-latest/subsys/logging/ |
D | log_mgmt.c | 77 /** @brief Return link and relative domain id based on absolute domain id. 80 * @param[out] rel_domain_id Domain ID elative to the link domain ID as output. 82 * @return Link to which given domain belongs. NULL if link was not found. 88 STRUCT_SECTION_FOREACH(log_link, link) { in get_link_domain() 89 domain_max = link->ctrl_blk->domain_offset + in get_link_domain() 90 link->ctrl_blk->domain_cnt; in get_link_domain() 93 *rel_domain_id = domain_id - link->ctrl_blk->domain_offset; in get_link_domain() 94 return link; in get_link_domain() 105 * Runtime filters for each link are dynamically allocated as an array of 106 * filters for all domains in the link. In order to fetch link associated with [all …]
|
D | log_multidomain_link.c | 44 z_log_msg_enqueue(link_remote->link, in log_multidomain_link_on_recv_cb() 163 static int link_remote_initiate(const struct log_link *link, in link_remote_initiate() argument 166 struct log_multidomain_link *link_remote = link->ctx; in link_remote_initiate() 168 link_remote->link = link; in link_remote_initiate() 174 static int link_remote_activate(const struct log_link *link) in link_remote_activate() argument 176 struct log_multidomain_link *link_remote = link->ctx; in link_remote_activate() 194 if (cnt > ARRAY_SIZE(link->ctrl_blk->source_cnt)) { in link_remote_activate() 199 link->ctrl_blk->domain_cnt = cnt; in link_remote_activate() 200 for (int i = 0; i < link->ctrl_blk->domain_cnt; i++) { in link_remote_activate() 206 link->ctrl_blk->source_cnt[i] = cnt; in link_remote_activate() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/util/ |
D | memq.c | 13 * The linked list must always contain at least one link-element, as emptiness 15 * For a queue to be valid, it must be initialized with an initial link-element. 20 * link-element, but the link-element before it! 29 * where H is the pointer to Head link-element (oldest element). 30 * where T is the pointer to Tail link-element (newest element). 31 * where I[] means the initial link-element, whose mem pointer is DontCare. 32 * where A[b] means the A'th link-element, whose mem pointer is b. 46 * @param link[in] Initial link-element. Not associated with any mem 49 * @return Initial link-element 51 memq_link_t *memq_init(memq_link_t *link, memq_link_t **head, memq_link_t **tail) in memq_init() argument [all …]
|
/Zephyr-latest/tests/subsys/logging/log_links/src/ |
D | mock_log_link.c | 9 static int initiate(const struct log_link *link, struct log_link_config *configa) in initiate() argument 11 struct mock_log_link *mock = (struct mock_log_link *)link->ctx; in initiate() 13 link->ctrl_blk->domain_cnt = mock->domain_cnt; in initiate() 16 link->ctrl_blk->source_cnt[i] = mock->domains[i]->source_cnt; in initiate() 22 static int activate(const struct log_link *link) in activate() argument 27 static int get_domain_name(const struct log_link *link, uint32_t domain_id, in get_domain_name() argument 30 struct mock_log_link *mock = (struct mock_log_link *)link->ctx; in get_domain_name() 41 static int get_source_name(const struct log_link *link, uint32_t domain_id, in get_source_name() argument 44 struct mock_log_link *mock = (struct mock_log_link *)link->ctx; in get_source_name() 53 static int get_levels(const struct log_link *link, uint32_t domain_id, in get_levels() argument [all …]
|
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/ |
D | ull.c | 166 void ll_rx_link_release(void *link) in ll_rx_link_release() argument 168 mem_release(link, &mem_link_rx.free); in ll_rx_link_release() 181 void ll_rx_put(memq_link_t *link, void *rx) in ll_rx_put() argument 193 void ll_rx_put_sched(memq_link_t *link, void *rx) in ll_rx_put_sched() argument 195 ll_rx_put(link, rx); in ll_rx_put_sched() 271 void ull_rx_put(memq_link_t *link, void *rx) in ull_rx_put() argument 279 void ull_rx_put_sched(memq_link_t *link, void *rx) in ull_rx_put_sched() argument 292 memq_link_t *link; in init_reset() local 297 /* Initialize done link pool. */ in init_reset() 304 /* Initialize rx link pool. */ in init_reset() [all …]
|
/Zephyr-latest/tests/subsys/logging/log_link_order/src/ |
D | mock_log_link.c | 9 static int initiate(const struct log_link *link, struct log_link_config *configa) in initiate() argument 11 link->ctrl_blk->domain_cnt = 1; in initiate() 12 link->ctrl_blk->source_cnt[0] = 1; in initiate() 17 static int activate(const struct log_link *link) in activate() argument 22 static int get_domain_name(const struct log_link *link, uint32_t domain_id, in get_domain_name() argument 31 static int get_source_name(const struct log_link *link, uint32_t domain_id, in get_source_name() argument 41 static int get_levels(const struct log_link *link, uint32_t domain_id, in get_levels() argument 54 static int set_runtime_level(const struct log_link *link, uint32_t domain_id, in set_runtime_level() argument
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/ |
D | ticker.c | 61 static memq_link_t link; in hal_ticker_instance0_sched() local 62 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() 85 static memq_link_t link; in hal_ticker_instance0_sched() local 86 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() 108 static memq_link_t link; in hal_ticker_instance0_sched() local 109 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() 131 static memq_link_t link; in hal_ticker_instance0_sched() local 132 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() 146 static memq_link_t link; in hal_ticker_instance0_sched() local 147 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/ |
D | ticker.c | 62 static memq_link_t link; in hal_ticker_instance0_sched() local 63 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() 87 static memq_link_t link; in hal_ticker_instance0_sched() local 88 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() 110 static memq_link_t link; in hal_ticker_instance0_sched() local 111 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() 133 static memq_link_t link; in hal_ticker_instance0_sched() local 134 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() 148 static memq_link_t link; in hal_ticker_instance0_sched() local 149 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() [all …]
|
/Zephyr-latest/samples/net/vlan/ |
D | vlan-setup-linux.sh | 46 ip link add link ${IFACE} name ${VLAN_NAME_PREFIX}.100 type vlan id 100 47 ip link add link ${IFACE} name ${VLAN_NAME_PREFIX}.200 type vlan id 200 49 ip link set ${VLAN_NAME_PREFIX}.100 up 50 ip link set ${VLAN_NAME_PREFIX}.200 up 68 # ip link del link eth0 dev vlan.100 69 # ip link del link eth0 dev vlan.200
|
/Zephyr-latest/include/zephyr/modem/ |
D | pipelink.h | 42 * @param link Modem pipelink instance 46 typedef void (*modem_pipelink_callback)(struct modem_pipelink *link, 65 * @param link Pipelink instance 69 void modem_pipelink_attach(struct modem_pipelink *link, 75 * @param link Pipelink instance 79 bool modem_pipelink_is_connected(struct modem_pipelink *link); 83 * @param link Pipelink instance 87 struct modem_pipe *modem_pipelink_get_pipe(struct modem_pipelink *link); 91 * @param link Pipelink instance 93 void modem_pipelink_release(struct modem_pipelink *link); [all …]
|
/Zephyr-latest/doc/develop/flash_debug/ |
D | probes.rst | 29 `MCU-Link <#mcu-link-onboard-debug-probe>`_, probes depending on 31 ST boards have the `ST-LINK probe <#stlink-v21-onboard-debug-probe>`_. Each 35 with pyOCD or OpenOCD debug host tools, or with J-Link firmware to communicate 36 with J-Link debug host tools. 42 | | **J-Link Debug** | **OpenOCD** | **pyOCD… 44 | | **J-Link External** | ✓ | ✓ | … 48 | | **LPC-Link2 J-Link** | ✓ | | … 50 | | **MCU-Link CMSIS-DAP** | | | … 52 | | **MCU-Link J-Link** | ✓ | | … 58 | | **OpenSDA J-Link** | ✓ | | … [all …]
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | net_linkaddr.rst | 3 Link Layer Address Handling 13 The link layer addresses are set for network interfaces so that L2 14 connectivity works correctly in the network stack. Typically the link layer 15 addresses are 6 bytes long like in Ethernet but for IEEE 802.15.4 the link
|
/Zephyr-latest/doc/_extensions/zephyr/doxytooltip/static/ |
D | doxytooltip.js | 35 const doxytooltipStyle = document.querySelector('link[href*="doxytooltip.css"]'); 45 links.forEach((link) => { 46 tippy(link, { 61 const url = link.getAttribute('href'); 62 const targetId = link.getAttribute('href').split('#')[1]; 74 const cssLink = parsedDoc.querySelector(`link[href$="${cssName}"]`); 76 const link = document.createElement('link'); 77 link.rel = 'stylesheet'; 78 link.href = new URL( 82 tooltipShadow.appendChild(link); [all …]
|
/Zephyr-latest/subsys/net/lib/capture/ |
D | sll.h | 21 uint16_t sll_hatype; /* Link-layer address type */ 22 uint16_t sll_halen; /* Link-layer address length */ 23 uint8_t sll_addr[SLL_ADDRLEN]; /* Link-layer address */ 35 uint16_t sll2_hatype; /* Link-layer address type */ 37 uint8_t sll2_halen; /* Link-layer address length */ 38 uint8_t sll2_addr[SLL_ADDRLEN]; /* Link-layer address */
|
/Zephyr-latest/subsys/net/ip/ |
D | nbr.h | 25 /* The neighbors are tracked by link layer address. This is not part 30 /** Link layer address */ 50 /** Link to ll address. This is the index into lladdr array. 87 /** Link to a neighbor pool */ 149 * @param lladdr Neighbor link layer address 157 * @brief Link a neighbor to specific link layer address. 160 * @param lladdr Neighbor link layer address 167 * @brief Unlink a neighbor from specific link layer address. 169 * @param lladdr Neighbor link layer address 175 * @brief Return link address for a specific lladdr table index [all …]
|