Lines Matching defs:dst
114 * \param dst Pointer to buffer to copy data to. If NULL, the data is
119 static void read_mem(uint8_t *dst, int src, int amount)
122 uint32_t *d = (uint32_t *)dst;
143 if (dst != NULL) {
144 dst[i] = val;
165 uint16_t dst = page_to_mem(page);
169 rtl8029as_rsar_wr(&rtl, dst); // Destination in NIC mem
184 for (i = 0; dst % sizeof(uint32_t) != 0; i++, dst++) {
188 // RTL8029_DEBUG("sending %d %u for len %lu\n", i, dst, pbuf_len);
191 i += sizeof(uint32_t), dst += sizeof(uint32_t)) {
193 // i, dst, &src[i], src[i]);
199 for(; i < pbuf_len; i++, dst++) {
215 * \param dst Pointer to buffer to copy data to.
219 static inline void read_page(uint8_t *dst, uint8_t page, int amount)
221 read_mem(dst, page_to_mem(page), amount);
287 static void read_ring_buffer(uint8_t *dst, int src, int amount)
293 read_mem(dst, src, amount);
298 read_mem(dst, src, size);
300 if (dst != NULL) {
301 dst += size;
303 read_mem(dst, page_to_mem(READ_START_PAGE), amount - size);