Searched refs:buffer_offset (Results 1 – 2 of 2) sorted by relevance
| /bsp/hpmicro/libraries/drivers/ |
| A D | drv_enet.c | 326 uint32_t buffer_offset = 0; in rt_hpm_eth_tx() local 333 buffer_offset = 0; in rt_hpm_eth_tx() 359 tx_buff_size - buffer_offset); in rt_hpm_eth_tx() 376 buffer_offset = 0; in rt_hpm_eth_tx() 391 SMEMCPY((uint8_t *)((uint8_t *)buffer + buffer_offset), in rt_hpm_eth_tx() 395 buffer_offset = buffer_offset + bytes_left_to_copy; in rt_hpm_eth_tx() 421 uint32_t buffer_offset = 0; in rt_hpm_eth_rx() local 445 buffer_offset = 0; in rt_hpm_eth_rx() 455 …ad + payload_offset), (uint8_t *)((uint8_t *)buffer + buffer_offset), (rx_buff_size - buffer_offse… in rt_hpm_eth_rx() 463 buffer_offset = 0; in rt_hpm_eth_rx() [all …]
|
| /bsp/at32/libraries/rt_drivers/ |
| A D | drv_emac.c | 586 rt_uint32_t buffer_offset = 0, payload_offset = 0, copy_count = 0; in rt_at32_emac_tx() local 605 while((copy_count + buffer_offset) > EMAC_MAX_PACKET_LENGTH) in rt_at32_emac_tx() 607 …rt_memcpy(buffer + buffer_offset, (uint8_t *)q->payload + payload_offset, (EMAC_MAX_PACKET_LENGTH … in rt_at32_emac_tx() 620 length = length + (EMAC_MAX_PACKET_LENGTH - buffer_offset); in rt_at32_emac_tx() 621 buffer_offset = 0; in rt_at32_emac_tx() 625 buffer_offset = buffer_offset + copy_count; in rt_at32_emac_tx() 699 rt_uint32_t buffer_offset, payload_offset = 0, copy_count = 0; in rt_at32_emac_rx() local 721 buffer_offset = 0; in rt_at32_emac_rx() 731 …((uint8_t*)q->payload + payload_offset, buffer + buffer_offset, (EMAC_MAX_PACKET_LENGTH - buffer_o… in rt_at32_emac_rx() 739 buffer_offset = 0; in rt_at32_emac_rx() [all …]
|
Completed in 7 milliseconds