Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
qib_devdata Struct Reference

#include <qib.h>

Data Fields

struct qib_ibdev verbs_dev
 
struct list_head list
 
struct pci_devpcidev
 
struct cdevuser_cdev
 
struct cdevdiag_cdev
 
struct deviceuser_device
 
struct devicediag_device
 
u64 __iomemkregbase
 
u64 __iomemkregend
 
resource_size_t physaddr
 
struct qib_ctxtdata ** rcd
 
struct qib_pportdatapport
 
struct qib_chip_specificcspec
 
void __iomempio2kbase
 
void __iomempio4kbase
 
void __iomempiobase
 
u64 __iomemuserbase
 
void __iomempiovl15base
 
volatile __le64pioavailregs_dma
 
dma_addr_t pioavailregs_phys
 
int(* f_intr_fallback )(struct qib_devdata *)
 
int(* f_reset )(struct qib_devdata *)
 
void(* f_quiet_serdes )(struct qib_pportdata *)
 
int(* f_bringup_serdes )(struct qib_pportdata *)
 
int(* f_early_init )(struct qib_devdata *)
 
void(* f_clear_tids )(struct qib_devdata *, struct qib_ctxtdata *)
 
void(* f_put_tid )(struct qib_devdata *, u64 __iomem *, u32, unsigned long)
 
void(* f_cleanup )(struct qib_devdata *)
 
void(* f_setextled )(struct qib_pportdata *, u32)
 
int(* f_get_base_info )(struct qib_ctxtdata *, struct qib_base_info *)
 
void(* f_free_irq )(struct qib_devdata *)
 
struct qib_message_header *(* f_get_msgheader )(struct qib_devdata *, __le32 *)
 
void(* f_config_ctxts )(struct qib_devdata *)
 
int(* f_get_ib_cfg )(struct qib_pportdata *, int)
 
int(* f_set_ib_cfg )(struct qib_pportdata *, int, u32)
 
int(* f_set_ib_loopback )(struct qib_pportdata *, const char *)
 
int(* f_get_ib_table )(struct qib_pportdata *, int, void *)
 
int(* f_set_ib_table )(struct qib_pportdata *, int, void *)
 
u32(* f_iblink_state )(u64)
 
u8(* f_ibphys_portstate )(u64)
 
void(* f_xgxs_reset )(struct qib_pportdata *)
 
int(* f_ib_updown )(struct qib_pportdata *, int, u64)
 
u32 __iomem *(* f_getsendbuf )(struct qib_pportdata *, u64, u32 *)
 
int(* f_gpio_mod )(struct qib_devdata *dd, u32 out, u32 dir, u32 mask)
 
int(* f_eeprom_wen )(struct qib_devdata *dd, int wen)
 
void(* f_rcvctrl )(struct qib_pportdata *, unsigned int op, int ctxt)
 
void(* f_sendctrl )(struct qib_pportdata *, u32 op)
 
void(* f_set_intr_state )(struct qib_devdata *, u32)
 
void(* f_set_armlaunch )(struct qib_devdata *, u32)
 
void(* f_wantpiobuf_intr )(struct qib_devdata *, u32)
 
int(* f_late_initreg )(struct qib_devdata *)
 
int(* f_init_sdma_regs )(struct qib_pportdata *)
 
u16(* f_sdma_gethead )(struct qib_pportdata *)
 
int(* f_sdma_busy )(struct qib_pportdata *)
 
void(* f_sdma_update_tail )(struct qib_pportdata *, u16)
 
void(* f_sdma_set_desc_cnt )(struct qib_pportdata *, unsigned)
 
void(* f_sdma_sendctrl )(struct qib_pportdata *, unsigned)
 
void(* f_sdma_hw_clean_up )(struct qib_pportdata *)
 
void(* f_sdma_hw_start_up )(struct qib_pportdata *)
 
void(* f_sdma_init_early )(struct qib_pportdata *)
 
void(* f_set_cntr_sample )(struct qib_pportdata *, u32, u32)
 
void(* f_update_usrhead )(struct qib_ctxtdata *, u64, u32, u32, u32)
 
u32(* f_hdrqempty )(struct qib_ctxtdata *)
 
u64(* f_portcntr )(struct qib_pportdata *, u32)
 
u32(* f_read_cntrs )(struct qib_devdata *, loff_t, char **, u64 **)
 
u32(* f_read_portcntrs )(struct qib_devdata *, loff_t, u32, char **, u64 **)
 
u32(* f_setpbc_control )(struct qib_pportdata *, u32, u8, u8)
 
