api.c (3a7651e683701dbb4c7d02e20661c923fa4c6901) api.c (13e68d8bd05c998cae452a4f3400af1e8edd852e)
1/*
2 * Copyright 2014 IBM Corp.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */

--- 313 unchanged lines hidden (view full) ---

322
323 rc = __cxl_afu_reset(afu);
324 if (rc)
325 return rc;
326
327 return cxl_afu_check_and_enable(afu);
328}
329EXPORT_SYMBOL_GPL(cxl_afu_reset);
1/*
2 * Copyright 2014 IBM Corp.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */

--- 313 unchanged lines hidden (view full) ---

322
323 rc = __cxl_afu_reset(afu);
324 if (rc)
325 return rc;
326
327 return cxl_afu_check_and_enable(afu);
328}
329EXPORT_SYMBOL_GPL(cxl_afu_reset);
330
331void cxl_perst_reloads_same_image(struct cxl_afu *afu,
332 bool perst_reloads_same_image)
333{
334 afu->adapter->perst_same_image = perst_reloads_same_image;
335}
336EXPORT_SYMBOL_GPL(cxl_perst_reloads_same_image);