Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/nvdimm/
Dbus.c230 struct nd_cmd_clear_error clear_err; in nvdimm_clear_poison() local
265 memset(&clear_err, 0, sizeof(clear_err)); in nvdimm_clear_poison()
266 clear_err.address = phys; in nvdimm_clear_poison()
267 clear_err.length = len; in nvdimm_clear_poison()
269 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_CLEAR_ERROR, &clear_err, in nvdimm_clear_poison()
270 sizeof(clear_err), &cmd_rc); in nvdimm_clear_poison()
277 nvdimm_account_cleared_poison(nvdimm_bus, phys, clear_err.cleared); in nvdimm_clear_poison()
279 return clear_err.cleared; in nvdimm_clear_poison()
905 struct nd_cmd_clear_error *clear_err = in nd_pmem_forget_poison_check() local
917 start = clear_err->address; in nd_pmem_forget_poison_check()
[all …]
/Linux-v5.4/drivers/gpu/drm/gma500/
Dintel_gmbus.c283 goto clear_err; in gmbus_xfer()
313 goto clear_err; in gmbus_xfer()
328 goto clear_err; in gmbus_xfer()
333 clear_err: in gmbus_xfer()
/Linux-v5.4/tools/testing/nvdimm/test/
Dnfit.c613 struct nd_cmd_clear_error *clear_err, in nfit_test_cmd_clear_error() argument
617 if (buf_len < sizeof(*clear_err)) in nfit_test_cmd_clear_error()
620 if ((clear_err->address & mask) || (clear_err->length & mask)) in nfit_test_cmd_clear_error()
623 badrange_forget(&t->badrange, clear_err->address, clear_err->length); in nfit_test_cmd_clear_error()
624 clear_err->status = 0; in nfit_test_cmd_clear_error()
625 clear_err->cleared = clear_err->length; in nfit_test_cmd_clear_error()
2704 struct nd_cmd_clear_error clear_err; in nfit_ctl_test() member
2889 cmd_size = sizeof(cmds.clear_err); in nfit_ctl_test()
2890 cmds.clear_err = (struct nd_cmd_clear_error) { in nfit_ctl_test()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_gmbus.c625 goto clear_err; in do_gmbus_xfer()
647 clear_err: in do_gmbus_xfer()
/Linux-v5.4/drivers/acpi/nfit/
Dcore.c93 struct nd_cmd_clear_error *clear_err; in xlat_bus_status() local
154 clear_err = buf; in xlat_bus_status()
157 if (!clear_err->cleared) in xlat_bus_status()
159 if (clear_err->length > clear_err->cleared) in xlat_bus_status()
160 return clear_err->cleared; in xlat_bus_status()