Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c67 #define NPE_ID(port_id) ((port_id) >> 4) macro
68 #define PHYSICAL_ID(port_id) ((NPE_ID(port_id) + 2) % 3)
69 #define TX_QUEUE(port_id) (NPE_ID(port_id) + 23)
70 #define RXFREE_QUEUE(port_id) (NPE_ID(port_id) + 26)
75 #define PORT2CHANNEL(p) NPE_ID(p->id)
1445 if (!(port->npe = npe_request(NPE_ID(port->id)))) in ixp4xx_eth_probe()
1455 npe_port_tab[NPE_ID(port->id)] = port; in ixp4xx_eth_probe()
1488 npe_port_tab[NPE_ID(port->id)] = NULL; in ixp4xx_eth_probe()
1504 npe_port_tab[NPE_ID(port->id)] = NULL; in ixp4xx_eth_remove()
/kernel/linux/linux-6.6/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c74 #define NPE_ID(port_id) ((port_id) >> 4) macro
75 #define PHYSICAL_ID(port_id) ((NPE_ID(port_id) + 2) % 3)
76 #define TX_QUEUE(port_id) (NPE_ID(port_id) + 23)
77 #define RXFREE_QUEUE(port_id) (NPE_ID(port_id) + 26)
82 #define PORT2CHANNEL(p) NPE_ID(p->id)
1493 if (!(port->npe = npe_request(NPE_ID(port->id)))) in ixp4xx_eth_probe()
1497 npe_port_tab[NPE_ID(port->id)] = port; in ixp4xx_eth_probe()
1531 npe_port_tab[NPE_ID(port->id)] = NULL; in ixp4xx_eth_probe()
1545 npe_port_tab[NPE_ID(port->id)] = NULL; in ixp4xx_eth_remove()
/kernel/linux/linux-5.10/drivers/crypto/
H A Dixp4xx_crypto.c74 #define NPE_ID 2 /* NPE C */ macro
456 npe_c = npe_request(NPE_ID); in init_ixp_crypto()

Completed in 7 milliseconds