Lines Matching full:npe

26 #include <linux/soc/ixp4xx/npe.h>
51 #define RX_SIZE (HDLC_MAX_MRU + 4) /* NPE needs more space */
116 /* Invert data between NPE and HSS FIFOs? (default = no) */
215 /* NPE command codes */
219 /* triggers the NPE to load the contents of the configuration table */
222 /* triggers the NPE to return an HssErrorReadResponse message */
225 /* triggers the NPE to reset internal status and enable the HssPacketized
260 struct npe *npe; member
284 /* NPE message structure */
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_name(port->npe), in hss_load_firmware()
1173 netdev_crit(dev, "unable to drain RX queue, %i buffer(s) left in NPE\n", in hss_hdlc_close()
1189 netdev_crit(dev, "unable to drain TX queue, %i buffer(s) left in NPE\n", in hss_hdlc_close()
1423 err = of_parse_phandle_with_fixed_args(np, "intel,npe-handle", 1, 0, in ixp4xx_hss_probe()
1426 return dev_err_probe(dev, err, "no NPE engine specified\n"); in ixp4xx_hss_probe()
1427 /* NPE ID 0x00, 0x10, 0x20... */ in ixp4xx_hss_probe()
1428 port->npe = npe_request(npe_spec.args[0] << 4); in ixp4xx_hss_probe()
1429 if (!port->npe) { in ixp4xx_hss_probe()
1430 dev_err(dev, "unable to obtain NPE instance\n"); in ixp4xx_hss_probe()
1521 npe_release(port->npe); in ixp4xx_hss_probe()
1531 npe_release(port->npe); in ixp4xx_hss_remove()