Lines Matching refs:p_dev
277 yge_dev_t *dev = port->p_dev;
306 yge_dev_t *dev = port->p_dev;
328 PHY_LOCK(port->p_dev);
330 PHY_UNLOCK(port->p_dev);
339 PHY_LOCK(port->p_dev);
341 PHY_UNLOCK(port->p_dev);
352 yge_dev_t *dev = port->p_dev;
454 dev = port->p_dev;
512 yge_set_prefetch(port->p_dev, port->p_rxq, ring);
515 CSR_WRITE_2(port->p_dev,
532 yge_set_prefetch(port->p_dev, port->p_txq, ring);
911 yge_dev_t *dev = port->p_dev;
1475 dev = port->p_dev;
1530 yge_dev_t *dev = port->p_dev;
1813 yge_dev_t *dev = port->p_dev;
1912 TX_LOCK(port->p_dev);
1916 TX_UNLOCK(port->p_dev);
2022 yge_dev_t *dev = port->p_dev;
2055 yge_dev_t *dev = port->p_dev;
2378 yge_dev_t *dev = port->p_dev;
2414 yge_dev_t *dev = port->p_dev;
2622 GMAC_WRITE_2(port->p_dev, port->p_port, GM_GP_CTRL, gmac);
2639 dev = port->p_dev;
2707 yge_dev_t *dev = port->p_dev;
2714 dev = port->p_dev;
2835 dev = port->p_dev;
2856 dev = port->p_dev;
2952 DEV_LOCK(port->p_dev);
2954 DEV_UNLOCK(port->p_dev);
3057 DEV_LOCK(port->p_dev);
3070 DEV_UNLOCK(port->p_dev);
3074 if (!port->p_dev->d_suspended)
3077 DEV_UNLOCK(port->p_dev);
3088 yge_dev_t *dev = port->p_dev;
3106 DEV_LOCK(port->p_dev);
3112 DEV_UNLOCK(port->p_dev);
3127 DEV_LOCK(port->p_dev);
3147 DEV_UNLOCK(port->p_dev);
3156 DEV_LOCK(port->p_dev);
3161 DEV_UNLOCK(port->p_dev);
3176 TX_LOCK(port->p_dev);
3178 if (port->p_dev->d_suspended) {
3180 TX_UNLOCK(port->p_dev);
3193 idx = CSR_READ_2(port->p_dev, ridx);
3211 CSR_WRITE_2(port->p_dev,
3216 TX_UNLOCK(port->p_dev);
3258 DEV_LOCK(port->p_dev);
3335 DEV_UNLOCK(port->p_dev);
3443 dev->d_port[0]->p_dev = dev;
3445 dev->d_port[1]->p_dev = dev;