Home
last modified time | relevance | path

Searched refs:nbc (Results 1 – 4 of 4) sorted by relevance

/drivers/mtd/nand/
Dnand_bch.c54 struct nand_bch_control *nbc = chip->ecc.priv; in nand_bch_calculate_ecc() local
58 encode_bch(nbc->bch, buf, chip->ecc.size, code); in nand_bch_calculate_ecc()
62 code[i] ^= nbc->eccmask[i]; in nand_bch_calculate_ecc()
81 struct nand_bch_control *nbc = chip->ecc.priv; in nand_bch_correct_data() local
82 unsigned int *errloc = nbc->errloc; in nand_bch_correct_data()
85 count = decode_bch(nbc->bch, NULL, chip->ecc.size, read_ecc, calc_ecc, in nand_bch_correct_data()
125 struct nand_bch_control *nbc = NULL; in nand_bch_init() local
144 nbc = kzalloc(sizeof(*nbc), GFP_KERNEL); in nand_bch_init()
145 if (!nbc) in nand_bch_init()
148 nbc->bch = init_bch(m, t, 0); in nand_bch_init()
[all …]
/drivers/block/drbd/
Ddrbd_nl.c1483 struct drbd_backing_dev *nbc) in sanitize_disk_conf() argument
1485 struct request_queue * const q = nbc->backing_bdev->bd_disk->queue; in sanitize_disk_conf()
1489 if (disk_conf->al_extents > drbd_al_extents_max(nbc)) in sanitize_disk_conf()
1490 disk_conf->al_extents = drbd_al_extents_max(nbc); in sanitize_disk_conf()
1707 struct drbd_backing_dev *nbc) in open_backing_devices() argument
1714 nbc->backing_bdev = bdev; in open_backing_devices()
1734 nbc->md_bdev = bdev; in open_backing_devices()
1771 struct drbd_backing_dev *nbc = NULL; /* new_backing_conf */ in drbd_adm_attach() local
1813 nbc = kzalloc(sizeof(struct drbd_backing_dev), GFP_KERNEL); in drbd_adm_attach()
1814 if (!nbc) { in drbd_adm_attach()
[all …]
/drivers/isdn/i4l/
Disdn_ttyfax.c539 sprintf(rs, "\r\n%d", f->nbc); in isdn_tty_cmd_FCLASS2()
552 f->nbc = par; in isdn_tty_cmd_FCLASS2()
Disdn_tty.c1697 f->nbc = 0; in isdn_tty_modem_reset_faxpar()