Lines Matching refs:d_port

1333 		yge_port_t *port = dev->d_port[i];
1345 yge_port_t *port = dev->d_port[i];
1417 yge_uninit_port(dev->d_port[i]);
1711 yge_port_t *port = dev->d_port[i];
1719 yge_port_t *port = dev->d_port[i];
1787 yge_port_t *port = dev->d_port[i];
1799 yge_port_t *port = dev->d_port[i];
1932 port = dev->d_port[i];
1934 yge_stop_port(dev->d_port[i]);
1938 port = dev->d_port[i];
1947 port = dev->d_port[i];
1972 port = dev->d_port[i];
2010 port = dev->d_port[i];
2163 if ((status & Y2_HWE_L1_MASK) != 0 && dev->d_port[YGE_PORT_A] != NULL)
2164 yge_handle_hwerr(dev->d_port[YGE_PORT_A], status);
2165 if ((status & Y2_HWE_L2_MASK) != 0 && dev->d_port[YGE_PORT_B] != NULL)
2166 yge_handle_hwerr(dev->d_port[YGE_PORT_B], status >> 8);
2206 port = dev->d_port[pnum];
2276 port1 = dev->d_port[YGE_PORT_A];
2277 port2 = dev->d_port[YGE_PORT_B];
2607 if (port == dev->d_port[YGE_PORT_A]) {
2610 } else if (port == dev->d_port[YGE_PORT_B]) {
3437 dev->d_port[0] = kmem_zalloc(sizeof (yge_port_t), KM_SLEEP);
3438 dev->d_port[1] = kmem_zalloc(sizeof (yge_port_t), KM_SLEEP);
3442 dev->d_port[0]->p_port = 0;
3443 dev->d_port[0]->p_dev = dev;
3444 dev->d_port[1]->p_port = 0;
3445 dev->d_port[1]->p_dev = dev;
3450 kmem_free(dev->d_port[1], sizeof (yge_port_t));
3451 kmem_free(dev->d_port[0], sizeof (yge_port_t));
3480 if (((mh = dev->d_port[i]->p_mh) != NULL) &&
3495 if ((mh = dev->d_port[i]->p_mh) != NULL) {
3500 kmem_free(dev->d_port[1], sizeof (yge_port_t));
3501 kmem_free(dev->d_port[0], sizeof (yge_port_t));
3525 yge_port_t *port = dev->d_port[i];