Home
last modified time | relevance | path

Searched refs:fc (Results 1 – 19 of 19) sorted by relevance

/Zephyr-Core-2.7.6/subsys/net/l2/ieee802154/
Dieee802154_frame.c21 fs->fc.frame_type, fs->fc.security_enabled, \
22 fs->fc.frame_pending, fs->fc.ar, fs->fc.pan_id_comp, \
23 fs->fc.reserved); \
25 fs->fc.seq_num_suppr, fs->fc.ie_list, \
26 fs->fc.dst_addr_mode, fs->fc.frame_version, \
27 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()
54 if (fs->fc.frame_version < IEEE802154_VERSION_802154 && in ieee802154_validate_fc_seq()
55 (fs->fc.dst_addr_mode == IEEE802154_ADDR_MODE_RESERVED || in ieee802154_validate_fc_seq()
[all …]
Dieee802154.c74 if (!mpdu->mhr.fs->fc.ar) { in ieee802154_acknowledge()
137 if (mhr->fs->fc.dst_addr_mode == IEEE802154_ADDR_MODE_NONE) { in ieeee802154_check_dst_addr()
153 if (mhr->fs->fc.dst_addr_mode == IEEE802154_ADDR_MODE_SHORT) { in ieeee802154_check_dst_addr()
165 } else if (mhr->fs->fc.dst_addr_mode == IEEE802154_ADDR_MODE_EXTENDED) { in ieeee802154_check_dst_addr()
245 if (mpdu.mhr.fs->fc.frame_type == IEEE802154_FRAME_TYPE_ACK) { in ieee802154_recv()
249 if (mpdu.mhr.fs->fc.frame_type == IEEE802154_FRAME_TYPE_BEACON) { in ieee802154_recv()
258 if (mpdu.mhr.fs->fc.frame_type == IEEE802154_FRAME_TYPE_MAC_COMMAND) { in ieee802154_recv()
266 set_pkt_ll_addr(net_pkt_lladdr_src(pkt), mpdu.mhr.fs->fc.pan_id_comp, in ieee802154_recv()
267 mpdu.mhr.fs->fc.src_addr_mode, mpdu.mhr.src_addr); in ieee802154_recv()
270 mpdu.mhr.fs->fc.dst_addr_mode, mpdu.mhr.dst_addr); in ieee802154_recv()
Dieee802154_frame.h107 } fc __packed;
Dieee802154_mgmt.c46 if (mpdu->mhr.fs->fc.src_addr_mode == IEEE802154_ADDR_MODE_SHORT) { in ieee802154_handle_beacon()
/Zephyr-Core-2.7.6/tests/subsys/modbus/src/
Dtest_modbus_raw.c27 tmp_adu.fc = adu->fc; in server_raw_cb()
52 tmp_adu.fc = adu->fc; in client_raw_cb()
/Zephyr-Core-2.7.6/subsys/modbus/
Dmodbus_raw.c71 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()
Dmodbus_client.c31 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 …]
Dmodbus_server.c85 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()
933 uint8_t fc = ctx->rx_adu.fc; in modbus_server_handler() local
956 ctx->tx_adu.fc = fc; in modbus_server_handler()
960 switch (fc) { in modbus_server_handler()
998 LOG_ERR("Function code 0x%02x not implemented", fc); in modbus_server_handler()
Dmodbus_serial.c135 hex2bin(pmsg, 2, &ctx->rx_adu.fc, 1); in modbus_ascii_rx_adu()
198 pbuf = modbus_ascii_bin2hex(ctx->tx_adu.fc, pbuf); in modbus_ascii_tx_adu()
288 ctx->rx_adu.fc = cfg->uart_buf[1]; in modbus_rtu_rx_adu()
317 cfg->uart_buf[1] = ctx->tx_adu.fc; in rtu_tx_adu()
/Zephyr-Core-2.7.6/samples/subsys/modbus/tcp_server/src/
Dmain.c134 tmp_adu.fc = adu->fc; in server_raw_cb()
/Zephyr-Core-2.7.6/subsys/mgmt/osdp/src/
Dosdp_pd.c758 int fc; in osdp_pd_set_attributes() local
760 while (cap && ((fc = cap->function_code) > 0)) { in osdp_pd_set_attributes()
761 if (fc >= OSDP_PD_CAP_SENTINEL) { in osdp_pd_set_attributes()
764 pd->cap[fc].function_code = cap->function_code; in osdp_pd_set_attributes()
765 pd->cap[fc].compliance_level = cap->compliance_level; in osdp_pd_set_attributes()
766 pd->cap[fc].num_items = cap->num_items; in osdp_pd_set_attributes()
/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Drfcomm_internal.h26 struct k_sem fc; member
Drfcomm.c271 k_sem_give(&dlc->session->fc); in rfcomm_dlc_disconnect()
527 k_sem_take(&dlc->session->fc, K_FOREVER); in rfcomm_check_fc()
534 k_sem_give(&dlc->session->fc); in rfcomm_check_fc()
1317 k_sem_give(&session->fc); in rfcomm_handle_msg()
1336 k_sem_take(&session->fc, K_NO_WAIT); in rfcomm_handle_msg()
1593 k_sem_init(&session->fc, 0, 1); in rfcomm_session_new()
/Zephyr-Core-2.7.6/include/modbus/
Dmodbus.h57 uint8_t fc; member
/Zephyr-Core-2.7.6/samples/subsys/nvs/
DREADME.rst61 Id: 2, Key: ff fe fd fc fb fa f9 f8
/Zephyr-Core-2.7.6/drivers/serial/
Duart_stm32.c375 static inline uint32_t uart_stm32_cfg2ll_hwctrl(enum uart_config_flow_control fc) in uart_stm32_cfg2ll_hwctrl() argument
377 if (fc == UART_CFG_FLOW_CTRL_RTS_CTS) { in uart_stm32_cfg2ll_hwctrl()
391 static inline enum uart_config_flow_control uart_stm32_ll2cfg_hwctrl(uint32_t fc) in uart_stm32_ll2cfg_hwctrl() argument
393 if (fc == LL_USART_HWCONTROL_RTS_CTS) { in uart_stm32_ll2cfg_hwctrl()
/Zephyr-Core-2.7.6/drivers/modem/
Dhl7800.c3298 int fc = 0; in convert_time_string_to_struct() local
3306 get_next_time_string_digit(&fc, &ptr, TM_YEAR_RANGE); in convert_time_string_to_struct()
3308 get_next_time_string_digit(&fc, &ptr, TM_MONTH_RANGE_PLUS_1) - in convert_time_string_to_struct()
3310 tm->tm_mday = get_next_time_string_digit(&fc, &ptr, TM_DAY_RANGE); in convert_time_string_to_struct()
3311 tm->tm_hour = get_next_time_string_digit(&fc, &ptr, TM_HOUR_RANGE); in convert_time_string_to_struct()
3312 tm->tm_min = get_next_time_string_digit(&fc, &ptr, TM_MIN_RANGE); in convert_time_string_to_struct()
3313 tm->tm_sec = get_next_time_string_digit(&fc, &ptr, TM_SEC_RANGE); in convert_time_string_to_struct()
3315 *offset = (int32_t)get_next_time_string_digit(&fc, &ptr, in convert_time_string_to_struct()
3321 return (fc == 0); in convert_time_string_to_struct()
/Zephyr-Core-2.7.6/dts/arm/atmel/
Dsamd5x.dtsi84 id: device_id@8061fc {
/Zephyr-Core-2.7.6/include/net/
Dnet_pkt.h1098 uint32_t fc) in net_pkt_set_ieee802154_ack_fc() argument
1100 pkt->ieee802154_ack_fc = fc; in net_pkt_set_ieee802154_ack_fc()