Home
last modified time | relevance | path

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

/linux/drivers/mtd/ubi/
H A Dnvmem.c26 struct ubi_nvmem *unv = priv; in ubi_nvmem_reg_read() local
32 desc = ubi_open_volume(unv->ubi_num, unv->vol_id, UBI_READONLY); in ubi_nvmem_reg_read()
36 offs = from % unv->usable_leb_size; in ubi_nvmem_reg_read()
37 lnum = from / unv->usable_leb_size; in ubi_nvmem_reg_read()
39 to_read = unv->usable_leb_size - offs; in ubi_nvmem_reg_read()
65 struct ubi_nvmem *unv; in ubi_nvmem_add() local
78 unv = kzalloc(sizeof(struct ubi_nvmem), GFP_KERNEL); in ubi_nvmem_add()
79 if (!unv) in ubi_nvmem_add()
86 config.priv = unv; in ubi_nvmem_add()
96 unv->ubi_num = vi->ubi_num; in ubi_nvmem_add()
[all …]