Searched refs:nfit_blk (Results 1 – 3 of 3) sorted by relevance
2202 static u32 read_blk_stat(struct nfit_blk *nfit_blk, unsigned int bw) in read_blk_stat() argument2204 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[DCR]; in read_blk_stat()2205 u64 offset = nfit_blk->stat_offset + mmio->size * bw; in read_blk_stat()2214 static void write_blk_ctl(struct nfit_blk *nfit_blk, unsigned int bw, in write_blk_ctl() argument2218 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[DCR]; in write_blk_ctl()2232 offset = nfit_blk->cmd_offset + mmio->size * bw; in write_blk_ctl()2237 nvdimm_flush(nfit_blk->nd_region); in write_blk_ctl()2239 if (nfit_blk->dimm_flags & NFIT_BLK_DCR_LATCH) in write_blk_ctl()2243 static int acpi_nfit_blk_single_io(struct nfit_blk *nfit_blk, in acpi_nfit_blk_single_io() argument2247 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[BDW]; in acpi_nfit_blk_single_io()[all …]
235 struct nfit_blk { struct
2309 struct nfit_blk *nfit_blk = ndbr->blk_provider_data; in nfit_test_blk_do_io() local2310 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[BDW]; in nfit_test_blk_do_io()