Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/xscale/
Dixp4xx_eth.c68 #define NPE_ID(port_id) ((port_id) >> 4) macro
69 #define PHYSICAL_ID(port_id) ((NPE_ID(port_id) + 2) % 3)
70 #define TX_QUEUE(port_id) (NPE_ID(port_id) + 23)
71 #define RXFREE_QUEUE(port_id) (NPE_ID(port_id) + 26)
76 #define PORT2CHANNEL(p) NPE_ID(p->id)
1422 if (!(port->npe = npe_request(NPE_ID(port->id)))) { in eth_init_one()
1434 npe_port_tab[NPE_ID(port->id)] = port; in eth_init_one()
1467 npe_port_tab[NPE_ID(port->id)] = NULL; in eth_init_one()
1484 npe_port_tab[NPE_ID(port->id)] = NULL; in eth_remove_one()
/Linux-v4.19/drivers/crypto/
Dixp4xx_crypto.c77 #define NPE_ID 2 /* NPE C */ macro
442 npe_c = npe_request(NPE_ID); in init_ixp_crypto()