Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 136) sorted by relevance

123456

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/linux/
Dexport.h25 #define __CRC_SYMBOL(sym, sec) \ argument
26 asm(" .section \"___kcrctab" sec "+" #sym "\", \"a\" \n" \
31 #define __CRC_SYMBOL(sym, sec) \ argument
32 asm(" .section \"___kcrctab" sec "+" #sym "\", \"a\" \n" \
38 #define __CRC_SYMBOL(sym, sec) argument
49 #define __KSYMTAB_ENTRY_NS(sym, sec) \ argument
51 asm(" .section \"___ksymtab" sec "+" #sym "\", \"a\" \n" \
59 #define __KSYMTAB_ENTRY(sym, sec) \ argument
61 asm(" .section \"___ksymtab" sec "+" #sym "\", \"a\" \n" \
75 #define __KSYMTAB_ENTRY_NS(sym, sec) \ argument
[all …]
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/best2003/
Dhal_sec_best2003.c26 static struct HAL_SEC_T *const sec = (struct HAL_SEC_T *)TRUST_ZONE_BASE; variable
31 sec->REG_00C |= (SEC_CFG_NONSEC_GDMA1 | SEC_CFG_NONSEC_GDMA2); in hal_sec_set_gdma_nonsec()
33 sec->REG_00C &= ~(SEC_CFG_NONSEC_GDMA1 | SEC_CFG_NONSEC_GDMA2); in hal_sec_set_gdma_nonsec()
39 sec->REG_00C |= (SEC_CFG_NONSEC_ADMA1 | SEC_CFG_NONSEC_ADMA2); in hal_sec_set_adma_nonsec()
41 sec->REG_00C &= ~(SEC_CFG_NONSEC_ADMA1 | SEC_CFG_NONSEC_ADMA2); in hal_sec_set_adma_nonsec()
47 sec->REG_00C |= SEC_CFG_NONSEC_BCM; in hal_sec_set_bcm_nonsec()
49 sec->REG_00C &= ~SEC_CFG_NONSEC_BCM; in hal_sec_set_bcm_nonsec()
55 sec->REG_00C |= SEC_CFG_NONSEC_CKSUM; in hal_sec_set_cksum_nonsec()
57 sec->REG_00C &= ~SEC_CFG_NONSEC_CKSUM; in hal_sec_set_cksum_nonsec()
63 sec->REG_00C |= SEC_CFG_NONSEC_CRC; in hal_sec_set_crc_nonsec()
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/fhost/application/
Dwifi_host_iperf.h59 uint32_t sec; member
68 uint32_t sec; member
192 (result)->sec = (a)->sec + (b)->sec; \
197 (result)->sec++; \
204 (result)->sec = (a)->sec - (b)->sec; \
208 --(result)->sec; \
215 (((a)->sec < (b)->sec) || \
216 ((a)->sec == (b)->sec && \
223 #define iperf_timersec(a) ((a)->sec + ((a)->usec / 1000000))
226 #define iperf_timerusec(a) (((a)->sec * 1000000) + (a)->usec)
[all …]
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/store/config/src/
Dble_store_nvram.c65 static void ble_store_nvram_print_value_sec(const struct ble_store_value_sec *sec) in ble_store_nvram_print_value_sec() argument
68 ble_hs_log_flat_buf_tmp(sec->peer_addr.val, 6); // 6:len in ble_store_nvram_print_value_sec()
70 BLE_HS_LOG(ERROR, "peer_addr_type=%d ", sec->peer_addr.type); in ble_store_nvram_print_value_sec()
72 if (sec->ltk_present) { in ble_store_nvram_print_value_sec()
74 sec->ediv, sec->rand_num, sec->authenticated); in ble_store_nvram_print_value_sec()
75 ble_hs_log_flat_buf_tmp(sec->ltk, 16); // 16:len in ble_store_nvram_print_value_sec()
79 if (sec->irk_present) { in ble_store_nvram_print_value_sec()
81 ble_hs_log_flat_buf_tmp(sec->irk, 16); // 16:len in ble_store_nvram_print_value_sec()
85 if (sec->csrk_present) { in ble_store_nvram_print_value_sec()
87 ble_hs_log_flat_buf_tmp(sec->csrk, 16); // 16:len in ble_store_nvram_print_value_sec()
[all …]
Dble_store_config.c42 static void ble_store_config_print_value_sec(const struct ble_store_value_sec *sec) in ble_store_config_print_value_sec() argument
45 ble_hs_log_flat_buf(sec->peer_addr.val, 6); // 6:len in ble_store_config_print_value_sec()
46 BLE_HS_LOG(DEBUG, "peer_addr_type=%d ", sec->peer_addr.type); in ble_store_config_print_value_sec()
48 if (sec->ltk_present) { in ble_store_config_print_value_sec()
50 sec->ediv, sec->rand_num, sec->authenticated); in ble_store_config_print_value_sec()
51 ble_hs_log_flat_buf(sec->ltk, 16); // 16:len in ble_store_config_print_value_sec()
55 if (sec->irk_present) { in ble_store_config_print_value_sec()
57 ble_hs_log_flat_buf(sec->irk, 16); // 16:len in ble_store_config_print_value_sec()
61 if (sec->csrk_present) { in ble_store_config_print_value_sec()
63 ble_hs_log_flat_buf(sec->csrk, 16); // 16:len in ble_store_config_print_value_sec()
[all …]
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/store/ram/src/
Dble_store_ram.c50 static void ble_store_ram_print_value_sec(const struct ble_store_value_sec *sec) in ble_store_ram_print_value_sec() argument
52 if (sec->ltk_present) { in ble_store_ram_print_value_sec()
54 sec->ediv, sec->rand_num, sec->authenticated); in ble_store_ram_print_value_sec()
55 ble_hs_log_flat_buf(sec->ltk, 16); // 16:len in ble_store_ram_print_value_sec()
59 if (sec->irk_present) { in ble_store_ram_print_value_sec()
61 ble_hs_log_flat_buf(sec->irk, 16); // 16:len in ble_store_ram_print_value_sec()
65 if (sec->csrk_present) { in ble_store_ram_print_value_sec()
67 ble_hs_log_flat_buf(sec->csrk, 16); // 16:len in ble_store_ram_print_value_sec()
382 ble_store_ram_print_key_sec(&key->sec); in ble_store_ram_read()
384 rc = ble_store_ram_read_peer_sec(&key->sec, &value->sec); in ble_store_ram_read()
[all …]
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_hs_misc.c113 const struct ble_store_value_sec *sec; in ble_hs_misc_restore_one_irk() local
115 sec = &val->sec; in ble_hs_misc_restore_one_irk()
116 if (sec->irk_present) { in ble_hs_misc_restore_one_irk()
117 int rc = ble_hs_pvcy_add_entry(sec->peer_addr.val, sec->peer_addr.type, sec->irk); in ble_hs_misc_restore_one_irk()
Dble_store_util.c42 if (ble_addr_cmp(set->peer_id_addrs + i, &val->sec.peer_addr) == 0) { in ble_store_util_iter_unique_peer()
53 set->peer_id_addrs[set->num_peers] = val->sec.peer_addr; in ble_store_util_iter_unique_peer()
110 key.sec.peer_addr = *peer_id_addr; in ble_store_util_delete_peer()
Dble_store.c279 ble_store_key_from_value_sec(&out_key->sec, &value->sec); in ble_store_key_from_value()
306 key.sec.peer_addr = *BLE_ADDR_ANY; in ble_store_iterate()
307 pidx = &key.sec.idx; in ble_store_iterate()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
Dsntp_opts.h105 #define SNTP_SET_SYSTEM_TIME(sec) (void)stime(&sec) argument
113 #define SNTP_SET_SYSTEM_TIME_US(sec, us) argument
203 #define SNTP_GET_SYSTEM_TIME(sec, us) do { (sec) = 0; (us) = 0; } while (0) argument
/device/soc/esp/esp32/components/bt/common/osi/
Dconfig.c229 section_t *sec = section_find(config, section); in config_set_string() local
230 if (!sec) { in config_set_string()
231 sec = section_new(section); in config_set_string()
233 list_append(config->sections, sec); in config_set_string()
235 list_prepend(config->sections, sec); in config_set_string()
239 …for (const list_node_t *node = list_begin(sec->entries); node != list_end(sec->entries); node = li… in config_set_string()
249 list_append(sec->entries, entry); in config_set_string()
257 section_t *sec = section_find(config, section); in config_remove_section() local
258 if (!sec) { in config_remove_section()
262 return list_remove(config->sections, sec); in config_remove_section()
[all …]
/device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/
Dhpm_ptpc_drv.h140 static inline void ptpc_set_second_update(PTPC_Type *ptr, uint8_t index, uint32_t sec) in ptpc_set_second_update() argument
142 ptr->PTPC[index].TS_UPDTH = PTPC_PTPC_TS_UPDTH_SEC_UPDATE_SET(sec); in ptpc_set_second_update()
191 static inline void ptpc_config_compare(PTPC_Type *ptr, uint8_t index, uint32_t sec, uint32_t ns) in ptpc_config_compare() argument
193 ptr->PTPC[index].TARH = PTPC_PTPC_TARH_TARGET_TIME_HIGH_SET(sec); in ptpc_config_compare()
205 static inline void ptpc_update_timestamp_second(PTPC_Type *ptr, uint8_t index, uint32_t sec) in ptpc_update_timestamp_second() argument
207 ptr->PTPC[index].TS_UPDTH = PTPC_PTPC_TS_UPDTH_SEC_UPDATE_SET(sec); in ptpc_update_timestamp_second()
380 hpm_stat_t ptpc_init_timer_with_initial(PTPC_Type *ptr, uint8_t index, uint32_t sec, uint32_t ns, p…
392 hpm_stat_t ptpc_update_timer(PTPC_Type *ptr, uint8_t index, uint32_t sec, uint32_t ns, ptpc_countin…
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/sid/
Dsunxi-sid.c162 void __iomem **base, s8 *compatible, u32 sec) in sid_get_base() argument
164 if (sec == 1) in sid_get_base()
171 static void sid_put_base(struct device_node *pnode, void __iomem *base, u32 sec) in sid_put_base() argument
173 SID_DBG("base = %p, Sec = %d\n", base, sec); in sid_put_base()
174 if ((sec == 0) && (base != NULL)) in sid_put_base()
180 static u32 sid_readl(void __iomem *base, u32 sec) in sid_readl() argument
182 if (sec == 0) in sid_readl()
207 static u32 sid_read_key(s8 *key_name, u32 *key_buf, u32 key_size, u32 sec) in sid_read_key() argument
213 if (sid_get_base(&dev_node, &baseaddr, EFUSE_SID_BASE, sec)) in sid_read_key()
222 key_buf[i/4] = sid_readl(baseaddr + offset + i, sec); in sid_read_key()
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/bsp/driver/pub/
Ddriver_pub.h42 void cs_time_init(uint32_t sec, uint32_t usec);
43 void cs_time_update(uint32_t sec, uint32_t usec);
44 int cs_time_get(enum time_origin_t origin, uint32_t *sec, uint32_t *usec);
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_security.c75 #define WEP_SW_ENC_CNT_INC(sec, ra) do {\ argument
77 sec->wep_sw_enc_cnt_bc++; \
79 sec->wep_sw_enc_cnt_mc++; \
81 sec->wep_sw_enc_cnt_uc++; \
84 #define WEP_SW_DEC_CNT_INC(sec, ra) do {\ argument
86 sec->wep_sw_dec_cnt_bc++; \
88 sec->wep_sw_dec_cnt_mc++; \
90 sec->wep_sw_dec_cnt_uc++; \
93 #define TKIP_SW_ENC_CNT_INC(sec, ra) do {\ argument
95 sec->tkip_sw_enc_cnt_bc++; \
[all …]
/device/soc/hpmicro/sdk/hpm_sdk/drivers/src/
Dhpm_ptpc_drv.c69 hpm_stat_t ptpc_update_timer(PTPC_Type *ptr, uint8_t index, uint32_t sec, uint32_t ns, ptpc_countin… in ptpc_update_timer() argument
74 ptpc_set_second_update(ptr, index, sec); in ptpc_update_timer()
86 hpm_stat_t ptpc_init_timer_with_initial(PTPC_Type *ptr, uint8_t index, uint32_t sec, uint32_t ns, p… in ptpc_init_timer_with_initial() argument
91 ptpc_set_second_update(ptr, index, sec); in ptpc_init_timer_with_initial()
/device/board/isoftstone/yangfan/kernel/src/driv/soc/
Dflash_vendor_storage.h8 int flash_vendor_dev_ops_register(int (*read)(u32 sec,
11 int (*write)(u32 sec,
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
Dflash_vendor_storage.h8 int flash_vendor_dev_ops_register(int (*read)(u32 sec,
11 int (*write)(u32 sec,
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/gls/
Dgls_racp.c83 if (p_compared_date_time->sec < p_base_date_time->sec) { in gls_racp_user_time_compare()
85 } else if (p_compared_date_time->sec > p_base_date_time->sec) { in gls_racp_user_time_compare()
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
DRockchip_OSAL_ETC.c163 unsigned long sec, usec, time; in MeasureTime() local
165 sec = stop->tv_sec - start->tv_sec; in MeasureTime()
170 sec--; in MeasureTime()
173 time = sec * 1000000 + (usec); // 1000000:time shift in MeasureTime()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
Dhi_time.c81 hi_u32 hi_set_real_time(hi_u32 sec) in hi_set_real_time() argument
86 tp.tv_sec = (int)sec; in hi_set_real_time()
/device/soc/esp/esp32/components/newlib/
Dtime.c137 int64_t sec = delta->tv_sec; in adjtime() local
139 if(llabs(sec) > ((INT_MAX / 1000000L) - 1L)) { in adjtime()
151 s_adjtime_total_correction_us = sec * 1000000L + usec; in adjtime()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/sw_demux/
Dswdmx_demux.c102 SWDMX_UInt8 *sec = pid_filter->sec_data; in sec_data() local
111 memcpy(sec + pid_filter->sec_recv, p, n); in sec_data()
122 if (sec[0] == 0xff) in sec_data()
125 sec_len = (((sec[1] & 0xf) << 8) | sec[2]) + 3; in sec_data()
129 memcpy(sec + pid_filter->sec_recv, p, n); in sec_data()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_linux_pktdump.c335 bool pair, ack, mic, kerr, req, sec, install; in dhd_is_4way_msg() local
355 sec = !!(key_info & KEYINFO_SECURE_MASK); in dhd_is_4way_msg()
359 if (pair && !install && ack && !mic && !sec && !kerr && !req) { in dhd_is_4way_msg()
361 } else if (pair && !install && !ack && mic && !sec && !kerr && !req) { in dhd_is_4way_msg()
363 } else if (pair && ack && mic && sec && !kerr && !req) { in dhd_is_4way_msg()
365 } else if (pair && !install && !ack && mic && sec && !req && !kerr) { in dhd_is_4way_msg()
367 } else if (!pair && !install && ack && mic && sec && !req && !kerr) { in dhd_is_4way_msg()
369 } else if (!pair && !install && !ack && mic && sec && !req && !kerr) { in dhd_is_4way_msg()
376 key_info, pair, ack, mic, sec, kerr, req); in dhd_is_4way_msg()
380 if (pair && !install && ack && !mic && !sec && !kerr && !req) { in dhd_is_4way_msg()
[all …]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_linux_pktdump.c327 bool pair, ack, mic, kerr, req, sec, install; in dhd_is_4way_msg() local
347 sec = !!(key_info & KEYINFO_SECURE_MASK); in dhd_is_4way_msg()
351 if (pair && !install && ack && !mic && !sec && !kerr && !req) { in dhd_is_4way_msg()
353 } else if (pair && !install && !ack && mic && !sec && !kerr && !req) { in dhd_is_4way_msg()
355 } else if (pair && ack && mic && sec && !kerr && !req) { in dhd_is_4way_msg()
357 } else if (pair && !install && !ack && mic && sec && !req && !kerr) { in dhd_is_4way_msg()
359 } else if (!pair && !install && ack && mic && sec && !req && !kerr) { in dhd_is_4way_msg()
361 } else if (!pair && !install && !ack && mic && sec && !req && !kerr) { in dhd_is_4way_msg()
367 key_info, pair, ack, mic, sec, kerr, req); in dhd_is_4way_msg()
372 if (pair && !install && ack && !mic && !sec && !kerr && !req) { in dhd_is_4way_msg()
[all …]

123456