/linux-6.6.21/net/ncsi/ |
D | ncsi-aen.c | 49 struct ncsi_channel *nc, *tmp; in ncsi_aen_handler_lsc() local 60 ncsi_find_package_and_channel(ndp, h->common.channel, NULL, &nc); in ncsi_aen_handler_lsc() 61 if (!nc) in ncsi_aen_handler_lsc() 67 spin_lock_irqsave(&nc->lock, flags); in ncsi_aen_handler_lsc() 68 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_aen_handler_lsc() 78 nc->id, data & 0x1 ? "up" : "down"); in ncsi_aen_handler_lsc() 80 chained = !list_empty(&nc->link); in ncsi_aen_handler_lsc() 81 state = nc->state; in ncsi_aen_handler_lsc() 82 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_aen_handler_lsc() 87 nc->id); in ncsi_aen_handler_lsc() [all …]
|
D | ncsi-manage.c | 37 struct ncsi_channel *nc; in ncsi_channel_is_last() local 40 NCSI_FOR_EACH_CHANNEL(np, nc) { in ncsi_channel_is_last() 41 if (nc == channel) in ncsi_channel_is_last() 43 if (nc->state == NCSI_CHANNEL_ACTIVE && in ncsi_channel_is_last() 44 ncsi_channel_has_link(nc)) in ncsi_channel_is_last() 55 struct ncsi_channel *nc; in ncsi_report_link() local 66 NCSI_FOR_EACH_CHANNEL(np, nc) { in ncsi_report_link() 67 spin_lock_irqsave(&nc->lock, flags); in ncsi_report_link() 69 if (!list_empty(&nc->link) || in ncsi_report_link() 70 nc->state != NCSI_CHANNEL_ACTIVE) { in ncsi_report_link() [all …]
|
D | ncsi-rsp.c | 94 struct ncsi_channel *nc; in ncsi_rsp_handler_cis() local 98 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, &np, &nc); in ncsi_rsp_handler_cis() 99 if (!nc) { in ncsi_rsp_handler_cis() 104 nc = ncsi_add_channel(np, id); in ncsi_rsp_handler_cis() 107 return nc ? 0 : -ENODEV; in ncsi_rsp_handler_cis() 141 struct ncsi_channel *nc; in ncsi_rsp_handler_dp() local 152 NCSI_FOR_EACH_CHANNEL(np, nc) { in ncsi_rsp_handler_dp() 153 spin_lock_irqsave(&nc->lock, flags); in ncsi_rsp_handler_dp() 154 nc->state = NCSI_CHANNEL_INACTIVE; in ncsi_rsp_handler_dp() 155 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_rsp_handler_dp() [all …]
|
D | ncsi-netlink.c | 59 struct ncsi_channel *nc) in ncsi_write_channel_info() argument 66 nla_put_u32(skb, NCSI_CHANNEL_ATTR_ID, nc->id); in ncsi_write_channel_info() 67 m = &nc->modes[NCSI_MODE_LINK]; in ncsi_write_channel_info() 69 if (nc->state == NCSI_CHANNEL_ACTIVE) in ncsi_write_channel_info() 71 if (nc == nc->package->preferred_channel) in ncsi_write_channel_info() 74 nla_put_u32(skb, NCSI_CHANNEL_ATTR_VERSION_MAJOR, nc->version.major); in ncsi_write_channel_info() 75 nla_put_u32(skb, NCSI_CHANNEL_ATTR_VERSION_MINOR, nc->version.minor); in ncsi_write_channel_info() 76 nla_put_string(skb, NCSI_CHANNEL_ATTR_VERSION_STR, nc->version.fw_name); in ncsi_write_channel_info() 81 ncf = &nc->vlan_filter; in ncsi_write_channel_info() 99 struct ncsi_channel *nc; in ncsi_write_package_info() local [all …]
|
D | ncsi-netlink.h | 15 struct ncsi_channel *nc); 18 struct ncsi_channel *nc);
|
D | internal.h | 374 #define NCSI_FOR_EACH_CHANNEL(np, nc) \ argument 375 list_for_each_entry_rcu(nc, &np->channels, node) 379 void ncsi_start_channel_monitor(struct ncsi_channel *nc); 380 void ncsi_stop_channel_monitor(struct ncsi_channel *nc); 393 struct ncsi_channel **nc);
|
/linux-6.6.21/drivers/mtd/nand/raw/atmel/ |
D | nand-controller.c | 199 int (*remove)(struct atmel_nand_controller *nc); 200 void (*nand_init)(struct atmel_nand_controller *nc, 288 struct atmel_hsmc_nand_controller *nc = data; in atmel_nfc_interrupt() local 292 regmap_read(nc->base.smc, ATMEL_HSMC_NFC_SR, &sr); in atmel_nfc_interrupt() 294 rcvd = sr & (nc->op.wait | ATMEL_HSMC_NFC_SR_ERRORS); in atmel_nfc_interrupt() 295 done = atmel_nfc_op_done(&nc->op, sr); in atmel_nfc_interrupt() 298 regmap_write(nc->base.smc, ATMEL_HSMC_NFC_IDR, rcvd); in atmel_nfc_interrupt() 301 complete(&nc->complete); in atmel_nfc_interrupt() 306 static int atmel_nfc_wait(struct atmel_hsmc_nand_controller *nc, bool poll, in atmel_nfc_wait() argument 317 ret = regmap_read_poll_timeout(nc->base.smc, in atmel_nfc_wait() [all …]
|
/linux-6.6.21/drivers/mtd/nand/raw/ |
D | orion_nand.c | 30 static void orion_nand_cmd_ctrl(struct nand_chip *nc, int cmd, in orion_nand_cmd_ctrl() argument 33 struct orion_nand_data *board = nand_get_controller_data(nc); in orion_nand_cmd_ctrl() 46 if (nc->options & NAND_BUSWIDTH_16) in orion_nand_cmd_ctrl() 49 writeb(cmd, nc->legacy.IO_ADDR_W + offs); in orion_nand_cmd_ctrl() 103 struct nand_chip *nc; in orion_nand_probe() local 114 nc = &info->chip; in orion_nand_probe() 115 mtd = nand_to_mtd(nc); in orion_nand_probe() 119 nc->controller = &info->controller; in orion_nand_probe() 153 nand_set_controller_data(nc, board); in orion_nand_probe() 154 nand_set_flash_node(nc, pdev->dev.of_node); in orion_nand_probe() [all …]
|
/linux-6.6.21/tools/perf/util/ |
D | namespaces.c | 275 struct nscookie *nc) in nsinfo__mountns_enter() argument 282 if (nc == NULL) in nsinfo__mountns_enter() 285 nc->oldns = -1; in nsinfo__mountns_enter() 286 nc->newns = -1; in nsinfo__mountns_enter() 309 nc->oldcwd = oldcwd; in nsinfo__mountns_enter() 310 nc->oldns = oldns; in nsinfo__mountns_enter() 311 nc->newns = newns; in nsinfo__mountns_enter() 322 void nsinfo__mountns_exit(struct nscookie *nc) in nsinfo__mountns_exit() argument 324 if (nc == NULL || nc->oldns == -1 || nc->newns == -1 || !nc->oldcwd) in nsinfo__mountns_exit() 327 setns(nc->oldns, CLONE_NEWNS); in nsinfo__mountns_exit() [all …]
|
D | namespaces.h | 63 void nsinfo__mountns_enter(struct nsinfo *nsi, struct nscookie *nc); 64 void nsinfo__mountns_exit(struct nscookie *nc);
|
/linux-6.6.21/drivers/platform/x86/ |
D | intel_scu_ipc.c | 290 int nc; in pwr_reg_rdwr() local 305 for (nc = 0; nc < count; nc++, offset += 2) { in pwr_reg_rdwr() 306 cbuf[offset] = addr[nc]; in pwr_reg_rdwr() 307 cbuf[offset + 1] = addr[nc] >> 8; in pwr_reg_rdwr() 311 for (nc = 0, offset = 0; nc < count; nc++, offset += 4) in pwr_reg_rdwr() 312 ipc_data_writel(scu, wbuf[nc], offset); in pwr_reg_rdwr() 315 for (nc = 0; nc < count; nc++, offset += 1) in pwr_reg_rdwr() 316 cbuf[offset] = data[nc]; in pwr_reg_rdwr() 317 for (nc = 0, offset = 0; nc < count; nc++, offset += 4) in pwr_reg_rdwr() 318 ipc_data_writel(scu, wbuf[nc], offset); in pwr_reg_rdwr() [all …]
|
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/ |
D | prestera_router.c | 658 struct prestera_kern_neigh_cache *nc, in __prestera_k_arb_fib_nh_offload_set() argument 667 if (!nc) { in __prestera_k_arb_fib_nh_offload_set() 672 if (prestera_util_nhc_eq_n_cache_key(sw, nhc, &nc->key)) { in __prestera_k_arb_fib_nh_offload_set() 681 struct prestera_kern_neigh_cache *nc, in __prestera_k_arb_n_offload_set() argument 686 n = neigh_lookup(&arp_tbl, &nc->key.addr.u.ipv4, in __prestera_k_arb_n_offload_set() 687 nc->key.dev); in __prestera_k_arb_n_offload_set() 775 struct prestera_kern_neigh_cache *nc) in __prestera_k_arb_nc_kern_fib_fetch() argument 777 if (prestera_util_kern_n_is_reachable(l3mdev_fib_table(nc->key.dev), in __prestera_k_arb_nc_kern_fib_fetch() 778 &nc->key.addr, nc->key.dev)) in __prestera_k_arb_nc_kern_fib_fetch() 779 nc->reachable = true; in __prestera_k_arb_nc_kern_fib_fetch() [all …]
|
/linux-6.6.21/net/batman-adv/ |
D | network-coding.c | 72 queue_delayed_work(batadv_event_workqueue, &bat_priv->nc.work, in batadv_nc_start_timer() 137 bat_priv->nc.timestamp_fwd_flush = jiffies; in batadv_nc_mesh_init() 138 bat_priv->nc.timestamp_sniffed_purge = jiffies; in batadv_nc_mesh_init() 140 if (bat_priv->nc.coding_hash || bat_priv->nc.decoding_hash) in batadv_nc_mesh_init() 143 bat_priv->nc.coding_hash = batadv_hash_new(128); in batadv_nc_mesh_init() 144 if (!bat_priv->nc.coding_hash) in batadv_nc_mesh_init() 147 batadv_hash_set_lock_class(bat_priv->nc.coding_hash, in batadv_nc_mesh_init() 150 bat_priv->nc.decoding_hash = batadv_hash_new(128); in batadv_nc_mesh_init() 151 if (!bat_priv->nc.decoding_hash) { in batadv_nc_mesh_init() 152 batadv_hash_destroy(bat_priv->nc.coding_hash); in batadv_nc_mesh_init() [all …]
|
/linux-6.6.21/include/linux/ |
D | nls.h | 64 unsigned char nc = t->charset2lower[c]; in nls_tolower() local 66 return nc ? nc : c; in nls_tolower() 71 unsigned char nc = t->charset2upper[c]; in nls_toupper() local 73 return nc ? nc : c; in nls_toupper()
|
/linux-6.6.21/Documentation/driver-api/media/drivers/ |
D | saa7134-devel.rst | 42 - nc MDT2005 PA3 pin 2 45 - nc MDT2005 PA0 pin 17 strap low 53 - GP15 nc 54 - GP14 nc 55 - GP13 nc 61 - GP07.00 nc
|
/linux-6.6.21/fs/nls/ |
D | nls_base.c | 58 int c0, c, nc; in utf8_to_utf32() local 61 nc = 0; in utf8_to_utf32() 65 nc++; in utf8_to_utf32() 72 return nc; in utf8_to_utf32() 74 if (inlen <= nc) in utf8_to_utf32() 89 int c, nc; in utf32_to_utf8() local 99 nc = 0; in utf32_to_utf8() 101 nc++; in utf32_to_utf8() 110 return nc; in utf32_to_utf8()
|
/linux-6.6.21/tools/testing/selftests/net/openvswitch/ |
D | openvswitch.sh | 249 "test_drop_reason" ip netns exec client nc -i 1 -zuv 172.31.110.20 6000 257 "test_drop_reason" ip netns exec client nc -i 1 -zuv 172.31.110.20 7000 314 which nc >/dev/null 2>/dev/null || return $ksft_skip 357 nc -lvnp 4443 358 ovs_sbx "test_ct_connect_v4" ip netns exec client nc -i 1 -zv 172.31.110.20 4443 || return 1 363 nc -lvnp 4443 364 ovs_sbx "test_ct_connect_v4" ip netns exec client nc -i 1 -zv 172.31.110.10 4443 419 which nc >/dev/null 2>/dev/null || return $ksft_skip 459 nc -lvnp 4443 460 ovs_sbx "test_nat_connect_v4" ip netns exec client nc -i 1 -zv 192.168.0.20 4443 || return 1 [all …]
|
/linux-6.6.21/drivers/bus/ |
D | moxtet.c | 204 of_register_moxtet_device(struct moxtet *moxtet, struct device_node *nc) in of_register_moxtet_device() argument 213 "Moxtet device alloc error for %pOF\n", nc); in of_register_moxtet_device() 217 ret = of_property_read_u32(nc, "reg", &val); in of_register_moxtet_device() 220 nc, ret); in of_register_moxtet_device() 228 nc, dev->idx); in of_register_moxtet_device() 236 dev_err(moxtet->dev, "%pOF Moxtet address 0x%x is empty\n", nc, in of_register_moxtet_device() 242 of_node_get(nc); in of_register_moxtet_device() 243 dev->dev.of_node = nc; in of_register_moxtet_device() 248 "Moxtet device register error for %pOF\n", nc); in of_register_moxtet_device() 249 of_node_put(nc); in of_register_moxtet_device() [all …]
|
/linux-6.6.21/tools/testing/selftests/netfilter/ |
D | nft_conntrack_helper.sh | 40 which nc >/dev/null 2>&1 134 sleep 3 | ip netns exec ${ns2} nc -w 2 -l -p $port > /dev/null & 136 sleep 1 | ip netns exec ${ns1} nc -w 2 10.0.1.2 $port > /dev/null & 151 sleep 3 | ip netns exec ${ns2} nc -w 2 -6 -l -p $port > /dev/null & 153 sleep 1 | ip netns exec ${ns1} nc -w 2 -6 dead:1::2 $port > /dev/null &
|
/linux-6.6.21/arch/arm64/boot/dts/qcom/ |
D | msm8996-sony-xperia-tone.dtsi | 240 pm8994-gpio1-nc-pins { 286 pm8994-gpio6-nc-pins { 304 pm8994-gpio8-nc-pins { 314 pm8994-gpio9-nc-pins { 334 pm8994-gpio11-nc-pins { 342 pm8994-gpio12-nc-pins { 360 pm8994-gpio14-nc-pins { 386 pm8994-gpio17-nc-pins { 404 pm8994-gpio19-nc-pins { 414 pm8994-gpio22-nc-pins { [all …]
|
/linux-6.6.21/net/netfilter/ |
D | nfnetlink.c | 220 const struct nfnl_callback *nc; in nfnetlink_rcv_msg() local 247 nc = nfnetlink_find_client(type, ss); in nfnetlink_rcv_msg() 248 if (!nc) { in nfnetlink_rcv_msg() 283 if (!nc->call) { in nfnetlink_rcv_msg() 288 switch (nc->type) { in nfnetlink_rcv_msg() 290 err = nc->call(skb, &info, (const struct nlattr **)cda); in nfnetlink_rcv_msg() 297 nfnetlink_find_client(type, ss) != nc) { in nfnetlink_rcv_msg() 302 err = nc->call(skb, &info, (const struct nlattr **)cda); in nfnetlink_rcv_msg() 377 const struct nfnl_callback *nc; in nfnetlink_rcv_batch() local 480 nc = nfnetlink_find_client(type, ss); in nfnetlink_rcv_batch() [all …]
|
/linux-6.6.21/drivers/leds/ |
D | leds-bcm6328.c | 255 static int bcm6328_hwled(struct device *dev, struct device_node *nc, u32 reg, in bcm6328_hwled() argument 271 cnt = of_property_count_elems_of_size(nc, "brcm,link-signal-sources", in bcm6328_hwled() 282 of_property_read_u32_index(nc, "brcm,link-signal-sources", i, in bcm6328_hwled() 297 cnt = of_property_count_elems_of_size(nc, in bcm6328_hwled() 309 of_property_read_u32_index(nc, "brcm,activity-signal-sources", in bcm6328_hwled() 327 static int bcm6328_led(struct device *dev, struct device_node *nc, u32 reg, in bcm6328_led() argument 348 if (of_property_read_bool(nc, "active-low")) in bcm6328_led() 351 init_data.fwnode = of_fwnode_handle(nc); in bcm6328_led()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | toeplitz_client.sh | 15 echo "msg $i" | nc "${IPVER}" -u -w 0 "${ADDR}" "${PORT}" 17 echo "msg $i" | nc "${IPVER}" -w 0 "${ADDR}" "${PORT}"
|
/linux-6.6.21/tools/testing/selftests/rcutorture/bin/ |
D | config2csv.sh | 52 nc = asorti(c, cs); 56 for (i = 1; i <= nc; i++) {
|
/linux-6.6.21/drivers/block/drbd/ |
D | drbd_req.c | 566 struct net_conf *nc; in __req_mod() local 588 nc = rcu_dereference(connection->net_conf); in __req_mod() 589 p = nc->wire_protocol; in __req_mod() 701 nc = rcu_dereference(connection->net_conf); in __req_mod() 702 p = nc->max_epoch_size; in __req_mod() 987 struct net_conf *nc; in maybe_pull_ahead() local 992 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead() 993 on_congestion = nc ? nc->on_congestion : OC_BLOCK; in maybe_pull_ahead() 1009 if (nc->cong_fill && in maybe_pull_ahead() 1010 atomic_read(&device->ap_in_flight) >= nc->cong_fill) { in maybe_pull_ahead() [all …]
|