Searched refs:nfit_blk (Results 1 – 3 of 3) sorted by relevance
2394 static u32 read_blk_stat(struct nfit_blk *nfit_blk, unsigned int bw) in read_blk_stat() argument2396 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() argument2410 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() argument2439 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[BDW]; in acpi_nfit_blk_single_io()[all …]
264 struct nfit_blk { struct
2647 struct nfit_blk *nfit_blk = ndbr->blk_provider_data; in nfit_test_blk_do_io() local2648 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[BDW]; in nfit_test_blk_do_io()