/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154_frame.c | 27 NET_DBG("fs(1): %u/%u/%u/%u/%u/%u", fs->fc.frame_type, fs->fc.security_enabled, \ 28 fs->fc.frame_pending, fs->fc.ar, fs->fc.pan_id_comp, fs->fc.reserved); \ 29 NET_DBG("fs(2): %u/%u/%u/%u/%u - %u", fs->fc.seq_num_suppr, fs->fc.ie_list, \ 30 fs->fc.dst_addr_mode, fs->fc.frame_version, fs->fc.src_addr_mode, fs->sequence) 48 if (fs->fc.frame_type == IEEE802154_FRAME_TYPE_RESERVED || in ieee802154_validate_fc_seq() 49 fs->fc.frame_version >= IEEE802154_VERSION_RESERVED) { in ieee802154_validate_fc_seq() 53 if (fs->fc.frame_type == IEEE802154_FRAME_TYPE_MULTIPURPOSE) { in ieee802154_validate_fc_seq() 54 if (fs->fc.frame_version != 0) { in ieee802154_validate_fc_seq() 59 if (fs->fc.frame_version < IEEE802154_VERSION_802154 && in ieee802154_validate_fc_seq() 60 (fs->fc.dst_addr_mode == IEEE802154_ADDR_MODE_RESERVED || in ieee802154_validate_fc_seq() [all …]
|
D | ieee802154.c | 79 if (!mpdu->mhr.fs->fc.ar) { in ieee802154_acknowledge() 138 if (!fs || fs->fc.frame_type != IEEE802154_FRAME_TYPE_ACK || in ieee802154_handle_ack() 299 if (mhr->fs->fc.dst_addr_mode == IEEE802154_ADDR_MODE_NONE) { in ieee802154_check_dst_addr() 300 if (mhr->fs->fc.frame_version < IEEE802154_VERSION_802154 && in ieee802154_check_dst_addr() 301 mhr->fs->fc.frame_type == IEEE802154_FRAME_TYPE_BEACON) { in ieee802154_check_dst_addr() 322 if (mhr->fs->fc.dst_addr_mode == IEEE802154_ADDR_MODE_SHORT) { in ieee802154_check_dst_addr() 333 } else if (mhr->fs->fc.dst_addr_mode == IEEE802154_ADDR_MODE_EXTENDED) { in ieee802154_check_dst_addr() 383 if (fs->fc.frame_type == IEEE802154_FRAME_TYPE_ACK) { in ieee802154_recv() 387 if (fs->fc.frame_type == IEEE802154_FRAME_TYPE_BEACON) { in ieee802154_recv() 401 if (fs->fc.frame_type == IEEE802154_FRAME_TYPE_MAC_COMMAND) { in ieee802154_recv() [all …]
|
D | ieee802154_mgmt.c | 55 if (mpdu->mhr.fs->fc.src_addr_mode == IEEE802154_ADDR_MODE_SHORT) { in ieee802154_handle_beacon() 338 if (mpdu->mhr.fs->fc.src_addr_mode != in ieee802154_handle_mac_command() 340 mpdu->mhr.fs->fc.dst_addr_mode != in ieee802154_handle_mac_command() 342 mpdu->mhr.fs->fc.ar != 1 || in ieee802154_handle_mac_command() 343 mpdu->mhr.fs->fc.pan_id_comp != 1 || in ieee802154_handle_mac_command() 408 if (mpdu->mhr.fs->fc.src_addr_mode != in ieee802154_handle_mac_command() 410 mpdu->mhr.fs->fc.ar != 1 || in ieee802154_handle_mac_command() 411 mpdu->mhr.fs->fc.pan_id_comp != 1 || in ieee802154_handle_mac_command()
|
D | ieee802154_frame.h | 101 } fc __packed;
|
/Zephyr-latest/tests/subsys/modbus/src/ |
D | test_modbus_raw.c | 28 tmp_adu.fc = adu->fc; in server_raw_cb() 54 tmp_adu.fc = adu->fc; in client_raw_cb()
|
/Zephyr-latest/subsys/modbus/ |
D | modbus_client.c | 31 uint8_t fc) in mbc_validate_response_fc() argument 33 uint8_t resp_fc = ctx->rx_adu.fc; in mbc_validate_response_fc() 42 if (fc != (resp_fc & excep_mask)) { in mbc_validate_response_fc() 86 uint8_t fc, in mbc_validate_rd_response() argument 111 switch (fc) { in mbc_validate_rd_response() 150 LOG_ERR("Validation not implemented for FC 0x%02x", fc); in mbc_validate_rd_response() 211 uint8_t fc) in mbc_validate_wr_response() argument 224 switch (fc) { in mbc_validate_wr_response() 237 LOG_ERR("Validation not implemented for FC 0x%02x", fc); in mbc_validate_wr_response() 245 uint8_t fc, void *data) in mbc_send_cmd() argument [all …]
|
D | modbus_raw.c | 71 ctx->rx_adu.fc = adu->fc; in modbus_raw_submit_rx() 87 header[7] = adu->fc; in modbus_raw_put_header() 96 adu->fc = header[7]; in modbus_raw_get_header() 108 adu->fc |= excep_bit; in modbus_set_exception() 117 adu->fc |= excep_bit; in modbus_raw_set_server_failure()
|
D | modbus_server.c | 85 LOG_INF("FC 0x%02x Error 0x%02x", ctx->rx_adu.fc, excep_code); in mbs_exception_rsp() 89 ctx->tx_adu.fc |= excep_bit; in mbs_exception_rsp() 928 static bool mbs_try_user_fc(struct modbus_context *ctx, uint8_t fc) in mbs_try_user_fc() argument 932 LOG_DBG("Searching for custom Modbus handlers for code %u", fc); in mbs_try_user_fc() 935 if (p->fc == fc) { in mbs_try_user_fc() 954 LOG_ERR("Function code 0x%02x not implemented", fc); in mbs_try_user_fc() 964 uint8_t fc = ctx->rx_adu.fc; in modbus_server_handler() local 988 ctx->tx_adu.fc = fc; in modbus_server_handler() 992 switch (fc) { in modbus_server_handler() 1030 send_reply = mbs_try_user_fc(ctx, fc); in modbus_server_handler()
|
D | modbus_serial.c | 136 hex2bin(pmsg, 2, &ctx->rx_adu.fc, 1); in modbus_ascii_rx_adu() 199 pbuf = modbus_ascii_bin2hex(ctx->tx_adu.fc, pbuf); in modbus_ascii_tx_adu() 258 ctx->rx_adu.fc = cfg->uart_buf[1]; in modbus_rtu_rx_adu() 287 cfg->uart_buf[1] = ctx->tx_adu.fc; in rtu_tx_adu()
|
D | modbus_core.c | 306 if (custom_fc->fc & BIT(7)) { in modbus_register_user_fc() 313 LOG_DBG("Registered new custom function code %d", custom_fc->fc); in modbus_register_user_fc()
|
/Zephyr-latest/include/zephyr/modbus/ |
D | modbus.h | 82 uint8_t fc; member 447 uint8_t fc; member 459 .fc = user_fc, \
|
/Zephyr-latest/tests/net/ieee802154/l2/src/ |
D | ieee802154_shell_test.c | 87 zassert_equal(mpdu->mhr.fs->fc.dst_addr_mode, IEEE802154_ADDR_MODE_SHORT, in test_beacon_request() 100 mpdu->mhr.fs->fc.frame_version, IEEE802154_VERSION_802154_2006, in test_association_request() 102 zassert_equal(mpdu->mhr.fs->fc.frame_type, IEEE802154_FRAME_TYPE_MAC_COMMAND, in test_association_request() 104 zassert_equal(mpdu->mhr.fs->fc.ar, true, "Association Request: must request ACK."); in test_association_request() 119 zassert_equal(mpdu->mhr.fs->fc.frame_version, IEEE802154_VERSION_802154_2006, in test_disassociation_notification() 122 zassert_equal(mpdu->mhr.fs->fc.frame_type, IEEE802154_FRAME_TYPE_MAC_COMMAND, in test_disassociation_notification() 124 zassert_equal(mpdu->mhr.fs->fc.ar, true, "Disassociation Notification: must request ACK."); in test_disassociation_notification()
|
/Zephyr-latest/include/zephyr/net/ |
D | ieee802154_pkt.h | 240 static inline void net_pkt_set_ieee802154_ack_fc(struct net_pkt *pkt, uint32_t fc) in net_pkt_set_ieee802154_ack_fc() argument 242 net_pkt_cb_ieee802154(pkt)->ack_fc = fc; in net_pkt_set_ieee802154_ack_fc()
|
/Zephyr-latest/samples/subsys/modbus/tcp_server/src/ |
D | main.c | 172 tmp_adu.fc = adu->fc; in server_raw_cb()
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_pd.c | 1009 int fc; in osdp_pd_set_attributes() local 1011 while (cap && ((fc = cap->function_code) > 0)) { in osdp_pd_set_attributes() 1012 if (fc >= OSDP_PD_CAP_SENTINEL) { in osdp_pd_set_attributes() 1015 pd->cap[fc].function_code = cap->function_code; in osdp_pd_set_attributes() 1016 pd->cap[fc].compliance_level = cap->compliance_level; in osdp_pd_set_attributes() 1017 pd->cap[fc].num_items = cap->num_items; in osdp_pd_set_attributes()
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | rfcomm_internal.h | 26 struct k_sem fc; member
|
D | rfcomm.c | 269 k_sem_give(&dlc->session->fc); in rfcomm_dlc_disconnect() 531 k_sem_take(&dlc->session->fc, K_FOREVER); in rfcomm_check_fc() 538 k_sem_give(&dlc->session->fc); in rfcomm_check_fc() 1362 k_sem_give(&session->fc); in rfcomm_handle_msg() 1381 k_sem_take(&session->fc, K_NO_WAIT); in rfcomm_handle_msg() 1651 k_sem_init(&session->fc, 0, 1); in rfcomm_session_new()
|
/Zephyr-latest/samples/subsys/nvs/ |
D | README.rst | 62 Id: 2, Key: ff fe fd fc fb fa f9 f8
|
/Zephyr-latest/drivers/serial/ |
D | uart_stm32.c | 451 static inline uint32_t uart_stm32_cfg2ll_hwctrl(enum uart_config_flow_control fc) in uart_stm32_cfg2ll_hwctrl() argument 453 if (fc == UART_CFG_FLOW_CTRL_RTS_CTS) { in uart_stm32_cfg2ll_hwctrl() 455 } else if (fc == UART_CFG_FLOW_CTRL_RS485) { in uart_stm32_cfg2ll_hwctrl() 470 static inline enum uart_config_flow_control uart_stm32_ll2cfg_hwctrl(uint32_t fc) in uart_stm32_ll2cfg_hwctrl() argument 472 if (fc == LL_USART_HWCONTROL_RTS_CTS) { in uart_stm32_ll2cfg_hwctrl()
|
/Zephyr-latest/drivers/modem/ |
D | hl7800.c | 3646 int fc = 0; in convert_time_string_to_struct() local 3654 get_next_time_string_digit(&fc, &ptr, TM_YEAR_RANGE); in convert_time_string_to_struct() 3656 get_next_time_string_digit(&fc, &ptr, TM_MONTH_RANGE_PLUS_1) - in convert_time_string_to_struct() 3658 tm->tm_mday = get_next_time_string_digit(&fc, &ptr, TM_DAY_RANGE); in convert_time_string_to_struct() 3659 tm->tm_hour = get_next_time_string_digit(&fc, &ptr, TM_HOUR_RANGE); in convert_time_string_to_struct() 3660 tm->tm_min = get_next_time_string_digit(&fc, &ptr, TM_MIN_RANGE); in convert_time_string_to_struct() 3661 tm->tm_sec = get_next_time_string_digit(&fc, &ptr, TM_SEC_RANGE); in convert_time_string_to_struct() 3663 *offset = (int32_t)get_next_time_string_digit(&fc, &ptr, in convert_time_string_to_struct() 3669 return (fc == 0); in convert_time_string_to_struct()
|
/Zephyr-latest/dts/arm/atmel/ |
D | samd5x.dtsi | 82 id: device_id@8061fc {
|
/Zephyr-latest/dts/arm/microchip/ |
D | mec5.dtsi | 541 "oob_dn", "fc", "erst", "vw_chan_en",
|
D | mec172x_common.dtsi | 817 "oob_dn", "fc", "rst", "vw_chan_en";
|