void(* f_initvl15_bufs )(struct qib_devdata *)
 
void(* f_init_ctxt )(struct qib_ctxtdata *)
 
void(* f_txchk_change )(struct qib_devdata *, u32, u32, u32, struct qib_ctxtdata *)
 
void(* f_writescratch )(struct qib_devdata *, u32)
 
int(* f_tempsense_rd )(struct qib_devdata *, int regnum)
 
charboardname
 
u64 tidtemplate
 
u64 tidinvalid
 
u32 pioavregs
 
u32 flags
 
u32 lastctxt_piobuf
 
u32 int_counter
 
u32 pbufsctxt
 
u32 ctxts_extrabuf
 
u32 cfgctxts
 
u32 freectxts
 
u32 upd_pio_shadow
 
u32 maxpkts_call
 
u32 avgpkts_call
 
u64 nopiobufs
 
u16 vendorid
 
u16 deviceid
 
unsigned long wc_cookie
 
unsigned long wc_base
 
unsigned long wc_len
 
struct page ** pageshadow
 
dma_addr_tphysshadow
 
u64 __iomemegrtidbase
 
spinlock_t sendctrl_lock
 
spinlock_t uctxt_lock
 
u64devstatusp
 
charfreezemsg
 
u32 freezelen
 
struct timer_list stats_timer
 
struct timer_list intrchk_timer
 
unsigned long ureg_align
 
spinlock_t pioavail_lock
 
u32 last_pio
 
u32 min_kernel_pio
 
unsigned long pioavailshadow [6]
 
unsigned long pioavailkernel [6]
 
unsigned long pio_need_disarm [3]
 
unsigned long pio_writing [3]
 
u64 revision
 
__be64 base_guid
 
u64 piobufbase
 
u32 pio2k_bufbase
 
u32 nguid
 
unsigned long rcvctrl
 
unsigned long sendctrl
 
u32 rcvhdrcnt
 
u32 rcvhdrsize
 
u32 rcvhdrentsize
 
u32 ctxtcnt
 
u32 palign
 
u32 piobcnt2k
 
u32 piosize2k
 
u32 piosize2kmax_dwords
 
u32 piobcnt4k
 
u32 piosize4k
 
u32 rcvegrbase
 
u32 rcvtidbase
 
u32 rcvtidcnt
 
u32 uregbase
 
u32 control
 
u32 align4k
 
u16 rcvegrbufsize
 
u16 rcvegrbufsize_shift
 
u32 lbus_width
 
u32 lbus_speed
 
int unit
 
u32 msi_lo
 
u32 msi_hi
 
u16 msi_data
 
u32 pcibar0
 
u32 pcibar1
 
u64 rhdrhead_intr_off
 
u8 serial [16]
 
u8 boardversion [96]
 
u8 lbus_info [32]
 
u8 majrev
 
u8 minrev
 
u8 num_pports
 
u8 first_user_ctxt
 
u8 n_krcv_queues
 
u8 qpn_mask
 
u8 skip_kctxt_mask
 
u16 rhf_offset
 
u8 gpio_sda_num
 
u8 gpio_scl_num
 
u8 twsi_eeprom_dev
 
u8 board_atten
 
spinlock_t eep_st_lock
 
struct mutex eep_lock
 
uint64_t traffic_wds
 
atomic_t active_time
 
uint8_t eep_st_errs [QIB_EEP_LOG_CNT]
 
uint8_t eep_st_new_errs [QIB_EEP_LOG_CNT]
 
uint16_t eep_hrs
 
struct qib_eep_log_mask eep_st_masks [QIB_EEP_LOG_CNT]
 
struct qib_diag_client * diag_client
 
spinlock_t qib_diag_trans_lock
 
struct diag_observer_list_eltdiag_observer_list
 
u8 psxmitwait_supported
 
u16 psxmitwait_check_rate
 
struct tasklet_struct error_tasklet
 

Detailed Description

Definition at line 707 of file qib.h.

Field Documentation

atomic_t active_time

Definition at line 1059 of file qib.h.

u32 align4k

Definition at line 996 of file qib.h.

u32 avgpkts_call

Definition at line 871 of file qib.h.

__be64 base_guid

Definition at line 944 of file qib.h.

u8 board_atten

Definition at line 1050 of file qib.h.

char* boardname

Definition at line 832 of file qib.h.

u8 boardversion[96]

Definition at line 1026 of file qib.h.

u32 cfgctxts

Definition at line 857 of file qib.h.

u32 control

Definition at line 993 of file qib.h.

Definition at line 731 of file qib.h.

u32 ctxtcnt

Definition at line 971 of file qib.h.

