Searched refs:nc (Results 1 - 10 of 10) sorted by relevance

/drivers/of/
H A Dof_spi.c26 struct device_node *nc; local
34 for_each_child_of_node(master->dev.of_node, nc) {
39 nc->full_name);
45 if (of_modalias_node(nc, spi->modalias,
48 nc->full_name);
54 prop = of_get_property(nc, "reg", &len);
57 nc->full_name);
64 if (of_find_property(nc, "spi-cpha", NULL))
66 if (of_find_property(nc, "spi-cpol", NULL))
68 if (of_find_property(nc, "sp
[all...]
/drivers/mtd/nand/
H A Dorion_nand.c26 struct nand_chip *nc = mtd->priv; local
27 struct orion_nand_data *board = nc->priv;
40 if (nc->options & NAND_BUSWIDTH_16)
43 writeb(cmd, nc->IO_ADDR_W + offs);
77 struct nand_chip *nc; local
83 nc = kzalloc(sizeof(struct nand_chip) + sizeof(struct mtd_info), GFP_KERNEL);
84 if (!nc) {
89 mtd = (struct mtd_info *)(nc + 1);
106 mtd->priv = nc;
109 nc
153 struct nand_chip *nc = mtd->priv; local
[all...]
/drivers/platform/x86/
H A Dintel_scu_ipc.c162 int nc; local
177 for (nc = 0; nc < count; nc++, offset += 2) {
178 cbuf[offset] = addr[nc];
179 cbuf[offset + 1] = addr[nc] >> 8;
183 for (nc = 0, offset = 0; nc < count; nc++, offset += 4)
184 ipc_data_writel(wbuf[nc], offse
[all...]
/drivers/gpu/drm/nouveau/
H A Dnva3_copy.fuc284 bra nc #chsw_load_ctx_dma
453 bra nc #cmp_c0
465 bra nc #cmp_zero
H A Dnvc0_grgpc.fuc369 bra nc #main_not_ctx_xfer
/drivers/mmc/host/
H A Dmsm_sdcc.h165 struct msmsdcc_nc_dmadata *nc; member in struct:msmsdcc_dma_data
H A Dmsm_sdcc.c334 struct msmsdcc_nc_dmadata *nc; local
351 nc = host->dma.nc;
379 box = &nc->cmd[0];
384 nc->cmdptr = (host->dma.cmd_busaddr >> 3) | CMD_PTR_LP;
1150 host->dma.nc = dma_alloc_coherent(NULL,
1154 if (host->dma.nc == NULL) {
1158 memset(host->dma.nc, 0x00, sizeof(struct msmsdcc_nc_dmadata));
1373 mmc_hostname(mmc), host->dma.nc, host->dma.nc_busaddr);
1397 host->dma.nc, hos
[all...]
/drivers/infiniband/hw/ipath/
H A Dipath_intr.c503 unsigned long nc; local
512 nc = jiffies;
514 if (time_before(nc, nextmsg_time)) {
517 nextmsg_time = nc + HZ * 3;
525 else if (!nmsgs++ || time_after(nc, nextmsg_time))
526 nextmsg_time = nc + HZ / 2;
/drivers/tty/
H A Dn_gsm.c2743 static int gsm_create_network(struct gsm_dlci *dlci, struct gsm_netconfig *nc) argument
2757 if (nc->protocol != htons(ETH_P_IP))
2760 if (nc->adaption != 3 && nc->adaption != 4)
2766 if (nc->if_name[0] != '\0')
2767 netname = nc->if_name;
2779 strncpy(nc->if_name, net->name, IFNAMSIZ); /* return net name */
2784 dlci->adaption = nc->adaption;
3012 struct gsm_netconfig nc; local
3017 if (copy_from_user(&nc, (voi
[all...]
/drivers/md/
H A Draid10.c3206 int nc, fc, fo; local
3217 nc = mddev->new_layout & 255;
3221 if ((nc*fc) <2 || (nc*fc) > mddev->raid_disks ||
3244 conf->near_copies = nc;
3246 conf->copies = nc*fc;

Completed in 1301 milliseconds