Home
last modified time | relevance | path

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

/drivers/net/ppp/
Dppp_generic.c621 struct npioctl npi; in ppp_ioctl() local
782 if (copy_from_user(&npi, argp, sizeof(npi))) in ppp_ioctl()
784 err = proto_to_npindex(npi.protocol); in ppp_ioctl()
790 npi.mode = ppp->npmode[i]; in ppp_ioctl()
791 if (copy_to_user(argp, &npi, sizeof(npi))) in ppp_ioctl()
794 ppp->npmode[i] = npi.mode; in ppp_ioctl()
1320 int npi, proto; in ppp_start_xmit() local
1323 npi = ethertype_to_npindex(ntohs(skb->protocol)); in ppp_start_xmit()
1324 if (npi < 0) in ppp_start_xmit()
1328 switch (ppp->npmode[npi]) { in ppp_start_xmit()
[all …]
/drivers/net/ethernet/mscc/
Docelot.c620 if (port == ocelot->npi) in ocelot_fdb_add()
1094 if (port == ocelot->npi) in ocelot_port_mdb_add()
1146 if (port == ocelot->npi) in ocelot_port_mdb_del()
1360 if (port == ocelot->npi) { in ocelot_port_set_maxlen()
1392 if (port == ocelot->npi) { in ocelot_get_max_mtu()
Docelot_vsc7514.c1262 ocelot->npi = -1; in mscc_ocelot_probe()
/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
/drivers/net/dsa/ocelot/
Dfelix.c561 ocelot->npi = port; in felix_npi_port_init()