Home
last modified time | relevance | path

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

/linux/drivers/soc/ixp4xx/
H A Dixp4xx-npe.c24 #include <linux/soc/ixp4xx/npe.h>
127 #define print_npe(pri, npe, fmt, ...) \ argument
128 printk(pri "%s: " fmt, npe_name(npe), ## __VA_ARGS__)
131 #define debug_msg(npe, fmt, ...) \ argument
132 print_npe(KERN_DEBUG, npe, fmt, ## __VA_ARGS__)
134 #define debug_msg(npe, fmt, ...) argument
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...]
H A DMakefile3 obj-$(CONFIG_IXP4XX_NPE) += ixp4xx-npe.o
/linux/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
20 regsnpe global() argument
[all...]
/linux/arch/arm/boot/dts/intel/ixp/
H A Dintel-ixp4xx.dtsi139 npe: npe@c8006000 { label
149 intel,npe-handle = <&npe 0>;
156 intel,npe-handle = <&npe 0>;
163 intel,npe-handle = <&npe 2>;
177 intel,npe-handle = <&npe
[all...]
H A Dintel-ixp45x-ixp46x.dtsi50 intel,npe = <1>;
61 intel,npe = <2>;
72 intel,npe = <3>;
H A Dintel-ixp43x-kixrp435.dts65 intel,npe-handle = <&npe 0>;
H A Dintel-ixp43x-gateworks-gw2358.dts196 intel,npe-handle = <&npe 0>;
H A Dintel-ixp42x-goramo-multilink.dts118 npe@c8006000 {
/linux/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c39 #include <linux/soc/ixp4xx/npe.h>
169 u8 npe; /* NPE instance used by this interface */ member
196 struct npe *npe; member
1189 struct npe *npe = port->npe; in ixp4xx_do_change_mtu() local
1208 if (npe_send_recv_message(npe, &msg, "ETH_SET_MAX_FRAME_LENGTH")) in ixp4xx_do_change_mtu()
1211 npe_name(npe), new_mtu); in ixp4xx_do_change_mtu()
1237 struct npe *np in eth_open() local
[all...]
/linux/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...]
/linux/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()
/linux/
H A DMAINTAINERS2767 F: drivers/soc/ixp4xx/ixp4xx-npe.c
2769 F: include/linux/soc/ixp4xx/npe.h