Searched refs:nk (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/drivers/clk/sunxi-ng/ |
| H A D | ccu_nk.c | 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() 74 reg = readl(nk->common.base + nk->common.reg); in ccu_nk_recalc_rate() 105 _nk.max_n = nk->n.max ?: 1 << nk->n.width; in ccu_nk_round_rate() 107 _nk.max_k = nk->k.max ?: 1 << nk->k.width; in ccu_nk_round_rate() 129 _nk.max_n = nk->n.max ?: 1 << nk->n.width; in ccu_nk_set_rate() 131 _nk.max_k = nk->k.max ?: 1 << nk->k.width; in ccu_nk_set_rate() 138 reg &= ~GENMASK(nk->n.width + nk->n.shift - 1, nk->n.shift); in ccu_nk_set_rate() 139 reg &= ~GENMASK(nk->k.width + nk->k.shift - 1, nk->k.shift); in ccu_nk_set_rate() 141 reg |= (_nk.k - nk->k.offset) << nk->k.shift; in ccu_nk_set_rate() [all …]
|
| /linux-6.15/drivers/net/ |
| H A D | netkit.c | 96 nk->scrub); in netkit_xmit() 347 struct netkit *nk; in netkit_new_link() local 416 nk->primary = false; in netkit_new_link() 419 nk->mode = mode; in netkit_new_link() 441 nk = netkit_priv(dev); in netkit_new_link() 442 nk->primary = true; in netkit_new_link() 445 nk->mode = mode; in netkit_new_link() 478 return &nk->bundle.a; in netkit_entry_fetch() 499 struct netkit *nk; in netkit_dev_fetch() local 518 if (!nk->primary) in netkit_dev_fetch() [all …]
|
| /linux-6.15/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 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() argument 127 memset(nk, 0, sizeof(*nk)); in prestera_util_nc_key2nh_key() 128 nk->addr = ck->addr; in prestera_util_nc_key2nh_key() 129 nk->rif = (void *)ck->dev; in prestera_util_nc_key2nh_key() [all …]
|
| /linux-6.15/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()
|
| /linux-6.15/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()
|
| /linux-6.15/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() 259 if (!(i % nk)) { in get_aes_decrypt_key() 267 w_ring[i % nk] ^= temp; in get_aes_decrypt_key() 268 temp = w_ring[i % nk]; in get_aes_decrypt_key() 272 for (k = 0, j = i % nk; k < nk; k++) { in get_aes_decrypt_key() [all …]
|
| /linux-6.15/tools/testing/selftests/net/openvswitch/ |
| H A D | ovs-dpctl.py | 1701 nk = field[2]() 1702 flowstr, k, m = nk.parse(flowstr, field[2])
|