#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/skbuff.h>
#include <crypto/aes.h>
#include <crypto/hash.h>
#include "t4_msg.h"
#include "chcr_core.h"
#include "cxgb4_uld.h"
static struct chcr_driver_data drv_data;
chcr_handler_func;
static int cpl_fw6_pld_handler(struct adapter *adap, unsigned char *input);
static void *chcr_uld_add(const struct cxgb4_lld_info *lld);
static int chcr_uld_state_change(void *handle, enum cxgb4_state state);
static chcr_handler_func work_handlers[NUM_CPL_CMDS] = …;
static struct cxgb4_uld_info chcr_uld_info = …;
static void detach_work_fn(struct work_struct *work)
{ … }
struct uld_ctx *assign_chcr_device(void)
{ … }
static void chcr_dev_add(struct uld_ctx *u_ctx)
{ … }
static void chcr_dev_init(struct uld_ctx *u_ctx)
{ … }
static int chcr_dev_move(struct uld_ctx *u_ctx)
{ … }
static int cpl_fw6_pld_handler(struct adapter *adap,
unsigned char *input)
{ … }
int chcr_send_wr(struct sk_buff *skb)
{ … }
static void *chcr_uld_add(const struct cxgb4_lld_info *lld)
{ … }
int chcr_uld_rx_handler(void *handle, const __be64 *rsp,
const struct pkt_gl *pgl)
{ … }
static void chcr_detach_device(struct uld_ctx *u_ctx)
{ … }
static int chcr_uld_state_change(void *handle, enum cxgb4_state state)
{ … }
static int __init chcr_crypto_init(void)
{ … }
static void __exit chcr_crypto_exit(void)
{ … }
module_init(…) …;
module_exit(chcr_crypto_exit);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;