Lines Matching refs:buffer
154 unsigned char *buffer) in inv_get_mpu_memory_original() argument
167 memcpy(buffer, &localDmpMemory[offset], length); in inv_get_mpu_memory_original()
733 unsigned short length, unsigned char *buffer) in inv_get_mpu_memory_one_bank() argument
739 ((memAddr + length) > MPU_MEM_BANK_SIZE) || (NULL == buffer)) { in inv_get_mpu_memory_one_bank()
744 memcpy(buffer, &mldlCfg.ram[bank][memAddr], length); in inv_get_mpu_memory_one_bank()
748 ((bank << 8) | memAddr), length, buffer); in inv_get_mpu_memory_one_bank()
779 const unsigned char *buffer) in inv_set_mpu_memory_one_bank() argument
785 ((memAddr + length) > MPU_MEM_BANK_SIZE) || (NULL == buffer)) { in inv_set_mpu_memory_one_bank()
789 different = memcmp(&mldlCfg.ram[bank][memAddr], buffer, length); in inv_set_mpu_memory_one_bank()
790 memcpy(&mldlCfg.ram[bank][memAddr], buffer, length); in inv_set_mpu_memory_one_bank()
793 ((bank << 8) | memAddr), length, buffer); in inv_set_mpu_memory_one_bank()
823 unsigned short length, unsigned char *buffer) in inv_get_mpu_memory() argument
843 sub_length, buffer); in inv_get_mpu_memory()
848 buffer += sub_length; in inv_get_mpu_memory()
852 length, buffer); in inv_get_mpu_memory()
881 const unsigned char *buffer) in inv_set_mpu_memory() argument
905 result = inv_set_mpu_memory_one_bank(bank, memAddr, sub_length, buffer); in inv_set_mpu_memory()
913 buffer += sub_length; in inv_set_mpu_memory()
916 result = inv_set_mpu_memory_one_bank(bank, memAddr, length, buffer); in inv_set_mpu_memory()
934 inv_error_t inv_load_dmp(const unsigned char *buffer, in inv_load_dmp() argument
942 localDmpMemory = buffer; in inv_load_dmp()
955 buffer); in inv_load_dmp()
961 buffer += toWrite; in inv_load_dmp()