Home
last modified time | relevance | path

Searched refs:n2 (Results 1 – 21 of 21) sorted by relevance

/device/soc/esp/esp32/components/esp_system/
Dpanic.c121 int n1, n2; in panic_print_dec() local
123 n2 = d / 10; // extract tens digit in panic_print_dec()
124 if (n2 == 0) { in panic_print_dec()
127 panic_print_char(n2 + '0'); in panic_print_dec()
/device/soc/telink/b91/b91_ble_sdk/algorithm/crypto/
Dcrypto_alg.h103 unsigned char n2[16], unsigned char a1[7], unsigned char a2[7]);
116 …lt_crypto_alg_f6(unsigned char *e, unsigned char w[16], unsigned char n1[16], unsigned char n2[16],
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_sm_alg.c235 int ble_sm_alg_f5(const uint8_t *w, const uint8_t *n1, const uint8_t *n2, in ble_sm_alg_f5() argument
260 ble_sm_alg_log_buf("n2", n2, 16); // 16:len in ble_sm_alg_f5()
269 swap_buf(m + 21, n2, 16); // 16:len in ble_sm_alg_f5()
293 int ble_sm_alg_f6(const uint8_t *w, const uint8_t *n1, const uint8_t *n2, in ble_sm_alg_f6() argument
304 ble_sm_alg_log_buf("n2", n2, 16); // 16:len in ble_sm_alg_f6()
312 swap_buf(m + 16, n2, 16); // 16:len, 16:byte alignment in ble_sm_alg_f6()
Dble_sm_priv.h310 int ble_sm_alg_f5(const uint8_t *w, const uint8_t *n1, const uint8_t *n2,
313 int ble_sm_alg_f6(const uint8_t *w, const uint8_t *n1, const uint8_t *n2,
/device/board/openvalley/niobeu4/liteos_m/hals/syscalls/
Dsyscalls.c66 int _link_r(struct _reent *r, const char *n1, const char *n2) in _link_r() argument
68 return link(n1, n2); in _link_r()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/include/
Dsmp_int.h383 UINT8 *n2, UINT8 *a1, UINT8 *a2,
385 extern void smp_f5_calc_chk (UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2,
387 extern void smp_f6_calc_chk (UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *r,
521 extern BOOLEAN smp_calculate_f5(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2,
524 UINT8 *key_id, UINT8 *n1, UINT8 *n2, UINT8 *a1,
527 extern BOOLEAN smp_calculate_f6(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *r, UINT8 *iocap,
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/
Dsmp_keys.c1486 BOOLEAN smp_calculate_f5(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2, in smp_calculate_f5() argument
1517 p_prnt = n2; in smp_calculate_f5()
1534 if (!smp_calculate_f5_mackey_or_long_term_key(t, counter_mac_key, key_id, n1, n2, a1, a2, in smp_calculate_f5()
1544 if (!smp_calculate_f5_mackey_or_long_term_key(t, counter_ltk, key_id, n1, n2, a1, a2, in smp_calculate_f5()
1590 UINT8 *key_id, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2, in smp_calculate_f5_mackey_or_long_term_key() argument
1615 p_prnt = n2; in smp_calculate_f5_mackey_or_long_term_key()
1635 ARRAY_TO_STREAM(p, n2, BT_OCTET16_LEN); in smp_calculate_f5_mackey_or_long_term_key()
1827 BOOLEAN smp_calculate_f6(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *r, UINT8 *iocap, UINT8 *a1, in smp_calculate_f6() argument
1845 p_print = n2; in smp_calculate_f6()
1872 ARRAY_TO_STREAM(p, n2, BT_OCTET16_LEN); in smp_calculate_f6()
Daes.c237 uint_8t p1 = x, p2 = BPOLY, n1 = hibit(x), n2 = 0x80, v1 = 1, v2 = 0; in gf_inv() local
245 while (n2 >= n1) { /* divide polynomial p2 by p1 */ in gf_inv()
246 n2 /= n1; /* shift smaller polynomial left */ in gf_inv()
247 p2 ^= (p1 * n2) & 0xff; /* and remove from larger one */ in gf_inv()
248 v2 ^= (v1 * n2); /* shift accumulated value and */ in gf_inv()
249 n2 = hibit(p2); /* add into result */ in gf_inv()
255 if (n2) { /* repeat with values swapped */ in gf_inv()
256 while (n1 >= n2) { in gf_inv()
257 n1 /= n2; in gf_inv()
/device/soc/rockchip/rk3588/hardware/rga/include/
Dim2d.h34 #define RGA_GET_MIN(n1, n2) ((n1) < (n2) ? (n1) : (n2)) argument
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dsiutils.c1623 uint32 n1, n2, clock, m1, m2, m3, mc; in si_clock_rate() local
1626 n2 = (n & CN_N2_MASK) >> CN_N2_SHIFT; in si_clock_rate()
1638 n2 += CC_F5_BIAS; in si_clock_rate()
1641 n2 += CC_T2_BIAS; in si_clock_rate()
1643 ASSERT((n2 >= 5) && (n2 <= 23)); in si_clock_rate()
1651 clock = CC_CLOCK_BASE2 * n1 * n2; in si_clock_rate()
1653 clock = CC_CLOCK_BASE1 * n1 * n2; in si_clock_rate()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dsiutils.c1834 uint32 n1, n2, clock, m1, m2, m3, mc; in si_clock_rate() local
1837 n2 = (n & CN_N2_MASK) >> CN_N2_SHIFT; in si_clock_rate()
1848 n2 += CC_F5_BIAS; in si_clock_rate()
1851 n2 += CC_T2_BIAS; in si_clock_rate()
1853 ASSERT((n2 >= 0x5) && (n2 <= 0x17)); in si_clock_rate()
1861 clock = CC_CLOCK_BASE2 * n1 * n2; in si_clock_rate()
1863 clock = CC_CLOCK_BASE1 * n1 * n2; in si_clock_rate()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dsiutils.c1828 uint32 n1, n2, clock, m1, m2, m3, mc; in si_clock_rate() local
1831 n2 = (n & CN_N2_MASK) >> CN_N2_SHIFT; in si_clock_rate()
1843 n2 += CC_F5_BIAS; in si_clock_rate()
1846 n2 += CC_T2_BIAS; in si_clock_rate()
1848 ASSERT((n2 >= 5) && (n2 <= 23)); in si_clock_rate()
1856 clock = CC_CLOCK_BASE2 * n1 * n2; in si_clock_rate()
1858 clock = CC_CLOCK_BASE1 * n1 * n2; in si_clock_rate()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/rfcomm/include/
Drfc_int.h94 UINT8 n2; member
/device/soc/rockchip/common/sdk_linux/drivers/hid/
Dhid-core.c2190 int n2 = strrchr(hdev_b->phys, separator) - hdev_b->phys; in hid_compare_device_paths() local
2191 if (n1 != n2 || n1 <= 0 || n2 <= 0) { in hid_compare_device_paths()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/hw_demux/
Daml_dmx.c957 n2 = 0, in process_smallsection() local
967 n2 = wr; in process_smallsection()
982 if (n2) { in process_smallsection()
983 pr_dbg_irq_ss("n2:%d\n", n2); in process_smallsection()
986 n2<<8, in process_smallsection()
988 for (i = 0; i < n2; i++) { in process_smallsection()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dtx.c4222 int i, have_bits = 0, n1, n2; in __ieee80211_beacon_add_tim() local
4260 n2 = n1; in __ieee80211_beacon_add_tim()
4263 n2 = i; in __ieee80211_beacon_add_tim()
4271 skb_put(skb, n2 - n1); in __ieee80211_beacon_add_tim()
4272 memcpy(pos, ps->tim + n1, n2 - n1 + 1); in __ieee80211_beacon_add_tim()
4274 tim[1] = n2 - n1 + 4; in __ieee80211_beacon_add_tim()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/rfcomm/
Drfc_ts_frames.c751 p_rx_frame->u.pn.n2 = *p_data++; in rfc_process_mx_message()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dsiutils.c4481 uint32 n1, n2, clock, m1, m2, m3, mc; in BCMINITFN() local
4484 n2 = (n & CN_N2_MASK) >> CN_N2_SHIFT; in BCMINITFN()
4496 n2 += CC_F5_BIAS; in BCMINITFN()
4499 n2 += CC_T2_BIAS; in BCMINITFN()
4501 ASSERT((n2 >= 5) && (n2 <= 23)); in BCMINITFN()
4510 clock = CC_CLOCK_BASE2 * n1 * n2; in BCMINITFN()
4512 clock = CC_CLOCK_BASE1 * n1 * n2; in BCMINITFN()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_ap.c53 u8 i, n1, n2; in rtw_set_tim_ie() local
67 n2 = i; in rtw_set_tim_ie()
68 bmp_len = n2 - n1 + 1; in rtw_set_tim_ie()
70 n1 = n2 = 0; in rtw_set_tim_ie()
82 RTW_INFO("n1:%u, n2:%u, bmp_offset:%u, bmp_len:%u\n", n1, n2, n1 / 2, bmp_len); in rtw_set_tim_ie()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/vp9/
Dvvp9.c4111 const int n2 = in adapt_coef_probs() local
4120 { n0, n1 + n2 }, in adapt_coef_probs()
4121 { n1, n2 } in adapt_coef_probs()
/device/board/isoftstone/zhiyuan/kernel/driver/ramfs/
Drootfs_arm64.cpio.gz