Searched refs:clear_err (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/nvdimm/ |
D | bus.c | 230 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() 934 struct nd_cmd_clear_error *clear_err = in nd_pmem_forget_poison_check() local 946 start = clear_err->address; in nd_pmem_forget_poison_check() [all …]
|
/Linux-v5.10/drivers/gpu/drm/gma500/ |
D | intel_gmbus.c | 283 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.10/tools/testing/nvdimm/test/ |
D | nfit.c | 618 struct nd_cmd_clear_error *clear_err, in nfit_test_cmd_clear_error() argument 622 if (buf_len < sizeof(*clear_err)) in nfit_test_cmd_clear_error() 625 if ((clear_err->address & mask) || (clear_err->length & mask)) in nfit_test_cmd_clear_error() 628 badrange_forget(&t->badrange, clear_err->address, clear_err->length); in nfit_test_cmd_clear_error() 629 clear_err->status = 0; in nfit_test_cmd_clear_error() 630 clear_err->cleared = clear_err->length; in nfit_test_cmd_clear_error() 2900 struct nd_cmd_clear_error clear_err; in nfit_ctl_test() member 3091 cmd_size = sizeof(cmd.clear_err); in nfit_ctl_test() 3092 cmd.clear_err = (struct nd_cmd_clear_error) { in nfit_ctl_test()
|
/Linux-v5.10/drivers/gpu/drm/i915/display/ |
D | intel_gmbus.c | 619 goto clear_err; in do_gmbus_xfer() 642 clear_err: in do_gmbus_xfer()
|
/Linux-v5.10/drivers/acpi/nfit/ |
D | core.c | 105 struct nd_cmd_clear_error *clear_err; in xlat_bus_status() local 166 clear_err = buf; in xlat_bus_status() 169 if (!clear_err->cleared) in xlat_bus_status() 171 if (clear_err->length > clear_err->cleared) in xlat_bus_status() 172 return clear_err->cleared; in xlat_bus_status()
|