Home
last modified time | relevance | path

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

/drivers/soc/ixp4xx/
Dixp4xx-npe.c124 #define print_npe(pri, npe, fmt, ...) \ argument
125 printk(pri "%s: " fmt, npe_name(npe), ## __VA_ARGS__)
128 #define debug_msg(npe, fmt, ...) \ argument
129 print_npe(KERN_DEBUG, npe, fmt, ## __VA_ARGS__)
131 #define debug_msg(npe, fmt, ...) argument
152 static struct npe npe_tab[NPE_COUNT] = {
162 int npe_running(struct npe *npe) in npe_running() argument
164 return (__raw_readl(&npe->regs->exec_status_cmd) & STAT_RUN) != 0; in npe_running()
167 static void npe_cmd_write(struct npe *npe, u32 addr, int cmd, u32 data) in npe_cmd_write() argument
169 __raw_writel(data, &npe->regs->exec_data); in npe_cmd_write()
[all …]
DMakefile3 obj-$(CONFIG_IXP4XX_NPE) += ixp4xx-npe.o
/drivers/net/ethernet/xscale/
Dixp4xx_eth.c168 struct npe *npe; member
1179 struct npe *npe = port->npe; in eth_open() local
1183 if (!npe_running(npe)) { in eth_open()
1184 err = npe_load_firmware(npe, npe_name(npe), &dev->dev); in eth_open()
1188 if (npe_recv_message(npe, &msg, "ETH_GET_STATUS")) { in eth_open()
1190 npe_name(npe)); in eth_open()
1206 if (npe_send_recv_message(port->npe, &msg, "ETH_SET_RXQ")) in eth_open()
1218 if (npe_send_recv_message(port->npe, &msg, "ETH_SET_MAC")) in eth_open()
1224 if (npe_send_recv_message(port->npe, &msg, "ETH_SET_FIREWALL_MODE")) in eth_open()
1301 if (npe_send_recv_message(port->npe, &msg, "ETH_ENABLE_LOOPBACK")) in eth_close()
[all …]
/drivers/net/wan/
Dixp4xx_hss.c255 struct npe *npe; member
360 if (npe_send_message(port->npe, msg, what)) { in hss_npe_send()
362 port->id, val[0], val[1], npe_name(port->npe)); in hss_npe_send()
446 if (npe_recv_message(port->npe, &msg, "HSS_LOAD_CONFIG") || in hss_config()
454 npe_recv_message(port->npe, &msg, "FLUSH_IT"); in hss_config()
477 if (npe_recv_message(port->npe, &msg, "PORT_ERROR_READ")) { in hss_get_status()
515 if (!npe_running(port->npe) && in hss_load_firmware()
516 (err = npe_load_firmware(port->npe, npe_name(port->npe), in hss_load_firmware()
1335 if ((port->npe = npe_request(0)) == NULL) { in hss_init_one()
1370 npe_release(port->npe); in hss_init_one()
[all …]
/drivers/crypto/
Dixp4xx_crypto.c217 static struct npe *npe_c;