Home
last modified time | relevance | path

Searched refs:cvm_oct_device (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/mips/cavium/octe/
H A Dethernet.c88 struct ifnet *cvm_oct_device[TOTAL_NUMBER_OF_PORTS]; variable
134 if (cvm_oct_device[port]) { in cvm_do_timer()
137 cvm_oct_private_t *priv = (cvm_oct_private_t *)cvm_oct_device[port]->if_softc; in cvm_do_timer()
246 cvm_oct_do_interrupt, NULL, cvm_oct_device, in cvm_oct_configure_common_hw()
333 memset(cvm_oct_device, 0, sizeof(cvm_oct_device)); in cvm_oct_init_module()
438 cvm_oct_device[priv->port] = ifp; in cvm_oct_init_module()
484 if (cvm_oct_device[port]) { in cvm_oct_cleanup_module()
485 cvm_oct_tx_shutdown(cvm_oct_device[port]); in cvm_oct_cleanup_module()
487 unregister_netdev(cvm_oct_device[port]); in cvm_oct_cleanup_module()
488 kfree(cvm_oct_device[port]); in cvm_oct_cleanup_module()
[all …]
H A Dethernet-rx.c54 extern struct ifnet *cvm_oct_device[];
171 CVMX_PREFETCH(cvm_oct_device, 0); in cvm_oct_tasklet_rx()
197 CVMX_PREFETCH(cvm_oct_device[work->word1.cn38xx.ipprt], 0); in cvm_oct_tasklet_rx()
280 cvm_oct_device[work->word1.cn38xx.ipprt])) { in cvm_oct_tasklet_rx()
281 struct ifnet *ifp = cvm_oct_device[work->word1.cn38xx.ipprt]; in cvm_oct_tasklet_rx()
H A Dethernet-rgmii.c54 extern struct ifnet *cvm_oct_device[];
161 struct ifnet *ifp = cvm_oct_device[cvmx_helper_get_ipd_port(interface, index)]; in cvm_oct_rgmii_rml_interrupt()
185 struct ifnet *ifp = cvm_oct_device[cvmx_helper_get_ipd_port(interface, index)]; in cvm_oct_rgmii_rml_interrupt()