Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/nvdimm/
Dbus.c219 struct nd_cmd_clear_error clear_err; in nvdimm_clear_poison() local
254 memset(&clear_err, 0, sizeof(clear_err)); in nvdimm_clear_poison()
255 clear_err.address = phys; in nvdimm_clear_poison()
256 clear_err.length = len; in nvdimm_clear_poison()
258 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_CLEAR_ERROR, &clear_err, in nvdimm_clear_poison()
259 sizeof(clear_err), &cmd_rc); in nvdimm_clear_poison()
266 nvdimm_account_cleared_poison(nvdimm_bus, phys, clear_err.cleared); in nvdimm_clear_poison()
268 return clear_err.cleared; in nvdimm_clear_poison()
950 struct nd_cmd_clear_error *clear_err = in nd_pmem_forget_poison_check() local
962 start = clear_err->address; in nd_pmem_forget_poison_check()
[all …]
/Linux-v6.6/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-v6.6/tools/testing/nvdimm/test/
Dnfit.c615 struct nd_cmd_clear_error *clear_err, in nfit_test_cmd_clear_error() argument
619 if (buf_len < sizeof(*clear_err)) in nfit_test_cmd_clear_error()
622 if ((clear_err->address & mask) || (clear_err->length & mask)) in nfit_test_cmd_clear_error()
625 badrange_forget(&t->badrange, clear_err->address, clear_err->length); in nfit_test_cmd_clear_error()
626 clear_err->status = 0; in nfit_test_cmd_clear_error()
627 clear_err->cleared = clear_err->length; in nfit_test_cmd_clear_error()
2883 struct nd_cmd_clear_error clear_err; in nfit_ctl_test() member
3074 cmd_size = sizeof(cmd.clear_err); in nfit_ctl_test()
3075 cmd.clear_err = (struct nd_cmd_clear_error) { in nfit_ctl_test()
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_gmbus.c657 goto clear_err; in do_gmbus_xfer()
680 clear_err: in do_gmbus_xfer()
/Linux-v6.6/drivers/acpi/nfit/
Dcore.c106 struct nd_cmd_clear_error *clear_err; in xlat_bus_status() local
167 clear_err = buf; in xlat_bus_status()
170 if (!clear_err->cleared) in xlat_bus_status()
172 if (clear_err->length > clear_err->cleared) in xlat_bus_status()
173 return clear_err->cleared; in xlat_bus_status()