Lines Matching +full:dma +full:- +full:info

45  *  The descriptor ring is made of descriptors which have 2 64-bit values:
46 * -# Physical (bus) address of the data buffer.
47 * -# Physical (bus) address of a lio_droq_info structure.
48 * The Octeon device DMA's incoming packets and its information at the address
55 /* The Info pointer */
62 * Information about packet DMA'ed by Octeon.
63 * The format of the information available at Info Pointer after Octeon
65 * the Info field of the first descriptor for a packet has information
131 * output/dma queue. Set to 64 assuming 1K buffers in DROQ and the fact that
138 * with non-raw opcodes.
155 /* Pointer to the OS-specific packet buffer */
168 * For non-raw mode opcode, the driver dispatches the recv_pkt
170 * ---------------------
171 * | *recv_pkt ----|---
172 * |-------------------| |
175 * |-------------------|<-/
190 * @param extra_bytes - extra bytes to be allocated at the end of the recv info
192 * @return - pointer to a newly allocated recv_info structure.
206 recv_info->recv_pkt = (struct lio_recv_pkt *)(buf + LIO_RECV_INFO_SIZE); in lio_alloc_recv_info()
207 recv_info->rsvd = NULL; in lio_alloc_recv_info()
209 recv_info->rsvd = buf + LIO_RECV_INFO_SIZE + LIO_RECV_PKT_SIZE; in lio_alloc_recv_info()
216 * @param recv_info - Pointer to receive_info to be freed
293 * refill_count reaches this value, the DROQ cannot accept a max-sized
309 * Host writes number of info/buffer ptrs available to this register
315 * Octeon writes the number of packets DMA'ed to host memory
325 /* DMA mapped address of the DROQ descriptor ring. */
345 * @param oct_dev - pointer to the octeon device structure
346 * @param q_no - droq no.
347 * @param app_ctx - pointer to application context
357 * @param oct_dev - pointer to the octeon device structure
358 * @param q_no - droq no.
370 * @param oct - octeon device
371 * @param q_no - octeon output queue number (0 <= q_no <= MAX_OCTEON_DROQ-1
372 * @param ops - the droq_ops settings for this queue
373 * @return - 0 on success, -ENODEV or -EINVAL on error.
383 * @param oct - octeon device
384 * @param q_no - octeon output queue number (0 <= q_no <= MAX_OCTEON_DROQ-1
385 * @return - 0 on success, -ENODEV or -EINVAL on error.
394 * @param oct - the octeon device to register with.
395 * @param opcode - the opcode for which the dispatch will be registered.
396 * @param subcode - the subcode for which the dispatch will be registered
397 * @param fn - the dispatch function.
398 * @param fn_arg - user specified that will be passed along with the
411 * @param oct - the octeon device to unregister from.
412 * @param opcode - the opcode to be unregistered.
413 * @param subcode - the subcode to be unregistered.