Searched refs:nfit_blk (Results 1 – 3 of 3) sorted by relevance
2451 static u32 read_blk_stat(struct nfit_blk *nfit_blk, unsigned int bw) in read_blk_stat() argument2453 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[DCR]; in read_blk_stat()2454 u64 offset = nfit_blk->stat_offset + mmio->size * bw; in read_blk_stat()2463 static void write_blk_ctl(struct nfit_blk *nfit_blk, unsigned int bw, in write_blk_ctl() argument2467 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[DCR]; in write_blk_ctl()2481 offset = nfit_blk->cmd_offset + mmio->size * bw; in write_blk_ctl()2486 nvdimm_flush(nfit_blk->nd_region, NULL); in write_blk_ctl()2488 if (nfit_blk->dimm_flags & NFIT_BLK_DCR_LATCH) in write_blk_ctl()2492 static int acpi_nfit_blk_single_io(struct nfit_blk *nfit_blk, in acpi_nfit_blk_single_io() argument2496 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[BDW]; in acpi_nfit_blk_single_io()[all …]
295 struct nfit_blk { struct
2841 struct nfit_blk *nfit_blk = ndbr->blk_provider_data; in nfit_test_blk_do_io() local2842 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[BDW]; in nfit_test_blk_do_io()