Home
last modified time | relevance | path

Searched refs:npe (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-6.6/drivers/soc/ixp4xx/
H A Dixp4xx-npe.c24 #include <linux/soc/ixp4xx/npe.h>
127 #define print_npe(pri, npe, fmt, ...) \
128 printk(pri "%s: " fmt, npe_name(npe), ## __VA_ARGS__)
131 #define debug_msg(npe, fmt, ...) \
132 print_npe(KERN_DEBUG, npe, fmt, ## __VA_ARGS__)
134 #define debug_msg(npe, fmt, ...)
155 static struct npe npe_tab[NPE_COUNT] = {
165 int npe_running(struct npe *npe) in npe_running() argument
167 return (__raw_readl(&npe in npe_running()
170 npe_cmd_write(struct npe *npe, u32 addr, int cmd, u32 data) npe_cmd_write() argument
177 npe_cmd_read(struct npe *npe, u32 addr, int cmd) npe_cmd_read() argument
189 npe_clear_active(struct npe *npe, u32 reg) npe_clear_active() argument
195 npe_start(struct npe *npe) npe_start() argument
206 npe_stop(struct npe *npe) npe_stop() argument
212 npe_debug_instr(struct npe *npe, u32 instr, u32 ctx, u32 ldur) npe_debug_instr() argument
255 npe_logical_reg_write8(struct npe *npe, u32 addr, u8 val, u32 ctx) npe_logical_reg_write8() argument
266 npe_logical_reg_write16(struct npe *npe, u32 addr, u16 val, u32 ctx) npe_logical_reg_write16() argument
277 npe_logical_reg_write32(struct npe *npe, u32 addr, u32 val, u32 ctx) npe_logical_reg_write32() argument
286 npe_reset(struct npe *npe) npe_reset() argument
412 npe_send_message(struct npe *npe, const void *msg, const char *what) npe_send_message() argument
451 npe_recv_message(struct npe *npe, void *msg, const char *what) npe_recv_message() argument
489 npe_send_recv_message(struct npe *npe, void *msg, const char *what) npe_send_recv_message() argument
508 npe_load_firmware(struct npe *npe, const char *name, struct device *dev) npe_load_firmware() argument
680 npe_release(struct npe *npe) npe_release() argument
701 struct npe *npe = &npe_tab[i]; ixp4xx_npe_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/soc/ixp4xx/
H A Dixp4xx-npe.c22 #include <linux/soc/ixp4xx/npe.h>
124 #define print_npe(pri, npe, fmt, ...) \
125 printk(pri "%s: " fmt, npe_name(npe), ## __VA_ARGS__)
128 #define debug_msg(npe, fmt, ...) \
129 print_npe(KERN_DEBUG, npe, fmt, ## __VA_ARGS__)
131 #define debug_msg(npe, fmt, ...)
152 static struct npe npe_tab[NPE_COUNT] = {
162 int npe_running(struct npe *npe) in npe_running() argument
164 return (__raw_readl(&npe in npe_running()
167 npe_cmd_write(struct npe *npe, u32 addr, int cmd, u32 data) npe_cmd_write() argument
174 npe_cmd_read(struct npe *npe, u32 addr, int cmd) npe_cmd_read() argument
186 npe_clear_active(struct npe *npe, u32 reg) npe_clear_active() argument
192 npe_start(struct npe *npe) npe_start() argument
203 npe_stop(struct npe *npe) npe_stop() argument
209 npe_debug_instr(struct npe *npe, u32 instr, u32 ctx, u32 ldur) npe_debug_instr() argument
252 npe_logical_reg_write8(struct npe *npe, u32 addr, u8 val, u32 ctx) npe_logical_reg_write8() argument
263 npe_logical_reg_write16(struct npe *npe, u32 addr, u16 val, u32 ctx) npe_logical_reg_write16() argument
274 npe_logical_reg_write32(struct npe *npe, u32 addr, u32 val, u32 ctx) npe_logical_reg_write32() argument
283 npe_reset(struct npe *npe) npe_reset() argument
405 npe_send_message(struct npe *npe, const void *msg, const char *what) npe_send_message() argument
444 npe_recv_message(struct npe *npe, void *msg, const char *what) npe_recv_message() argument
482 npe_send_recv_message(struct npe *npe, void *msg, const char *what) npe_send_recv_message() argument
501 npe_load_firmware(struct npe *npe, const char *name, struct device *dev) npe_load_firmware() argument
673 npe_release(struct npe *npe) npe_release() argument
685 struct npe *npe = &npe_tab[i]; ixp4xx_npe_probe() local
[all...]
/kernel/linux/linux-5.10/include/linux/soc/ixp4xx/
H A 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, voi
[all...]
/kernel/linux/linux-6.6/include/linux/soc/ixp4xx/
H A Dnpe.h19 struct npe { struct
27 static inline const char *npe_name(struct npe *npe) in npe_name() argument
29 return npe_names[npe->id]; in npe_name()
32 int npe_running(struct npe *npe);
33 int npe_send_message(struct npe *npe, const void *msg, const char *what);
34 int npe_recv_message(struct npe *npe, voi
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A 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, "Faile in pnv_npu_set_window()
171 struct pnv_ioda_pe *npe = container_of(table_group, struct pnv_ioda_pe, pnv_npu_unset_window() local
200 struct pnv_ioda_pe *npe = container_of(table_group, struct pnv_ioda_pe, pnv_npu_take_ownership() local
234 struct pnv_ioda_pe *npe = container_of(table_group, struct pnv_ioda_pe, pnv_npu_release_ownership() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c38 #include <linux/soc/ixp4xx/npe.h>
161 u8 npe; /* NPE instance used by this interface */ member
188 struct npe *npe; member
1188 struct npe *npe = port->npe; in eth_open() local
1192 if (!npe_running(npe)) { in eth_open()
1193 err = npe_load_firmware(npe, npe_name(npe), in eth_open()
[all...]
/kernel/linux/linux-6.6/drivers/net/wan/
H A Dixp4xx_hss.c26 #include <linux/soc/ixp4xx/npe.h>
260 struct npe *npe; member
368 if (npe_send_message(port->npe, msg, what)) { in hss_npe_send()
370 port->id, val[0], val[1], npe_name(port->npe)); in hss_npe_send()
454 if (npe_recv_message(port->npe, &msg, "HSS_LOAD_CONFIG") || in hss_config()
462 npe_recv_message(port->npe, &msg, "FLUSH_IT"); in hss_config()
485 if (npe_recv_message(port->npe, &msg, "PORT_ERROR_READ")) { in hss_get_status()
523 if (!npe_running(port->npe)) { in hss_load_firmware()
524 err = npe_load_firmware(port->npe, npe_nam in hss_load_firmware()
[all...]
/kernel/linux/linux-5.10/drivers/net/wan/
H A Dixp4xx_hss.c23 #include <linux/soc/ixp4xx/npe.h>
256 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_nam in hss_load_firmware()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c37 #include <linux/soc/ixp4xx/npe.h>
170 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, in eth_open()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/
H A Dixp4xx_crypto.c30 #include <linux/soc/ixp4xx/npe.h>
220 static struct npe *npe_c;
/kernel/linux/linux-6.6/drivers/crypto/intel/ixp4xx/
H A Dixp4xx_crypto.c31 #include <linux/soc/ixp4xx/npe.h>
223 static struct npe *npe_c;
467 ret = of_parse_phandle_with_fixed_args(np, "intel,npe-handle", in init_ixp_crypto()

Completed in 15 milliseconds