Lines Matching defs:ql3_adapter

1070 struct ql3_adapter {  struct
1071 u32 reserved_00;
1072 unsigned long flags;
1075 struct pci_dev *pdev;
1076 struct net_device *ndev; /* Parent NET device */
1078 struct napi_struct napi;
1081 u8 chip_rev_id;
1082 u8 pci_slot;
1083 u8 pci_width;
1084 u8 pci_x;
1085 u32 msi;
1086 int index;
1087 struct timer_list adapter_timer; /* timer used for various functions */
1089 spinlock_t adapter_lock;
1090 spinlock_t hw_lock;
1093 u8 __iomem *mmap_virt_base; /* stores return value from ioremap() */
1094 struct ql3xxx_port_registers __iomem *mem_map_registers;
1095 u32 current_page; /* tracks current register page */
1097 u32 msg_enable;
1098 u8 reserved_01[2];
1099 u8 reserved_02[2];
1102 void *shadow_reg_virt_addr;
1103 dma_addr_t shadow_reg_phy_addr;
1106 u32 req_q_size;
1107 u32 reserved_03;
1108 struct ob_mac_iocb_req *req_q_virt_addr;
1109 dma_addr_t req_q_phy_addr;
1110 u16 req_producer_index;
1111 u16 reserved_04;
1112 u16 *preq_consumer_index;
1113 u32 req_consumer_index_phy_addr_high;
1114 u32 req_consumer_index_phy_addr_low;
1115 atomic_t tx_count;
1116 struct ql_tx_buf_cb tx_buf[NUM_REQ_Q_ENTRIES];
1119 u32 rsp_q_size;
1120 u32 eeprom_cmd_data;
1121 struct net_rsp_iocb *rsp_q_virt_addr;
1122 dma_addr_t rsp_q_phy_addr;
1123 struct net_rsp_iocb *rsp_current;
1124 u16 rsp_consumer_index;
1125 u16 reserved_06;
1126 volatile __le32 *prsp_producer_index;
1127 u32 rsp_producer_index_phy_addr_high;
1128 u32 rsp_producer_index_phy_addr_low;
1131 u32 lrg_buf_q_alloc_size;
1132 u32 lrg_buf_q_size;
1133 void *lrg_buf_q_alloc_virt_addr;
1134 void *lrg_buf_q_virt_addr;
1135 dma_addr_t lrg_buf_q_alloc_phy_addr;
1136 dma_addr_t lrg_buf_q_phy_addr;
1137 u32 lrg_buf_q_producer_index;
1138 u32 lrg_buf_release_cnt;
1139 struct bufq_addr_element *lrg_buf_next_free;
1140 u32 num_large_buffers;
1141 u32 num_lbufq_entries;
1144 struct ql_rcv_buf_cb *lrg_buf;
1145 struct ql_rcv_buf_cb *lrg_buf_free_head;
1146 struct ql_rcv_buf_cb *lrg_buf_free_tail;
1147 u32 lrg_buf_free_count;
1148 u32 lrg_buffer_len;
1149 u32 lrg_buf_index;
1150 u32 lrg_buf_skb_check;
1153 u32 small_buf_q_alloc_size;
1154 u32 small_buf_q_size;
1155 u32 small_buf_q_producer_index;
1156 void *small_buf_q_alloc_virt_addr;
1157 void *small_buf_q_virt_addr;
1158 dma_addr_t small_buf_q_alloc_phy_addr;
1159 dma_addr_t small_buf_q_phy_addr;
1160 u32 small_buf_index;
1163 void *small_buf_virt_addr;
1164 dma_addr_t small_buf_phy_addr;
1165 u32 small_buf_phy_addr_low;
1166 u32 small_buf_phy_addr_high;
1167 u32 small_buf_release_cnt;
1168 u32 small_buf_total_size;
1170 struct eeprom_data nvram_data;
1171 u32 port_link_state;
1174 …ex; /* Driver's MAC number can be 0 or 1 for first and second networking functions respectively */
1175 u32 PHYAddr; /* Address of PHY 0x1e00 Port 0 and 0x1f00 Port 1 */
1176 u32 mac_ob_opcode; /* Opcode to use on mac transmission */
1177 u32 mb_bit_mask; /* MA Bits mask to use on transmission */
1178 u32 numPorts;
1179 struct workqueue_struct *workqueue;
1180 struct delayed_work reset_work;
1181 struct delayed_work tx_timeout_work;
1182 struct delayed_work link_state_work;
1183 u32 max_frame_size;
1184 u32 device_id;
1185 u16 phyType;