Home
last modified time | relevance | path

Searched refs:tx_buff (Results 1 – 8 of 8) sorted by relevance

/bsp/raspberry-pi/raspi4-32/driver/
A Ddrv_bluetooth.c280 tx_buff[4] = 0x00; in bt_setbaud()
281 tx_buff[5] = 0x01; in bt_setbaud()
282 tx_buff[6] = 0xc2; in bt_setbaud()
283 tx_buff[7] = 0x00; in bt_setbaud()
284 tx_buff[8] = 0x00; in bt_setbaud()
285 tx_buff[9] = 0x00; in bt_setbaud()
373 tx_buff[1] = 0x09; in bt_getbdaddr()
374 tx_buff[2] = 0x10; in bt_getbdaddr()
375 tx_buff[3] = 0x00; in bt_getbdaddr()
545 tx_buff[4] = 0xc0; in bt_setbdaddr()
[all …]
/bsp/k210/drivers/
A Ddrv_spi.c108 uint32_t * tx_buff = RT_NULL; in drv_spi_xfer() local
144 tx_buff = rt_malloc(message->length * 4); in drv_spi_xfer()
145 if(!tx_buff) in drv_spi_xfer()
151 tx_buff[i] = ((uint8_t *)message->send_buf)[i]; in drv_spi_xfer()
163 …dmac_set_single_mode(bus->dma_send_channel, tx_buff, (void *)(&spi_instance[bus->spi_instance]->dr… in drv_spi_xfer()
172 …dmac_set_single_mode(bus->dma_send_channel, tx_buff, (void *)(&spi_instance[bus->spi_instance]->dr… in drv_spi_xfer()
215 if(tx_buff) in drv_spi_xfer()
217 rt_free(tx_buff); in drv_spi_xfer()
/bsp/hpmicro/libraries/drivers/
A Ddrv_i2s.c54 rt_uint8_t* tx_buff; member
85 .tx_buff = i2s0_tx_buff,
96 .tx_buff = i2s1_tx_buff,
107 .tx_buff = i2s2_tx_buff,
118 .tx_buff = i2s3_tx_buff,
600 info->buffer = hpm_audio->tx_buff; in hpm_i2s_buffer_info()
/bsp/at32/libraries/rt_drivers/
A Ddrv_emac.c68 static rt_uint8_t *rx_buff, *tx_buff; variable
415 …emac_dma_descriptor_list_address_set(EMAC_DMA_TRANSMIT, dma_tx_dscr_tab, tx_buff, EMAC_NUM_TX_BUF); in rt_at32_emac_init()
968 tx_buff = (rt_uint8_t *)rt_calloc(EMAC_NUM_TX_BUF, EMAC_MAX_PACKET_LENGTH); in rt_hw_at32_emac_init()
969 if (tx_buff == RT_NULL) in rt_hw_at32_emac_init()
1075 if (tx_buff) in rt_hw_at32_emac_init()
1077 rt_free(tx_buff); in rt_hw_at32_emac_init()
/bsp/n32g452xx/Libraries/rt_drivers/
A Ddrv_spi.c242 uint8_t *tx_buff, in _spi_recv() argument
251 if ((tx_buff == RT_NULL) && (rx_buff == RT_NULL) || (length == 0)) in _spi_recv()
265 SPI_I2S_TransmitData(hspi, *tx_buff++); in _spi_recv()
/bsp/hpmicro/libraries/hpm_sdk/components/spi/
A Dhpm_spi.h50 uint8_t *tx_buff; member
A Dhpm_spi.c215 uint8_t *tx_buff = context->tx_buff; in hpm_spi_prepare_dma_tx_descriptors() local
278 …c_addr = core_local_mem_to_sys_address(context->running_core, (uint32_t)(tx_buff + tx_buff_index)); in hpm_spi_prepare_dma_tx_descriptors()
521 … core_local_mem_to_sys_address(context->running_core, (uint32_t)context->tx_buff), in spi_setup_trans_with_dma()
544 if (context->tx_buff != NULL && context->tx_size != 0) { in hpm_spi_setup_dma_transfer()
545 uint32_t aligned_start = HPM_L1C_CACHELINE_ALIGN_DOWN((uint32_t)context->tx_buff); in hpm_spi_setup_dma_transfer()
546 … uint32_t aligned_end = HPM_L1C_CACHELINE_ALIGN_UP((uint32_t)context->tx_buff + context->tx_size); in hpm_spi_setup_dma_transfer()
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/
A Dbflb_emac.c523 …list_init(uint32_t reg_base, struct bflb_emac_handle_s *handle, uint8_t *tx_buff, uint32_t tx_buff… in emac_dma_desc_list_init() argument
540 …handle->bd[i].Buffer = (NULL == tx_buff) ? 0 : (uint32_t)(uintptr_t)(tx_buff + (ETH_MAX_PACKET_SIZ… in emac_dma_desc_list_init()

Completed in 22 milliseconds