Home
last modified time | relevance | path

Searched refs:sn (Results 1 – 25 of 26) sorted by relevance

12

/subsys/usb/device/
A Dusb_descriptor.c337 static uint8_t sn[sizeof(CONFIG_USB_DEVICE_SN) + 1]; in usb_update_sn_string_descriptor() local
342 memset(sn, 0, sizeof(sn)); in usb_update_sn_string_descriptor()
349 sn[i * 2] = hex[hwid[i + skip] >> 4]; in usb_update_sn_string_descriptor()
350 sn[i * 2 + 1] = hex[hwid[i + skip] & 0xF]; in usb_update_sn_string_descriptor()
354 return sn; in usb_update_sn_string_descriptor()
357 static void usb_fix_ascii_sn_string_descriptor(struct usb_sn_descriptor *sn) in usb_fix_ascii_sn_string_descriptor() argument
378 memcpy(sn->bString, runtime_sn, MIN(runtime_sn_len, default_sn_len)); in usb_fix_ascii_sn_string_descriptor()
486 struct usb_sn_descriptor *sn = in usb_fix_descriptor() local
488 usb_fix_ascii_sn_string_descriptor(sn); in usb_fix_descriptor()
/subsys/net/l2/ethernet/gptp/
A Dgptp_user_api.c37 sys_snode_t *sn, *sns; in gptp_call_phase_dis_cb() local
43 SYS_SLIST_FOR_EACH_NODE_SAFE(&phase_dis_callbacks, sn, sns) { in gptp_call_phase_dis_cb()
45 CONTAINER_OF(sn, struct gptp_phase_dis_cb, node); in gptp_call_phase_dis_cb()
/subsys/net/lib/capture/
A Dcapture.c116 sys_snode_t *sn, *sns; in net_capture_foreach() local
120 SYS_SLIST_FOR_EACH_NODE_SAFE(&net_capture_devlist, sn, sns) { in net_capture_foreach()
123 ctx = CONTAINER_OF(sn, struct net_capture, node); in net_capture_foreach()
146 sys_snode_t *sn, *sns; in alloc_capture_dev() local
150 SYS_SLIST_FOR_EACH_NODE_SAFE(&net_capture_devlist, sn, sns) { in alloc_capture_dev()
151 ctx = CONTAINER_OF(sn, struct net_capture, node); in alloc_capture_dev()
517 sys_snode_t *sn, *sns; in net_capture_pkt_with_status() local
530 SYS_SLIST_FOR_EACH_NODE_SAFE(&net_capture_devlist, sn, sns) { in net_capture_pkt_with_status()
531 struct net_capture *ctx = CONTAINER_OF(sn, struct net_capture, in net_capture_pkt_with_status()
/subsys/bluetooth/controller/ll_sw/nordic/lll/
A Dlll_central_iso.c210 pdu_tx->sn = 0U; /* reserved RFU for NULL PDU */ in prepare_cb()
257 pdu_tx->sn = 0U; /* reserved RFU for NULL PDU */ in prepare_cb()
264 pdu_tx->sn = cis_lll->sn; in prepare_cb()
752 cis_lll->sn++; in isr_rx()
769 (pdu_rx->sn == cis_lll->nesn) && in isr_rx()
991 pdu_tx->sn = 0U; /* reserved RFU for NULL PDU */ in isr_prepare_subevent()
1025 pdu_tx->sn = 0U; /* reserved RFU for NULL PDU */ in isr_prepare_subevent()
1032 pdu_tx->sn = cis_lll->sn; in isr_prepare_subevent()
1188 cis_lll->sn++; in payload_count_flush()
1245 cis_lll->sn++; in payload_count_flush_or_inc_on_close()
[all …]
A Dlll_central.c154 pdu_data_tx->sn = lll->sn; in prepare_cb()
A Dlll_conn.c464 pdu_data_tx->sn = lll->sn;
1069 if (pdu_data_rx->nesn != lll->sn) {
1075 lll->sn++;
1151 if ((pdu_data_rx->sn == lll->nesn) &&
1229 pdu_data_tx->sn = lll->sn;
A Dlll_peripheral_iso.c582 if ((pdu_rx->nesn != cis_lll->sn) && (cis_lll->tx.bn_curr <= cis_lll->tx.bn)) { in isr_rx()
583 cis_lll->sn++; in isr_rx()
601 (pdu_rx->sn == cis_lll->nesn) && in isr_rx()
683 pdu_tx->sn = 0U; /* reserved RFU for NULL PDU */ in isr_rx()
716 pdu_tx->sn = 0U; /* reserved RFU for NULL PDU */ in isr_rx()
723 pdu_tx->sn = cis_lll->sn; in isr_rx()
1308 cis_lll->sn++; in payload_count_flush()
1412 cis_lll->sn++; in payload_count_lazy()
/subsys/bluetooth/controller/ll_sw/openisa/lll/
A Dlll_central.c131 pdu_data_tx->sn = lll->sn; in prepare_cb()
A Dlll_conn.c243 pdu_data_tx->sn = lll->sn; in lll_conn_isr_rx()
645 if (pdu_data_rx->nesn != lll->sn) { in isr_rx_pdu()
650 lll->sn++; in isr_rx_pdu()
709 if ((pdu_data_rx->sn == lll->nesn) && in isr_rx_pdu()
/subsys/bluetooth/controller/ll_sw/
A Disoal.h120 isoal_sdu_cnt_t sn; member
257 isoal_sdu_cnt_t sn; member
371 isoal_sdu_cnt_t sn; member
A Disoal.c362 session->sn = 0; in isoal_sink_create()
447 sdu->sn = session->sn; in isoal_rx_allocate_sdu()
560 sink, sdu_frag.sdu.sn, sdu_frag.sdu.timestamp, in isoal_rx_buffered_emit_sdu()
627 session->sn++; in isoal_rx_try_emit_sdu()
1578 session->sn = 0; in isoal_source_create()
2025 session->sn += sdus_skipped + 1; in isoal_tx_unframed_produce()
2588 session->sn += sdus_skipped + 1; in isoal_tx_framed_produce()
2895 if (session->sn > 0) { in isoal_tx_get_sync_info()
2896 *seq = session->sn; in isoal_tx_get_sync_info()
A Dlll_conn_iso.h52 uint8_t sn:1; /* Sequence number */ member
A Dpdu.h980 uint8_t sn:1; member
996 uint8_t sn:1;
1078 uint8_t sn:1; member
1088 uint8_t sn:1;
A Dlll_conn.h150 uint8_t sn:1; member
A Dull_peripheral_iso.c351 cis->lll.sn = 0U; in ull_peripheral_iso_setup()
A Dull_central.c212 conn_lll->sn = 0; in ll_create_connection()
A Dull_central_iso.c949 cis->lll.sn = 0U; in ull_central_iso_setup()
A Dull_adv.c1038 conn_lll->sn = 0;
/subsys/net/lib/mqtt_sn/
A DKconfig100 module-help=Enables mqtt-sn debug messages.
/subsys/usb/device_next/
A Dusbd_shell.c46 IF_ENABLED(CONFIG_HWINFO, (USBD_DESC_SERIAL_NUMBER_DEFINE(sn)));
121 err |= usbd_add_descriptor(my_uds_ctx, &sn); in cmd_usbd_default_strings()
A Dusbd_ch9.c539 static ssize_t get_sn_from_hwid(uint8_t sn[static USBD_SN_ASCII7_LENGTH]) in get_sn_from_hwid()
558 sn[i * 2] = hex[hwid[i] >> 4]; in get_sn_from_hwid()
559 sn[i * 2 + 1] = hex[hwid[i] & 0xF]; in get_sn_from_hwid()
/subsys/bluetooth/controller/hci/
A Dhci_driver.c187 sdu_hdr->sdu.sn = sys_cpu_to_le16((uint16_t) sdu_frag->sdu.sn); in sink_sdu_emit_hci()
/subsys/canbus/isotp/
A Disotp.c977 sctx->sn = 1; in send_ff()
1002 frame.data[index++] = ISOTP_PCI_TYPE_CF | sctx->sn; in send_cf()
1026 sctx->sn++; in send_cf()
/subsys/bluetooth/host/
A Diso.c690 pkt_seq_no = sys_le16_to_cpu(hdr->sn); in bt_iso_recv()
964 hdr->sn = sys_cpu_to_le16(seq_num); in bt_iso_chan_send()
990 hdr->sdu.sn = sys_cpu_to_le16(seq_num); in bt_iso_chan_send_ts()
/subsys/net/ip/
A Dnet_if.c6219 sys_snode_t *sn, *sns; in net_if_call_timestamp_cb() local
6223 SYS_SLIST_FOR_EACH_NODE_SAFE(&timestamp_callbacks, sn, sns) { in net_if_call_timestamp_cb()
6225 CONTAINER_OF(sn, struct net_if_timestamp_cb, node); in net_if_call_timestamp_cb()

Completed in 159 milliseconds

12