@@ -475,7 +475,7 @@ inline static ocxl_err mmio_check(ocxl_mmio_h region, off_t offset, size_t size)
475475 * Read a 32-bit value from an AFU's MMIO region.
476476 *
477477 * Read the 32-bit value at offset from the address of the mapped MMIO space,
478- * no endianess conversion will be performed.
478+ * no endianness conversion will be performed.
479479 * Memory barriers are inserted before and after the MMIO operation.
480480 *
481481 * @pre the AFU has been opened, and the per-PASID MMIO area mapped
@@ -513,7 +513,7 @@ inline static ocxl_err mmio_read32_native(ocxl_mmio_h region, off_t offset, uint
513513 * Read a 64-bit value from an AFU's MMIO region.
514514 *
515515 * Read the 64-bit value at offset from the address of the mapped MMIO space,
516- * no endianess conversion will be performed.
516+ * no endianness conversion will be performed.
517517 * Memory barriers are inserted before and after the MMIO operation.
518518 *
519519 * @pre the AFU has been opened, and the per-PASID MMIO area mapped
@@ -551,7 +551,7 @@ inline static ocxl_err mmio_read64_native(ocxl_mmio_h region, off_t offset, uint
551551 * Write a 32-bit value to an AFU's MMIO region.
552552 *
553553 * Write the 32-bit word at offset from the address of the mapped MMIO space,
554- * no endianess conversion will be performed.
554+ * no endianness conversion will be performed.
555555 *
556556 * Memory barriers are inserted before and after the MMIO operation.
557557 *
@@ -593,7 +593,7 @@ inline static ocxl_err mmio_write32_native(ocxl_mmio_h region, off_t offset, uin
593593 * Write a 64-bit value to the mapped AFU per-PASID MMIO space.
594594 *
595595 * Write the 64-bit value at offset from the address of the mapped MMIO space,
596- * no endianess conversion will be performed.
596+ * no endianness conversion will be performed.
597597 * Memory barriers are inserted before and after the MMIO operation.
598598 *
599599 * @pre the AFU has been opened, and the MMIO area mapped
@@ -630,17 +630,17 @@ inline static ocxl_err mmio_write64_native(ocxl_mmio_h region, off_t offset, uin
630630}
631631
632632/**
633- * Read a 32-bit value from an AFU's MMIO region & convert endianess .
633+ * Read a 32-bit value from an AFU's MMIO region & convert endianness .
634634 *
635635 * Read the 32-bit value at offset from the address of the mapped MMIO space,
636- * and convert endianess as specified by the endian parameter.
636+ * and convert endianness as specified by the endian parameter.
637637 * Memory barriers are inserted before and after the MMIO operation.
638638 *
639639 * @pre the AFU has been opened, and the MMIO area mapped
640640 * @param mmio the MMIO area to operate on
641641 * @param offset A byte address that is aligned on a word (4 byte) boundary. It
642642 * must be lower than the MMIO size (-4 bytes) reported by ocxl_mmio_size()
643- * @param endian the endianess of the stored data (will be converted to native)
643+ * @param endian the endianness of the stored data (will be converted to native)
644644 * @param[out] out the value that was read
645645 *
646646 * @retval OCXL_OK if the value was read
@@ -673,18 +673,18 @@ ocxl_err ocxl_mmio_read32(ocxl_mmio_h mmio, off_t offset, ocxl_endian endian, ui
673673}
674674
675675/**
676- * Read a 64-bit value from an AFU's MMIO region & convert endianess .
676+ * Read a 64-bit value from an AFU's MMIO region & convert endianness .
677677 *
678678 * Read the 64-bit value at offset from the address of the mapped MMIO space,
679- * and convert endianess as specified by the endian parameter.
679+ * and convert endianness as specified by the endian parameter.
680680 * Memory barriers are inserted before and after the MMIO operation.
681681 *
682682 * @pre the AFU has been opened, and the MMIO area mapped
683683 *
684684 * @param mmio the MMIO area to operate on
685685 * @param offset A byte address that is aligned on an 8 byte boundary. It
686686 * must be lower than the MMIO size (-8 bytes) reported by ocxl_afu_get_mmio_size()
687- * @param endian the endianess of the stored data (will be converted to native)
687+ * @param endian the endianness of the stored data (will be converted to native)
688688 * @param[out] out the value that was read
689689 *
690690 * @retval OCXL_OK if the value was read
@@ -717,9 +717,9 @@ ocxl_err ocxl_mmio_read64(ocxl_mmio_h mmio, off_t offset, ocxl_endian endian, ui
717717}
718718
719719/**
720- * Convert endianess and write a 32-bit value to an AFU's MMIO region.
720+ * Convert endianness and write a 32-bit value to an AFU's MMIO region.
721721 *
722- * Convert endianess and write the 32-bit word at offset from the address of the mapped MMIO space.
722+ * Convert endianness and write the 32-bit word at offset from the address of the mapped MMIO space.
723723 * Memory barriers are inserted before and after the MMIO operation.
724724 *
725725 * @pre the AFU has been opened, and the MMIO area mapped
@@ -728,7 +728,7 @@ ocxl_err ocxl_mmio_read64(ocxl_mmio_h mmio, off_t offset, ocxl_endian endian, ui
728728 * @param offset A byte address that is aligned on a 4 byte boundary. It
729729 * must be lower than the MMIO size (-4 bytes) reported by ocxl_mmio_size()
730730 *
731- * @param endian the endianess of the stored data (value will be converted to this before storing it)
731+ * @param endian the endianness of the stored data (value will be converted to this before storing it)
732732 * @param value the value to write
733733 *
734734 * @retval OCXL_OK if the value was written
@@ -753,17 +753,17 @@ ocxl_err ocxl_mmio_write32(ocxl_mmio_h mmio, off_t offset, ocxl_endian endian, u
753753}
754754
755755/**
756- * Convert endianess and write a 64-bit value to an AFU's MMIO region.
756+ * Convert endianness and write a 64-bit value to an AFU's MMIO region.
757757 *
758- * Convert endianess and write the 32-bit word at offset from the address of the mapped MMIO space.
758+ * Convert endianness and write the 32-bit word at offset from the address of the mapped MMIO space.
759759 * Memory barriers are inserted before and after the MMIO operation.
760760 *
761761 * @pre the AFU has been opened, and the MMIO area mapped
762762 *
763763 * @param mmio the MMIO area to operate on
764764 * @param offset A byte address that is aligned on an 8 byte boundary. It
765765 * must be lower than the MMIO size (-8 bytes) reported by ocxl_mmio_size()
766- * @param endian the endianess of the stored data (value will be converted to this before storing it)
766+ * @param endian the endianness of the stored data (value will be converted to this before storing it)
767767 * @param value the value to write
768768 *
769769 * @retval OCXL_OK if the value was written
0 commit comments