u32 ctxts_extrabuf

Definition at line 852 of file qib.h.

u16 deviceid

Definition at line 877 of file qib.h.

u64* devstatusp

Definition at line 896 of file qib.h.

struct cdev* diag_cdev

Definition at line 714 of file qib.h.

struct qib_diag_client* diag_client

Definition at line 1069 of file qib.h.

struct device* diag_device

Definition at line 716 of file qib.h.

struct diag_observer_list_elt* diag_observer_list

Definition at line 1071 of file qib.h.

uint16_t eep_hrs

Definition at line 1063 of file qib.h.

struct mutex eep_lock

Definition at line 1056 of file qib.h.

uint8_t eep_st_errs[QIB_EEP_LOG_CNT]

Definition at line 1061 of file qib.h.

spinlock_t eep_st_lock

Definition at line 1054 of file qib.h.

Definition at line 1068 of file qib.h.

uint8_t eep_st_new_errs[QIB_EEP_LOG_CNT]

Definition at line 1062 of file qib.h.

u64 __iomem* egrtidbase

Definition at line 887 of file qib.h.

struct tasklet_struct error_tasklet

Definition at line 1077 of file qib.h.

int(* f_bringup_serdes)(struct qib_pportdata *)

Definition at line 763 of file qib.h.

void(* f_cleanup)(struct qib_devdata *)

Definition at line 768 of file qib.h.

void(* f_clear_tids)(struct qib_devdata *, struct qib_ctxtdata *)

Definition at line 765 of file qib.h.

void(* f_config_ctxts)(struct qib_devdata *)

Definition at line 776 of file qib.h.

int(* f_early_init)(struct qib_devdata *)

Definition at line 764 of file qib.h.

int(* f_eeprom_wen)(struct qib_devdata *dd, int wen)

Definition at line 792 of file qib.h.

void(* f_free_irq)(struct qib_devdata *)

Definition at line 773 of file qib.h.

int(* f_get_base_info)(struct qib_ctxtdata *, struct qib_base_info *)

Definition at line 771 of file qib.h.

int(* f_get_ib_cfg)(struct qib_pportdata *, int)

Definition at line 777 of file qib.h.

int(* f_get_ib_table)(struct qib_pportdata *, int, void *)

Definition at line 780 of file qib.h.

struct qib_message_header*(* f_get_msgheader)(struct qib_devdata *, __le32 *)
read

Definition at line 775 of file qib.h.

u32 __iomem*(* f_getsendbuf)(struct qib_pportdata *, u64, u32 *)

Definition at line 787 of file qib.h.

int(* f_gpio_mod)(struct qib_devdata *dd, u32 out, u32 dir, u32 mask)

Definition at line 789 of file qib.h.

u32(* f_hdrqempty)(struct qib_ctxtdata *)

Definition at line 818 of file qib.h.

int(* f_ib_updown)(struct qib_pportdata *, int, u64)

Definition at line 786 of file qib.h.

u32(* f_iblink_state)(u64)

Definition at line 782 of file qib.h.

u8(* f_ibphys_portstate)(u64)

Definition at line 783 of file qib.h.

void(* f_init_ctxt)(struct qib_ctxtdata *)

Definition at line 826 of file qib.h.

int(* f_init_sdma_regs)(struct qib_pportdata *)

Definition at line 807 of file qib.h.

void(* f_initvl15_bufs)(struct qib_devdata *)

Definition at line 825 of file qib.h.

int(* f_intr_fallback)(struct qib_devdata *)

Definition at line 759 of file qib.h.

int(* f_late_initreg)(struct qib_devdata *)

Definition at line 806 of file qib.h.

u64(* f_portcntr)(struct qib_pportdata *, u32)

Definition at line 819 of file qib.h.

void(* f_put_tid)(struct qib_devdata *, u64 __iomem *, u32, unsigned long)

Definition at line 766 of file qib.h.

void(* f_quiet_serdes)(struct qib_pportdata *)

Definition at line 762 of file qib.h.

void(* f_rcvctrl)(struct qib_pportdata *, unsigned int op, int ctxt)

Definition at line 799 of file qib.h.

u32(* f_read_cntrs)(struct qib_devdata *, loff_t, char **, u64 **)

Definition at line 820 of file qib.h.

u32(* f_read_portcntrs)(struct qib_devdata *, loff_t, u32, char **, u64 **)

Definition at line 822 of file qib.h.

int(* f_reset)(struct qib_devdata *)

Definition at line 761 of file qib.h.

int(* f_sdma_busy)(struct qib_pportdata *)

