Home
last modified time | relevance | path

Searched refs:nc (Results 1 – 25 of 98) sorted by relevance

1234

/linux/drivers/mtd/nand/raw/atmel/
A Dnand-controller.c465 memset(&nc->op, 0, sizeof(nc->op)); in atmel_nfc_exec_op()
769 nc->op.addrs[nc->op.naddrs++] = column; in atmel_nfc_set_op_addr()
775 nc->op.addrs[nc->op.naddrs++] = column >> 8; in atmel_nfc_set_op_addr()
779 nc->op.addrs[nc->op.naddrs++] = page; in atmel_nfc_set_op_addr()
780 nc->op.addrs[nc->op.naddrs++] = page >> 8; in atmel_nfc_set_op_addr()
783 nc->op.addrs[nc->op.naddrs++] = page >> 16; in atmel_nfc_set_op_addr()
1063 nc->op.cmds[nc->op.ncmds++] = NAND_CMD_READ0; in atmel_hsmc_nand_pmecc_read_pg()
1738 nc->caps->ops->nand_init(nc, nand); in atmel_nand_controller_add_nand()
2335 if (!nc) in atmel_hsmc_nand_controller_probe()
2412 if (!nc) in atmel_smc_nand_controller_probe()
[all …]
/linux/net/ncsi/
A Dncsi-manage.c91 struct ncsi_channel *nc = from_timer(nc, t, monitor.timer); in ncsi_channel_monitor() local
202 return nc; in ncsi_find_channel()
214 nc = kzalloc(sizeof(*nc), GFP_ATOMIC); in ncsi_add_channel()
215 if (!nc) in ncsi_add_channel()
218 nc->id = id; in ncsi_add_channel()
234 kfree(nc); in ncsi_add_channel()
242 return nc; in ncsi_add_channel()
266 kfree(nc); in ncsi_remove_channel()
345 if (nc) in ncsi_find_package_and_channel()
346 *nc = c; in ncsi_find_package_and_channel()
[all …]
A Dncsi-aen.c61 if (!nc) in ncsi_aen_handler_lsc()
81 state = nc->state; in ncsi_aen_handler_lsc()
87 nc->id); in ncsi_aen_handler_lsc()
112 ncsi_update_tx_channel(ndp, nc->package, nc, NULL); in ncsi_aen_handler_lsc()
114 } else if (has_link && nc->package->preferred_channel == nc) { in ncsi_aen_handler_lsc()
116 ncsi_update_tx_channel(ndp, nc->package, NULL, nc); in ncsi_aen_handler_lsc()
127 tmp, nc); in ncsi_aen_handler_lsc()
143 struct ncsi_channel *nc; in ncsi_aen_handler_cr() local
148 if (!nc) in ncsi_aen_handler_cr()
175 struct ncsi_channel *nc; in ncsi_aen_handler_hncdsc() local
[all …]
A Dncsi-rsp.c86 if (!nc) { in ncsi_rsp_handler_cis()
159 if (!nc) in ncsi_rsp_handler_ec()
186 if (!nc) in ncsi_rsp_handler_dc()
208 if (!nc) in ncsi_rsp_handler_rc()
230 if (!nc) in ncsi_rsp_handler_ecnt()
252 if (!nc) in ncsi_rsp_handler_dcnt()
275 if (!nc) in ncsi_rsp_handler_ae()
304 if (!nc) in ncsi_rsp_handler_sl()
327 if (!nc) in ncsi_rsp_handler_gls()
360 if (!nc) in ncsi_rsp_handler_svf()
[all …]
A Dncsi-netlink.c59 struct ncsi_channel *nc) in ncsi_write_channel_info() argument
67 m = &nc->modes[NCSI_MODE_LINK]; in ncsi_write_channel_info()
71 if (nc == nc->package->preferred_channel) 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
312 if (nc->id == channel_id) { in ncsi_set_interface_nl()
313 channel = nc; in ncsi_set_interface_nl()
484 struct ncsi_channel *nc) in ncsi_send_netlink_rsp() argument
507 if (nc) in ncsi_send_netlink_rsp()
554 if (nc) in ncsi_send_netlink_timeout()
[all …]
A Dncsi-netlink.h15 struct ncsi_channel *nc);
18 struct ncsi_channel *nc);
A Dinternal.h371 #define NCSI_FOR_EACH_CHANNEL(np, nc) \ argument
372 list_for_each_entry_rcu(nc, &np->channels, node)
376 void ncsi_start_channel_monitor(struct ncsi_channel *nc);
377 void ncsi_stop_channel_monitor(struct ncsi_channel *nc);
390 struct ncsi_channel **nc);
/linux/tools/perf/util/
A Dnamespaces.c216 if (nc == NULL) in nsinfo__mountns_enter()
219 nc->oldns = -1; in nsinfo__mountns_enter()
220 nc->newns = -1; in nsinfo__mountns_enter()
244 nc->oldns = oldns; in nsinfo__mountns_enter()
245 nc->newns = newns; in nsinfo__mountns_enter()
258 if (nc == NULL || nc->oldns == -1 || nc->newns == -1 || !nc->oldcwd) in nsinfo__mountns_exit()
263 if (nc->oldcwd) { in nsinfo__mountns_exit()
269 close(nc->oldns); in nsinfo__mountns_exit()
270 nc->oldns = -1; in nsinfo__mountns_exit()
274 close(nc->newns); in nsinfo__mountns_exit()
[all …]
/linux/drivers/mtd/nand/raw/
A Dorion_nand.c46 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()
157 nc->legacy.IO_ADDR_R = nc->legacy.IO_ADDR_W = io_base; in orion_nand_probe()
169 nc->options |= NAND_BUSWIDTH_16; in orion_nand_probe()
199 ret = nand_scan(nc, 1); in orion_nand_probe()
[all …]
/linux/drivers/platform/x86/
A Dintel_scu_ipc.c274 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()
316 for (nc = 0; nc < count; nc++) in pwr_reg_rdwr()
[all …]
/linux/net/batman-adv/
A Dnetwork-coding.c144 if (bat_priv->nc.coding_hash || bat_priv->nc.decoding_hash) in batadv_nc_mesh_init()
148 if (!bat_priv->nc.coding_hash) in batadv_nc_mesh_init()
155 if (!bat_priv->nc.decoding_hash) { in batadv_nc_mesh_init()
183 bat_priv->nc.min_tq = 200; in batadv_nc_init_bat_priv()
184 bat_priv->nc.max_fwd_delay = 10; in batadv_nc_init_bat_priv()
185 bat_priv->nc.max_buffer_time = 200; in batadv_nc_init_bat_priv()
305 bat_priv->nc.max_fwd_delay * 10); in batadv_nc_to_purge_nc_path_coding()
729 timeout = bat_priv->nc.max_fwd_delay; in batadv_nc_worker()
738 bat_priv->nc.max_buffer_time)) { in batadv_nc_worker()
1526 bat_priv->nc.coding_hash, in batadv_nc_skb_forward()
[all …]
/linux/include/linux/
A Dnls.h64 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/fs/nls/
A Dnls_base.c58 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/Documentation/driver-api/media/drivers/
A Dsaa7134-devel.rst42 - 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/drivers/bus/
A Dmoxtet.c213 "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()
242 of_node_get(nc); in of_register_moxtet_device()
243 dev->dev.of_node = nc; in of_register_moxtet_device()
249 of_node_put(nc); in of_register_moxtet_device()
263 struct device_node *nc; in of_register_moxtet_devices() local
271 dev = of_register_moxtet_device(moxtet, nc); in of_register_moxtet_devices()
275 nc); in of_register_moxtet_devices()
[all …]
/linux/net/netfilter/
A Dnfnetlink.c215 const struct nfnl_callback *nc; in nfnetlink_rcv_msg() local
242 nc = nfnetlink_find_client(type, ss); in nfnetlink_rcv_msg()
243 if (!nc) { in nfnetlink_rcv_msg()
278 if (!nc->call) { in nfnetlink_rcv_msg()
283 switch (nc->type) { in nfnetlink_rcv_msg()
285 err = nc->call(skb, &info, (const struct nlattr **)cda); in nfnetlink_rcv_msg()
292 nfnetlink_find_client(type, ss) != nc) { in nfnetlink_rcv_msg()
371 const struct nfnl_callback *nc; in nfnetlink_rcv_batch() local
474 nc = nfnetlink_find_client(type, ss); in nfnetlink_rcv_batch()
475 if (!nc) { in nfnetlink_rcv_batch()
[all …]
/linux/arch/arm64/boot/dts/qcom/
A Dmsm8996-sony-xperia-tone.dtsi243 pm8994-gpio1-nc {
449 pm-mpp4-nc {
463 mpp6-nc {
509 pmi-gpio2-nc {
519 pmi-gpio3-nc {
529 pmi-gpio4-nc {
538 pmi-gpio5-nc {
547 pmi-gpio6-nc {
556 pmi-gpio7-nc {
565 pmi-gpio8-nc {
[all …]
/linux/drivers/leds/
A Dleds-bcm6328.c255 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()
A Dleds-bcm6358.c94 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()
/linux/tools/testing/selftests/netfilter/
A Dnft_conntrack_helper.sh40 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 &
/linux/tools/testing/selftests/net/
A Dtoeplitz_client.sh15 echo "msg $i" | nc "${IPVER}" -u -w 0 "${ADDR}" "${PORT}"
17 echo "msg $i" | nc "${IPVER}" -w 0 "${ADDR}" "${PORT}"
/linux/drivers/block/drbd/
A Ddrbd_req.c556 struct net_conf *nc; in __req_mod() local
578 nc = rcu_dereference(connection->net_conf); in __req_mod()
579 p = nc->wire_protocol; in __req_mod()
692 p = nc->max_epoch_size; in __req_mod()
978 struct net_conf *nc; in maybe_pull_ahead() local
983 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead()
984 on_congestion = nc ? nc->on_congestion : OC_BLOCK; in maybe_pull_ahead()
1000 if (nc->cong_fill && in maybe_pull_ahead()
1691 struct net_conf *nc; in request_timer_fn() local
1700 ko_count = nc->ko_count; in request_timer_fn()
[all …]
A Ddrbd_receiver.c268 struct net_conf *nc; in drbd_alloc_pages() local
274 mxb = nc ? nc->max_buffers : 1000000; in drbd_alloc_pages()
595 struct net_conf *nc; in drbd_try_connect() local
602 if (!nc) { in drbd_try_connect()
701 struct net_conf *nc; in prepare_listen_socket() local
706 if (!nc) { in prepare_listen_socket()
771 struct net_conf *nc; in drbd_wait_for_connect() local
775 if (!nc) { in drbd_wait_for_connect()
823 if (!nc) { in receive_first_packet()
878 timeout = (nc->sock_check_timeo ?: nc->ping_timeo) * HZ / 10; in connection_established()
[all …]
A Ddrbd_proc.c220 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()
/linux/drivers/spi/
A Dspi.c2099 struct device_node *nc) in of_spi_parse_dt() argument
2166 if (!of_node_name_eq(nc, "slave")) { in of_spi_parse_dt()
2168 nc); in of_spi_parse_dt()
2178 nc, rc); in of_spi_parse_dt()
2212 rc = of_spi_parse_dt(ctlr, spi, nc); in of_register_spi_device()
2217 of_node_get(nc); in of_register_spi_device()
2218 spi->dev.of_node = nc; in of_register_spi_device()
2219 spi->dev.fwnode = of_fwnode_handle(nc); in of_register_spi_device()
2231 of_node_put(nc); in of_register_spi_device()
2247 struct device_node *nc; in of_register_spi_devices() local
[all …]

Completed in 133 milliseconds

1234