Searched refs:clear_err (Results 1 – 4 of 4) sorted by relevance
179 struct nd_cmd_clear_error clear_err; in nvdimm_clear_poison() local211 memset(&clear_err, 0, sizeof(clear_err)); in nvdimm_clear_poison()212 clear_err.address = phys; in nvdimm_clear_poison()213 clear_err.length = len; in nvdimm_clear_poison()214 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_CLEAR_ERROR, &clear_err, in nvdimm_clear_poison()215 sizeof(clear_err), &cmd_rc); in nvdimm_clear_poison()221 if (clear_err.cleared > 0) in nvdimm_clear_poison()223 clear_err.cleared); in nvdimm_clear_poison()225 return clear_err.cleared; in nvdimm_clear_poison()
282 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()
500 goto clear_err; in do_gmbus_xfer()522 clear_err: in do_gmbus_xfer()
99 struct nd_cmd_clear_error *clear_err; in xlat_bus_status() local160 clear_err = buf; in xlat_bus_status()163 if (!clear_err->cleared) in xlat_bus_status()165 if (clear_err->length > clear_err->cleared) in xlat_bus_status()166 return clear_err->cleared; in xlat_bus_status()