Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ctcm_mpc.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/timer.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/string.h>
#include <linux/proc_fs.h>
#include <linux/ip.h>
#include <linux/if_arp.h>
#include <linux/tcp.h>
#include <linux/skbuff.h>
#include <linux/ctype.h>
#include <linux/netdevice.h>
#include <net/dst.h>
#include <linux/io.h>
#include <asm/ccwdev.h>
#include <asm/ccwgroup.h>
#include <linux/bitops.h>
#include <linux/uaccess.h>
#include <linux/wait.h>
#include <linux/moduleparam.h>
#include <asm/idals.h>
#include "ctcm_main.h"
#include "ctcm_mpc.h"
#include "ctcm_fsms.h"

Go to the source code of this file.


#define KMSG_COMPONENT   "ctcm"
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt


int ctc_mpc_alloc_channel (int port_num, void(*callback)(int, int))
 EXPORT_SYMBOL (ctc_mpc_alloc_channel)
void ctc_mpc_establish_connectivity (int port_num, void(*callback)(int, int, int))
 EXPORT_SYMBOL (ctc_mpc_establish_connectivity)
void ctc_mpc_dealloc_ch (int port_num)
 EXPORT_SYMBOL (ctc_mpc_dealloc_ch)
void ctc_mpc_flow_control (int port_num, int flowc)
 EXPORT_SYMBOL (ctc_mpc_flow_control)
void mpc_group_ready (unsigned long adev)
void mpc_channel_action (struct channel *ch, int direction, int action)
void ctcmpc_bh (unsigned long thischan)
struct mpc_groupctcmpc_init_mpc_group (struct ctcm_priv *priv)
void mpc_action_discontact (fsm_instance *fi, int event, void *arg)
void mpc_action_send_discontact (unsigned long thischan)

Macro Definition Documentation

#define KMSG_COMPONENT   "ctcm"

Definition at line 20 of file ctcm_mpc.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 21 of file ctcm_mpc.c.

Function Documentation

int ctc_mpc_alloc_channel ( int  port_num,
void(*)(int, int callback 

Definition at line 338 of file ctcm_mpc.c.

void ctc_mpc_dealloc_ch ( int  port_num)

Definition at line 527 of file ctcm_mpc.c.

void ctc_mpc_establish_connectivity ( int  port_num,
void(*)(int, int, int callback 

Definition at line 407 of file ctcm_mpc.c.

void ctc_mpc_flow_control ( int  port_num,
int  flowc 

Definition at line 561 of file ctcm_mpc.c.

void ctcmpc_bh ( unsigned long  thischan)

tasklet helper for mpc's skb unpacking.

ch The channel to work on. Allow flow control back pressure to occur here. Throttling back channel can result in excessive channel inactivity and system deact of channel

Definition at line 1247 of file ctcm_mpc.c.

struct mpc_group* ctcmpc_init_mpc_group ( struct ctcm_priv priv)

Definition at line 1280 of file ctcm_mpc.c.

EXPORT_SYMBOL ( ctc_mpc_alloc_channel  )
EXPORT_SYMBOL ( ctc_mpc_establish_connectivity  )
EXPORT_SYMBOL ( ctc_mpc_dealloc_ch  )
EXPORT_SYMBOL ( ctc_mpc_flow_control  )
void mpc_action_discontact ( fsm_instance fi,
int  event,
void arg 

Definition at line 1504 of file ctcm_mpc.c.

void mpc_action_send_discontact ( unsigned long  thischan)

Definition at line 1535 of file ctcm_mpc.c.

void mpc_channel_action ( struct channel ch,
int  direction,
int  action 

Definition at line 939 of file ctcm_mpc.c.

void mpc_group_ready ( unsigned long  adev)

Definition at line 883 of file ctcm_mpc.c.