Home
last modified time | relevance | path

Searched refs:data_size (Results 1 – 18 of 18) sorted by relevance

/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_qspi.c1272 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Transmit_DMA() local
1287 hqspi->TxXferCount = data_size; in HAL_QSPI_Transmit_DMA()
1291 if (((data_size % 2U) != 0U) || ((hqspi->Init.FifoThreshold % 2U) != 0U)) in HAL_QSPI_Transmit_DMA()
1303 hqspi->TxXferCount = (data_size >> 1U); in HAL_QSPI_Transmit_DMA()
1308 if (((data_size % 4U) != 0U) || ((hqspi->Init.FifoThreshold % 4U) != 0U)) in HAL_QSPI_Transmit_DMA()
1320 hqspi->TxXferCount = (data_size >> 2U); in HAL_QSPI_Transmit_DMA()
1440 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Receive_DMA() local
1455 hqspi->RxXferCount = data_size; in HAL_QSPI_Receive_DMA()
1459 if (((data_size % 2U) != 0U) || ((hqspi->Init.FifoThreshold % 2U) != 0U)) in HAL_QSPI_Receive_DMA()
1471 hqspi->RxXferCount = (data_size >> 1U); in HAL_QSPI_Receive_DMA()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_qspi.c1255 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Transmit_DMA() local
1270 hqspi->TxXferCount = data_size; in HAL_QSPI_Transmit_DMA()
1274 if (((data_size % 2U) != 0U) || ((hqspi->Init.FifoThreshold % 2U) != 0U)) in HAL_QSPI_Transmit_DMA()
1286 hqspi->TxXferCount = (data_size >> 1U); in HAL_QSPI_Transmit_DMA()
1291 if (((data_size % 4U) != 0U) || ((hqspi->Init.FifoThreshold % 4U) != 0U)) in HAL_QSPI_Transmit_DMA()
1303 hqspi->TxXferCount = (data_size >> 2U); in HAL_QSPI_Transmit_DMA()
1400 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Receive_DMA() local
1415 hqspi->RxXferCount = data_size; in HAL_QSPI_Receive_DMA()
1419 if (((data_size % 2U) != 0U) || ((hqspi->Init.FifoThreshold % 2U) != 0U)) in HAL_QSPI_Receive_DMA()
1431 hqspi->RxXferCount = (data_size >> 1U); in HAL_QSPI_Receive_DMA()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_qspi.c1264 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Transmit_DMA() local
1279 hqspi->TxXferCount = data_size; in HAL_QSPI_Transmit_DMA()
1283 if (((data_size % 2U) != 0U) || ((hqspi->Init.FifoThreshold % 2U) != 0U)) in HAL_QSPI_Transmit_DMA()
1295 hqspi->TxXferCount = (data_size >> 1U); in HAL_QSPI_Transmit_DMA()
1300 if (((data_size % 4U) != 0U) || ((hqspi->Init.FifoThreshold % 4U) != 0U)) in HAL_QSPI_Transmit_DMA()
1312 hqspi->TxXferCount = (data_size >> 2U); in HAL_QSPI_Transmit_DMA()
1409 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Receive_DMA() local
1424 hqspi->RxXferCount = data_size; in HAL_QSPI_Receive_DMA()
1428 if (((data_size % 2U) != 0U) || ((hqspi->Init.FifoThreshold % 2U) != 0U)) in HAL_QSPI_Receive_DMA()
1440 hqspi->RxXferCount = (data_size >> 1U); in HAL_QSPI_Receive_DMA()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_qspi.c1280 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Transmit_DMA() local
1295 hqspi->TxXferCount = data_size; in HAL_QSPI_Transmit_DMA()
1299 if (((data_size % 2U) != 0U) || ((hqspi->Init.FifoThreshold % 2U) != 0U)) in HAL_QSPI_Transmit_DMA()
1311 hqspi->TxXferCount = (data_size >> 1U); in HAL_QSPI_Transmit_DMA()
1316 if (((data_size % 4U) != 0U) || ((hqspi->Init.FifoThreshold % 4U) != 0U)) in HAL_QSPI_Transmit_DMA()
1328 hqspi->TxXferCount = (data_size >> 2U); in HAL_QSPI_Transmit_DMA()
1425 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Receive_DMA() local
1440 hqspi->RxXferCount = data_size; in HAL_QSPI_Receive_DMA()
1444 if (((data_size % 2U) != 0U) || ((hqspi->Init.FifoThreshold % 2U) != 0U)) in HAL_QSPI_Receive_DMA()
1456 hqspi->RxXferCount = (data_size >> 1U); in HAL_QSPI_Receive_DMA()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_qspi.c1288 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Transmit_DMA() local
1303 hqspi->TxXferCount = data_size; in HAL_QSPI_Transmit_DMA()
1307 if (((data_size % 2U) != 0U) || ((hqspi->Init.FifoThreshold % 2U) != 0U)) in HAL_QSPI_Transmit_DMA()
1319 hqspi->TxXferCount = (data_size >> 1U); in HAL_QSPI_Transmit_DMA()
1324 if (((data_size % 4U) != 0U) || ((hqspi->Init.FifoThreshold % 4U) != 0U)) in HAL_QSPI_Transmit_DMA()
1336 hqspi->TxXferCount = (data_size >> 2U); in HAL_QSPI_Transmit_DMA()
1433 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Receive_DMA() local
1448 hqspi->RxXferCount = data_size; in HAL_QSPI_Receive_DMA()
1452 if (((data_size % 2U) != 0U) || ((hqspi->Init.FifoThreshold % 2U) != 0U)) in HAL_QSPI_Receive_DMA()
1464 hqspi->RxXferCount = (data_size >> 1U); in HAL_QSPI_Receive_DMA()
[all …]
Dstm32l4xx_hal_ospi.c1402 uint32_t data_size = hospi->Instance->DLR + 1U; in HAL_OSPI_Transmit_DMA() local
1418 hospi->XferCount = data_size; in HAL_OSPI_Transmit_DMA()
1422 if (((data_size % 2U) != 0U) || ((hospi->Init.FifoThreshold % 2U) != 0U)) in HAL_OSPI_Transmit_DMA()
1431 hospi->XferCount = (data_size >> 1); in HAL_OSPI_Transmit_DMA()
1436 if (((data_size % 4U) != 0U) || ((hospi->Init.FifoThreshold % 4U) != 0U)) in HAL_OSPI_Transmit_DMA()
1445 hospi->XferCount = (data_size >> 2); in HAL_OSPI_Transmit_DMA()
1525 uint32_t data_size = hospi->Instance->DLR + 1U; in HAL_OSPI_Receive_DMA() local
1542 hospi->XferCount = data_size; in HAL_OSPI_Receive_DMA()
1546 if (((data_size % 2U) != 0U) || ((hospi->Init.FifoThreshold % 2U) != 0U)) in HAL_OSPI_Receive_DMA()
1555 hospi->XferCount = (data_size >> 1); in HAL_OSPI_Receive_DMA()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_ospi.c1391 uint32_t data_size = hospi->Instance->DLR + 1U; in HAL_OSPI_Transmit_DMA() local
1407 hospi->XferCount = data_size; in HAL_OSPI_Transmit_DMA()
1411 if (((data_size % 2U) != 0U) || ((hospi->Init.FifoThreshold % 2U) != 0U)) in HAL_OSPI_Transmit_DMA()
1420 hospi->XferCount = (data_size >> 1); in HAL_OSPI_Transmit_DMA()
1425 if (((data_size % 4U) != 0U) || ((hospi->Init.FifoThreshold % 4U) != 0U)) in HAL_OSPI_Transmit_DMA()
1434 hospi->XferCount = (data_size >> 2); in HAL_OSPI_Transmit_DMA()
1514 uint32_t data_size = hospi->Instance->DLR + 1U; in HAL_OSPI_Receive_DMA() local
1531 hospi->XferCount = data_size; in HAL_OSPI_Receive_DMA()
1535 if (((data_size % 2U) != 0U) || ((hospi->Init.FifoThreshold % 2U) != 0U)) in HAL_OSPI_Receive_DMA()
1544 hospi->XferCount = (data_size >> 1); in HAL_OSPI_Receive_DMA()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_xspi.c1423 uint32_t data_size = hxspi->Instance->DLR + 1U; in HAL_XSPI_Transmit_DMA() local
1461 hxspi->XferCount = data_size; in HAL_XSPI_Transmit_DMA()
1465 if (((data_size % 2U) != 0U) || ((hxspi->Init.FifoThresholdByte % 2U) != 0U)) in HAL_XSPI_Transmit_DMA()
1474 hxspi->XferCount = data_size; in HAL_XSPI_Transmit_DMA()
1479 if (((data_size % 4U) != 0U) || ((hxspi->Init.FifoThresholdByte % 4U) != 0U)) in HAL_XSPI_Transmit_DMA()
1488 hxspi->XferCount = data_size; in HAL_XSPI_Transmit_DMA()
1606 uint32_t data_size = hxspi->Instance->DLR + 1U; in HAL_XSPI_Receive_DMA() local
1647 hxspi->XferCount = data_size; in HAL_XSPI_Receive_DMA()
1651 if (((data_size % 2U) != 0U) || ((hxspi->Init.FifoThresholdByte % 2U) != 0U)) in HAL_XSPI_Receive_DMA()
1660 hxspi->XferCount = data_size; in HAL_XSPI_Receive_DMA()
[all …]
Dstm32h5xx_hal_spi.c3776 uint32_t data_size = (hspi->Init.DataSize >> SPI_CFG1_DSIZE_Pos) + 1UL; in SPI_GetPacketSize() local
3779 data_size = (data_size + 7UL) / 8UL; in SPI_GetPacketSize()
3781 return data_size * fifo_threashold; in SPI_GetPacketSize()
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_ospi.c1405 uint32_t data_size = hospi->Instance->DLR + 1U; in HAL_OSPI_Transmit_DMA() local
1443 hospi->XferCount = data_size; in HAL_OSPI_Transmit_DMA()
1447 if (((data_size % 2U) != 0U) || ((hospi->Init.FifoThreshold % 2U) != 0U)) in HAL_OSPI_Transmit_DMA()
1456 hospi->XferCount = data_size; in HAL_OSPI_Transmit_DMA()
1461 if (((data_size % 4U) != 0U) || ((hospi->Init.FifoThreshold % 4U) != 0U)) in HAL_OSPI_Transmit_DMA()
1470 hospi->XferCount = data_size; in HAL_OSPI_Transmit_DMA()
1585 uint32_t data_size = hospi->Instance->DLR + 1U; in HAL_OSPI_Receive_DMA() local
1625 hospi->XferCount = data_size; in HAL_OSPI_Receive_DMA()
1629 if (((data_size % 2U) != 0U) || ((hospi->Init.FifoThreshold % 2U) != 0U)) in HAL_OSPI_Receive_DMA()
1638 hospi->XferCount = data_size; in HAL_OSPI_Receive_DMA()
[all …]
Dstm32u5xx_hal_xspi.c1571 uint32_t data_size = hxspi->Instance->DLR + 1U; in HAL_XSPI_Transmit_DMA() local
1609 hxspi->XferCount = data_size; in HAL_XSPI_Transmit_DMA()
1613 if (((data_size % 2U) != 0U) || ((hxspi->Init.FifoThresholdByte % 2U) != 0U)) in HAL_XSPI_Transmit_DMA()
1622 hxspi->XferCount = data_size; in HAL_XSPI_Transmit_DMA()
1627 if (((data_size % 4U) != 0U) || ((hxspi->Init.FifoThresholdByte % 4U) != 0U)) in HAL_XSPI_Transmit_DMA()
1636 hxspi->XferCount = data_size; in HAL_XSPI_Transmit_DMA()
1754 uint32_t data_size = hxspi->Instance->DLR + 1U; in HAL_XSPI_Receive_DMA() local
1795 hxspi->XferCount = data_size; in HAL_XSPI_Receive_DMA()
1799 if (((data_size % 2U) != 0U) || ((hxspi->Init.FifoThresholdByte % 2U) != 0U)) in HAL_XSPI_Receive_DMA()
1808 hxspi->XferCount = data_size; in HAL_XSPI_Receive_DMA()
[all …]
Dstm32u5xx_hal_spi.c3776 uint32_t data_size = (hspi->Init.DataSize >> SPI_CFG1_DSIZE_Pos) + 1UL; in SPI_GetPacketSize() local
3779 data_size = (data_size + 7UL) / 8UL; in SPI_GetPacketSize()
3781 return data_size * fifo_threashold; in SPI_GetPacketSize()
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_qspi.c1268 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Transmit_DMA() local
1281 hqspi->TxXferCount = data_size; in HAL_QSPI_Transmit_DMA()
1382 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Receive_DMA() local
1395 hqspi->RxXferCount = data_size; in HAL_QSPI_Receive_DMA()
Dstm32h7xx_hal_ospi.c1426 uint32_t data_size = hospi->Instance->DLR + 1U; in HAL_OSPI_Transmit_DMA() local
1439 hospi->XferCount = data_size; in HAL_OSPI_Transmit_DMA()
1527 uint32_t data_size = hospi->Instance->DLR + 1U; in HAL_OSPI_Receive_DMA() local
1541 hospi->XferCount = data_size; in HAL_OSPI_Receive_DMA()
Dstm32h7xx_hal_spi.c3872 uint32_t data_size = (hspi->Init.DataSize >> SPI_CFG1_DSIZE_Pos) + 1UL; in SPI_GetPacketSize() local
3875 data_size = (data_size + 7UL) / 8UL; in SPI_GetPacketSize()
3877 return data_size * fifo_threashold; in SPI_GetPacketSize()
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_qspi.c1287 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Transmit_DMA() local
1300 hqspi->TxXferCount = data_size; in HAL_QSPI_Transmit_DMA()
1399 uint32_t data_size = (READ_REG(hqspi->Instance->DLR) + 1U); in HAL_QSPI_Receive_DMA() local
1412 hqspi->RxXferCount = data_size; in HAL_QSPI_Receive_DMA()
Dstm32mp1xx_hal_spi.c3882 uint32_t data_size = (hspi->Init.DataSize >> SPI_CFG1_DSIZE_Pos) + 1UL; in SPI_GetPacketSize() local
3885 data_size = (data_size + 7UL) / 8UL; in SPI_GetPacketSize()
3887 return data_size * fifo_threashold; in SPI_GetPacketSize()
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_spi.c3776 uint32_t data_size = (hspi->Init.DataSize >> SPI_CFG1_DSIZE_Pos) + 1UL; in SPI_GetPacketSize() local
3779 data_size = (data_size + 7UL) / 8UL; in SPI_GetPacketSize()
3781 return data_size * fifo_threashold; in SPI_GetPacketSize()