Searched refs:nc (Results 1 – 4 of 4) sorted by relevance
/drivers/mtd/nand/ |
D | orion_nand.c | 30 struct nand_chip *nc = mtd->priv; in orion_nand_cmd_ctrl() local 31 struct orion_nand_data *board = nc->priv; in orion_nand_cmd_ctrl() 44 if (nc->options & NAND_BUSWIDTH_16) in orion_nand_cmd_ctrl() 47 writeb(cmd, nc->IO_ADDR_W + offs); in orion_nand_cmd_ctrl() 53 struct nand_chip *nc; in orion_nand_probe() local 62 nc = kzalloc(sizeof(struct nand_chip) + sizeof(struct mtd_info), GFP_KERNEL); in orion_nand_probe() 63 if (!nc) { in orion_nand_probe() 68 mtd = (struct mtd_info *)(nc + 1); in orion_nand_probe() 80 mtd->priv = nc; in orion_nand_probe() 83 nc->priv = board; in orion_nand_probe() [all …]
|
/drivers/of/ |
D | of_spi.c | 25 struct device_node *nc; in of_register_spi_devices() local 30 for_each_child_of_node(np, nc) { in of_register_spi_devices() 35 nc->full_name); in of_register_spi_devices() 41 if (of_modalias_node(nc, spi->modalias, in of_register_spi_devices() 44 nc->full_name); in of_register_spi_devices() 50 prop = of_get_property(nc, "reg", &len); in of_register_spi_devices() 53 nc->full_name); in of_register_spi_devices() 60 if (of_find_property(nc, "spi-cpha", NULL)) in of_register_spi_devices() 62 if (of_find_property(nc, "spi-cpol", NULL)) in of_register_spi_devices() 64 if (of_find_property(nc, "spi-cs-high", NULL)) in of_register_spi_devices() [all …]
|
/drivers/infiniband/hw/ipath/ |
D | ipath_intr.c | 502 unsigned long nc; in handle_frequent_errors() local 511 nc = jiffies; in handle_frequent_errors() 513 if (time_before(nc, nextmsg_time)) { in handle_frequent_errors() 516 nextmsg_time = nc + HZ * 3; in handle_frequent_errors() 524 else if (!nmsgs++ || time_after(nc, nextmsg_time)) in handle_frequent_errors() 525 nextmsg_time = nc + HZ / 2; in handle_frequent_errors()
|
/drivers/md/ |
D | raid10.c | 2029 int nc, fc, fo; in run() local 2038 nc = mddev->layout & 255; in run() 2041 if ((nc*fc) <2 || (nc*fc) > mddev->raid_disks || in run() 2073 conf->near_copies = nc; in run() 2075 conf->copies = nc*fc; in run() 2082 sector_div(size, nc); in run()
|