Home
last modified time | relevance | path

Searched refs:clear_err (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/nvdimm/
Dbus.c239 struct nd_cmd_clear_error clear_err; in nvdimm_clear_poison() local
274 memset(&clear_err, 0, sizeof(clear_err)); in nvdimm_clear_poison()
275 clear_err.address = phys; in nvdimm_clear_poison()
276 clear_err.length = len; in nvdimm_clear_poison()
278 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_CLEAR_ERROR, &clear_err, in nvdimm_clear_poison()
279 sizeof(clear_err), &cmd_rc); in nvdimm_clear_poison()
286 nvdimm_account_cleared_poison(nvdimm_bus, phys, clear_err.cleared); in nvdimm_clear_poison()
288 return clear_err.cleared; in nvdimm_clear_poison()
845 struct nd_cmd_clear_error *clear_err = in nd_pmem_forget_poison_check() local
857 start = clear_err->address; in nd_pmem_forget_poison_check()
[all …]
/Linux-v4.19/drivers/gpu/drm/gma500/
Dintel_gmbus.c282 goto clear_err; in gmbus_xfer()
312 goto clear_err; in gmbus_xfer()
327 goto clear_err; in gmbus_xfer()
332 clear_err: in gmbus_xfer()
/Linux-v4.19/tools/testing/nvdimm/test/
Dnfit.c607 struct nd_cmd_clear_error *clear_err, in nfit_test_cmd_clear_error() argument
611 if (buf_len < sizeof(*clear_err)) in nfit_test_cmd_clear_error()
614 if ((clear_err->address & mask) || (clear_err->length & mask)) in nfit_test_cmd_clear_error()
617 badrange_forget(&t->badrange, clear_err->address, clear_err->length); in nfit_test_cmd_clear_error()
618 clear_err->status = 0; in nfit_test_cmd_clear_error()
619 clear_err->cleared = clear_err->length; in nfit_test_cmd_clear_error()
2366 struct nd_cmd_clear_error clear_err; in nfit_ctl_test() member
2551 cmd_size = sizeof(cmds.clear_err); in nfit_ctl_test()
2552 cmds.clear_err = (struct nd_cmd_clear_error) { in nfit_ctl_test()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_i2c.c609 goto clear_err; in do_gmbus_xfer()
631 clear_err: in do_gmbus_xfer()
/Linux-v4.19/drivers/acpi/nfit/
Dcore.c102 struct nd_cmd_clear_error *clear_err; in xlat_bus_status() local
163 clear_err = buf; in xlat_bus_status()
166 if (!clear_err->cleared) in xlat_bus_status()
168 if (clear_err->length > clear_err->cleared) in xlat_bus_status()
169 return clear_err->cleared; in xlat_bus_status()