/kernel/linux/linux-5.10/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 | 81 struct ncsi_channel *nc; in ncsi_rsp_handler_cis() local 85 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, &np, &nc); in ncsi_rsp_handler_cis() 86 if (!nc) { in ncsi_rsp_handler_cis() 91 nc = ncsi_add_channel(np, id); in ncsi_rsp_handler_cis() 94 return nc ? 0 : -ENODEV; in ncsi_rsp_handler_cis() 128 struct ncsi_channel *nc; in ncsi_rsp_handler_dp() local 139 NCSI_FOR_EACH_CHANNEL(np, nc) { in ncsi_rsp_handler_dp() 140 spin_lock_irqsave(&nc->lock, flags); in ncsi_rsp_handler_dp() 141 nc->state = NCSI_CHANNEL_INACTIVE; in ncsi_rsp_handler_dp() 142 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.version); in ncsi_write_channel_info() 75 nla_put_u32(skb, NCSI_CHANNEL_ATTR_VERSION_MINOR, nc->version.alpha2); 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 | 363 #define NCSI_FOR_EACH_CHANNEL(np, nc) \ argument 364 list_for_each_entry_rcu(nc, &np->channels, node) 368 void ncsi_start_channel_monitor(struct ncsi_channel *nc); 369 void ncsi_stop_channel_monitor(struct ncsi_channel *nc); 382 struct ncsi_channel **nc);
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | namespaces.c | 202 struct nscookie *nc) in nsinfo__mountns_enter() argument 209 if (nc == NULL) in nsinfo__mountns_enter() 212 nc->oldns = -1; in nsinfo__mountns_enter() 213 nc->newns = -1; in nsinfo__mountns_enter() 236 nc->oldcwd = oldcwd; in nsinfo__mountns_enter() 237 nc->oldns = oldns; in nsinfo__mountns_enter() 238 nc->newns = newns; in nsinfo__mountns_enter() 249 void nsinfo__mountns_exit(struct nscookie *nc) in nsinfo__mountns_exit() argument 251 if (nc == NULL || nc->oldns == -1 || nc->newns == -1 || !nc->oldcwd) in nsinfo__mountns_exit() 254 setns(nc->oldns, CLONE_NEWNS); in nsinfo__mountns_exit() [all …]
|
D | namespaces.h | 54 void nsinfo__mountns_enter(struct nsinfo *nsi, struct nscookie *nc); 55 void nsinfo__mountns_exit(struct nscookie *nc);
|
/kernel/linux/linux-5.10/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 115 nc = &info->chip; in orion_nand_probe() 116 mtd = nand_to_mtd(nc); in orion_nand_probe() 120 nc->controller = &info->controller; in orion_nand_probe() 155 nand_set_controller_data(nc, board); in orion_nand_probe() 156 nand_set_flash_node(nc, pdev->dev.of_node); in orion_nand_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | intel_scu_ipc.c | 274 int nc; in pwr_reg_rdwr() local 290 for (nc = 0; nc < count; nc++, offset += 2) { in pwr_reg_rdwr() 291 cbuf[offset] = addr[nc]; in pwr_reg_rdwr() 292 cbuf[offset + 1] = addr[nc] >> 8; in pwr_reg_rdwr() 296 for (nc = 0, offset = 0; nc < count; nc++, offset += 4) in pwr_reg_rdwr() 297 ipc_data_writel(scu, wbuf[nc], offset); in pwr_reg_rdwr() 300 for (nc = 0; nc < count; nc++, offset += 1) in pwr_reg_rdwr() 301 cbuf[offset] = data[nc]; in pwr_reg_rdwr() 302 for (nc = 0, offset = 0; nc < count; nc++, offset += 4) in pwr_reg_rdwr() 303 ipc_data_writel(scu, wbuf[nc], offset); in pwr_reg_rdwr() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/net/batman-adv/ |
D | network-coding.c | 79 queue_delayed_work(batadv_event_workqueue, &bat_priv->nc.work, in batadv_nc_start_timer() 144 bat_priv->nc.timestamp_fwd_flush = jiffies; in batadv_nc_mesh_init() 145 bat_priv->nc.timestamp_sniffed_purge = jiffies; in batadv_nc_mesh_init() 147 if (bat_priv->nc.coding_hash || bat_priv->nc.decoding_hash) in batadv_nc_mesh_init() 150 bat_priv->nc.coding_hash = batadv_hash_new(128); in batadv_nc_mesh_init() 151 if (!bat_priv->nc.coding_hash) in batadv_nc_mesh_init() 154 batadv_hash_set_lock_class(bat_priv->nc.coding_hash, in batadv_nc_mesh_init() 157 bat_priv->nc.decoding_hash = batadv_hash_new(128); in batadv_nc_mesh_init() 158 if (!bat_priv->nc.decoding_hash) { in batadv_nc_mesh_init() 159 batadv_hash_destroy(bat_priv->nc.coding_hash); in batadv_nc_mesh_init() [all …]
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nfnetlink.c | 186 const struct nfnl_callback *nc; in nfnetlink_rcv_msg() local 212 nc = nfnetlink_find_client(type, ss); in nfnetlink_rcv_msg() 213 if (!nc) { in nfnetlink_rcv_msg() 240 if (nc->call_rcu) { in nfnetlink_rcv_msg() 241 err = nc->call_rcu(net, net->nfnl, skb, nlh, in nfnetlink_rcv_msg() 249 nfnetlink_find_client(type, ss) != nc) in nfnetlink_rcv_msg() 251 else if (nc->call) in nfnetlink_rcv_msg() 252 err = nc->call(net, net->nfnl, skb, nlh, in nfnetlink_rcv_msg() 326 const struct nfnl_callback *nc; in nfnetlink_rcv_batch() local 429 nc = nfnetlink_find_client(type, ss); in nfnetlink_rcv_batch() [all …]
|
/kernel/linux/linux-5.10/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 346 if (of_property_read_bool(nc, "active-low")) in bcm6328_led() 349 if (!of_property_read_string(nc, "default-state", &state)) { in bcm6328_led() 381 init_data.fwnode = of_fwnode_handle(nc); in bcm6328_led()
|
D | leds-bcm6358.c | 94 static int bcm6358_led(struct device *dev, struct device_node *nc, u32 reg, in bcm6358_led() argument 110 if (of_property_read_bool(nc, "active-low")) in bcm6358_led() 113 if (!of_property_read_string(nc, "default-state", &state)) { in bcm6358_led() 135 init_data.fwnode = of_fwnode_handle(nc); in bcm6358_led()
|
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
D | nft_conntrack_helper.sh | 40 which nc >/dev/null 2>&1 118 sleep 3 | ip netns exec ${ns2} nc -w 2 -l -p $port > /dev/null & 120 sleep 1 | ip netns exec ${ns1} nc -w 2 10.0.1.2 $port > /dev/null & 135 sleep 3 | ip netns exec ${ns2} nc -w 2 -6 -l -p $port > /dev/null & 137 sleep 1 | ip netns exec ${ns1} nc -w 2 -6 dead:1::2 $port > /dev/null &
|
D | nft_queue.sh | 262 ip netns exec ${ns2} nc -w 5 -l -p 12345 <"$tmpfile" >/dev/null & 266 ip netns exec ${ns1} nc -w 5 10.0.2.99 12345 <"$tmpfile" >/dev/null & 280 ip netns exec ${nsrouter} nc -w 5 -l -p 12345 <"$tmpfile" >/dev/null & 287 ip netns exec ${nsrouter} nc -w 5 127.0.0.1 12345 <"$tmpfile" > /dev/null 312 ip netns exec ${nsrouter} nc -w 5 -l -p 12345 <"$tmpfile" >/dev/null & 322 ip netns exec ${nsrouter} nc -w 5 127.0.0.1 12345 <"$tmpfile" > /dev/null
|
/kernel/linux/linux-5.10/drivers/block/drbd/ |
D | drbd_proc.c | 220 struct net_conf *nc; in drbd_seq_show() local 269 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_seq_show() 270 wp = nc ? nc->wire_protocol - DRBD_PROT_A + 'A' : ' '; in drbd_seq_show()
|
D | drbd_req.c | 553 struct net_conf *nc; in __req_mod() local 575 nc = rcu_dereference(connection->net_conf); in __req_mod() 576 p = nc->wire_protocol; in __req_mod() 688 nc = rcu_dereference(connection->net_conf); in __req_mod() 689 p = nc->max_epoch_size; in __req_mod() 975 struct net_conf *nc; in maybe_pull_ahead() local 980 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead() 981 on_congestion = nc ? nc->on_congestion : OC_BLOCK; in maybe_pull_ahead() 997 if (nc->cong_fill && in maybe_pull_ahead() 998 atomic_read(&device->ap_in_flight) >= nc->cong_fill) { in maybe_pull_ahead() [all …]
|
D | drbd_receiver.c | 266 struct net_conf *nc; in drbd_alloc_pages() local 271 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_alloc_pages() 272 mxb = nc ? nc->max_buffers : 1000000; in drbd_alloc_pages() 593 struct net_conf *nc; in drbd_try_connect() local 599 nc = rcu_dereference(connection->net_conf); in drbd_try_connect() 600 if (!nc) { in drbd_try_connect() 604 sndbuf_size = nc->sndbuf_size; in drbd_try_connect() 605 rcvbuf_size = nc->rcvbuf_size; in drbd_try_connect() 606 connect_int = nc->connect_int; in drbd_try_connect() 699 struct net_conf *nc; in prepare_listen_socket() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/ |
D | g98.fuc0s | 156 bra nc #ctxload 177 bra nc #dummyload 190 bra nc #ctxload_dma_loop 219 bra nc #dtable_cmd 223 bra nc #dtable_cmd 225 bra nc #dma_cmd 239 bra nc #illegal_mthd 251 bra nc #illegal_mthd 344 bra nc #return 351 bra nc #cmd_cond_mode_queryful [all …]
|