Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
packets-buffer.c File Reference
#include <linux/firewire.h>
#include <linux/export.h>
#include <linux/slab.h>
#include "packets-buffer.h"

Go to the source code of this file.

Functions

int iso_packets_buffer_init (struct iso_packets_buffer *b, struct fw_unit *unit, unsigned int count, unsigned int packet_size, enum dma_data_direction direction)
 
 EXPORT_SYMBOL (iso_packets_buffer_init)
 
void iso_packets_buffer_destroy (struct iso_packets_buffer *b, struct fw_unit *unit)
 
 EXPORT_SYMBOL (iso_packets_buffer_destroy)
 

Function Documentation

EXPORT_SYMBOL ( iso_packets_buffer_init  )
EXPORT_SYMBOL ( iso_packets_buffer_destroy  )
void iso_packets_buffer_destroy ( struct iso_packets_buffer b,
struct fw_unit unit 
)

iso_packets_buffer_destroy - frees packet buffer resources : the buffer structure to free : the device at the other end of the stream

Definition at line 71 of file packets-buffer.c.

int iso_packets_buffer_init ( struct iso_packets_buffer b,
struct fw_unit unit,
unsigned int  count,
unsigned int  packet_size,
enum dma_data_direction  direction 
)

iso_packets_buffer_init - allocates the memory for packets : the buffer structure to initialize : the device at the other end of the stream : the number of packets : the (maximum) size of a packet, in bytes : DMA_TO_DEVICE or DMA_FROM_DEVICE

Definition at line 21 of file packets-buffer.c.