Home
last modified time | relevance | path

Searched refs:npi (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/net/ppp/
Dppp_generic.c706 struct npioctl npi; in ppp_ioctl() local
893 if (copy_from_user(&npi, argp, sizeof(npi))) in ppp_ioctl()
895 err = proto_to_npindex(npi.protocol); in ppp_ioctl()
901 npi.mode = ppp->npmode[i]; in ppp_ioctl()
902 if (copy_to_user(argp, &npi, sizeof(npi))) in ppp_ioctl()
905 ppp->npmode[i] = npi.mode; in ppp_ioctl()
1431 int npi, proto; in ppp_start_xmit() local
1434 npi = ethertype_to_npindex(ntohs(skb->protocol)); in ppp_start_xmit()
1435 if (npi < 0) in ppp_start_xmit()
1439 switch (ppp->npmode[npi]) { in ppp_start_xmit()
[all …]
/linux-6.1.9/arch/mips/cavium-octeon/executive/
DMakefile15 cvmx-helper-rgmii.o cvmx-helper-sgmii.o cvmx-helper-npi.o \
/linux-6.1.9/drivers/net/dsa/ocelot/
Dfelix.c373 ocelot->npi = port; in felix_npi_port_init()
394 ocelot->npi = -1; in felix_npi_port_deinit()
434 felix_npi_port_deinit(ocelot, ocelot->npi); in felix_tag_npi_teardown()
472 felix_npi_port_deinit(ocelot, ocelot->npi); in felix_tag_npi_change_master()
865 if (port == ocelot->npi) in felix_mdb_add()
885 if (port == ocelot->npi) in felix_mdb_del()
914 if (port == ocelot->npi) in felix_bridge_flags()
998 if (port == ocelot->npi) in felix_vlan_prepare()
1117 if (ocelot->npi >= 0) { in felix_port_enable()
1120 if (felix_cpu_port_for_master(ds, master) != ocelot->npi) { in felix_port_enable()
Dfelix_vsc9959.c2508 if (ocelot->npi >= 0) in vsc9959_cut_through_fwd()
2509 mask |= BIT(ocelot->npi); in vsc9959_cut_through_fwd()
/linux-6.1.9/arch/mips/include/asm/octeon/
Dcvmx-ciu-defs.h146 __BITFIELD_FIELD(uint64_t npi:1,
Dcvmx-npi-defs.h2243 uint64_t npi:1; member
2251 uint64_t npi:1;
2312 uint64_t npi:1; member
2320 uint64_t npi:1;
2383 uint64_t npi:1; member
2391 uint64_t npi:1;
2450 uint64_t npi:1; member
2458 uint64_t npi:1;
/linux-6.1.9/drivers/staging/octeon/
Docteon-stubs.h1034 uint64_t npi:1; member
1069 uint64_t npi:1; member
1104 uint64_t npi:1; member
1135 uint64_t npi:1; member
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_vsc7514.c573 ocelot->npi = -1; in mscc_ocelot_probe()
Docelot.c894 if (port != ocelot->npi) in ocelot_phylink_mac_link_up()
2284 if (port == ocelot->npi) { in ocelot_port_set_maxlen()
2316 if (port == ocelot->npi) { in ocelot_get_max_mtu()
/linux-6.1.9/include/soc/mscc/
Docelot.h995 int npi; member