Home
last modified time | relevance | path

Searched refs:nk (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/clk/sunxi-ng/
Dccu_nk.c19 struct _ccu_nk *nk) in ccu_nk_find_best() argument
25 for (_k = nk->min_k; _k <= nk->max_k; _k++) { in ccu_nk_find_best()
26 for (_n = nk->min_n; _n <= nk->max_n; _n++) { in ccu_nk_find_best()
40 nk->k = best_k; in ccu_nk_find_best()
41 nk->n = best_n; in ccu_nk_find_best()
46 struct ccu_nk *nk = hw_to_ccu_nk(hw); in ccu_nk_disable() local
48 return ccu_gate_helper_disable(&nk->common, nk->enable); in ccu_nk_disable()
53 struct ccu_nk *nk = hw_to_ccu_nk(hw); in ccu_nk_enable() local
55 return ccu_gate_helper_enable(&nk->common, nk->enable); in ccu_nk_enable()
60 struct ccu_nk *nk = hw_to_ccu_nk(hw); in ccu_nk_is_enabled() local
[all …]
/linux-5.19.10/drivers/md/bcache/
Dwriteback.c448 int nk, i; in read_dirty() local
468 nk = 0; in read_dirty()
477 if (nk >= MAX_WRITEBACKS_IN_PASS) in read_dirty()
496 if ((nk != 0) && bkey_cmp(&keys[nk-1]->key, in read_dirty()
501 keys[nk++] = next; in read_dirty()
505 for (i = 0; i < nk; i++) { in read_dirty()
/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c1091 int ret, i, nk = 1; in stmmac_test_rxp() local
1098 sel = kzalloc(struct_size(sel, keys, nk), GFP_KERNEL); in stmmac_test_rxp()
1108 actions = kcalloc(nk, sizeof(*actions), GFP_KERNEL); in stmmac_test_rxp()
1114 gact = kcalloc(nk, sizeof(*gact), GFP_KERNEL); in stmmac_test_rxp()
1127 exts->nr_actions = nk; in stmmac_test_rxp()
1129 for (i = 0; i < nk; i++) { in stmmac_test_rxp()
1134 sel->nkeys = nk; in stmmac_test_rxp()
/linux-5.19.10/drivers/crypto/chelsio/
Dchcr_algo.c235 u8 nr, nk; in get_aes_decrypt_key() local
239 nk = KEYLENGTH_4BYTES; in get_aes_decrypt_key()
243 nk = KEYLENGTH_6BYTES; in get_aes_decrypt_key()
247 nk = KEYLENGTH_8BYTES; in get_aes_decrypt_key()
253 for (i = 0; i < nk; i++) in get_aes_decrypt_key()
257 temp = w_ring[nk - 1]; in get_aes_decrypt_key()
258 while (i + nk < (nr + 1) * 4) { in get_aes_decrypt_key()
259 if (!(i % nk)) { in get_aes_decrypt_key()
263 temp ^= round_constant[i / nk]; in get_aes_decrypt_key()
264 } else if (nk == 8 && (i % 4 == 0)) { in get_aes_decrypt_key()
[all …]