Searched refs:ndbr (Results 1 – 6 of 6) sorted by relevance
/drivers/nvdimm/ |
D | blk.c | 28 struct nd_blk_region *ndbr; member 70 struct nd_blk_region *ndbr; in nd_blk_rw_integrity() local 74 ndbr = blk_dev->ndbr; in nd_blk_rw_integrity() 94 err = ndbr->do_io(ndbr, dev_offset, iobuf + bv.bv_offset, in nd_blk_rw_integrity() 122 struct nd_blk_region *ndbr = blk_dev->ndbr; in nd_blk_do_bvec() local 146 err = ndbr->do_io(ndbr, dev_offset, iobuf + off, cur_len, rw); in nd_blk_do_bvec() 219 struct nd_blk_region *ndbr = blk_dev->ndbr; in nd_blk_rw_bytes() local 232 return ndbr->do_io(ndbr, dev_offset, iobuf, n, rw); in nd_blk_rw_bytes() 310 blk_dev->ndbr = to_nd_blk_region(dev->parent); in nd_blk_probe()
|
D | region_devs.c | 93 void *nd_blk_region_provider_data(struct nd_blk_region *ndbr) in nd_blk_region_provider_data() argument 95 return ndbr->blk_provider_data; in nd_blk_region_provider_data() 99 void nd_blk_region_set_provider_data(struct nd_blk_region *ndbr, void *data) in nd_blk_region_set_provider_data() argument 101 ndbr->blk_provider_data = data; in nd_blk_region_set_provider_data() 663 struct nd_blk_region *ndbr; in nd_region_create() local 666 ndbr = kzalloc(sizeof(*ndbr) + sizeof(struct nd_mapping) in nd_region_create() 669 if (ndbr) { in nd_region_create() 670 nd_region = &ndbr->nd_region; in nd_region_create() 671 ndbr->enable = ndbr_desc->enable; in nd_region_create() 672 ndbr->disable = ndbr_desc->disable; in nd_region_create() [all …]
|
D | dimm_devs.c | 212 struct nvdimm *nd_blk_region_to_dimm(struct nd_blk_region *ndbr) in nd_blk_region_to_dimm() argument 214 struct nd_region *nd_region = &ndbr->nd_region; in nd_blk_region_to_dimm()
|
D | nd.h | 119 int (*do_io)(struct nd_blk_region *ndbr, resource_size_t dpa,
|
/drivers/acpi/ |
D | nfit.c | 1181 static int acpi_nfit_blk_region_do_io(struct nd_blk_region *ndbr, in acpi_nfit_blk_region_do_io() argument 1184 struct nfit_blk *nfit_blk = nd_blk_region_provider_data(ndbr); in acpi_nfit_blk_region_do_io() 1368 struct nd_blk_region *ndbr = to_nd_blk_region(dev); in acpi_nfit_blk_region_enable() local 1376 nvdimm = nd_blk_region_to_dimm(ndbr); in acpi_nfit_blk_region_enable() 1389 nd_blk_region_set_provider_data(ndbr, nfit_blk); in acpi_nfit_blk_region_enable() 1476 struct nd_blk_region *ndbr = to_nd_blk_region(dev); in acpi_nfit_blk_region_disable() local 1477 struct nfit_blk *nfit_blk = nd_blk_region_provider_data(ndbr); in acpi_nfit_blk_region_disable() 1490 nd_blk_region_set_provider_data(ndbr, NULL); in acpi_nfit_blk_region_disable()
|
D | nfit.h | 119 int (*blk_do_io)(struct nd_blk_region *ndbr, resource_size_t dpa,
|