Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
cthardware.c File Reference
#include "cthardware.h"
#include "cthw20k1.h"
#include "cthw20k2.h"
#include <linux/bug.h>

Go to the source code of this file.

Functions

int __devinit create_hw_obj (struct pci_dev *pci, enum CHIPTYP chip_type, enum CTCARDS model, struct hw **rhw)
 
int destroy_hw_obj (struct hw *hw)
 
unsigned int get_field (unsigned int data, unsigned int field)
 
void set_field (unsigned int *data, unsigned int field, unsigned int value)
 

Function Documentation

int __devinit create_hw_obj ( struct pci_dev pci,
enum CHIPTYP  chip_type,
enum CTCARDS  model,
struct hw **  rhw 
)

Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.

This source file is released under GPL v2 license (no other versions). See the COPYING file included in the main directory of this source distribution for the license terms and conditions.

cthardware.c

This file contains the implementation of hardware access methord.

Liu Chun Jun 26 2008

Definition at line 23 of file cthardware.c.

int destroy_hw_obj ( struct hw hw)

Definition at line 49 of file cthardware.c.

unsigned int get_field ( unsigned int  data,
unsigned int  field 
)

Definition at line 68 of file cthardware.c.

void set_field ( unsigned int data,
unsigned int  field,
unsigned int  value 
)

Definition at line 80 of file cthardware.c.