| /bsp/nuvoton/libraries/n9h30/rtt_port/ |
| A D | drv_i2s.h | 20 #if !defined(NU_I2S_DMA_FIFO_SIZE) 21 #define NU_I2S_DMA_FIFO_SIZE (2048) macro 28 #if ( (NU_I2S_DMA_FIFO_SIZE % NU_I2S_DMA_BUF_BLOCK_NUMBER) != 0 ) 31 #if ( NU_I2S_DMA_FIFO_SIZE < 2048 ) 35 #define NU_I2S_DMA_BUF_BLOCK_SIZE (NU_I2S_DMA_FIFO_SIZE/NU_I2S_DMA_BUF_BLOCK_NUMBER)
|
| A D | drv_i2s.c | 240 i2sIoctl(I2S_SET_DMA_LENGTH, I2S_PLAY, NU_I2S_DMA_FIFO_SIZE); in nu_i2s_dai_setup() 241 i2sIoctl(I2S_SET_DMA_LENGTH, I2S_REC, NU_I2S_DMA_FIFO_SIZE); in nu_i2s_dai_setup() 567 rt_memset((void *)psNuI2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in nu_i2s_stop() 583 info->total_size = NU_I2S_DMA_FIFO_SIZE; in nu_i2s_buffer_info() 612 psNuI2sDai->fifo = (uint8_t *)rt_malloc_align(NU_I2S_DMA_FIFO_SIZE, 32); in rt_hw_i2s_init() 615 rt_memset(psNuI2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in rt_hw_i2s_init()
|
| /bsp/nuvoton/libraries/nuc980/rtt_port/ |
| A D | drv_i2s.h | 20 #if !defined(NU_I2S_DMA_FIFO_SIZE) 21 #define NU_I2S_DMA_FIFO_SIZE (2048) macro 28 #if ( (NU_I2S_DMA_FIFO_SIZE % NU_I2S_DMA_BUF_BLOCK_NUMBER) != 0 ) 31 #if ( NU_I2S_DMA_FIFO_SIZE < 2048 ) 35 #define NU_I2S_DMA_BUF_BLOCK_SIZE (NU_I2S_DMA_FIFO_SIZE/NU_I2S_DMA_BUF_BLOCK_NUMBER)
|
| A D | drv_i2s.c | 240 i2sIoctl(I2S_SET_DMA_LENGTH, I2S_PLAY, NU_I2S_DMA_FIFO_SIZE); in nu_i2s_dai_setup() 241 i2sIoctl(I2S_SET_DMA_LENGTH, I2S_REC, NU_I2S_DMA_FIFO_SIZE); in nu_i2s_dai_setup() 567 rt_memset((void *)psNuI2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in nu_i2s_stop() 583 info->total_size = NU_I2S_DMA_FIFO_SIZE; in nu_i2s_buffer_info() 612 psNuI2sDai->fifo = (uint8_t *)rt_malloc_align(NU_I2S_DMA_FIFO_SIZE, 32); in rt_hw_i2s_init() 615 rt_memset(psNuI2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in rt_hw_i2s_init()
|
| /bsp/nuvoton/libraries/m2354/rtt_port/ |
| A D | drv_i2s.h | 20 #if !defined(NU_I2S_DMA_FIFO_SIZE) 21 #define NU_I2S_DMA_FIFO_SIZE (2048) macro 28 #if ( (NU_I2S_DMA_FIFO_SIZE % NU_I2S_DMA_BUF_BLOCK_NUMBER) != 0 ) 31 #if ( NU_I2S_DMA_FIFO_SIZE < 2048 ) 35 #define NU_I2S_DMA_BUF_BLOCK_SIZE (NU_I2S_DMA_FIFO_SIZE/NU_I2S_DMA_BUF_BLOCK_NUMBER)
|
| A D | drv_i2s.c | 512 rt_memset((void *)psNuI2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in nu_i2s_stop() 528 info->total_size = NU_I2S_DMA_FIFO_SIZE; in nu_i2s_buffer_info() 569 uint8_t *pu8ptr = rt_malloc(NU_I2S_DMA_FIFO_SIZE); in rt_hw_i2s_init() 572 rt_memset(pu8ptr, 0, NU_I2S_DMA_FIFO_SIZE); in rt_hw_i2s_init()
|
| A D | drv_spii2s.c | 568 rt_memset((void *)psNuSPII2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in nu_spii2s_stop() 582 info->total_size = NU_I2S_DMA_FIFO_SIZE; in nu_spii2s_buffer_info() 626 uint8_t *pu8ptr = rt_malloc(NU_I2S_DMA_FIFO_SIZE); in rt_hw_spii2s_init() 629 rt_memset(pu8ptr, 0, NU_I2S_DMA_FIFO_SIZE); in rt_hw_spii2s_init()
|
| /bsp/nuvoton/libraries/m460/rtt_port/ |
| A D | drv_i2s.h | 20 #if !defined(NU_I2S_DMA_FIFO_SIZE) 21 #define NU_I2S_DMA_FIFO_SIZE (2048) macro 28 #if ( (NU_I2S_DMA_FIFO_SIZE % NU_I2S_DMA_BUF_BLOCK_NUMBER) != 0 ) 31 #if ( NU_I2S_DMA_FIFO_SIZE < 2048 ) 35 #define NU_I2S_DMA_BUF_BLOCK_SIZE (NU_I2S_DMA_FIFO_SIZE/NU_I2S_DMA_BUF_BLOCK_NUMBER)
|
| A D | drv_i2s.c | 548 rt_memset((void *)psNuI2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in nu_i2s_stop() 564 info->total_size = NU_I2S_DMA_FIFO_SIZE; in nu_i2s_buffer_info() 612 uint8_t *pu8ptr = rt_malloc(NU_I2S_DMA_FIFO_SIZE); in rt_hw_i2s_init() 615 rt_memset(pu8ptr, 0, NU_I2S_DMA_FIFO_SIZE); in rt_hw_i2s_init()
|
| A D | drv_spii2s.c | 710 rt_memset((void *)psNuSPII2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in nu_spii2s_stop() 724 info->total_size = NU_I2S_DMA_FIFO_SIZE; in nu_spii2s_buffer_info() 769 uint8_t *pu8ptr = rt_malloc(NU_I2S_DMA_FIFO_SIZE); in rt_hw_spii2s_init() 772 rt_memset(pu8ptr, 0, NU_I2S_DMA_FIFO_SIZE); in rt_hw_spii2s_init()
|
| /bsp/nuvoton/libraries/m480/rtt_port/ |
| A D | drv_i2s.h | 20 #if !defined(NU_I2S_DMA_FIFO_SIZE) 21 #define NU_I2S_DMA_FIFO_SIZE (2048) macro 28 #if ( (NU_I2S_DMA_FIFO_SIZE % NU_I2S_DMA_BUF_BLOCK_NUMBER) != 0 ) 31 #if ( NU_I2S_DMA_FIFO_SIZE < 2048 ) 35 #define NU_I2S_DMA_BUF_BLOCK_SIZE (NU_I2S_DMA_FIFO_SIZE/NU_I2S_DMA_BUF_BLOCK_NUMBER)
|
| A D | drv_i2s.c | 512 rt_memset((void *)psNuI2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in nu_i2s_stop() 528 info->total_size = NU_I2S_DMA_FIFO_SIZE; in nu_i2s_buffer_info() 569 uint8_t *pu8ptr = rt_malloc(NU_I2S_DMA_FIFO_SIZE); in rt_hw_i2s_init() 572 rt_memset(pu8ptr, 0, NU_I2S_DMA_FIFO_SIZE); in rt_hw_i2s_init()
|
| A D | drv_spii2s.c | 568 rt_memset((void *)psNuSPII2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in nu_spii2s_stop() 582 info->total_size = NU_I2S_DMA_FIFO_SIZE; in nu_spii2s_buffer_info() 626 uint8_t *pu8ptr = rt_malloc(NU_I2S_DMA_FIFO_SIZE); in rt_hw_spii2s_init() 629 rt_memset(pu8ptr, 0, NU_I2S_DMA_FIFO_SIZE); in rt_hw_spii2s_init()
|
| /bsp/nuvoton/libraries/ma35/rtt_port/ |
| A D | drv_i2s.h | 20 #if !defined(NU_I2S_DMA_FIFO_SIZE) 21 #define NU_I2S_DMA_FIFO_SIZE (2048) macro 28 #if ( (NU_I2S_DMA_FIFO_SIZE % NU_I2S_DMA_BUF_BLOCK_NUMBER) != 0 ) 31 #if ( NU_I2S_DMA_FIFO_SIZE < 2048 ) 35 #define NU_I2S_DMA_BUF_BLOCK_SIZE (NU_I2S_DMA_FIFO_SIZE/NU_I2S_DMA_BUF_BLOCK_NUMBER)
|
| A D | drv_i2s.c | 549 rt_memset((void *)psNuI2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in nu_i2s_stop() 566 info->total_size = NU_I2S_DMA_FIFO_SIZE; in nu_i2s_buffer_info() 614 uint8_t *pu8ptr = rt_malloc_align(NU_I2S_DMA_FIFO_SIZE, 64); in rt_hw_i2s_init() 617 rt_memset(pu8ptr, 0, NU_I2S_DMA_FIFO_SIZE); in rt_hw_i2s_init()
|
| A D | drv_spii2s.c | 572 rt_memset((void *)psNuSPII2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in nu_spii2s_stop() 586 info->total_size = NU_I2S_DMA_FIFO_SIZE; in nu_spii2s_buffer_info() 630 uint8_t *pu8ptr = rt_malloc(NU_I2S_DMA_FIFO_SIZE); in rt_hw_spii2s_init() 633 rt_memset(pu8ptr, 0, NU_I2S_DMA_FIFO_SIZE); in rt_hw_spii2s_init()
|
| /bsp/nuvoton/libraries/m031/rtt_port/ |
| A D | drv_i2s.h | 20 #if !defined(NU_I2S_DMA_FIFO_SIZE) 21 #define NU_I2S_DMA_FIFO_SIZE (2048) macro 28 #if ( (NU_I2S_DMA_FIFO_SIZE % NU_I2S_DMA_BUF_BLOCK_NUMBER) != 0 ) 31 #if ( NU_I2S_DMA_FIFO_SIZE < 2048 ) 35 #define NU_I2S_DMA_BUF_BLOCK_SIZE (NU_I2S_DMA_FIFO_SIZE/NU_I2S_DMA_BUF_BLOCK_NUMBER)
|
| A D | drv_spii2s.c | 514 rt_memset((void *)psNuSPII2sDai->fifo, 0, NU_I2S_DMA_FIFO_SIZE); in nu_spii2s_stop() 528 info->total_size = NU_I2S_DMA_FIFO_SIZE; in nu_spii2s_buffer_info() 572 uint8_t *pu8ptr = rt_malloc(NU_I2S_DMA_FIFO_SIZE); in rt_hw_spii2s_init() 575 rt_memset(pu8ptr, 0, NU_I2S_DMA_FIFO_SIZE); in rt_hw_spii2s_init()
|
| /bsp/nuvoton/numaker-pfm-m487/ |
| A D | rtconfig.h | 602 #define NU_I2S_DMA_FIFO_SIZE 2048 macro
|
| /bsp/nuvoton/nk-n9h30/ |
| A D | rtconfig.h | 610 #define NU_I2S_DMA_FIFO_SIZE 2048 macro
|
| /bsp/nuvoton/nk-980iot/ |
| A D | rtconfig.h | 621 #define NU_I2S_DMA_FIFO_SIZE 4096 macro
|
| /bsp/nuvoton/numaker-hmi-ma35d1/ |
| A D | rtconfig.h | 679 #define NU_I2S_DMA_FIFO_SIZE 2048 macro
|
| /bsp/nuvoton/numaker-iot-m487/ |
| A D | rtconfig.h | 635 #define NU_I2S_DMA_FIFO_SIZE 2048 macro
|
| /bsp/nuvoton/numaker-iot-ma35d1/ |
| A D | rtconfig.h | 703 #define NU_I2S_DMA_FIFO_SIZE 2048 macro
|
| /bsp/nuvoton/numaker-m467hj/ |
| A D | rtconfig.h | 660 #define NU_I2S_DMA_FIFO_SIZE 2048 macro
|