Home
last modified time | relevance | path

Searched refs:regs_buff (Results 1 – 12 of 12) sorted by relevance

/linux-2.6.39/drivers/net/ixgbe/
Dixgbe_ethtool.c519 u32 *regs_buff = p; in ixgbe_get_regs() local
527 regs_buff[0] = IXGBE_READ_REG(hw, IXGBE_CTRL); in ixgbe_get_regs()
528 regs_buff[1] = IXGBE_READ_REG(hw, IXGBE_STATUS); in ixgbe_get_regs()
529 regs_buff[2] = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_get_regs()
530 regs_buff[3] = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_get_regs()
531 regs_buff[4] = IXGBE_READ_REG(hw, IXGBE_EODSDP); in ixgbe_get_regs()
532 regs_buff[5] = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_get_regs()
533 regs_buff[6] = IXGBE_READ_REG(hw, IXGBE_FRTIMER); in ixgbe_get_regs()
534 regs_buff[7] = IXGBE_READ_REG(hw, IXGBE_TCPTIMER); in ixgbe_get_regs()
537 regs_buff[8] = IXGBE_READ_REG(hw, IXGBE_EEC); in ixgbe_get_regs()
[all …]
/linux-2.6.39/drivers/net/atl1e/
Datl1e_ethtool.c154 u32 *regs_buff = p; in atl1e_get_regs() local
161 regs_buff[0] = AT_READ_REG(hw, REG_VPD_CAP); in atl1e_get_regs()
162 regs_buff[1] = AT_READ_REG(hw, REG_SPI_FLASH_CTRL); in atl1e_get_regs()
163 regs_buff[2] = AT_READ_REG(hw, REG_SPI_FLASH_CONFIG); in atl1e_get_regs()
164 regs_buff[3] = AT_READ_REG(hw, REG_TWSI_CTRL); in atl1e_get_regs()
165 regs_buff[4] = AT_READ_REG(hw, REG_PCIE_DEV_MISC_CTRL); in atl1e_get_regs()
166 regs_buff[5] = AT_READ_REG(hw, REG_MASTER_CTRL); in atl1e_get_regs()
167 regs_buff[6] = AT_READ_REG(hw, REG_MANUAL_TIMER_INIT); in atl1e_get_regs()
168 regs_buff[7] = AT_READ_REG(hw, REG_IRQ_MODU_TIMER_INIT); in atl1e_get_regs()
169 regs_buff[8] = AT_READ_REG(hw, REG_GPHY_CTRL); in atl1e_get_regs()
[all …]
/linux-2.6.39/drivers/net/igb/
Digb_ethtool.c402 u32 *regs_buff = p; in igb_get_regs() local
410 regs_buff[0] = rd32(E1000_CTRL); in igb_get_regs()
411 regs_buff[1] = rd32(E1000_STATUS); in igb_get_regs()
412 regs_buff[2] = rd32(E1000_CTRL_EXT); in igb_get_regs()
413 regs_buff[3] = rd32(E1000_MDIC); in igb_get_regs()
414 regs_buff[4] = rd32(E1000_SCTL); in igb_get_regs()
415 regs_buff[5] = rd32(E1000_CONNSW); in igb_get_regs()
416 regs_buff[6] = rd32(E1000_VET); in igb_get_regs()
417 regs_buff[7] = rd32(E1000_LEDCTL); in igb_get_regs()
418 regs_buff[8] = rd32(E1000_PBA); in igb_get_regs()
[all …]
/linux-2.6.39/drivers/net/ixgbevf/
Dethtool.c230 u32 *regs_buff = p; in ixgbevf_get_regs() local
239 regs_buff[0] = IXGBE_READ_REG(hw, IXGBE_VFCTRL); in ixgbevf_get_regs()
240 regs_buff[1] = IXGBE_READ_REG(hw, IXGBE_VFSTATUS); in ixgbevf_get_regs()
241 regs_buff[2] = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_get_regs()
242 regs_buff[3] = IXGBE_READ_REG(hw, IXGBE_VFRXMEMWRAP); in ixgbevf_get_regs()
243 regs_buff[4] = IXGBE_READ_REG(hw, IXGBE_VFFRTIMER); in ixgbevf_get_regs()
248 regs_buff[5] = IXGBE_READ_REG(hw, IXGBE_VTEICS); in ixgbevf_get_regs()
249 regs_buff[6] = IXGBE_READ_REG(hw, IXGBE_VTEICS); in ixgbevf_get_regs()
250 regs_buff[7] = IXGBE_READ_REG(hw, IXGBE_VTEIMS); in ixgbevf_get_regs()
251 regs_buff[8] = IXGBE_READ_REG(hw, IXGBE_VTEIMC); in ixgbevf_get_regs()
[all …]
/linux-2.6.39/drivers/net/netxen/
Dnetxen_nic_ethtool.c291 u32 *regs_buff = p; in netxen_nic_get_regs() local
303 regs_buff[i++] = NXRD32(adapter, CRB_CMDPEG_STATE); in netxen_nic_get_regs()
304 regs_buff[i++] = NXRD32(adapter, CRB_RCVPEG_STATE); in netxen_nic_get_regs()
305 regs_buff[i++] = NXRD32(adapter, CRB_FW_CAPABILITIES_1); in netxen_nic_get_regs()
306 regs_buff[i++] = NXRDIO(adapter, adapter->crb_int_state_reg); in netxen_nic_get_regs()
307 regs_buff[i++] = NXRD32(adapter, NX_CRB_DEV_REF_COUNT); in netxen_nic_get_regs()
308 regs_buff[i++] = NXRD32(adapter, NX_CRB_DEV_STATE); in netxen_nic_get_regs()
309 regs_buff[i++] = NXRD32(adapter, NETXEN_PEG_ALIVE_COUNTER); in netxen_nic_get_regs()
310 regs_buff[i++] = NXRD32(adapter, NETXEN_PEG_HALT_STATUS1); in netxen_nic_get_regs()
311 regs_buff[i++] = NXRD32(adapter, NETXEN_PEG_HALT_STATUS2); in netxen_nic_get_regs()
[all …]
/linux-2.6.39/drivers/net/e1000/
De1000_ethtool.c377 u32 *regs_buff = p; in e1000_get_regs() local
384 regs_buff[0] = er32(CTRL); in e1000_get_regs()
385 regs_buff[1] = er32(STATUS); in e1000_get_regs()
387 regs_buff[2] = er32(RCTL); in e1000_get_regs()
388 regs_buff[3] = er32(RDLEN); in e1000_get_regs()
389 regs_buff[4] = er32(RDH); in e1000_get_regs()
390 regs_buff[5] = er32(RDT); in e1000_get_regs()
391 regs_buff[6] = er32(RDTR); in e1000_get_regs()
393 regs_buff[7] = er32(TCTL); in e1000_get_regs()
394 regs_buff[8] = er32(TDLEN); in e1000_get_regs()
[all …]
/linux-2.6.39/drivers/net/atlx/
Datl2.c1871 u32 *regs_buff = p; local
1878 regs_buff[0] = ATL2_READ_REG(hw, REG_VPD_CAP);
1879 regs_buff[1] = ATL2_READ_REG(hw, REG_SPI_FLASH_CTRL);
1880 regs_buff[2] = ATL2_READ_REG(hw, REG_SPI_FLASH_CONFIG);
1881 regs_buff[3] = ATL2_READ_REG(hw, REG_TWSI_CTRL);
1882 regs_buff[4] = ATL2_READ_REG(hw, REG_PCIE_DEV_MISC_CTRL);
1883 regs_buff[5] = ATL2_READ_REG(hw, REG_MASTER_CTRL);
1884 regs_buff[6] = ATL2_READ_REG(hw, REG_MANUAL_TIMER_INIT);
1885 regs_buff[7] = ATL2_READ_REG(hw, REG_IRQ_MODU_TIMER_INIT);
1886 regs_buff[8] = ATL2_READ_REG(hw, REG_PHY_ENABLE);
[all …]
/linux-2.6.39/drivers/net/e1000e/
Dethtool.c434 u32 *regs_buff = p; in e1000_get_regs() local
442 regs_buff[0] = er32(CTRL); in e1000_get_regs()
443 regs_buff[1] = er32(STATUS); in e1000_get_regs()
445 regs_buff[2] = er32(RCTL); in e1000_get_regs()
446 regs_buff[3] = er32(RDLEN); in e1000_get_regs()
447 regs_buff[4] = er32(RDH); in e1000_get_regs()
448 regs_buff[5] = er32(RDT); in e1000_get_regs()
449 regs_buff[6] = er32(RDTR); in e1000_get_regs()
451 regs_buff[7] = er32(TCTL); in e1000_get_regs()
452 regs_buff[8] = er32(TDLEN); in e1000_get_regs()
[all …]
/linux-2.6.39/drivers/net/igbvf/
Dethtool.c203 u32 *regs_buff = p; in igbvf_get_regs() local
210 regs_buff[0] = er32(CTRL); in igbvf_get_regs()
211 regs_buff[1] = er32(STATUS); in igbvf_get_regs()
213 regs_buff[2] = er32(RDLEN(0)); in igbvf_get_regs()
214 regs_buff[3] = er32(RDH(0)); in igbvf_get_regs()
215 regs_buff[4] = er32(RDT(0)); in igbvf_get_regs()
217 regs_buff[5] = er32(TDLEN(0)); in igbvf_get_regs()
218 regs_buff[6] = er32(TDH(0)); in igbvf_get_regs()
219 regs_buff[7] = er32(TDT(0)); in igbvf_get_regs()
/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic_ethtool.c345 u32 *regs_buff = p; in qlcnic_get_regs() local
352 regs_buff[0] = (0xcafe0000 | (QLCNIC_DEV_INFO_SIZE & 0xffff)); in qlcnic_get_regs()
353 regs_buff[1] = QLCNIC_MGMT_API_VERSION; in qlcnic_get_regs()
356 regs_buff[i] = QLCRD32(adapter, diag_registers[j]); in qlcnic_get_regs()
361 regs_buff[i++] = 0xFFEFCDAB; /* Marker btw regs and ring count*/ in qlcnic_get_regs()
363 regs_buff[i++] = 1; /* No. of tx ring */ in qlcnic_get_regs()
364 regs_buff[i++] = le32_to_cpu(*(adapter->tx_ring->hw_consumer)); in qlcnic_get_regs()
365 regs_buff[i++] = readl(adapter->tx_ring->crb_cmd_producer); in qlcnic_get_regs()
367 regs_buff[i++] = 2; /* No. of rx ring */ in qlcnic_get_regs()
368 regs_buff[i++] = readl(recv_ctx->rds_rings[0].crb_rcv_producer); in qlcnic_get_regs()
[all …]
/linux-2.6.39/drivers/net/atl1c/
Datl1c_ethtool.c143 u32 *regs_buff = p; in atl1c_get_regs() local
174 regs_buff[73] = (u32) phy_data; in atl1c_get_regs()
176 regs_buff[74] = (u32) phy_data; in atl1c_get_regs()
/linux-2.6.39/drivers/net/pch_gbe/
Dpch_gbe_ethtool.c180 u32 *regs_buff = p; in pch_gbe_get_regs() local
185 *regs_buff++ = ioread32(&hw->reg->INT_ST + i); in pch_gbe_get_regs()
189 *regs_buff++ = tmp; in pch_gbe_get_regs()