Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c83 #define NPE_ID(port_id) ((port_id) >> 4) macro
84 #define PHYSICAL_ID(port_id) ((NPE_ID(port_id) + 2) % 3)
85 #define TX_QUEUE(port_id) (NPE_ID(port_id) + 23)
86 #define RXFREE_QUEUE(port_id) (NPE_ID(port_id) + 26)
91 #define PORT2CHANNEL(p) NPE_ID(p->id)
1553 if (!(port->npe = npe_request(NPE_ID(port->id)))) in ixp4xx_eth_probe()
1557 npe_port_tab[NPE_ID(port->id)] = port; in ixp4xx_eth_probe()
1591 npe_port_tab[NPE_ID(port->id)] = NULL; in ixp4xx_eth_probe()
1605 npe_port_tab[NPE_ID(port->id)] = NULL; in ixp4xx_eth_remove()