/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/ |
H A D | ccu_nk.c | 19 struct _ccu_nk *nk) in ccu_nk_find_best() 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 in ccu_nk_disable() 18 ccu_nk_find_best(unsigned long parent, unsigned long rate, struct _ccu_nk *nk) ccu_nk_find_best() argument 53 struct ccu_nk *nk = hw_to_ccu_nk(hw); ccu_nk_enable() local 60 struct ccu_nk *nk = hw_to_ccu_nk(hw); ccu_nk_is_enabled() local 68 struct ccu_nk *nk = hw_to_ccu_nk(hw); ccu_nk_recalc_rate() local 96 struct ccu_nk *nk = hw_to_ccu_nk(hw); ccu_nk_round_rate() local 119 struct ccu_nk *nk = hw_to_ccu_nk(hw); ccu_nk_set_rate() local [all...] |
/kernel/linux/linux-6.6/drivers/clk/sunxi-ng/ |
H A D | ccu_nk.c | 19 struct _ccu_nk *nk) in ccu_nk_find_best() 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() 48 struct ccu_nk *nk = hw_to_ccu_nk(hw); in ccu_nk_disable() local 50 return ccu_gate_helper_disable(&nk->common, nk in ccu_nk_disable() 18 ccu_nk_find_best(unsigned long parent, unsigned long rate, struct _ccu_nk *nk) ccu_nk_find_best() argument 55 struct ccu_nk *nk = hw_to_ccu_nk(hw); ccu_nk_enable() local 62 struct ccu_nk *nk = hw_to_ccu_nk(hw); ccu_nk_is_enabled() local 70 struct ccu_nk *nk = hw_to_ccu_nk(hw); ccu_nk_recalc_rate() local 98 struct ccu_nk *nk = hw_to_ccu_nk(hw); ccu_nk_round_rate() local 120 struct ccu_nk *nk = hw_to_ccu_nk(hw); ccu_nk_set_rate() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router.c | 108 struct prestera_kern_neigh_cache_key *nk) in prestera_util_nhc2nc_key() 110 memset(nk, 0, sizeof(*nk)); in prestera_util_nhc2nc_key() 112 nk->addr.v = PRESTERA_IPV4; in prestera_util_nhc2nc_key() 113 nk->addr.u.ipv4 = nhc->nhc_gw.ipv4; in prestera_util_nhc2nc_key() 115 nk->addr.v = PRESTERA_IPV6; in prestera_util_nhc2nc_key() 116 nk->addr.u.ipv6 = nhc->nhc_gw.ipv6; in prestera_util_nhc2nc_key() 119 nk->dev = nhc->nhc_dev; in prestera_util_nhc2nc_key() 125 struct prestera_nh_neigh_key *nk) in prestera_util_nc_key2nh_key() 127 memset(nk, in prestera_util_nc_key2nh_key() 106 prestera_util_nhc2nc_key(struct prestera_switch *sw, struct fib_nh_common *nhc, struct prestera_kern_neigh_cache_key *nk) prestera_util_nhc2nc_key() argument 124 prestera_util_nc_key2nh_key(struct prestera_kern_neigh_cache_key *ck, struct prestera_nh_neigh_key *nk) prestera_util_nc_key2nh_key() argument 133 prestera_util_nhc_eq_n_cache_key(struct prestera_switch *sw, struct fib_nh_common *nhc, struct prestera_kern_neigh_cache_key *nk) prestera_util_nhc_eq_n_cache_key() argument [all...] |
/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | writeback.c | 433 int nk, i; in read_dirty() local 453 nk = 0; in read_dirty() 462 if (nk >= MAX_WRITEBACKS_IN_PASS) in read_dirty() 481 if ((nk != 0) && bkey_cmp(&keys[nk-1]->key, in read_dirty() 486 keys[nk++] = next; in read_dirty() 490 for (i = 0; i < nk; i++) { in read_dirty()
|
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | writeback.c | 479 int nk, i; in read_dirty() local 499 nk = 0; in read_dirty() 508 if (nk >= MAX_WRITEBACKS_IN_PASS) in read_dirty() 527 if ((nk != 0) && bkey_cmp(&keys[nk-1]->key, in read_dirty() 532 keys[nk++] = next; in read_dirty() 536 for (i = 0; i < nk; i++) { in read_dirty()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_selftests.c | 1091 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_selftests.c | 1091 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()
|
/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 239 u8 nr, nk; in get_aes_decrypt_key() local 243 nk = KEYLENGTH_4BYTES; in get_aes_decrypt_key() 247 nk = KEYLENGTH_6BYTES; in get_aes_decrypt_key() 251 nk = KEYLENGTH_8BYTES; in get_aes_decrypt_key() 257 for (i = 0; i < nk; i++) in get_aes_decrypt_key() 261 temp = w_ring[nk - 1]; in get_aes_decrypt_key() 262 while (i + nk < (nr + 1) * 4) { in get_aes_decrypt_key() 263 if (!(i % nk)) { in get_aes_decrypt_key() 267 temp ^= round_constant[i / nk]; in get_aes_decrypt_key() 268 } else if (nk in get_aes_decrypt_key() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 235 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 in get_aes_decrypt_key() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/openvswitch/ |
H A D | ovs-dpctl.py | 1302 nk = field[2]() 1303 flowstr, k, m = nk.parse(flowstr, field[2])
|