Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
trans.c File Reference
#include <linux/pci.h>
#include <linux/pci-aspm.h>
#include <linux/interrupt.h>
#include <linux/debugfs.h>
#include <linux/sched.h>
#include <linux/bitops.h>
#include <linux/gfp.h>
#include "iwl-drv.h"
#include "iwl-trans.h"
#include "iwl-csr.h"
#include "iwl-prph.h"
#include "iwl-agn-hw.h"
#include "internal.h"
#include "dvm/commands.h"

Go to the source code of this file.

Macros

#define SCD_QUEUECHAIN_SEL_ALL(trans, trans_pcie)
 
#define PCI_CFG_RETRY_TIMEOUT   0x041
 
#define PCI_CFG_LINK_CTRL_VAL_L0S_EN   0x01
 
#define PCI_CFG_LINK_CTRL_VAL_L1_EN   0x02
 
#define HW_READY_TIMEOUT   (50)
 
#define IWL_FLUSH_WAIT_MS   2000
 
#define IWL_CMD(x)   case x: return #x
 
#define IWL_CMD(x)   case x: return #x
 

Functions

void iwl_trans_pcie_free (struct iwl_trans *trans)
 
int iwl_dump_fh (struct iwl_trans *trans, char **buf)
 
void iwl_dump_csr (struct iwl_trans *trans)
 
struct iwl_transiwl_trans_pcie_alloc (struct pci_dev *pdev, const struct pci_device_id *ent, const struct iwl_cfg *cfg)
 

Macro Definition Documentation

#define HW_READY_TIMEOUT   (50)

Definition at line 871 of file trans.c.

#define IWL_CMD (   x)    case x: return #x
#define IWL_CMD (   x)    case x: return #x
#define IWL_FLUSH_WAIT_MS   2000

Definition at line 1627 of file trans.c.

#define PCI_CFG_LINK_CTRL_VAL_L0S_EN   0x01

Definition at line 673 of file trans.c.

#define PCI_CFG_LINK_CTRL_VAL_L1_EN   0x02

Definition at line 674 of file trans.c.

#define PCI_CFG_RETRY_TIMEOUT   0x041

Definition at line 672 of file trans.c.

#define SCD_QUEUECHAIN_SEL_ALL (   trans,
  trans_pcie 
)
Value:
(((1<<trans->cfg->base_params->num_of_queues) - 1) &\
(~(1<<(trans_pcie)->cmd_queue)))

Definition at line 80 of file trans.c.

Function Documentation

void iwl_dump_csr ( struct iwl_trans trans)

Definition at line 1755 of file trans.c.

int iwl_dump_fh ( struct iwl_trans trans,
char **  buf 
)

Definition at line 1676 of file trans.c.

struct iwl_trans* iwl_trans_pcie_alloc ( struct pci_dev pdev,
const struct pci_device_id ent,
const struct iwl_cfg cfg 
)
read

Definition at line 2107 of file trans.c.

void iwl_trans_pcie_free ( struct iwl_trans trans)

Definition at line 1574 of file trans.c.