Lines Matching +full:cm +full:- +full:poll +full:- +full:mode

2  * Copyright (c) 2005-2008 Chelsio, Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
44 #define CH_ERR(adap, fmt, ...) dev_err(&adap->pdev->dev, fmt, ##__VA_ARGS__)
45 #define CH_WARN(adap, fmt, ...) dev_warn(&adap->pdev->dev, fmt, ##__VA_ARGS__)
46 #define CH_ALERT(adap, fmt, ...) dev_alert(&adap->pdev->dev, fmt, ##__VA_ARGS__)
53 if ((adapter)->msg_enable & NETIF_MSG_##category) \
54 dev_printk(KERN_##level, &adapter->pdev->dev, fmt, \
92 enum { /* adapter interrupt-maintained statistics */
151 #define WR_FLITS (TX_DESC_FLITS + 1 - SGE_NUM_GENBITS)
306 unsigned int cm_size; /* total CM capacity */
333 unsigned int mode; /* selects MC5 width */ member
345 /* MC5 modes, these must be non-0 */
395 unsigned int chan_map; /* bitmap of in-use Tx channels */
397 unsigned int linkpoll_period; /* link poll period in 0.1s */
447 unsigned char mode; member
453 return p->tcam_size; in t3_mc5_size()
467 return p->size; in t3_mc7_size()
554 unsigned long fifo_errors; /* FIFO over/under-flows */
564 int rc = phy->mdio.mdio_read(phy->mdio.dev, phy->mdio.prtad, mmd, reg); in t3_mdio_read()
565 *valp = (rc >= 0) ? rc : -1; in t3_mdio_read()
572 return phy->mdio.mdio_write(phy->mdio.dev, phy->mdio.prtad, mmd, in t3_mdio_write()
582 phy->caps = caps; in cphy_init()
583 phy->adapter = adapter; in cphy_init()
584 phy->desc = desc; in cphy_init()
585 phy->ops = phy_ops; in cphy_init()
587 phy->mdio.prtad = phy_addr; in cphy_init()
588 phy->mdio.mmds = phy_ops->mmds; in cphy_init()
589 phy->mdio.mode_support = mdio_ops->mode_support; in cphy_init()
590 phy->mdio.mdio_read = mdio_ops->read; in cphy_init()
591 phy->mdio.mdio_write = mdio_ops->write; in cphy_init()
599 ((reg_addr) + (idx) * (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR))
613 for (iter = 0; iter < (adapter)->params.nports; ++iter)
615 #define adapter_info(adap) ((adap)->params.info)
619 return adapter_info(adap)->caps & SUPPORTED_AUI; in uses_xaui()
624 return adapter_info(adap)->caps & SUPPORTED_10000baseT_Full; in is_10G()
629 return adap->params.offload; in is_offload()
634 return adap->params.vpd.cclk / 1000; in core_ticks_per_usec()
639 return adap->params.pci.variant == PCI_VARIANT_PCIE; in is_pcie()
717 void t3_mc5_prep(struct adapter *adapter, struct mc5 *mc5, int mode);