Definition at line 809 of file qib.h.

u16(* f_sdma_gethead)(struct qib_pportdata *)

Definition at line 808 of file qib.h.

void(* f_sdma_hw_clean_up)(struct qib_pportdata *)

Definition at line 813 of file qib.h.

void(* f_sdma_hw_start_up)(struct qib_pportdata *)

Definition at line 814 of file qib.h.

void(* f_sdma_init_early)(struct qib_pportdata *)

Definition at line 815 of file qib.h.

void(* f_sdma_sendctrl)(struct qib_pportdata *, unsigned)

Definition at line 812 of file qib.h.

void(* f_sdma_set_desc_cnt)(struct qib_pportdata *, unsigned)

Definition at line 811 of file qib.h.

void(* f_sdma_update_tail)(struct qib_pportdata *, u16)

Definition at line 810 of file qib.h.

void(* f_sendctrl)(struct qib_pportdata *, u32 op)

Definition at line 802 of file qib.h.

void(* f_set_armlaunch)(struct qib_devdata *, u32)

Definition at line 804 of file qib.h.

void(* f_set_cntr_sample)(struct qib_pportdata *, u32, u32)

Definition at line 816 of file qib.h.

int(* f_set_ib_cfg)(struct qib_pportdata *, int, u32)

Definition at line 778 of file qib.h.

int(* f_set_ib_loopback)(struct qib_pportdata *, const char *)

Definition at line 779 of file qib.h.

int(* f_set_ib_table)(struct qib_pportdata *, int, void *)

Definition at line 781 of file qib.h.

void(* f_set_intr_state)(struct qib_devdata *, u32)

Definition at line 803 of file qib.h.

void(* f_setextled)(struct qib_pportdata *, u32)

Definition at line 769 of file qib.h.

u32(* f_setpbc_control)(struct qib_pportdata *, u32, u8, u8)

Definition at line 824 of file qib.h.

int(* f_tempsense_rd)(struct qib_devdata *, int regnum)

Definition at line 830 of file qib.h.

void(* f_txchk_change)(struct qib_devdata *, u32, u32, u32, struct qib_ctxtdata *)

Definition at line 827 of file qib.h.

void(* f_update_usrhead)(struct qib_ctxtdata *, u64, u32, u32, u32)

Definition at line 817 of file qib.h.

void(* f_wantpiobuf_intr)(struct qib_devdata *, u32)

Definition at line 805 of file qib.h.

void(* f_writescratch)(struct qib_devdata *, u32)

Definition at line 829 of file qib.h.

void(* f_xgxs_reset)(struct qib_pportdata *)

Definition at line 784 of file qib.h.

u8 first_user_ctxt

Definition at line 1037 of file qib.h.

u32 flags

Definition at line 842 of file qib.h.

u32 freectxts

Definition at line 861 of file qib.h.

u32 freezelen

Definition at line 898 of file qib.h.

char* freezemsg

Definition at line 897 of file qib.h.

u8 gpio_scl_num

Definition at line 1048 of file qib.h.

u8 gpio_sda_num

Definition at line 1047 of file qib.h.

u32 int_counter

Definition at line 847 of file qib.h.

struct timer_list intrchk_timer

Definition at line 903 of file qib.h.

u64 __iomem* kregbase

Definition at line 719 of file qib.h.

u64 __iomem* kregend

Definition at line 721 of file qib.h.

u32 last_pio

Definition at line 914 of file qib.h.

u32 lastctxt_piobuf

Definition at line 844 of file qib.h.

u8 lbus_info[32]

Definition at line 1027 of file qib.h.

u32 lbus_speed

Definition at line 1004 of file qib.h.

u32 lbus_width

Definition at line 1002 of file qib.h.

Definition at line 709 of file qib.h.

u8 majrev

Definition at line 1029 of file qib.h.

u32 maxpkts_call

Definition at line 870 of file qib.h.

u32 min_kernel_pio

Definition at line 918 of file qib.h.

u8 minrev

Definition at line 1031 of file qib.h.

u16 msi_data

Definition at line 1013 of file qib.h.

u32 msi_hi

Definition at line 1011 of file qib.h.

u32 msi_lo

Definition at line 1009 of file qib.h.

u8 n_krcv_queues

Definition at line 1038 of file qib.h.

u32 nguid

Definition at line 956 of file qib.h.

u64 nopiobufs

Definition at line 872 of file qib.h.

u8 num_pports

Definition at line 1035 of file qib.h.

struct page** pageshadow

Definition at line 884 of file qib.h.

u32 palign

Definition at line 973 of file qib.h.

