| /drivers/mtd/nand/raw/atmel/ |
| A D | nand-controller.c | 466 memset(&nc->op, 0, sizeof(nc->op)); in atmel_nfc_exec_op() 770 nc->op.addrs[nc->op.naddrs++] = column; in atmel_nfc_set_op_addr() 776 nc->op.addrs[nc->op.naddrs++] = column >> 8; in atmel_nfc_set_op_addr() 780 nc->op.addrs[nc->op.naddrs++] = page; in atmel_nfc_set_op_addr() 781 nc->op.addrs[nc->op.naddrs++] = page >> 8; in atmel_nfc_set_op_addr() 784 nc->op.addrs[nc->op.naddrs++] = page >> 16; in atmel_nfc_set_op_addr() 1064 nc->op.cmds[nc->op.ncmds++] = NAND_CMD_READ0; in atmel_hsmc_nand_pmecc_read_pg() 1565 if (!nc->mck || !nc->caps->ops->setup_interface) in atmel_nand_init() 1739 nc->caps->ops->nand_init(nc, nand); in atmel_nand_controller_add_nand() 2345 nc = devm_kzalloc(dev, sizeof(*nc), GFP_KERNEL); in atmel_hsmc_nand_controller_probe() [all …]
|
| /drivers/mtd/nand/raw/ |
| A D | orion_nand.c | 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() 155 nc->legacy.IO_ADDR_R = nc->legacy.IO_ADDR_W = io_base; in orion_nand_probe() 167 nc->options |= NAND_BUSWIDTH_16; in orion_nand_probe() 184 ret = nand_scan(nc, 1); in orion_nand_probe() [all …]
|
| /drivers/platform/x86/ |
| A D | intel_scu_ipc.c | 283 int nc; in pwr_reg_rdwr() local 297 for (nc = 0; nc < count; nc++, offset += 2) { in pwr_reg_rdwr() 298 cbuf[offset] = addr[nc]; in pwr_reg_rdwr() 299 cbuf[offset + 1] = addr[nc] >> 8; in pwr_reg_rdwr() 303 for (nc = 0, offset = 0; nc < count; nc++, offset += 4) in pwr_reg_rdwr() 304 ipc_data_writel(scu, wbuf[nc], offset); in pwr_reg_rdwr() 307 for (nc = 0; nc < count; nc++, offset += 1) in pwr_reg_rdwr() 308 cbuf[offset] = data[nc]; in pwr_reg_rdwr() 309 for (nc = 0, offset = 0; nc < count; nc++, offset += 4) in pwr_reg_rdwr() 324 for (nc = 0, offset = 0; nc < 4; nc++, offset += 4) in pwr_reg_rdwr() [all …]
|
| /drivers/net/ethernet/marvell/prestera/ |
| A D | prestera_router.c | 667 if (!nc) { in __prestera_k_arb_fib_nh_offload_set() 687 nc->key.dev); in __prestera_k_arb_n_offload_set() 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() 792 memset(&nc->nh_neigh_info, 0, sizeof(nc->nh_neigh_info)); in __prestera_k_arb_nc_kern_n_fetch() 793 n = neigh_lookup(&arp_tbl, &nc->key.addr.u.ipv4, nc->key.dev); in __prestera_k_arb_nc_kern_n_fetch() 810 nc->in_kernel = nc->nh_neigh_info.connected; in __prestera_k_arb_nc_kern_n_fetch() 825 __prestera_k_arb_n_lpm_set(sw, nc, nc->reachable && nc->in_kernel); in __prestera_k_arb_nc_apply() 826 __prestera_k_arb_n_offload_set(sw, nc, nc->reachable && nc->in_kernel); in __prestera_k_arb_nc_apply() 1056 nc->key.dev); in __prestera_k_arb_hw_state_upd() [all …]
|
| /drivers/bus/ |
| A D | moxtet.c | 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() 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 …]
|
| /drivers/leds/ |
| A 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()
|
| A D | leds-bcm6358.c | 94 static int bcm6358_led(struct device *dev, struct device_node *nc, u32 reg, in bcm6358_led() argument 111 if (of_property_read_bool(nc, "active-low")) in bcm6358_led() 114 init_data.fwnode = of_fwnode_handle(nc); in bcm6358_led()
|
| /drivers/block/drbd/ |
| A D | drbd_receiver.c | 117 struct net_conf *nc; in drbd_alloc_pages() local 122 mxb = nc ? nc->max_buffers : 1000000; in drbd_alloc_pages() 406 struct net_conf *nc; in drbd_try_connect() local 413 if (!nc) { in drbd_try_connect() 512 struct net_conf *nc; in prepare_listen_socket() local 517 if (!nc) { in prepare_listen_socket() 582 struct net_conf *nc; in drbd_wait_for_connect() local 586 if (!nc) { in drbd_wait_for_connect() 634 if (!nc) { in receive_first_packet() 689 timeout = (nc->sock_check_timeo ?: nc->ping_timeo) * HZ / 10; in connection_established() [all …]
|
| A 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() 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() 1706 struct net_conf *nc; in request_timer_fn() local 1715 ko_count = nc->ko_count; in request_timer_fn() [all …]
|
| A 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()
|
| A D | drbd_main.c | 695 struct net_conf *nc; in drbd_send_sync_param() local 708 + strlen(nc->verify_alg) + 1 in drbd_send_sync_param() 735 strcpy(p->verify_alg, nc->verify_alg); in drbd_send_sync_param() 737 strcpy(p->csums_alg, nc->csums_alg); in drbd_send_sync_param() 747 struct net_conf *nc; in __drbd_send_protocol() local 766 size += strlen(nc->integrity_alg) + 1; in __drbd_send_protocol() 774 if (nc->discard_my_data) in __drbd_send_protocol() 776 if (nc->tentative) in __drbd_send_protocol() 3652 struct net_conf *nc; in drbd_wait_misc() local 3658 if (!nc) { in drbd_wait_misc() [all …]
|
| A D | drbd_worker.c | 1873 struct net_conf *nc; in drbd_start_resync() local 1877 nc = rcu_dereference(connection->net_conf); in drbd_start_resync() 1878 timeo = nc->ping_int * HZ + nc->ping_timeo * HZ / 9; in drbd_start_resync() 2070 struct net_conf *nc; in wait_for_work() local 2084 nc = rcu_dereference(connection->net_conf); in wait_for_work() 2085 uncork = nc ? nc->tcp_cork : 0; in wait_for_work() 2139 nc = rcu_dereference(connection->net_conf); in wait_for_work() 2140 cork = nc ? nc->tcp_cork : 0; in wait_for_work()
|
| A D | drbd_state.c | 829 struct net_conf *nc; in is_valid_state() local 839 if (nc) { in is_valid_state() 840 if (!nc->two_primaries && ns.role == R_PRIMARY) { in is_valid_state() 880 (nc->verify_alg[0] == 0)) in is_valid_state() 974 is_valid_conn_transition(enum drbd_conns oc, enum drbd_conns nc) in is_valid_conn_transition() argument 977 if (oc == nc) in is_valid_conn_transition() 981 if (oc == C_STANDALONE && nc == C_DISCONNECTING) in is_valid_conn_transition() 985 if (oc == C_STANDALONE && nc != C_UNCONNECTED) in is_valid_conn_transition() 990 if (oc < C_WF_REPORT_PARAMS && nc >= C_CONNECTED) in is_valid_conn_transition() 994 if (oc >= C_TIMEOUT && oc <= C_TEAR_DOWN && nc != C_UNCONNECTED && nc != C_DISCONNECTING) in is_valid_conn_transition() [all …]
|
| A D | drbd_nl.c | 621 struct net_conf *nc; in drbd_set_role() local 692 timeo = nc ? (nc->ping_timeo + 1) * HZ / 10 : 1; in drbd_set_role() 725 nc = connection->net_conf; in drbd_set_role() 726 if (nc) in drbd_set_role() 1733 struct net_conf *nc; in drbd_adm_attach() local 1806 nc = rcu_dereference(connection->net_conf); in drbd_adm_attach() 1807 if (nc) { in drbd_adm_attach() 3741 struct net_conf *nc; in nla_put_status_info() local 3744 if (nc) in nla_put_status_info() 3931 struct net_conf *nc; in get_one_status() local [all …]
|
| /drivers/spi/ |
| A D | spi.c | 2359 struct device_node *nc) in of_spi_parse_dt() argument 2426 if (!of_node_name_eq(nc, "slave")) { in of_spi_parse_dt() 2428 nc); in of_spi_parse_dt() 2446 nc, rc); in of_spi_parse_dt() 2451 nc, rc); in of_spi_parse_dt() 2502 rc = of_spi_parse_dt(ctlr, spi, nc); in of_register_spi_device() 2507 of_node_get(nc); in of_register_spi_device() 2521 of_node_put(nc); in of_register_spi_device() 2537 struct device_node *nc; in of_register_spi_devices() local 2542 spi = of_register_spi_device(ctlr, nc); in of_register_spi_devices() [all …]
|
| A D | spi-fsl-espi.c | 620 struct device_node *nc; in fsl_espi_init_regs() local 631 for_each_available_child_of_node(host->dev.of_node, nc) { in fsl_espi_init_regs() 633 ret = of_property_read_u32(nc, "reg", &cs); in fsl_espi_init_regs() 640 ret = of_property_read_u32(nc, "fsl,csbef", &prop); in fsl_espi_init_regs() 647 ret = of_property_read_u32(nc, "fsl,csaft", &prop); in fsl_espi_init_regs()
|
| /drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/ |
| A 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 …]
|
| /drivers/gpu/drm/i915/gt/ |
| A D | selftest_execlists.c | 3721 unsigned long n, prime, nc; in nop_virtual_engine() local 3752 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine() 3762 if (request[nc]) in nop_virtual_engine() 3770 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine() 3779 if (request[nc]) in nop_virtual_engine() 3787 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine() 3808 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine() 3810 request[nc] = NULL; in nop_virtual_engine() 3829 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine() 3831 intel_context_unpin(ve[nc]); in nop_virtual_engine() [all …]
|
| /drivers/gpio/ |
| A D | gpio-moxtet.c | 117 struct device_node *nc = dev->of_node; in moxtet_gpio_probe() local 124 nc, id); in moxtet_gpio_probe()
|
| /drivers/media/platform/nxp/imx-jpeg/ |
| A D | mxc-jpeg.c | 71 .nc = -1, 80 .nc = 3, 94 .nc = 3, 108 .nc = 4, 122 .nc = 4, 136 .nc = 3, 149 .nc = 3, 162 .nc = 3, 175 .nc = 3, 188 .nc = 3, [all …]
|
| /drivers/input/ |
| A D | input-mt.c | 381 static void find_reduced_matrix(int *w, int nr, int nc, int nrc, int mu) in find_reduced_matrix() argument 387 adjust_dual(w + i, nr, w + i + nrc, nr <= nc, mu); in find_reduced_matrix() 390 sum += adjust_dual(w + i, 1, w + i + nr, nc <= nr, mu); in find_reduced_matrix()
|
| /drivers/tty/ |
| A D | n_gsm.c | 4051 if (nc->protocol != htons(ETH_P_IP)) in gsm_create_network() 4054 if (nc->adaption != 3 && nc->adaption != 4) in gsm_create_network() 4060 if (nc->if_name[0] != '\0') in gsm_create_network() 4061 netname = nc->if_name; in gsm_create_network() 4074 strscpy(nc->if_name, net->name); /* return net name */ in gsm_create_network() 4079 dlci->adaption = nc->adaption; in gsm_create_network() 4462 struct gsm_netconfig nc; in gsmtty_ioctl() local 4470 if (copy_from_user(&nc, (void __user *)arg, sizeof(nc))) in gsmtty_ioctl() 4472 nc.if_name[IFNAMSIZ-1] = '\0'; in gsmtty_ioctl() 4475 index = gsm_create_network(dlci, &nc); in gsmtty_ioctl() [all …]
|
| /drivers/mailbox/ |
| A D | zynqmp-ipi-mailbox.c | 907 struct device_node *nc, *np = pdev->dev.of_node; in zynqmp_ipi_probe() local 943 for_each_available_child_of_node(np, nc) { in zynqmp_ipi_probe() 947 ret = zynqmp_ipi_mbox_probe(mbox, nc); in zynqmp_ipi_probe() 949 of_node_put(nc); in zynqmp_ipi_probe()
|
| /drivers/gpu/drm/i915/selftests/ |
| A D | i915_vma.c | 156 unsigned long no, nc; in igt_vma_create() local 177 nc = 0; in igt_vma_create() 179 for (; nc < num_ctx; nc++) { in igt_vma_create() 193 __func__, no, nc)) in igt_vma_create()
|
| /drivers/net/ethernet/sun/ |
| A D | sunvnet_common.c | 1069 int i, nc, err, blen; in vnet_skb_map() local 1082 nc = err; in vnet_skb_map() 1088 if (nc < ncookies) { in vnet_skb_map() 1093 blen, cookies + nc, ncookies - nc, in vnet_skb_map() 1101 ldc_unmap(lp, cookies, nc); in vnet_skb_map() 1104 nc += err; in vnet_skb_map() 1106 return nc; in vnet_skb_map()
|