npe                97 arch/powerpc/platforms/powernv/npu-dma.c static struct pnv_ioda_pe *get_gpu_pci_dev_and_pe(struct pnv_ioda_pe *npe,
npe               106 arch/powerpc/platforms/powernv/npu-dma.c 	pdev = pnv_pci_get_gpu_dev(npe->pdev);
npe               130 arch/powerpc/platforms/powernv/npu-dma.c 	struct pnv_ioda_pe *npe = container_of(table_group, struct pnv_ioda_pe,
npe               132 arch/powerpc/platforms/powernv/npu-dma.c 	struct pnv_phb *phb = npe->phb;
npe               141 arch/powerpc/platforms/powernv/npu-dma.c 	if (npe->table_group.tables[num2])
npe               142 arch/powerpc/platforms/powernv/npu-dma.c 		pnv_npu_unset_window(&npe->table_group, num2);
npe               144 arch/powerpc/platforms/powernv/npu-dma.c 	pe_info(npe, "Setting up window %llx..%llx pg=%lx\n",
npe               149 arch/powerpc/platforms/powernv/npu-dma.c 			npe->pe_number,
npe               150 arch/powerpc/platforms/powernv/npu-dma.c 			npe->pe_number,
npe               156 arch/powerpc/platforms/powernv/npu-dma.c 		pe_err(npe, "Failed to configure TCE table, err %lld\n", rc);
npe               163 arch/powerpc/platforms/powernv/npu-dma.c 			tbl, &npe->table_group);
npe               170 arch/powerpc/platforms/powernv/npu-dma.c 	struct pnv_ioda_pe *npe = container_of(table_group, struct pnv_ioda_pe,
npe               172 arch/powerpc/platforms/powernv/npu-dma.c 	struct pnv_phb *phb = npe->phb;
npe               175 arch/powerpc/platforms/powernv/npu-dma.c 	if (!npe->table_group.tables[num])
npe               178 arch/powerpc/platforms/powernv/npu-dma.c 	pe_info(npe, "Removing DMA window\n");
npe               180 arch/powerpc/platforms/powernv/npu-dma.c 	rc = opal_pci_map_pe_dma_window(phb->opal_id, npe->pe_number,
npe               181 arch/powerpc/platforms/powernv/npu-dma.c 			npe->pe_number,
npe               185 arch/powerpc/platforms/powernv/npu-dma.c 		pe_err(npe, "Unmapping failed, ret = %lld\n", rc);
npe               190 arch/powerpc/platforms/powernv/npu-dma.c 	pnv_pci_unlink_table_and_group(npe->table_group.tables[num],
npe               191 arch/powerpc/platforms/powernv/npu-dma.c 			&npe->table_group);
npe               199 arch/powerpc/platforms/powernv/npu-dma.c 	struct pnv_ioda_pe *npe = container_of(table_group, struct pnv_ioda_pe,
npe               201 arch/powerpc/platforms/powernv/npu-dma.c 	struct pnv_phb *phb = npe->phb;
npe               211 arch/powerpc/platforms/powernv/npu-dma.c 	if (npe->table_group.tables[0]) {
npe               212 arch/powerpc/platforms/powernv/npu-dma.c 		pnv_npu_unset_window(&npe->table_group, 0);
npe               218 arch/powerpc/platforms/powernv/npu-dma.c 			npe->pe_number, npe->pe_number,
npe               221 arch/powerpc/platforms/powernv/npu-dma.c 		pe_err(npe, "Failed to disable bypass, err %lld\n", rc);
npe               224 arch/powerpc/platforms/powernv/npu-dma.c 	pnv_pci_ioda2_tce_invalidate_entire(npe->phb, false);
npe               226 arch/powerpc/platforms/powernv/npu-dma.c 	get_gpu_pci_dev_and_pe(npe, &gpdev);
npe               233 arch/powerpc/platforms/powernv/npu-dma.c 	struct pnv_ioda_pe *npe = container_of(table_group, struct pnv_ioda_pe,
npe               237 arch/powerpc/platforms/powernv/npu-dma.c 	get_gpu_pci_dev_and_pe(npe, &gpdev);
npe               215 arch/powerpc/platforms/powernv/pci.h extern struct pnv_ioda_pe *pnv_pci_npu_setup_iommu(struct pnv_ioda_pe *npe);
npe               217 drivers/crypto/ixp4xx_crypto.c static struct npe *npe_c;
npe               168 drivers/net/ethernet/xscale/ixp4xx_eth.c 	struct npe *npe;
npe              1168 drivers/net/ethernet/xscale/ixp4xx_eth.c 	struct npe *npe = port->npe;
npe              1172 drivers/net/ethernet/xscale/ixp4xx_eth.c 	if (!npe_running(npe)) {
npe              1173 drivers/net/ethernet/xscale/ixp4xx_eth.c 		err = npe_load_firmware(npe, npe_name(npe), &dev->dev);
npe              1177 drivers/net/ethernet/xscale/ixp4xx_eth.c 		if (npe_recv_message(npe, &msg, "ETH_GET_STATUS")) {
npe              1179 drivers/net/ethernet/xscale/ixp4xx_eth.c 			       npe_name(npe));
npe              1195 drivers/net/ethernet/xscale/ixp4xx_eth.c 		if (npe_send_recv_message(port->npe, &msg, "ETH_SET_RXQ"))
npe              1207 drivers/net/ethernet/xscale/ixp4xx_eth.c 	if (npe_send_recv_message(port->npe, &msg, "ETH_SET_MAC"))
npe              1213 drivers/net/ethernet/xscale/ixp4xx_eth.c 	if (npe_send_recv_message(port->npe, &msg, "ETH_SET_FIREWALL_MODE"))
npe              1290 drivers/net/ethernet/xscale/ixp4xx_eth.c 	if (npe_send_recv_message(port->npe, &msg, "ETH_ENABLE_LOOPBACK"))
npe              1343 drivers/net/ethernet/xscale/ixp4xx_eth.c 	if (npe_send_recv_message(port->npe, &msg, "ETH_DISABLE_LOOPBACK"))
npe              1439 drivers/net/ethernet/xscale/ixp4xx_eth.c 	if (!(port->npe = npe_request(NPE_ID(port->id))))
npe              1475 drivers/net/ethernet/xscale/ixp4xx_eth.c 	       npe_name(port->npe));
npe              1485 drivers/net/ethernet/xscale/ixp4xx_eth.c 	npe_release(port->npe);
npe              1499 drivers/net/ethernet/xscale/ixp4xx_eth.c 	npe_release(port->npe);
npe               255 drivers/net/wan/ixp4xx_hss.c 	struct npe *npe;
npe               360 drivers/net/wan/ixp4xx_hss.c 	if (npe_send_message(port->npe, msg, what)) {
npe               362 drivers/net/wan/ixp4xx_hss.c 			port->id, val[0], val[1], npe_name(port->npe));
npe               446 drivers/net/wan/ixp4xx_hss.c 	if (npe_recv_message(port->npe, &msg, "HSS_LOAD_CONFIG") ||
npe               454 drivers/net/wan/ixp4xx_hss.c 	npe_recv_message(port->npe, &msg, "FLUSH_IT");
npe               477 drivers/net/wan/ixp4xx_hss.c 	if (npe_recv_message(port->npe, &msg, "PORT_ERROR_READ")) {
npe               515 drivers/net/wan/ixp4xx_hss.c 	if (!npe_running(port->npe) &&
npe               516 drivers/net/wan/ixp4xx_hss.c 	    (err = npe_load_firmware(port->npe, npe_name(port->npe),
npe              1335 drivers/net/wan/ixp4xx_hss.c 	if ((port->npe = npe_request(0)) == NULL) {
npe              1370 drivers/net/wan/ixp4xx_hss.c 	npe_release(port->npe);
npe              1382 drivers/net/wan/ixp4xx_hss.c 	npe_release(port->npe);
npe               124 drivers/soc/ixp4xx/ixp4xx-npe.c #define print_npe(pri, npe, fmt, ...)					\
npe               125 drivers/soc/ixp4xx/ixp4xx-npe.c 	printk(pri "%s: " fmt, npe_name(npe), ## __VA_ARGS__)
npe               128 drivers/soc/ixp4xx/ixp4xx-npe.c #define debug_msg(npe, fmt, ...)					\
npe               129 drivers/soc/ixp4xx/ixp4xx-npe.c 	print_npe(KERN_DEBUG, npe, fmt, ## __VA_ARGS__)
npe               131 drivers/soc/ixp4xx/ixp4xx-npe.c #define debug_msg(npe, fmt, ...)
npe               152 drivers/soc/ixp4xx/ixp4xx-npe.c static struct npe npe_tab[NPE_COUNT] = {
npe               162 drivers/soc/ixp4xx/ixp4xx-npe.c int npe_running(struct npe *npe)
npe               164 drivers/soc/ixp4xx/ixp4xx-npe.c 	return (__raw_readl(&npe->regs->exec_status_cmd) & STAT_RUN) != 0;
npe               167 drivers/soc/ixp4xx/ixp4xx-npe.c static void npe_cmd_write(struct npe *npe, u32 addr, int cmd, u32 data)
npe               169 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(data, &npe->regs->exec_data);
npe               170 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(addr, &npe->regs->exec_addr);
npe               171 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(cmd, &npe->regs->exec_status_cmd);
npe               174 drivers/soc/ixp4xx/ixp4xx-npe.c static u32 npe_cmd_read(struct npe *npe, u32 addr, int cmd)
npe               176 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(addr, &npe->regs->exec_addr);
npe               177 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(cmd, &npe->regs->exec_status_cmd);
npe               181 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_readl(&npe->regs->exec_data);
npe               182 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_readl(&npe->regs->exec_data);
npe               183 drivers/soc/ixp4xx/ixp4xx-npe.c 	return __raw_readl(&npe->regs->exec_data);
npe               186 drivers/soc/ixp4xx/ixp4xx-npe.c static void npe_clear_active(struct npe *npe, u32 reg)
npe               188 drivers/soc/ixp4xx/ixp4xx-npe.c 	u32 val = npe_cmd_read(npe, reg, CMD_RD_ECS_REG);
npe               189 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_cmd_write(npe, reg, CMD_WR_ECS_REG, val & ~ECS_REG_0_ACTIVE);
npe               192 drivers/soc/ixp4xx/ixp4xx-npe.c static void npe_start(struct npe *npe)
npe               195 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_clear_active(npe, ECS_PRI_1_CTXT_REG_0);
npe               196 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_clear_active(npe, ECS_PRI_2_CTXT_REG_0);
npe               197 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_clear_active(npe, ECS_DBG_CTXT_REG_0);
npe               199 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_CLR_PIPE, &npe->regs->exec_status_cmd);
npe               200 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_START, &npe->regs->exec_status_cmd);
npe               203 drivers/soc/ixp4xx/ixp4xx-npe.c static void npe_stop(struct npe *npe)
npe               205 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_STOP, &npe->regs->exec_status_cmd);
npe               206 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_CLR_PIPE, &npe->regs->exec_status_cmd); /*FIXME?*/
npe               209 drivers/soc/ixp4xx/ixp4xx-npe.c static int __must_check npe_debug_instr(struct npe *npe, u32 instr, u32 ctx,
npe               216 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_cmd_write(npe, ECS_DBG_CTXT_REG_0, CMD_WR_ECS_REG,
npe               224 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_cmd_write(npe, ECS_DBG_CTXT_REG_1, CMD_WR_ECS_REG,
npe               229 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_CLR_PIPE, &npe->regs->exec_status_cmd);
npe               232 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_cmd_write(npe, ECS_INSTRUCT_REG, CMD_WR_ECS_REG, instr);
npe               236 drivers/soc/ixp4xx/ixp4xx-npe.c 	wc = __raw_readl(&npe->regs->watch_count);
npe               239 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_STEP, &npe->regs->exec_status_cmd);
npe               243 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (wc != __raw_readl(&npe->regs->watch_count))
npe               248 drivers/soc/ixp4xx/ixp4xx-npe.c 	print_npe(KERN_ERR, npe, "reset: npe_debug_instr(): timeout\n");
npe               252 drivers/soc/ixp4xx/ixp4xx-npe.c static int __must_check npe_logical_reg_write8(struct npe *npe, u32 addr,
npe               260 drivers/soc/ixp4xx/ixp4xx-npe.c 	return npe_debug_instr(npe, instr, ctx, 1); /* execute it */
npe               263 drivers/soc/ixp4xx/ixp4xx-npe.c static int __must_check npe_logical_reg_write16(struct npe *npe, u32 addr,
npe               271 drivers/soc/ixp4xx/ixp4xx-npe.c 	return npe_debug_instr(npe, instr, ctx, 1); /* execute it */
npe               274 drivers/soc/ixp4xx/ixp4xx-npe.c static int __must_check npe_logical_reg_write32(struct npe *npe, u32 addr,
npe               278 drivers/soc/ixp4xx/ixp4xx-npe.c 	if (npe_logical_reg_write16(npe, addr, val >> 16, ctx))
npe               280 drivers/soc/ixp4xx/ixp4xx-npe.c 	return npe_logical_reg_write16(npe, addr + 2, val & 0xFFFF, ctx);
npe               283 drivers/soc/ixp4xx/ixp4xx-npe.c static int npe_reset(struct npe *npe)
npe               288 drivers/soc/ixp4xx/ixp4xx-npe.c 	ctl = (__raw_readl(&npe->regs->messaging_control) | 0x3F000000) &
npe               292 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(ctl & 0x3F00FFFF, &npe->regs->messaging_control);
npe               296 drivers/soc/ixp4xx/ixp4xx-npe.c 	exec_count = __raw_readl(&npe->regs->exec_count);
npe               297 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->exec_count);
npe               300 drivers/soc/ixp4xx/ixp4xx-npe.c 	ctx_reg2 = npe_cmd_read(npe, ECS_DBG_CTXT_REG_2, CMD_RD_ECS_REG);
npe               301 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_cmd_write(npe, ECS_DBG_CTXT_REG_2, CMD_WR_ECS_REG, ctx_reg2 |
npe               305 drivers/soc/ixp4xx/ixp4xx-npe.c 	while (__raw_readl(&npe->regs->watchpoint_fifo) & WFIFO_VALID)
npe               307 drivers/soc/ixp4xx/ixp4xx-npe.c 	while (__raw_readl(&npe->regs->messaging_status) & MSGSTAT_OFNE)
npe               309 drivers/soc/ixp4xx/ixp4xx-npe.c 		print_npe(KERN_DEBUG, npe, "npe_reset: read FIFO = 0x%X\n",
npe               310 drivers/soc/ixp4xx/ixp4xx-npe.c 			  __raw_readl(&npe->regs->in_out_fifo));
npe               312 drivers/soc/ixp4xx/ixp4xx-npe.c 	while (__raw_readl(&npe->regs->messaging_status) & MSGSTAT_IFNE)
npe               315 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (npe_debug_instr(npe, INSTR_RD_FIFO, 0, 0))
npe               319 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(RESET_MBOX_STAT, &npe->regs->mailbox_status);
npe               321 drivers/soc/ixp4xx/ixp4xx-npe.c 	if (npe_debug_instr(npe, INSTR_RESET_MBOX, 0, 0))
npe               326 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (npe_logical_reg_write16(npe, NPE_REGMAP, val >> 1, 0))
npe               329 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (npe_logical_reg_write32(npe, (val & 1) * 4, 0, 0))
npe               337 drivers/soc/ixp4xx/ixp4xx-npe.c 	val = npe_cmd_read(npe, ECS_BG_CTXT_REG_0, CMD_RD_ECS_REG);
npe               340 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_cmd_write(npe, ECS_BG_CTXT_REG_0, CMD_WR_ECS_REG, val);
npe               345 drivers/soc/ixp4xx/ixp4xx-npe.c 			if (npe_logical_reg_write8(npe, NPE_STEVT, 0x80, i))
npe               347 drivers/soc/ixp4xx/ixp4xx-npe.c 			if (npe_logical_reg_write16(npe, NPE_STARTPC, 0, i))
npe               351 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (npe_logical_reg_write16(npe, NPE_REGMAP, 0x820, i))
npe               353 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (npe_logical_reg_write8(npe, NPE_CINDEX, 0, i))
npe               359 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_cmd_write(npe, ECS_DBG_CTXT_REG_0, CMD_WR_ECS_REG, 0);
npe               361 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_CLR_PIPE, &npe->regs->exec_status_cmd);
npe               363 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(exec_count, &npe->regs->exec_count);
npe               364 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_cmd_write(npe, ECS_DBG_CTXT_REG_2, CMD_WR_ECS_REG, ctx_reg2);
npe               368 drivers/soc/ixp4xx/ixp4xx-npe.c 		npe_cmd_write(npe, ecs_reset[val].reg, CMD_WR_ECS_REG,
npe               372 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_CLR_PROFILE_CNT, &npe->regs->exec_status_cmd);
npe               374 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->exec_count);
npe               375 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->action_points[0]);
npe               376 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->action_points[1]);
npe               377 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->action_points[2]);
npe               378 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->action_points[3]);
npe               379 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->watch_count);
npe               384 drivers/soc/ixp4xx/ixp4xx-npe.c 				  ~(IXP4XX_FEATURE_RESET_NPEA << npe->id));
npe               387 drivers/soc/ixp4xx/ixp4xx-npe.c 				  (IXP4XX_FEATURE_RESET_NPEA << npe->id));
npe               390 drivers/soc/ixp4xx/ixp4xx-npe.c 		    (IXP4XX_FEATURE_RESET_NPEA << npe->id))
npe               397 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_stop(npe);
npe               400 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(ctl, &npe->regs->messaging_control);
npe               405 drivers/soc/ixp4xx/ixp4xx-npe.c int npe_send_message(struct npe *npe, const void *msg, const char *what)
npe               410 drivers/soc/ixp4xx/ixp4xx-npe.c 	debug_msg(npe, "Trying to send message %s [%08X:%08X]\n",
npe               413 drivers/soc/ixp4xx/ixp4xx-npe.c 	if (__raw_readl(&npe->regs->messaging_status) & MSGSTAT_IFNE) {
npe               414 drivers/soc/ixp4xx/ixp4xx-npe.c 		debug_msg(npe, "NPE input FIFO not empty\n");
npe               418 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(send[0], &npe->regs->in_out_fifo);
npe               420 drivers/soc/ixp4xx/ixp4xx-npe.c 	if (!(__raw_readl(&npe->regs->messaging_status) & MSGSTAT_IFNF)) {
npe               421 drivers/soc/ixp4xx/ixp4xx-npe.c 		debug_msg(npe, "NPE input FIFO full\n");
npe               425 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(send[1], &npe->regs->in_out_fifo);
npe               428 drivers/soc/ixp4xx/ixp4xx-npe.c 	       (__raw_readl(&npe->regs->messaging_status) & MSGSTAT_IFNE)) {
npe               434 drivers/soc/ixp4xx/ixp4xx-npe.c 		debug_msg(npe, "Timeout sending message\n");
npe               439 drivers/soc/ixp4xx/ixp4xx-npe.c 	debug_msg(npe, "Sending a message took %i cycles\n", cycles);
npe               444 drivers/soc/ixp4xx/ixp4xx-npe.c int npe_recv_message(struct npe *npe, void *msg, const char *what)
npe               449 drivers/soc/ixp4xx/ixp4xx-npe.c 	debug_msg(npe, "Trying to receive message %s\n", what);
npe               452 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (__raw_readl(&npe->regs->messaging_status) & MSGSTAT_OFNE) {
npe               453 drivers/soc/ixp4xx/ixp4xx-npe.c 			recv[cnt++] = __raw_readl(&npe->regs->in_out_fifo);
npe               464 drivers/soc/ixp4xx/ixp4xx-npe.c 		debug_msg(npe, "Received [%08X]\n", recv[0]);
npe               467 drivers/soc/ixp4xx/ixp4xx-npe.c 		debug_msg(npe, "Received [%08X:%08X]\n", recv[0], recv[1]);
npe               472 drivers/soc/ixp4xx/ixp4xx-npe.c 		debug_msg(npe, "Timeout waiting for message\n");
npe               477 drivers/soc/ixp4xx/ixp4xx-npe.c 	debug_msg(npe, "Receiving a message took %i cycles\n", cycles);
npe               482 drivers/soc/ixp4xx/ixp4xx-npe.c int npe_send_recv_message(struct npe *npe, void *msg, const char *what)
npe               487 drivers/soc/ixp4xx/ixp4xx-npe.c 	if ((result = npe_send_message(npe, msg, what)) != 0)
npe               489 drivers/soc/ixp4xx/ixp4xx-npe.c 	if ((result = npe_recv_message(npe, recv, what)) != 0)
npe               493 drivers/soc/ixp4xx/ixp4xx-npe.c 		debug_msg(npe, "Message %s: unexpected message received\n",
npe               501 drivers/soc/ixp4xx/ixp4xx-npe.c int npe_load_firmware(struct npe *npe, const char *name, struct device *dev)
npe               534 drivers/soc/ixp4xx/ixp4xx-npe.c 		print_npe(KERN_ERR, npe, "incomplete firmware file\n");
npe               540 drivers/soc/ixp4xx/ixp4xx-npe.c 	print_npe(KERN_DEBUG, npe, "firmware: %08X %08X %08X (0x%X bytes)\n",
npe               548 drivers/soc/ixp4xx/ixp4xx-npe.c 		print_npe(KERN_ERR, npe, "bad firmware file magic: 0x%X\n",
npe               553 drivers/soc/ixp4xx/ixp4xx-npe.c 		print_npe(KERN_ERR, npe,
npe               557 drivers/soc/ixp4xx/ixp4xx-npe.c 	if (((image->id >> 24) & 0xF /* NPE ID */) != npe->id) {
npe               558 drivers/soc/ixp4xx/ixp4xx-npe.c 		print_npe(KERN_ERR, npe, "firmware file NPE ID mismatch\n");
npe               566 drivers/soc/ixp4xx/ixp4xx-npe.c 		print_npe(KERN_INFO, npe, "IXP43x/IXP46x firmware ignored on "
npe               571 drivers/soc/ixp4xx/ixp4xx-npe.c 	if (npe_running(npe)) {
npe               572 drivers/soc/ixp4xx/ixp4xx-npe.c 		print_npe(KERN_INFO, npe, "unable to load firmware, NPE is "
npe               578 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_stop(npe);
npe               579 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_reset(npe);
npe               582 drivers/soc/ixp4xx/ixp4xx-npe.c 	print_npe(KERN_INFO, npe, "firmware functionality 0x%X, "
npe               587 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (!npe->id)
npe               602 drivers/soc/ixp4xx/ixp4xx-npe.c 		print_npe(KERN_INFO, npe, "firmware EOF block marker not "
npe               608 drivers/soc/ixp4xx/ixp4xx-npe.c 	print_npe(KERN_DEBUG, npe, "%i firmware blocks found\n", blocks);
npe               615 drivers/soc/ixp4xx/ixp4xx-npe.c 			print_npe(KERN_INFO, npe, "invalid offset 0x%X of "
npe               630 drivers/soc/ixp4xx/ixp4xx-npe.c 			print_npe(KERN_INFO, npe, "invalid firmware block #%i "
npe               635 drivers/soc/ixp4xx/ixp4xx-npe.c 			print_npe(KERN_INFO, npe, "firmware block #%i doesn't "
npe               644 drivers/soc/ixp4xx/ixp4xx-npe.c 			npe_cmd_write(npe, cb->npe_addr + j, cmd, cb->data[j]);
npe               647 drivers/soc/ixp4xx/ixp4xx-npe.c 	npe_start(npe);
npe               648 drivers/soc/ixp4xx/ixp4xx-npe.c 	if (!npe_running(npe))
npe               649 drivers/soc/ixp4xx/ixp4xx-npe.c 		print_npe(KERN_ERR, npe, "unable to start\n");
npe               654 drivers/soc/ixp4xx/ixp4xx-npe.c 	print_npe(KERN_INFO, npe, "firmware block #%i doesn't fit in NPE "
npe               664 drivers/soc/ixp4xx/ixp4xx-npe.c struct npe *npe_request(unsigned id)
npe               673 drivers/soc/ixp4xx/ixp4xx-npe.c void npe_release(struct npe *npe)
npe               685 drivers/soc/ixp4xx/ixp4xx-npe.c 		struct npe *npe = &npe_tab[i];
npe               697 drivers/soc/ixp4xx/ixp4xx-npe.c 		npe->regs = devm_ioremap_resource(dev, res);
npe               698 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (IS_ERR(npe->regs))
npe               699 drivers/soc/ixp4xx/ixp4xx-npe.c 			return PTR_ERR(npe->regs);
npe               701 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (npe_reset(npe)) {
npe               706 drivers/soc/ixp4xx/ixp4xx-npe.c 		npe->valid = 1;
npe                25 include/linux/soc/ixp4xx/npe.h static inline const char *npe_name(struct npe *npe)
npe                27 include/linux/soc/ixp4xx/npe.h 	return npe_names[npe->id];
npe                30 include/linux/soc/ixp4xx/npe.h int npe_running(struct npe *npe);
npe                31 include/linux/soc/ixp4xx/npe.h int npe_send_message(struct npe *npe, const void *msg, const char *what);
npe                32 include/linux/soc/ixp4xx/npe.h int npe_recv_message(struct npe *npe, void *msg, const char *what);
npe                33 include/linux/soc/ixp4xx/npe.h int npe_send_recv_message(struct npe *npe, void *msg, const char *what);
npe                34 include/linux/soc/ixp4xx/npe.h int npe_load_firmware(struct npe *npe, const char *name, struct device *dev);
npe                35 include/linux/soc/ixp4xx/npe.h struct npe *npe_request(unsigned id);
npe                36 include/linux/soc/ixp4xx/npe.h void npe_release(struct npe *npe);