u32 pbufsctxt

Definition at line 850 of file qib.h.

u32 pcibar0

Definition at line 1015 of file qib.h.

u32 pcibar1

Definition at line 1017 of file qib.h.

struct pci_dev* pcidev

Definition at line 712 of file qib.h.

resource_size_t physaddr

Definition at line 723 of file qib.h.

dma_addr_t* physshadow

Definition at line 886 of file qib.h.

u32 pio2k_bufbase

Definition at line 951 of file qib.h.

void __iomem* pio2kbase

Definition at line 734 of file qib.h.

void __iomem* pio4kbase

Definition at line 736 of file qib.h.

unsigned long pio_need_disarm[3]

Definition at line 938 of file qib.h.

unsigned long pio_writing[3]

Definition at line 940 of file qib.h.

spinlock_t pioavail_lock

Definition at line 910 of file qib.h.

unsigned long pioavailkernel[6]

Definition at line 936 of file qib.h.

volatile __le64* pioavailregs_dma

Definition at line 749 of file qib.h.

dma_addr_t pioavailregs_phys

Definition at line 751 of file qib.h.

unsigned long pioavailshadow[6]

Definition at line 934 of file qib.h.

u32 pioavregs

Definition at line 840 of file qib.h.

void __iomem* piobase

Definition at line 738 of file qib.h.

u32 piobcnt2k

Definition at line 975 of file qib.h.

u32 piobcnt4k

Definition at line 981 of file qib.h.

u64 piobufbase

Definition at line 950 of file qib.h.

u32 piosize2k

Definition at line 977 of file qib.h.

u32 piosize2kmax_dwords

Definition at line 979 of file qib.h.

u32 piosize4k

Definition at line 983 of file qib.h.

void __iomem* piovl15base

Definition at line 741 of file qib.h.

Definition at line 730 of file qib.h.

u16 psxmitwait_check_rate

Definition at line 1075 of file qib.h.

u8 psxmitwait_supported

Definition at line 1073 of file qib.h.

spinlock_t qib_diag_trans_lock

Definition at line 1070 of file qib.h.

u8 qpn_mask

Definition at line 1039 of file qib.h.

Definition at line 725 of file qib.h.

unsigned long rcvctrl

Definition at line 961 of file qib.h.

u32 rcvegrbase

Definition at line 985 of file qib.h.

u16 rcvegrbufsize

Definition at line 998 of file qib.h.

u16 rcvegrbufsize_shift

Definition at line 1000 of file qib.h.

u32 rcvhdrcnt

Definition at line 965 of file qib.h.

u32 rcvhdrentsize

Definition at line 969 of file qib.h.

u32 rcvhdrsize

Definition at line 967 of file qib.h.

u32 rcvtidbase

Definition at line 987 of file qib.h.

u32 rcvtidcnt

Definition at line 989 of file qib.h.

Definition at line 942 of file qib.h.

u64 rhdrhead_intr_off

Definition at line 1018 of file qib.h.

u16 rhf_offset

Definition at line 1042 of file qib.h.

unsigned long sendctrl

Definition at line 962 of file qib.h.

spinlock_t sendctrl_lock

Definition at line 888 of file qib.h.

u8 serial[16]

Definition at line 1024 of file qib.h.

u8 skip_kctxt_mask

Definition at line 1040 of file qib.h.

struct timer_list stats_timer

Definition at line 900 of file qib.h.

u64 tidinvalid

Definition at line 837 of file qib.h.

u64 tidtemplate

Definition at line 835 of file qib.h.

uint64_t traffic_wds

Definition at line 1057 of file qib.h.

u8 twsi_eeprom_dev

Definition at line 1049 of file qib.h.

spinlock_t uctxt_lock

Definition at line 890 of file qib.h.

int unit

Definition at line 1005 of file qib.h.

u32 upd_pio_shadow

Definition at line 867 of file qib.h.

unsigned long ureg_align

Definition at line 904 of file qib.h.

u32 uregbase

Definition at line 991 of file qib.h.

struct cdev* user_cdev

Definition at line 713 of file qib.h.

struct device* user_device

Definition at line 715 of file qib.h.

u64 __iomem* userbase

Definition at line 740 of file qib.h.

u16 vendorid

Definition at line 875 of file qib.h.

struct qib_ibdev verbs_dev

Definition at line 708 of file qib.h.

unsigned long wc_base

Definition at line 880 of file qib.h.

unsigned long wc_cookie

Definition at line 879 of file qib.h.

unsigned long wc_len

Definition at line 881 of file qib.h.


The documentation for this struct was generated from the following file: