Searched refs:calcSize (Results 1 – 2 of 2) sorted by relevance
2493 size_t calcSize; in cau3_pkha_read_reg() local2500 calcSize = (dataSize >= sizeof(uint32_t)) ? sizeof(uint32_t) : dataSize; in cau3_pkha_read_reg()2501 (void)cau3_memcpy(data, (const uint8_t *)&word, calcSize); in cau3_pkha_read_reg()2503 data += calcSize; in cau3_pkha_read_reg()2504 dataSize -= calcSize; in cau3_pkha_read_reg()
3956 uint16_t calcSize; in ltc_pkha_read_reg() local3963 calcSize = (dataSize >= sizeof(uint32_t)) ? sizeof(uint32_t) : dataSize; in ltc_pkha_read_reg()3964 ltc_memcpy(data, &word, calcSize); in ltc_pkha_read_reg()3966 data += calcSize; in ltc_pkha_read_reg()3967 dataSize -= calcSize; in ltc_pkha_read_reg()