Home
last modified time | relevance | path

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

/Linux-v5.10/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
/Linux-v5.10/include/linux/soc/ixp4xx/
Dnpe.h18 struct npe { struct
25 static inline const char *npe_name(struct npe *npe) in npe_name() argument
27 return npe_names[npe->id]; in npe_name()
30 int npe_running(struct npe *npe);
31 int npe_send_message(struct npe *npe, const void *msg, const char *what);
32 int npe_recv_message(struct npe *npe, void *msg, const char *what);
33 int npe_send_recv_message(struct npe *npe, void *msg, const char *what);
34 int npe_load_firmware(struct npe *npe, const char *name, struct device *dev);
35 struct npe *npe_request(unsigned id);
36 void npe_release(struct npe *npe);
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dnpu-dma.c98 static struct pnv_ioda_pe *get_gpu_pci_dev_and_pe(struct pnv_ioda_pe *npe, in get_gpu_pci_dev_and_pe() argument
107 pdev = pnv_pci_get_gpu_dev(npe->pdev); in get_gpu_pci_dev_and_pe()
131 struct pnv_ioda_pe *npe = container_of(table_group, struct pnv_ioda_pe, in pnv_npu_set_window() local
133 struct pnv_phb *phb = npe->phb; in pnv_npu_set_window()
142 if (npe->table_group.tables[num2]) in pnv_npu_set_window()
143 pnv_npu_unset_window(&npe->table_group, num2); in pnv_npu_set_window()
145 pe_info(npe, "Setting up window %llx..%llx pg=%lx\n", in pnv_npu_set_window()
150 npe->pe_number, in pnv_npu_set_window()
151 npe->pe_number, in pnv_npu_set_window()
157 pe_err(npe, "Failed to configure TCE table, err %lld\n", rc); in pnv_npu_set_window()
[all …]
/Linux-v5.10/drivers/net/ethernet/xscale/
Dixp4xx_eth.c170 struct npe *npe; member
1166 struct npe *npe = port->npe; in eth_open() local
1170 if (!npe_running(npe)) { in eth_open()
1171 err = npe_load_firmware(npe, npe_name(npe), &dev->dev); in eth_open()
1175 if (npe_recv_message(npe, &msg, "ETH_GET_STATUS")) { in eth_open()
1176 netdev_err(dev, "%s not responding\n", npe_name(npe)); in eth_open()
1192 if (npe_send_recv_message(port->npe, &msg, "ETH_SET_RXQ")) in eth_open()
1204 if (npe_send_recv_message(port->npe, &msg, "ETH_SET_MAC")) in eth_open()
1210 if (npe_send_recv_message(port->npe, &msg, "ETH_SET_FIREWALL_MODE")) in eth_open()
1287 if (npe_send_recv_message(port->npe, &msg, "ETH_ENABLE_LOOPBACK")) in eth_close()
[all …]
/Linux-v5.10/drivers/net/wan/
Dixp4xx_hss.c256 struct npe *npe; member
361 if (npe_send_message(port->npe, msg, what)) { in hss_npe_send()
363 port->id, val[0], val[1], npe_name(port->npe)); in hss_npe_send()
447 if (npe_recv_message(port->npe, &msg, "HSS_LOAD_CONFIG") || in hss_config()
455 npe_recv_message(port->npe, &msg, "FLUSH_IT"); in hss_config()
478 if (npe_recv_message(port->npe, &msg, "PORT_ERROR_READ")) { in hss_get_status()
516 if (!npe_running(port->npe) && in hss_load_firmware()
517 (err = npe_load_firmware(port->npe, npe_name(port->npe), in hss_load_firmware()
1340 if ((port->npe = npe_request(0)) == NULL) { in hss_init_one()
1375 npe_release(port->npe); in hss_init_one()
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dintel-ixp4xx.dtsi64 npe@c8006000 {
/Linux-v5.10/drivers/crypto/
Dixp4xx_crypto.c218 static struct npe *npe_c;
/Linux-v5.10/
DMAINTAINERS8960 F: drivers/soc/ixp4xx/ixp4xx-npe.c
8962 F: include/linux/soc/ixp4xx/npe.h