Linux Kernel
3.7.1
|
#include "gigaset.h"
#include <linux/crc-ccitt.h>
#include <linux/bitrev.h>
#include <linux/export.h>
Go to the source code of this file.
EXPORT_SYMBOL_GPL | ( | gigaset_m10x_input | ) |
EXPORT_SYMBOL_GPL | ( | gigaset_m10x_send_skb | ) |
gigaset_m10x_input() - process a block of data received from the device : received data and device descriptor structure.
Called by hardware module {ser,usb}_gigaset with a block of received bytes. Separates the bytes received over the serial data channel into user data and command replies (locked/unlocked) according to the current state of the interface.
Definition at line 407 of file asyncdata.c.
gigaset_m10x_send_skb() - queue an skb for sending : B channel descriptor structure. : data to send.
Called by LL to encode and queue an skb for sending, and start transmission if necessary. Once the payload data has been transmitted completely, gigaset_skb_sent() will be called with the skb's link layer header preserved.
Return value: number of bytes accepted for sending (skb->len) if ok, error code < 0 (eg. -ENOMEM) on error
Definition at line 585 of file asyncdata.c.