|
Linux Kernel
3.7.1
|
#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/bitops.h>#include <linux/signal.h>#include <linux/string.h>#include <linux/ip.h>#include <linux/if_arp.h>#include <linux/tcp.h>#include <linux/skbuff.h>#include <linux/ctype.h>#include <net/dst.h>#include <linux/io.h>#include <asm/ccwdev.h>#include <asm/ccwgroup.h>#include <linux/uaccess.h>#include <asm/idals.h>#include "fsm.h"#include "ctcm_dbug.h"#include "ctcm_main.h"#include "ctcm_fsms.h"Go to the source code of this file.
Macros | |
| #define | KMSG_COMPONENT "ctcm" |
| #define | pr_fmt(fmt) KMSG_COMPONENT ": " fmt |
Functions | |
| void | ctcm_ccw_check_rc (struct channel *ch, int rc, char *msg) |
| void | ctcm_purge_skb_queue (struct sk_buff_head *q) |
| void | ctcm_chx_txidle (fsm_instance *fi, int event, void *arg) |
| void | ctcmpc_chx_rxidle (fsm_instance *fi, int event, void *arg) |
Variables | |
| const char * | dev_state_names [] |
| const char * | dev_event_names [] |
| const char * | ctc_ch_event_names [] |
| const char * | ctc_ch_state_names [] |
| const fsm_node | ch_fsm [] |
| int | ch_fsm_len = ARRAY_SIZE(ch_fsm) |
| const fsm_node | ctcmpc_ch_fsm [] |
| int | mpc_ch_fsm_len = ARRAY_SIZE(ctcmpc_ch_fsm) |
| const fsm_node | dev_fsm [] |
| int | dev_fsm_len = ARRAY_SIZE(dev_fsm) |
| #define KMSG_COMPONENT "ctcm" |
Definition at line 14 of file ctcm_fsms.c.
| #define pr_fmt | ( | fmt | ) | KMSG_COMPONENT ": " fmt |
Definition at line 15 of file ctcm_fsms.c.
Check return code of a preceding ccw_device call, halt_IO etc...
ch : The channel, the error belongs to. Returns the error code (!= 0) to inspect.
Definition at line 190 of file ctcm_fsms.c.
| void ctcm_chx_txidle | ( | fsm_instance * | fi, |
| int | event, | ||
| void * | arg | ||
| ) |
Initial data is sent. Notify device statemachine that we are up and running.
fi An instance of a channel statemachine. event The event, just happened. arg Generic pointer, casted from channel * upon call.
Definition at line 336 of file ctcm_fsms.c.
| void ctcm_purge_skb_queue | ( | struct sk_buff_head * | q | ) |
Definition at line 213 of file ctcm_fsms.c.
| void ctcmpc_chx_rxidle | ( | fsm_instance * | fi, |
| int | event, | ||
| void * | arg | ||
| ) |
Got initial data, check it. If OK, notify device statemachine that we are up and running.
fi An instance of a channel statemachine. event The event, just happened. arg Generic pointer, casted from channel * upon call.
Definition at line 1546 of file ctcm_fsms.c.
Definition at line 1095 of file ctcm_fsms.c.
| int ch_fsm_len = ARRAY_SIZE(ch_fsm) |
Definition at line 1193 of file ctcm_fsms.c.
Definition at line 71 of file ctcm_fsms.c.
Definition at line 102 of file ctcm_fsms.c.
Definition at line 1858 of file ctcm_fsms.c.
Definition at line 61 of file ctcm_fsms.c.
Definition at line 2261 of file ctcm_fsms.c.
| int dev_fsm_len = ARRAY_SIZE(dev_fsm) |
Definition at line 2301 of file ctcm_fsms.c.
Definition at line 50 of file ctcm_fsms.c.
| int mpc_ch_fsm_len = ARRAY_SIZE(ctcmpc_ch_fsm) |
Definition at line 2059 of file ctcm_fsms.c.
1.8.2