Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/acpi/nfit/
Dcore.c2394 static u32 read_blk_stat(struct nfit_blk *nfit_blk, unsigned int bw) in read_blk_stat() argument
2396 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[DCR]; in read_blk_stat()
2397 u64 offset = nfit_blk->stat_offset + mmio->size * bw; in read_blk_stat()
2406 static void write_blk_ctl(struct nfit_blk *nfit_blk, unsigned int bw, in write_blk_ctl() argument
2410 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[DCR]; in write_blk_ctl()
2424 offset = nfit_blk->cmd_offset + mmio->size * bw; in write_blk_ctl()
2429 nvdimm_flush(nfit_blk->nd_region, NULL); in write_blk_ctl()
2431 if (nfit_blk->dimm_flags & NFIT_BLK_DCR_LATCH) in write_blk_ctl()
2435 static int acpi_nfit_blk_single_io(struct nfit_blk *nfit_blk, in acpi_nfit_blk_single_io() argument
2439 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[BDW]; in acpi_nfit_blk_single_io()
[all …]
Dnfit.h264 struct nfit_blk { struct
/Linux-v5.4/tools/testing/nvdimm/test/
Dnfit.c2647 struct nfit_blk *nfit_blk = ndbr->blk_provider_data; in nfit_test_blk_do_io() local
2648 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[BDW]; in nfit_test_blk_do_io()