plateform stringclasses 1
value | repo_name stringclasses 2
values | name stringlengths 1 78 | ext stringclasses 2
values | path stringlengths 15 1.11k | size int64 1 8.55M | source_encoding stringclasses 11
values | md5 stringlengths 32 32 | text stringlengths 0 8.49M |
|---|---|---|---|---|---|---|---|---|
google | android | fw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/fw.c | 94,880 | utf_8 | d36d7c5661b530063570e7daf2538579 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/etherdevice.h>
#include <linux/mlx4/cmd.h>
#include <linux/module.h>
#include <linux/cache.h>
#include "fw.h"
#include "icm.h"
enum {
MLX4_COMMAND_INTERFACE_... |
google | android | en_rx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/en_rx.c | 36,930 | utf_8 | d6b6e42cf4eaaa2e4d27c1b97503724e | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <net/busy_poll.h>
#include <linux/mlx4/cq.h>
#include <linux/slab.h>
#include <linux/mlx4/qp.h>
#include <linux/skbuff.h>
#include <linux/rculist.h>
#include <lin... |
google | android | mcg | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/mcg.c | 42,544 | utf_8 | ba641274774f2dd357ac6e5943e3fa75 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/string.h>
#include <linux/etherdevice.h>
#include <linux/mlx4/cmd.h>
#include <linux/export.h>
#include "mlx4.h"
static const u8 zero_gid[16]; /* automaticall... |
google | android | en_dcb_nl | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c | 13,838 | utf_8 | b6fd7ef52f0a7eb45ffadb1d3d252824 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/dcbnl.h>
#include <linux/math64.h>
#include "mlx4_en.h"
#include "fw_qos.h"
/* Definitions for QCN
*/
struct mlx4_congestion_control_mb_prio_802_1_qau_par... |
google | android | en_selftest | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/en_selftest.c | 5,268 | utf_8 | 32a4cd687e990e2998e364f7aa7179db | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/kernel.h>
#include <linux/ethtool.h>
#include <linux/netdevice.h>
#include <linux/delay.h>
#include <linux/mlx4/driver.h>
#include "mlx4_en.h"
static int m... |
google | android | en_cq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/en_cq.c | 5,867 | utf_8 | 5786f028dc22b1f0122a06e3e20f7636 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/mlx4/cq.h>
#include <linux/mlx4/qp.h>
#include <linux/mlx4/cmd.h>
#include "mlx4_en.h"
static void mlx4_en_cq_event(struct mlx4_cq *cq, enum mlx4_event eve... |
google | android | icm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/icm.c | 11,404 | utf_8 | a7192fe14fa12e6448ac75824035d596 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/errno.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <linux/mlx4/cmd.h>
#include "mlx4.h"
#include "icm.h"
#include ... |
google | android | cq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/cq.c | 11,504 | utf_8 | cabec06c0c57bb84d1f657b7575f93f4 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/hardirq.h>
#include <linux/export.h>
#include <linux/mlx4/cmd.h>
#include <linux/mlx4/cq.h>
#include "mlx4.h"
#include "icm.h"
#define MLX4_CQ_STATUS_OK ( 0 ... |
google | android | sense | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/sense.c | 4,126 | utf_8 | 06b02f07823e0f999735404c4f9b6bd3 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/errno.h>
#include <linux/if_ether.h>
#include <linux/mlx4/cmd.h>
#include "mlx4.h"
int mlx4_SENSE_PORT(struct mlx4_dev *dev, int port,
enum mlx4_port... |
google | android | eq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/eq.c | 45,563 | utf_8 | 74c2c6bb6d843978d7cd5a97de8a51c7 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/mm.h>
#include <linux/dma-mapping.h>
#include <linux/mlx4/cmd.h>
#include <linu... |
google | android | port | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/port.c | 40,921 | utf_8 | 388018e6d5ae1d46f29cc13d4f86cc1a | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/errno.h>
#include <linux/if_ether.h>
#include <linux/if_vlan.h>
#include <linux/export.h>
#include <linux/mlx4/cmd.h>
#include "mlx4.h"
#include "mlx4_stats.h... |
google | android | intf | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/intf.c | 6,867 | utf_8 | 35b43d352f25101693b6cd2e4bc78f2e | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/errno.h>
#include "mlx4.h"
struct mlx4_device_context {
struct list_head list;
struct list_head bond_list;... |
google | android | qp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/qp.c | 26,543 | utf_8 | 14a5ec28905c2e1cc06481b652e1d5ea | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/gfp.h>
#include <linux/export.h>
#include <linux/mlx4/cmd.h>
#include <linux/mlx4/qp.h>
#include "mlx4.h"
#include "icm.h"
/* QP to support BF should have bit... |
google | android | alloc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/alloc.c | 19,210 | utf_8 | fef0c7131636b95d1abde1ab7fa1761c | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/export.h>
#include <linux/bitmap.h>
#include <linux/dma-mapping.h>
#include <linux/vmal... |
google | android | en_clock | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/en_clock.c | 9,034 | utf_8 | 063a5b15ed599528d2a4456083d820bf | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/mlx4/device.h>
#include <linux/clocksource.h>
#include "mlx4_en.h"
/* mlx4_en_read_clock - read raw cycle counter (to be used by time counter)
*/
static c... |
google | android | catas | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/catas.c | 8,961 | utf_8 | 65f2442cd1574457c9cb28b82c94e00b | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/workqueue.h>
#include <linux/module.h>
#include "mlx4.h"
enum {
MLX4_CATAS_POLL_INTERVAL = 5 * HZ,
};
int mlx4_internal_err_reset = 1;
module_param_named(int... |
google | android | mr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/mr.c | 28,323 | utf_8 | c7fe1c5e83821fa253fe7b04aa1fdd21 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/errno.h>
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/vmalloc.h>
#include <linux/mlx4/cmd.h>
#include "mlx4.h"
... |
google | android | cmd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/cmd.c | 90,023 | utf_8 | c48651d8f9225f125344dbe62f59f092 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/pci.h>
#include <linux/errno.h>
#include <linux/mlx4/cmd.h>
#include <linux/mlx4/de... |
google | android | reset | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlx4/reset.c | 5,071 | utf_8 | 50dd5098a2820c64353081107966cb77 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include "mlx4.h"
int mlx4_reset(struct mlx4_dev *... |
google | android | pci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlxsw/pci.c | 51,144 | utf_8 | ff7f231ce8b5389f60bcd2a399fda0aa | /*
* drivers/net/ethernet/mellanox/mlxsw/pci.c
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/export.h>
#include <linux/err.h>
#include <linux/device.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/wait.h>
#include <linux/types.h>
#include ... |
google | android | core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlxsw/core.c | 36,564 | utf_8 | 15475e0def8c469c14df02b0b4c639bd | /*
* drivers/net/ethernet/mellanox/mlxsw/core.c
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/export.h>
#include <linux/err.h>
#include <linux/if_link.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/u64_stats_s... |
google | android | switchx2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlxsw/switchx2.c | 43,191 | utf_8 | 2e40674084c9444de4ad9165df82982b | /*
* drivers/net/ethernet/mellanox/mlxsw/switchx2.c
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/skbuff.h>
#include <linux/if_... |
google | android | spectrum | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 53,695 | utf_8 | 27b932517e0c4b77d1a74752911806fd | /*
* drivers/net/ethernet/mellanox/mlxsw/spectrum.c
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/sk... |
google | android | spectrum_switchdev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c | 24,627 | utf_8 | 82a5bf0d12dfee4e897d82648a5a5ca4 | /*
* drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/skbuff.h>
#include <linux/if_vlan.h>
#include... |
google | android | spectrum_buffers | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c | 12,726 | utf_8 | 7897508eef6a00b27e60f976be404453 | /*
* drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include "spectrum.h"
#include "core.h"
#include "port.h"
#include "reg.h"
struct mlxsw_sp_pb {
u8 index;
u16 size;
};
#define MLXSW_SP_PB(_index, _size) \
{ \
.inde... |
google | android | ne2k-pci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/ne2k-pci.c | 21,580 | utf_8 | 60a57c2e8132659fc2dcf7312171817e | /* ne2k-pci.c: A NE2000 clone on PCI bus driver for Linux. */
/*
A Linux device driver for PCI NE2000 clones.
Authors and other copyright holders:
1992-2000 by Donald Becker, NE2000 core and various modifications.
1995-1998 by Paul Gortmaker, core modifications and PCI support.
Scyld Computing Corporation
410 Sev... |
google | android | ne | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/ne.c | 30,153 | utf_8 | 19af3b5edc2bf5d2f209d37fbba019ba | /* ne.c: A general non-shared-memory NS8390 ethernet driver for linux. */
/*
Written 1992-94 by Donald Becker.
Scyld Computing Corporation, 410 Severn Ave., Suite 210, Annapolis MD 21403
This driver should work with many programmed-I/O 8390-based ethernet
boards. Currently it supports the NE1000, NE200... |
google | android | etherh | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/etherh.c | 20,690 | utf_8 | a8619049e5c0c4a7f23fd1bc151bcb42 | /*
* linux/drivers/acorn/net/etherh.c
*
* EtherM integration re-engineered by Russell King.
*
* Changelog:
* 08-12-1996 RMK 1.00 Created
* RMK 1.03 Added support for EtherLan500 cards
* 23-11-1997 RMK 1.04 Added media autodetection
* 16-04-1998 RMK 1.05 Improved media autodetection
* 10-02-2000 RMK 1.06... |
google | android | stnic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/stnic.c | 7,516 | utf_8 | 3ad6dbdbd940f05834803b638539270b | /* stnic.c : A SH7750 specific part of driver for NS DP83902A ST-NIC.
*
* This file is subject to the terms and conditions of the GNU General Public
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/netdevice.h>
#inc... |
google | android | 8390p | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/8390p.c | 2,249 | utf_8 | fc80cffa8937e97be14363dff7fb70f5 | /* 8390 core for ISA devices needing bus delays */
static const char version[] =
#define ei_inb(_p) inb(_p)
#define ei_outb(_v, _p) outb(_v, _p)
#define ei_inb_p(_p) inb_p(_p)
#define ei_outb_p(_v, _p) outb_p(_v, _p)
#include "lib8390.c"
int eip_open(struct net_device *dev)
{
return __ei_open(dev);
}
EXPORT_SYMBOL(eip... |
google | android | smc-ultra | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/smc-ultra.c | 19,473 | utf_8 | f77d655e4eff2627b8b432333e7d12d5 | /* smc-ultra.c: A SMC Ultra ethernet driver for linux. */
/*
This is a driver for the SMC Ultra and SMC EtherEZ ISA ethercards.
Written 1993-1998 by Donald Becker.
Scyld Computing Corporation
410 Severn Ave., Suite 210
Annapolis MD 21403
This driver uses the cards in the 8390-compatible mode.
Most of the run-tim... |
google | android | lib8390 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/lib8390.c | 35,386 | utf_8 | bb4a5b136815d49793916d3bdc1ecce6 | /* 8390.c: A general NS8390 ethernet driver core for linux. */
/*
Written 1992-94 by Donald Becker.
Scyld Computing Corporation
410 Severn Ave., Suite 210
Annapolis MD 21403
This is the chip-specific code for many 8390-based ethernet adaptors.
This is not a complete driver, it must be combined with board-specif... |
google | android | mac8390 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/mac8390.c | 23,715 | utf_8 | 450b5d1b7a6c6b052ef80628d7b425a1 | /* mac8390.c: New driver for 8390-based Nubus (or Nubus-alike)
Ethernet cards on Linux */
/* Based on the former daynaport.c driver, by Alan Cox. Some code
taken from or inspired by skeleton.c by Donald Becker, acenic.c by
Jes Sorensen, and ne2k-pci.c by Donald Becker and Paul Gortmaker.
/* 2003-12-26: Make s... |
google | android | pcnet_cs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/pcnet_cs.c | 61,801 | utf_8 | 411c703b12acdaba32f81c928203c10e | /*======================================================================
A PCMCIA ethernet driver for NS8390-based cards
This driver supports the D-Link DE-650 and Linksys EthernetCard
cards, the newer D-Link and Linksys combo cards, Accton EN2212
cards, the RPTI EP400, and the PreMax PE-200 in non-shar... |
google | android | 8390 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/8390.c | 2,095 | utf_8 | 536e5081320c9cd725b0e9f5875da128 | /* 8390 core for usual drivers */
static const char version[] =
#include "lib8390.c"
int ei_open(struct net_device *dev)
{
return __ei_open(dev);
}
EXPORT_SYMBOL(ei_open);
int ei_close(struct net_device *dev)
{
return __ei_close(dev);
}
EXPORT_SYMBOL(ei_close);
netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct ne... |
google | android | zorro8390 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/zorro8390.c | 13,079 | utf_8 | 8dfe8c3c6bf6162cc61c97f3aa8ae0cc | /*
* Amiga Linux/m68k and Linux/PPC Zorro NS8390 Ethernet Driver
*
* distribution for more details.
*
* ---------------------------------------------------------------------------
*
* The Ariadne II and X-Surf are Zorro-II boards containing Realtek RTL8019AS
* Ethernet Controllers.
*/
#define pr_fmt(fmt) ... |
google | android | apne | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/apne.c | 17,466 | utf_8 | 5201dfd2c93ec0a353c43e7f4a72993e | /*
* Amiga Linux/68k 8390 based PCMCIA Ethernet Driver for the Amiga 1200
*
*
* ----------------------------------------------------------------------------
*
* This file is subject to the terms and conditions of the GNU General Public
* distribution for more details.
*
* --------------------------------------... |
google | android | hydra | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/hydra.c | 7,801 | utf_8 | ce095124f44cadd0a0291edeb3593f0f | /* Oldenburg 2000 */
/* The Amiganet is a Zorro-II board made by Hydra Systems. It contains a */
/* NS8390 NIC (network interface controller) clone, 16 or 64K on-board RAM */
/* and 10BASE-2 (thin coax) and AUI connectors. */
#include <linux/module.h>
#include <linux/kernel.h>
#include <... |
google | android | ax88796 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/ax88796.c | 24,777 | utf_8 | ccaf021158cfe76cf8c71e07916ac6b8 | /* drivers/net/ethernet/8390/ax88796.c
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/isapnp.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/timer.h>
#include <linux/netdevice.h>
#inclu... |
google | android | axnet_cs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/axnet_cs.c | 51,714 | utf_8 | dde5cdae901b7f513c8bc4ac81d9d774 | /*======================================================================
A PCMCIA ethernet driver for Asix AX88190-based cards
The Asix AX88190 is a NS8390-derived chipset with a few nasty
idiosyncracies that make it very inconvenient to support with a
standard 8390 driver. This driver is based on pcne... |
google | android | mcf8390 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/mcf8390.c | 12,347 | utf_8 | cb9f28cd96807258370d8e3cc39030cd | /*
* Support for ColdFire CPU based boards using a NS8390 Ethernet device.
*
* Derived from the many other 8390 drivers.
*
* distribution for more details.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/platform_device.h>
#include <linux/netdevice.h>
#include <l... |
google | android | wd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/8390/wd.c | 17,957 | utf_8 | f61f7de2450963c63e9f8712b1dc92ef | /* wd.c: A WD80x3 ethernet driver for linux. */
/*
Written 1993-94 by Donald Becker.
Changelog:
Paul Gortmaker : multiple card support for module users, support
for non-standard memory sizes.
*/
static const char version[] =
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <... |
google | android | lpc_eth | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/nxp/lpc_eth.c | 43,492 | utf_8 | 8ea339d00a2292135dffd885c7f1c71d | /*
* drivers/net/ethernet/nxp/lpc_eth.c
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/crc32.... |
google | android | octeon_nic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/liquidio/octeon_nic.c | 5,167 | utf_8 | 77412ec68e28872fda55abb0cc07c853 | /**********************************************************************
* Author: Cavium, Inc.
*
* Contact Cavium, Inc. for more information
**********************************************************************/
#include <linux/version.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/interrupt.h... |
google | android | lio_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/liquidio/lio_main.c | 95,112 | utf_8 | 3f2c5f6d5eb8414f013f80384b3c8789 | /**********************************************************************
* Author: Cavium, Inc.
*
* Contact Cavium, Inc. for more information
**********************************************************************/
#include <linux/version.h>
#include <linux/module.h>
#include <linux/crc32.h>
#include <linux/dma-mapping.h... |
google | android | request_manager | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/liquidio/request_manager.c | 19,389 | utf_8 | a90bcff74cabfff753b6129f5e8b3f07 | /**********************************************************************
* Author: Cavium, Inc.
*
* Contact Cavium, Inc. for more information
**********************************************************************/
#include <linux/version.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/interrupt.h... |
google | android | octeon_droq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/liquidio/octeon_droq.c | 25,045 | utf_8 | a6852b71a5208f56cc2395a06ff77643 | /**********************************************************************
* Author: Cavium, Inc.
*
* Contact Cavium, Inc. for more information
**********************************************************************/
#include <linux/version.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/pci.h>
#include... |
google | android | response_manager | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/liquidio/response_manager.c | 5,068 | utf_8 | 42c558d8e6154d4a755f182a5f25114a | /**********************************************************************
* Author: Cavium, Inc.
*
* Contact Cavium, Inc. for more information
**********************************************************************/
#include <linux/version.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/interrupt.h... |
google | android | lio_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 33,866 | utf_8 | c90d4e064df81ef9358a6a30badcbcd4 | /**********************************************************************
* Author: Cavium, Inc.
*
* Contact Cavium, Inc. for more information
**********************************************************************/
#include <linux/version.h>
#include <linux/netdevice.h>
#include <linux/net_tstamp.h>
#include <linux/ethto... |
google | android | cn68xx_device | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/liquidio/cn68xx_device.c | 6,107 | utf_8 | fe9e2792f52a220b510272388c851c90 | /**********************************************************************
* Author: Cavium, Inc.
*
* Contact Cavium, Inc. for more information
**********************************************************************/
#include <linux/version.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#i... |
google | android | octeon_console | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/liquidio/octeon_console.c | 20,662 | utf_8 | f496c0d0694d4fac211ef85a4c4afd44 | /**********************************************************************
* Author: Cavium, Inc.
*
*/
#include <linux/version.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/kthread.h>
#include <linux/netdevice.h>
#include "octeon_config.h"
#include... |
google | android | octeon_mem_ops | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c | 4,956 | utf_8 | d51717ba0e87db04a68c29d2db697803 | /**********************************************************************
* Author: Cavium, Inc.
*
* Contact Cavium, Inc. for more information
**********************************************************************/
#include <linux/version.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/interrupt.h... |
google | android | octeon_device | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/liquidio/octeon_device.c | 33,452 | utf_8 | 1e4c3c34d2cc7d4be4da13546a80e379 | /**********************************************************************
* Author: Cavium, Inc.
*
* Contact Cavium, Inc. for more information
**********************************************************************/
#include <linux/version.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#i... |
google | android | cn66xx_device | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/liquidio/cn66xx_device.c | 23,844 | utf_8 | 4031fcc25bb7e9f3d3c6563b68355f66 | /**********************************************************************
* Author: Cavium, Inc.
*
* Contact Cavium, Inc. for more information
**********************************************************************/
#include <linux/version.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#i... |
google | android | nic_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/thunder/nic_main.c | 29,990 | utf_8 | a40a90c67fa12f91346d6a8d7bc29f4c | /*
*/
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/etherdevice.h>
#include <linux/of.h>
#include "nic_reg.h"
#include "nic.h"
#include "q_struct.h"
#include "thunder_bgx.h"
#define DRV_NAME "thunder-nic"
#define DRV_VERSION "1.0"
struct nicpf {
struct pci_dev *pdev;
... |
google | android | nicvf_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/thunder/nicvf_main.c | 41,038 | utf_8 | 93968b5250bb7b6aae15ba719add27ee | /*
*/
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/if_vlan.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/log2.h>
#include <linux/prefetch.h>
#include <linux/irq.h>
#include "nic_reg.h"
#include "nic.h"
#include... |
google | android | nicvf_queues | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 39,964 | utf_8 | 7a4c7520c28687c9ef479544eaffa0c5 | /*
*/
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/ip.h>
#include <linux/etherdevice.h>
#include <net/ip.h>
#include <net/tso.h>
#include "nic_reg.h"
#include "nic.h"
#include "q_struct.h"
#include "nicvf_queues.h"
struct rbuf_info {
struct page *page;
void *data;
u64 offset;
};
#define GET_R... |
google | android | nicvf_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c | 18,710 | utf_8 | 41f2bb44872dc3bc781bef5c9cd515b7 | /*
*/
/* ETHTOOL Support for VNIC_VF Device*/
#include <linux/pci.h>
#include "nic_reg.h"
#include "nic.h"
#include "nicvf_queues.h"
#include "q_struct.h"
#include "thunder_bgx.h"
#define DRV_NAME "thunder-nicvf"
#define DRV_VERSION "1.0"
struct nicvf_stat {
char name[ETH_GSTRING_LEN];
unsigned int index;
};
#de... |
google | android | thunder_bgx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 29,362 | utf_8 | eda96a0e2027fede12c7b32fab8f4b23 | /*
*/
#include <linux/acpi.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/phy.h>
#include <linux/of.h>
#include <linux/of_mdio.h>
#include <linux/of_net.h>
#include "nic_reg.h"
#include "nic.h"
#include "thund... |
google | android | acenic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/alteon/acenic.c | 87,054 | utf_8 | f52a5255d9dc46d8498c87748e3d6058 | /*
* acenic.c: Linux driver for the Alteon AceNIC Gigabit Ethernet card
* and other Tigon based cards.
*
* dump support. The trace dump support has not been
* integrated yet however.
* Troy Benjegerdes: Big Endian (PPC) patches.
* Nate Stahl: Better out of memory handling and stats supp... |
google | android | myri10ge | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/myricom/myri10ge/myri10ge.c | 119,487 | utf_8 | 604f62d37209e37a359a1bfd49a3d5e0 | /*************************************************************************
* myri10ge.c: Myricom Myri-10G Ethernet driver.
*
* POSSIBILITY OF SUCH DAMAGE.
*
*
* If the eeprom on your board is not recent enough, you will need to get a
* newer firmware image at:
* http://www.myri.com/scs/download-Myri10GE.html
... |
google | android | tp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb/tp.c | 4,135 | utf_8 | 542307afd364dc625769bb183b088404 | /* $Date: 2006/02/07 04:21:54 $ $RCSfile: tp.c,v $ $Revision: 1.73 $ */
#include "common.h"
#include "regs.h"
#include "tp.h"
#ifdef CONFIG_CHELSIO_T1_1G
#include "fpga_defs.h"
#endif
struct petp {
adapter_t *adapter;
};
/* Pause deadlock avoidance parameters */
#define DROP_MSEC 16
#define DROP_PKTS_CNT 1
static ... |
google | android | pm3393 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb/pm3393.c | 30,258 | utf_8 | f95bb9eba01a41c1a0d7493df2b00e69 | /*****************************************************************************
* *
* File: pm3393.c *
* $Revision: 1.16 $ *
* $... |
google | android | subr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb/subr.c | 31,316 | utf_8 | 58eba96f19425428d84c948347fb7fd2 | /*****************************************************************************
* *
* File: subr.c *
* $Revision: 1.27 $ *
* $... |
google | android | cxgb2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb/cxgb2.c | 37,405 | utf_8 | ce50f24d743e945f15eaf19a7e462cea | /*****************************************************************************
* *
* File: cxgb2.c *
* $Revision: 1.25 $ *
* $... |
google | android | my3126 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb/my3126.c | 4,663 | utf_8 | e94dffb821744cee1173a1ff815e2ef0 | /* $Date: 2005/11/12 02:13:49 $ $RCSfile: my3126.c,v $ $Revision: 1.15 $ */
#include "cphy.h"
#include "elmer0.h"
#include "suni1x10gexp_regs.h"
/* Port Reset */
static int my3126_reset(struct cphy *cphy, int wait)
{
/*
* This can be done through registers. It is not required since
* a full chip reset is used.
... |
google | android | mv88x201x | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb/mv88x201x.c | 8,707 | utf_8 | a754bda6b2af978f267aea66d9cd6ed0 | /*****************************************************************************
* *
* File: mv88x201x.c *
* $Revision: 1.12 $ *
* $... |
google | android | mv88e1xxx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c | 10,234 | utf_8 | 49facd812764cef616b4eeb43ed569a9 | /* $Date: 2005/10/24 23:18:13 $ $RCSfile: mv88e1xxx.c,v $ $Revision: 1.49 $ */
#include "common.h"
#include "mv88e1xxx.h"
#include "cphy.h"
#include "elmer0.h"
/* MV88E1XXX MDI crossover register values */
#define CROSSOVER_MDI 0
#define CROSSOVER_MDIX 1
#define CROSSOVER_AUTO 3
#define INTR_ENABLE_MASK 0x6CA0
/... |
google | android | sge | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb/sge.c | 59,230 | utf_8 | 246319afb9f1f1dd9872ba1f48452fda | /*****************************************************************************
* *
* File: sge.c *
* $Revision: 1.26 $ *
* $... |
google | android | espi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb/espi.c | 12,714 | utf_8 | 00045e2c014105e8d6c14a75a3232000 | /*****************************************************************************
* *
* File: espi.c *
* $Revision: 1.14 $ *
* $... |
google | android | vsc7326 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb/vsc7326.c | 19,904 | utf_8 | b02efcee598e0e6d03c07ea65c72df98 | /* $Date: 2006/04/28 19:20:06 $ $RCSfile: vsc7326.c,v $ $Revision: 1.19 $ */
/* Driver for Vitesse VSC7326 (Schaumburg) MAC */
#include "gmac.h"
#include "elmer0.h"
#include "vsc7326_reg.h"
/* Update fast changing statistics every 15 seconds */
#define STATS_TICK_SECS 15
/* 30 minutes for full statistics update */
#def... |
google | android | cxgb4_fcoe | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb4/cxgb4_fcoe.c | 3,552 | utf_8 | 1a93cafe8a00b305b9a5f05eafe96db0 | /*
* This file is part of the Chelsio T4 Ethernet driver for Linux.
*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#ifdef CONFIG_CHELSIO_T4_FCOE
#include <scsi/fc/fc_fs.h>
#include <scsi/libfcoe.h>
#include "cxgb4.h"
boo... |
google | android | cxgb4_dcb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c | 33,116 | utf_8 | c1b752b24a4519b6f4442e86d707f40e | /*
*
*/
#include "cxgb4.h"
/* DCBx version control
*/
static const char * const dcb_ver_array[] = {
"Unknown",
"DCBx-CIN",
"DCBx-CEE 1.01",
"DCBx-IEEE",
"", "", "",
"Auto Negotiated"
};
static inline bool cxgb4_dcb_state_synced(enum cxgb4_dcb_state state)
{
if (state == CXGB4_DCB_STATE_FW_ALLSYNCED ||
st... |
google | android | t4_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 226,438 | utf_8 | 34f62f936cf3dd6c7757ae519f482ce2 | /*
* This file is part of the Chelsio T4 Ethernet driver for Linux.
*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* at the time it indicated completion is stored there. Returns 0 if the
* operation completes and -EAGAIN ... |
google | android | cxgb4_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 141,343 | utf_8 | 27acc608e343bfe692e67e0aa7695a93 | /*
* This file is part of the Chelsio T4 Ethernet driver for Linux.
*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/bitmap.h>
#include <linux/crc32.h>
#include <... |
google | android | clip_tbl | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c | 8,292 | utf_8 | b8ce9fffb43174343f6cd2006e3ae51c | /*
* This file is part of the Chelsio T4 Ethernet driver for Linux.
* release for licensing terms and conditions.
*/
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/jhash.h>
#include <linux/if_vlan.h>
#include <net/addrconf.h>
#include "cxgb4.h"
#include "clip_tbl.h"
static inline unsigned i... |
google | android | cxgb4_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c | 30,752 | utf_8 | c07e9a6a0c46e08d25e095b26ae9892f | /*
*
*/
#include <linux/firmware.h>
#include <linux/mdio.h>
#include "cxgb4.h"
#include "t4_regs.h"
#include "t4fw_api.h"
#define EEPROM_MAGIC 0x38E2F10C
static u32 get_msglevel(struct net_device *dev)
{
return netdev2adap(dev)->msg_enable;
}
static void set_msglevel(struct net_device *dev, u32 val)
{
netdev2adap(d... |
google | android | cxgb4_debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 88,277 | utf_8 | b5c531c95f41cd518af6e7b5765c2174 | /*
* This file is part of the Chelsio T4 Ethernet driver for Linux.
*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/seq_file.h>
#include <linux/debugfs.h>
#include <linux/string_helpers.h>
#include <linux/... |
google | android | sge | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb4/sge.c | 91,176 | utf_8 | 32a8f4c506c5dd9e0925839ca571f035 | /*
* This file is part of the Chelsio T4 Ethernet driver for Linux.
*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/if_... |
google | android | l2t | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb4/l2t.c | 17,994 | utf_8 | 7793f23b5942d65fbbc37c8b03a8253e | /*
* This file is part of the Chelsio T4 Ethernet driver for Linux.
*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/if.h>
#include <linux/if_vlan.h>
#... |
google | android | t4vf_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c | 50,829 | utf_8 | a1bc591e33d0a837732f09930c197f70 | /*
* This file is part of the Chelsio T4 PCI-E SR-IOV Virtual Function Ethernet
* driver for Linux.
*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/pci.h>
#include "t4vf_common.h"
#include "t4vf_defs.h"
#... |
google | android | sge | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 82,000 | utf_8 | ecefb9cf93decc159b88d914b43a38ca | /*
* This file is part of the Chelsio T4 PCI-E SR-IOV Virtual Function Ethernet
* driver for Linux.
*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/e... |
google | android | cxgb4vf_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 84,519 | utf_8 | 2f1c8301ad0471e9ba1be3bd1672aafa | /*
* This file is part of the Chelsio T4 PCI-E SR-IOV Virtual Function Ethernet
* driver for Linux.
*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#i... |
google | android | t3_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb3/t3_hw.c | 116,044 | utf_8 | 240f245c7820829b76b50774ae9670a6 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* at the time it indicated completion is stored there. Returns 0 if the
* operation completes and -EAGAIN otherwise.
*/
int t3_wait_op_done_val(struct adapter *adapter, int r... |
google | android | cxgb3_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 88,674 | utf_8 | 7dac00c20f3a361997bd4152673fd457 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/dma-mappin... |
google | android | cxgb3_offload | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 37,613 | utf_8 | 928763d81b207f11eb4b9f47f3897d5d | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/list.h>
#include <linux/slab.h>
#include <net/neighbour.h>
#include <linux/notifier.h>
#include <linux/atomic.h>
#... |
google | android | vsc8211 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb3/vsc8211.c | 11,674 | utf_8 | 1a71b0b40f6235e2c0ec8ca307add6b9 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include "common.h"
/* VSC8211 PHY specific registers. */
enum {
VSC8211_SIGDET_CTRL = 19,
VSC8211_EXT_CTRL = 23,
VSC8211_INTR_ENABLE = 25,
VSC8211_INTR_STATUS = 26,
VSC... |
google | android | aq100x | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb3/aq100x.c | 8,938 | utf_8 | ad816439979aee6eee8c41c7e5729f34 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include "common.h"
#include "regs.h"
enum {
/* MDIO_DEV_PMA_PMD registers */
AQ_LINK_STAT = 0xe800,
AQ_IMASK_PMA = 0xf000,
/* MDIO_DEV_XGXS registers */
AQ_XAUI_RX_CFG ... |
google | android | xgmac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb3/xgmac.c | 20,012 | utf_8 | adb8c3ff5a4eb1b27bb67a5fa4f0778f | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include "common.h"
#include "regs.h"
/*
* # of exact address filters. The first one is used for the station address,
* the rest are available for multicast addresses.
*/... |
google | android | sge | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb3/sge.c | 93,673 | utf_8 | 28d0116703433e3df0d9e72cad78aab7 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/if_vlan.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/... |
google | android | mc5 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb3/mc5.c | 12,494 | utf_8 | 71b7446f98e7a212c05f8b22abd839eb | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include "common.h"
#include "regs.h"
enum {
IDT75P52100 = 4,
IDT75N43102 = 5
};
/* DBGI command mode */
enum {
DBGI_MODE_MBUS = 0,
DBGI_MODE_IDT52100 = 5
};
/* IDT 75P52... |
google | android | ael1002 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb3/ael1002.c | 23,761 | utf_8 | f929c140ccc8a0348f2985d64a1f9fdf | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include "common.h"
#include "regs.h"
enum {
AEL100X_TX_CONFIG1 = 0xc002,
AEL1002_PWR_DOWN_HI = 0xc011,
AEL1002_PWR_DOWN_LO = 0xc012,
AEL1002_XFI_EQL = 0xc015,
AEL1002_L... |
google | android | l2t | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/chelsio/cxgb3/l2t.c | 13,069 | utf_8 | a73f706fc80e3aa32d4784ab879e872d | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/if.h>
#include <linux/if_vlan.h>
#include <linux/jhash.h>
#include <linux/slab.h>
#include <linux/expor... |
google | android | moxart_ether | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/moxa/moxart_ether.c | 14,600 | utf_8 | 74bbcfded901c531599e51cfbca8f065 | /* MOXA ART Ethernet (RTL8201CP) driver.
*
* warranty of any kind, whether express or implied.
*/
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/dma-mapping.h>
#include <linux/ethtool.h>
#include <linux/platform_device.h>
#include <linu... |
google | android | atl1c_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/atl1c/atl1c_hw.c | 23,694 | utf_8 | 5cf2eaa766fb54f11d9764331813b1d4 | /*
* Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/mii.h>
#include <linux/crc32.h>
#include "atl1c.h"
/*
* check_eeprom_exist
* return 1 if eeprom exist
*/
int atl1c_check_eeprom_exist(struct atl1c_hw *hw)
{
u32 data;
AT_READ_REG(hw, REG... |
google | android | atl1c_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 79,559 | utf_8 | b0d6782e65e597b0f2ae5e85a52d1e5a | /*
* Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "atl1c.h"
#define ATL1C_DRV_VERSION "1.0.1.1-NAPI"
char atl1c_driver_name[] = "atl1c";
char atl1c_driver_version[] = ATL1C_DRV_VERSION;
/*
* atl1c_pci_tbl - PCI Device ID Table
*
* Wildcard entries (PCI_ANY_ID) should come last
* Last entry m... |
google | android | atl1c_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c | 8,821 | utf_8 | 1497bafd766ea12d181a454926083a07 | /*
* Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/slab.h>
#include "atl1c.h"
static int atl1c_get_settings(struct net_device *netdev,
struct ethtool_cmd *ecmd)
{
struct atl1c_adapter *adapter = netdev_priv(netdev);
stru... |
google | android | atl1e_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 70,832 | utf_8 | f324f93a1ab32ea7a91f0dcdf6a1eb54 | /*
* Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "atl1e.h"
#define DRV_VERSION "1.0.0.7-NAPI"
char atl1e_driver_name[] = "ATL1E";
char atl1e_driver_version[] = DRV_VERSION;
#define PCI_DEVICE_ID_ATTANSIC_L1E 0x1026
/*
* atl1e_pci_tbl - PCI Device ID Table
*
* Wildcard entries (PCI_ANY_I... |
google | android | atl1e_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/atl1e/atl1e_hw.c | 16,448 | utf_8 | 0083aa78cbafd056e1e0221bb127b3dd | /*
* Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/mii.h>
#include <linux/crc32.h>
#include "atl1e.h"
/*
* check_eeprom_exist
* return 0 if eeprom exist
*/
int atl1e_check_eeprom_exist(struct atl1e_hw *hw)
{
u32 value;
value = AT_READ_RE... |
google | android | atl1e_param | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/atl1e/atl1e_param.c | 7,305 | utf_8 | d368b4623850a56565049a71ab50d759 | /*
* Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/netdevice.h>
#include "atl1e.h"
/* This is the only thing that needs to be changed to adjust the
* maximum number of ports that the driver can manage.
*/
#define ATL1E_MAX_NIC 32
#define OPTION_UNSET -1
#define OPTION_DISABLED 0
#defi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.