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 | atl1e_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c | 11,216 | utf_8 | 9160e1e88294f8257daeb248045b1046 | /*
* Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/slab.h>
#include "atl1e.h"
static int atl1e_get_settings(struct net_device *netdev,
struct ethtool_cmd *ecmd)
{
struct atl1e_adapter *adapter = netdev_priv(netdev);
stru... |
google | android | ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/alx/ethtool.c | 8,393 | utf_8 | 92a035ad017b172eea10020a879efc1e | /*
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
*/
#include <linux/... |
google | android | main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/alx/main.c | 37,503 | utf_8 | 052d19c085ef95c3496aa9365817711e | /*
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
*/
#include <linux/... |
google | android | hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/alx/hw.c | 32,059 | utf_8 | 965063c5abdab30d31c30a8c11b50e87 | /*
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
*/
#include <linux/... |
google | android | atl1 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/atlx/atl1.c | 101,399 | utf_8 | 999b30574a61047419b5972b47cd3fd4 | /*
*
* This version is adapted from the Attansic reference driver.
*
* TODO:
* Add more ethtool functions.
* Fix abstruse irq enable/disable condition described here:
* http://marc.theaimsgroup.com/?l=linux-netdev&m=116398508500553&w=2
*
* NEEDS TESTING:
* VLAN
* multicast
* promiscuous mode
* interrupt co... |
google | android | atl2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/atlx/atl2.c | 81,752 | utf_8 | d5331786583fb2be8676288c48cd61d2 | /*
* Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/atomic.h>
#include <linux/crc32.h>
#include <linux/dma-mapping.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/hardirq.h>
#include <linux/if_vlan.h>
#include <linux/in.h>
#include <linux/interrupt.h>
#include <... |
google | android | atlx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/atheros/atlx/atlx.c | 8,108 | utf_8 | 25dd289a4d0409c69698c6e4fade403e | /* atlx.c -- common functions for Attansic network drivers
*
* Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* Including this file like a header is a temporary hack, I promise. -- CHS */
#ifndef ATLX_C
#define ATLX_C
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/etherdevice.h>
#incl... |
google | android | et131x | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/agere/et131x.c | 121,179 | utf_8 | 211e099613334e2f583fd6f14cb4dc3c | /* Agere Systems Inc.
* 10/100/1000 Base-T Ethernet Driver for the ET1301 and ET131x series MACs
*
* list of conditions and the following Disclaimer as comments in the code as
* well as in the documentation and/or other materials provided with the
* distribution.
*
* DAMAGE.
*/
#define pr_fmt(fmt) KBUI... |
google | android | r6040 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/rdc/r6040.c | 33,768 | utf_8 | 215a1b1458c044a9923fcb2e1f9c4aa1 | /*
* RDC R6040 Fast Ethernet MAC support
*
* Boston, MA 02110-1301, USA.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#in... |
google | android | ks8851_mll | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/micrel/ks8851_mll.c | 43,548 | utf_8 | 294dfbb4d8283b7ddce6d46c69db1da8 | /**
* drivers/net/ethernet/micrel/ks8851_mll.c
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* Supports:
* KS8851 16bit MLL chip from Micrel Inc.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/netdevi... |
google | android | ks8695net | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/micrel/ks8695net.c | 43,009 | utf_8 | f456628b79a76922a9921f961807a40f | /*
* Micrel KS8695 (Centaur) Ethernet.
*
*/
#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/interrupt.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include <linux/crc32.h>
#include <linux/mii.h>... |
google | android | ks8842 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/micrel/ks8842.c | 33,106 | utf_8 | 6ae5c45fd4f1f806389930efbc179101 | /*
* ks8842.c timberdale KS8842 ethernet driver
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* Supports:
* The Micrel KS8842 behind the timberdale FPGA
* The genuine Micrel KS8841/42 device with ISA 16/32bit bus interface
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/interrupt.... |
google | android | ksz884x | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/micrel/ksz884x.c | 183,224 | utf_8 | a0aaf4b2d669927e8aa74182ffe988cf | /**
* drivers/net/ethernet/micrel/ksx884x.c - Micrel KSZ8841/2 PCI Ethernet driver
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/proc_fs.h>
#inc... |
google | android | ks8851 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/micrel/ks8851.c | 41,519 | utf_8 | a5345f2744ec640be4b7d40d87cf3034 | /* drivers/net/ethernet/micrel/ks8851.c
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#define DEBUG
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/cache.h>
#include <linux/crc32.... |
google | android | macb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cadence/macb.c | 76,641 | utf_8 | f4cf7101a8e7d0eb790baf340fdc612c | /*
* Cadence MACB/GEM Ethernet Controller driver
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/clk.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/circ_buf.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <li... |
google | android | cpsw-phy-sel | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/cpsw-phy-sel.c | 5,098 | utf_8 | 6787b94c80c5546077aa7748440b4e46 | /* Texas Instruments Ethernet Switch Driver
*
*/
#include <linux/platform_device.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include "cpsw.h"
/* AM33xx SoC specific definitions for the CONTROL port */
#define AM33XX_GMII_SEL_MODE_M... |
google | android | tlan | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/tlan.c | 87,970 | utf_8 | 38706370110d10ce118168405a44445b | /*******************************************************************************
*
* Linux ThunderLAN Driver
*
* tlan.c
* by James Banks
*
*
** Useful (if not required) reading:
*
* Texas Instruments, ThunderLAN Programmer's Guide,
* TI Literature Number SPWU013A
* available in PDF format from www.t... |
google | android | netcp_sgmii | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/netcp_sgmii.c | 3,915 | utf_8 | af494d25bdae9ab345b635b438b1aab6 | /*
* SGMI module initialisation
*
*/
#include "netcp.h"
#define SGMII_SRESET_RESET BIT(0)
#define SGMII_SRESET_RTRESET BIT(1)
#define SGMII_REG_STATUS_LOCK BIT(4)
#define SGMII_REG_STATUS_LINK BIT(0)
#define SGMII_REG_STATUS_AUTONEG BIT(2)
#define SGMII_REG_CONTROL_AUTONEG BIT(0)
#define SGMII23_OFFSET(x) ((x - ... |
google | android | netcp_ethss | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/netcp_ethss.c | 94,989 | utf_8 | 641c2d167dcd6edeb221fe476c23febe | /*
* Keystone GBE and XGBE subsystem code
*
*/
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of_mdio.h>
#include <linux/of_address.h>
#include <linux/if_vlan.h>
#include <linux/ethtool.h>
#include "cpsw_ale.h"
#include "netcp.h"
#define NETCP_DRIVER_NAME "TI KeyStone Ethernet Driver"
#define NETCP... |
google | android | davinci_cpdma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/davinci_cpdma.c | 27,224 | utf_8 | 861a206aafe343818df4d85591c4fc07 | /*
* Texas Instruments CPDMA Driver
*
*/
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/dma-mapping.h>
#include <linux/io.h>
#include <linux/delay.h>
#include "davinci_cpdma.h"
/* DMA Registers *... |
google | android | netcp_core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/netcp_core.c | 56,794 | utf_8 | a01f81587b2d0bc853b3e76e6765f726 | /*
* Keystone NetCP Core driver
*
*/
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of_net.h>
#include <linux/of_address.h>
#include <linux/if_vlan.h>
#include <linux/pm_runtime.h>
#include <linux/platform_device.h>
#include <linux/soc/ti/knav_qmss.h>
#include <linux/soc/ti/knav_dma.h>
#include "net... |
google | android | cpsw-common | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/cpsw-common.c | 3,134 | utf_8 | bcd6d2709a3ef8f85b18f213d935a01f | /*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/regmap.h>
#include <linux/mfd/syscon.h>
#include "cpsw.h"
#define CTRL_MAC_LO_REG(offset, id) ((offset) + 0x8 * (id))
#define CTRL_MAC_HI_REG(offset, id) ((offset) + 0x8 * (id) + 0x4)
static int... |
google | android | davinci_emac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/davinci_emac.c | 63,916 | utf_8 | 254d8365305f4c00c6fa279d39119453 | /*
* DaVinci Ethernet Medium Access Controller
*
* DaVinci EMAC is based upon CPPI 3.0 TI DMA engine
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* ---------------------------------------------------------------------------
* History:
* 0-5 A number of folks worked on this driver in bits and pi... |
google | android | cpsw_ale | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/cpsw_ale.c | 18,674 | utf_8 | 807c07e138455b1ecd74723e87807c8d | /*
* Texas Instruments 3-Port Ethernet Switch Address Lookup Engine
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/stat.h>
#include <linux/sysfs.h>
#include <l... |
google | android | cpts | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/cpts.c | 9,854 | utf_8 | b245f75a0a8a4fab78f8cdf70d5e12f9 | /*
* TI Common Platform Time Sync
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <linux/err.h>
#include <linux/if.h>
#include <linux/hrtimer.h>
#include <linux/module.h>
#include <linux/net_tstamp.h>
#include <linux/ptp_classify.h>
#include <linux/time.h>
#include <linux/... |
google | android | netcp_xgbepcsr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/netcp_xgbepcsr.c | 12,971 | utf_8 | 657929935e07bc98b6581e8f946d1b01 | /*
* XGE PCSR module initialisation
*
*/
#include "netcp.h"
/* XGBE registers */
#define XGBE_CTRL_OFFSET 0x0c
#define XGBE_SGMII_1_OFFSET 0x0114
#define XGBE_SGMII_2_OFFSET 0x0214
/* PCS-R registers */
#define PCSR_CPU_CTRL_OFFSET 0x1fd0
#define POR_EN BIT(29)
#define reg_rmw(addr, value, mask) \
writel(((r... |
google | android | cpsw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/cpsw.c | 72,639 | utf_8 | 371cbd424fcb7e1d225432b53d9d28c9 | /*
* Texas Instruments Ethernet Switch Driver
*
*/
#include <linux/kernel.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/timer.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/irqreturn.h>
#include <linux/interrupt.h>
#include <linux/if_ether.h>
#include <linux/etherde... |
google | android | cpmac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/cpmac.c | 34,740 | utf_8 | 9157b3cc18dbe4b8f6163cc33b5ece4a | /*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/moduleparam.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/delay.h>... |
google | android | davinci_mdio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ti/davinci_mdio.c | 12,310 | utf_8 | 6eb0f8e44756dc20170f40fe14d58e76 | /*
* DaVinci MDIO Module driver
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* ---------------------------------------------------------------------------
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/sched.h>
#in... |
google | android | octeon_mgmt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/octeon/octeon_mgmt.c | 42,337 | utf_8 | 6bbff5df435cfbdb9f9ee1b6a775e593 | /*
* This file is subject to the terms and conditions of the GNU General Public
*/
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/etherdevice.h>
#include <linux/capability.h>
#include <linux/net_tstamp.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/spin... |
google | android | hp100 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hp/hp100.c | 90,390 | utf_8 | 67c917dda3c97db775c7a931fabd41e1 | /*
** hp100.c
** HP CASCADE Architecture Driver for 100VG-AnyLan Network Adapters
**
** $Id: hp100.c,v 1.58 2001/09/24 18:03:01 perex Exp perex $
**
**
** This driver has only been tested with
** -- HP J2585B 10/100 Mbit/s PCI Busmaster
** -- HP J2585A 10/100 Mbit/s PCI
** -- HP J2970A 10 Mbit/s PCI Combo 10base-T/BNC
... |
google | android | hix5hd2_gmac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hix5hd2_gmac.c | 27,451 | utf_8 | c15a90cacdeb0bace85023e6089fc5db | * (at your option) any later version.
*/
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/etherdevice.h>
#include <linux/platform_device.h>
#include <linux/of_net.h>
#include <linux/of_mdio.h>
#include <linux/clk.h>
#include <linux/circ_buf.h>
#define STATION_ADDR_LOW 0x0000
#define STATION_ADD... |
google | android | hip04_eth | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hip04_eth.c | 25,293 | utf_8 | 29a6b63482aa7deacbb8f896decf337f | * (at your option) any later version.
*/
#include <linux/module.h>
#include <linux/etherdevice.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/ktime.h>
#include <linux/of_address.h>
#include <linux/phy.h>
#include <linux/of_mdio.h>
#include <linux/of_net.h>
#include <linux/mfd/sysco... |
google | android | hns_mdio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hns_mdio.c | 12,789 | utf_8 | 428e44bad3d5423e672b6a779e6772e3 | /*
* (at your option) any later version.
*/
#include <linux/errno.h>
#include <linux/etherdevice.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/netdevice.h>
#include <linux/of_address.h>
#include <linux/of.h>
#inclu... |
google | android | hnae | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hns/hnae.c | 10,140 | utf_8 | 7a097601c8c4dd9afc2ae9f63be71860 | /*
* (at your option) any later version.
*/
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
#include <linux/skbuff.h>
#include <linux/slab.h>
#include "hnae.h"
#define cls_to_ae_dev(dev) container_of(dev, struct hnae_ae_dev, cls_dev)
static struct class *hnae_class;
static void
hnae_list_add(spinlock_t *l... |
google | android | hns_dsaf_gmac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 25,029 | utf_8 | 567e02beb24bc2a52da245ef0019ca94 | /*
* (at your option) any later version.
*/
#include <linux/delay.h>
#include <linux/of_mdio.h>
#include "hns_dsaf_main.h"
#include "hns_dsaf_mac.h"
#include "hns_dsaf_gmac.h"
static const struct mac_stats_string g_gmac_stats_string[] = {
{"gmac_rx_octets_total_ok", MAC_STATS_FIELD_OFF(rx_good_bytes)},
{"gmac_rx_oc... |
google | android | hns_ae_adapt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 20,229 | utf_8 | 455f25e8b241cfa06514fcbe88af153e | /*
* (at your option) any later version.
*/
#include <linux/etherdevice.h>
#include <linux/netdevice.h>
#include <linux/spinlock.h>
#include "hnae.h"
#include "hns_dsaf_mac.h"
#include "hns_dsaf_main.h"
#include "hns_dsaf_ppe.h"
#include "hns_dsaf_rcb.h"
#define AE_NAME_PORT_ID_IDX 6
#define ETH_STATIC_REG 1
#define... |
google | android | hns_dsaf_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 71,696 | utf_8 | 125d72cae9fa29b07a87f37c56bb0989 | /*
* (at your option) any later version.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/device.h>
#... |
google | android | hns_dsaf_mac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 22,685 | utf_8 | 68346314e37bfd486845f20f3a1f4098 | /*
* (at your option) any later version.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/phy_fixed.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include "hns_dsaf_misc.... |
google | android | hns_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 31,344 | utf_8 | 7f33a40a616f19222de0b2b418595a23 | /*
* (at your option) any later version.
*/
#include <linux/etherdevice.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include "hns_enet.h"
#define HNS_PHY_PAGE_MDIX 0
#define HNS_PHY_PAGE_LED 3
#define HNS_PHY_PAGE_COPPER 0
#define HNS_PHY_PAGE_REG 22 /* Page Selection ... |
google | android | hns_enet | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hns/hns_enet.c | 42,870 | utf_8 | e2b6ec772bb14526897abbf286a66087 | /*
* (at your option) any later version.
*/
#include <linux/clk.h>
#include <linux/cpumask.h>
#include <linux/etherdevice.h>
#include <linux/if_vlan.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/module.h>
#include <linux/phy.h>
#include <linux/plat... |
google | android | hns_dsaf_xgmac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c | 32,627 | utf_8 | 803ea9810e22e824ddf5a70acfdf070d | /*
* (at your option) any later version.
*/
#include <asm-generic/io-64-nonatomic-hi-lo.h>
#include <linux/of_mdio.h>
#include "hns_dsaf_main.h"
#include "hns_dsaf_mac.h"
#include "hns_dsaf_xgmac.h"
#include "hns_dsaf_reg.h"
static const struct mac_stats_string g_xgmac_stats_string[] = {
{"xgmac_tx_bad_pkts_minto64"... |
google | android | hns_dsaf_rcb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 30,674 | utf_8 | deb033813c40f2e43eb836bb72cbbe06 | /*
* (at your option) any later version.
*/
#include <linux/cdev.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <asm/cacheflush.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_address.h>... |
google | android | hns_dsaf_misc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 7,577 | utf_8 | 0258b5a8ab16a14cde83f7805144904a | /*
* (at your option) any later version.
*/
#include "hns_dsaf_misc.h"
#include "hns_dsaf_mac.h"
#include "hns_dsaf_reg.h"
#include "hns_dsaf_ppe.h"
void hns_cpld_set_led(struct hns_mac_cb *mac_cb, int link_status,
u16 speed, int data)
{
int speed_reg = 0;
u8 value;
if (!mac_cb) {
pr_err("sfp_led_opt mac... |
google | android | hns_dsaf_ppe | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c | 16,983 | utf_8 | cb3af5d239a86c93feffd90bd4372ce3 | /*
* (at your option) any later version.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_platform.h>
#include "hns_dsaf_p... |
google | android | greth | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/aeroflex/greth.c | 40,426 | utf_8 | 5cca92d08b92dbd663503bca3dc09b10 | /*
* Aeroflex Gaisler GRETH 10/100/1G Ethernet MAC.
*
* option) any later version.
*
* Contributors: Kristoffer Glembo
* Daniel Hellstrom
* Marko Isomaki
*/
#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <linux/uaccess.h>
#include <linux/interrupt.h>
#include <linu... |
google | android | macsonic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/natsemi/macsonic.c | 18,310 | utf_8 | 5c3b177413e002a99254d35347fb2357 | /*
* macsonic.c
*
*
* A driver for the Mac onboard Sonic ethernet chip.
*
* 98/12/21 MSch: judged from tests on Q800, it's basically working,
* but eating up both receive and transmit resources
* and duplicating packets. Needs more testing.
*
* 99/01/03 MSch: upgraded to version 0.92 of the core driver,... |
google | android | ns83820 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/natsemi/ns83820.c | 62,901 | utf_8 | 3fad2d631f97389ac0eaa4a80122e344 | #define VERSION "0.23"
/* ns83820.c by Benjamin LaHaise with contributions.
*
*
*
* ChangeLog
* =========
* 20010414 0.1 - created
* 20010622 0.2 - basic rx and tx.
* 20010711 0.3 - added duplex and link state detection support.
* 20010713 0.4 - zero copy, no hangs.
* 0.5 - 64 bit dma support (davem will ha... |
google | android | jazzsonic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/natsemi/jazzsonic.c | 7,417 | utf_8 | e56c2250fb7fadb529fec01d51d9d4ec | /*
* jazzsonic.c
*
*
* A driver for the onboard Sonic ethernet controller on Mips Jazz
* systems (Acer Pica-61, Mips Magnum 4000, Olivetti M700 and
* perhaps others, too)
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/gfp.h>
#include <linu... |
google | android | sonic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/natsemi/sonic.c | 22,023 | utf_8 | 75a7f04e827ef3c17296c1039e011c75 | /*
* sonic.c
*
*
* Core code included by system sonic drivers
*
* And... partially rewritten again by David Huggins-Daines in order
* to cope with screwed up Macintosh NICs that may or may not use
* 16-bit DMA.
*
*/
/*
* Open/initialize the SONIC controller.
*
* This routine should set everything up ane... |
google | android | natsemi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/natsemi/natsemi.c | 95,434 | utf_8 | 3d2b3c1988c0d19f71079e280f4f13da | /* natsemi.c: A Linux PCI Ethernet driver for the NatSemi DP8381x series. */
/*
Written/copyright 1999-2001 by Donald Becker.
Scyld Computing Corporation
410 Severn Ave., Suite 210
Annapolis MD 21403
Support information and updates available at
http://www.scyld.com/network/netsemi.html
[link no longer provides u... |
google | android | xtsonic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/natsemi/xtsonic.c | 8,323 | utf_8 | fb2278a8b8e2fddabc0b1a6658e054d0 | /*
* xtsonic.c
*
*
* A driver for the onboard Sonic ethernet controller on the XT2000.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/gfp.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/in.h>... |
google | android | nps_enet | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ezchip/nps_enet.c | 17,413 | utf_8 | ac313fce40930ad0a4881f1140494b86 | /*
*/
#include <linux/module.h>
#include <linux/etherdevice.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/of_net.h>
#include <linux/of_platform.h>
#include "nps_enet.h"
#define DRV_NAME "nps_mgt_enet"
static void nps_enet_clean_rx_fifo(struct net_device *ndev, u32 frame_len)
{
struct np... |
google | android | rocker | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/rocker/rocker.c | 150,559 | utf_8 | 2912cb850d10b10ea97c03b5de0515c2 | /*
* drivers/net/ethernet/rocker/rocker.c - Rocker switch device driver
* (at your option) any later version.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/wait.h>
#include <linux/spinlock.h>
#include <linux/hashtab... |
google | android | pasemi_mac_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/pasemi/pasemi_mac_ethtool.c | 4,260 | utf_8 | 659dcc84408ace478ab35e57264bd231 | /*
*/
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/pci.h>
#include <linux/inet_lro.h>
#include <asm/pasemi_dma.h>
#include "pasemi_mac.h"
static struct {
const char str[ETH_GSTRING_LEN];
} ethtool_stats_keys[] = {
{ "rx-drops" },
{ "rx-bytes" },
{ "rx-packets" },
{ "rx-broadcast-packets... |
google | android | pasemi_mac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/pasemi/pasemi_mac.c | 48,100 | utf_8 | 5d2d7c2dbcbf5847e4d4d2c3e1641388 | /*
*/
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/dmaengine.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/of_mdio.h>
#include <linux/etherdevice.h>
#include <asm/dma-mapping.h>
#include <linux/in.h>
#include <linux/skb... |
google | android | xgene_enet_ring2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c | 5,506 | utf_8 | f4c829cd81309f680e528b5a3ab93f6d | /* Applied Micro X-Gene SoC Ethernet Driver
*
*/
#include "xgene_enet_main.h"
#include "xgene_enet_hw.h"
#include "xgene_enet_ring2.h"
static void xgene_enet_ring_init(struct xgene_enet_desc_ring *ring)
{
u32 *ring_cfg = ring->state;
u64 addr = ring->dma;
if (xgene_enet_ring_owner(ring->id) == RING_OWNER_CPU) {
... |
google | android | xgene_enet_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c | 4,183 | utf_8 | 1e0f54aa7a9cf23309e4a5f194977bcf | /* Applied Micro X-Gene SoC Ethernet Driver
*
*/
#include <linux/ethtool.h>
#include "xgene_enet_main.h"
struct xgene_gstrings_stats {
char name[ETH_GSTRING_LEN];
int offset;
};
#define XGENE_STAT(m) { #m, offsetof(struct xgene_enet_pdata, stats.m) }
static const struct xgene_gstrings_stats gstrings_stats[] = {
XG... |
google | android | xgene_enet_sgmac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c | 11,123 | utf_8 | 546e234e4fa061fed07bc9c250a04f70 | /* Applied Micro X-Gene SoC Ethernet Driver
*
*/
#include "xgene_enet_main.h"
#include "xgene_enet_hw.h"
#include "xgene_enet_sgmac.h"
#include "xgene_enet_xgmac.h"
static void xgene_enet_wr_csr(struct xgene_enet_pdata *p, u32 offset, u32 val)
{
iowrite32(val, p->eth_csr_addr + offset);
}
static void xgene_enet_wr_r... |
google | android | xgene_enet_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/apm/xgene/xgene_enet_hw.c | 22,993 | utf_8 | ec060032999f4fcbcc92db06f853a5ef | /* Applied Micro X-Gene SoC Ethernet Driver
*
*/
#include "xgene_enet_main.h"
#include "xgene_enet_hw.h"
static void xgene_enet_ring_init(struct xgene_enet_desc_ring *ring)
{
u32 *ring_cfg = ring->state;
u64 addr = ring->dma;
enum xgene_enet_ring_cfgsize cfgsize = ring->cfgsize;
ring_cfg[4] |= (1 << SELTHRSH_POS)... |
google | android | xgene_enet_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 38,985 | utf_8 | 8675b799844f9f65fd9cc8d3f93e879e | /* Applied Micro X-Gene SoC Ethernet Driver
*
*/
#include "xgene_enet_main.h"
#include "xgene_enet_hw.h"
#include "xgene_enet_sgmac.h"
#include "xgene_enet_xgmac.h"
#define RES_ENET_CSR 0
#define RES_RING_CSR 1
#define RES_RING_CMD 2
static const struct of_device_id xgene_enet_of_match[];
static const struct acpi_dev... |
google | android | xgene_enet_xgmac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c | 9,333 | utf_8 | bce5e49db50d3f8b941244f6d1851d5a | /* Applied Micro X-Gene SoC Ethernet Driver
*
*/
#include "xgene_enet_main.h"
#include "xgene_enet_hw.h"
#include "xgene_enet_xgmac.h"
static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata,
u32 offset, u32 val)
{
void __iomem *addr = pdata->eth_csr_addr + offset;
iowrite32(val, addr);
}
static void ... |
google | android | meth | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sgi/meth.c | 24,694 | utf_8 | a2e4d01808cf9d39013bb0ca7e9d5996 | /*
* meth.c -- O2 Builtin 10/100 Ethernet driver
*
*/
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/i... |
google | android | ioc3-eth | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sgi/ioc3-eth.c | 44,766 | utf_8 | 8e6af1786adfc2db01f3a1edfa49ca7f | /*
* This file is subject to the terms and conditions of the GNU General Public
*
* References:
* o IOC3 ASIC specification 4.51, 1996-04-18
* o IEEE 802.3 specification, 2000 edition
* o DP38840A Specification, National Semiconductor, March 1997
*
* To do:
*
* o Handle allocation failures in ioc3_alloc_s... |
google | android | sxgbe_mtl | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c | 6,938 | utf_8 | 5b488a075b1219e58e7518dce01ea4d6 | /* 10G controller driver for Samsung SoCs
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/io.h>
#include <linux/errno.h>
#include <linux/export.h>
#include <linux/jiffies.h>
#include "sxgbe_mtl.h"
#include "sxgbe_reg.h"
static void sxgbe_mtl_init(void __iomem *ioaddr, unsigned int etsalg,
unsig... |
google | android | sxgbe_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c | 64,963 | utf_8 | 67e94acc5f904e47c9d89c7675e59d97 | /* 10G controller driver for Samsung SoCs
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/clk.h>
#include <linux/crc32.h>
#include <linux/dma-mapping.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/if.h>
#include <linux/if_ether.h>
#include <linux/if_vlan.h>
#include <lin... |
google | android | sxgbe_dma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 10,429 | utf_8 | 50017cc89b43c02bcc3af2ad0e1f97cc | /* 10G controller driver for Samsung SoCs
*
*/
#include <linux/delay.h>
#include <linux/export.h>
#include <linux/io.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include "sxgbe_common.h"
#include "sxgbe_dma.h"
#include "sxgbe_reg.h"
#include "sxgbe_desc.h"
/* DMA core initialization */
static int sxgbe_dma... |
google | android | sxgbe_core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c | 7,914 | utf_8 | 2658c410b53c2529ff7fc613650636d1 | /* 10G controller driver for Samsung SoCs
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/export.h>
#include <linux/io.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include "sxgbe_common.h"
#include "sxgbe_reg.h"
/* MAC core initialization */
static void sxgbe_core_init(void __iomem *ioaddr... |
google | android | sxgbe_xpcs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/samsung/sxgbe/sxgbe_xpcs.c | 2,797 | utf_8 | 223df9d83bf104889c31bfaeaa8bb018 | /* 10G controller driver for Samsung SoCs
*
*/
#include <linux/bitops.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include "sxgbe_common.h"
#include "sxgbe_xpcs.h"
static int sxgbe_xpcs_read(struct net_device *ndev, unsigned int reg)
{
u32 value;
struct sxgbe_priv_data *priv = n... |
google | android | sxgbe_desc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c | 13,286 | utf_8 | c53f1eadd7b5df97692636a40026a143 | /* 10G controller driver for Samsung SoCs
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/bitops.h>
#include <linux/export.h>
#include <linux/io.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include "sxgbe_common.h"
#include "sxgbe_dma.h"
#include "sxgbe_desc.h"
/* DMA TX descriptor ring in... |
google | android | sxgbe_mdio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c | 6,382 | utf_8 | 22a32bbfcceb44c1115950c1015a456a | /* 10G controller driver for Samsung SoCs
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/io.h>
#include <linux/mii.h>
#include <linux/netdevice.h>
#include <linux/platform_device.h>
#include <linux/phy.h>
#include <linux/slab.h>
#include <linux/sxgbe_platform.h>
#include "sxgbe_common.h"
#include "s... |
google | android | sxgbe_platform | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c | 6,225 | utf_8 | 312a7a02aad4d4878f3e50b06c837527 | /* 10G controller driver for Samsung SoCs
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/etherdevice.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/of_net.h>
#include <linux/phy.h>
#include <linux/platfo... |
google | android | sxgbe_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 12,592 | utf_8 | fbc31720e95b3b0bab8a5a1fe5ca5b2a | /* 10G controller driver for Samsung SoCs
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/clk.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/net_tstamp.h>
#include <linux/phy.h>
#include <linux/ptp_clock_kernel.h>
#include "sxgbe_common.h"
#incl... |
google | android | ether3 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/seeq/ether3.c | 23,574 | utf_8 | 319de28110413fd9b2185cf1051c36b7 | /*
* linux/drivers/acorn/net/ether3.c
*
*
* Changelog:
* 1.04 RMK 29/02/1996 Won't pass packets that are from our ethernet
* address up to the higher levels - they're
* silently ignored. I/F can now be put into
* multicast mode. Receiver routine optimised.
* 1.05 RMK 30/02/1996 Now claims interrupt... |
google | android | sgiseeq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/seeq/sgiseeq.c | 22,399 | utf_8 | 4fe7d46f47a0752bfda73a0a64ca0e70 | /*
* sgiseeq.c: Seeq8003 ethernet driver for SGI machines.
*
*/
#undef DEBUG
#include <linux/dma-mapping.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/string.h>
#include <linux/delay.h>
#in... |
google | android | spider_net_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/toshiba/spider_net_ethtool.c | 5,020 | utf_8 | bed9d94d41116dea5d346f9f3b17cfbf | /*
* Network device driver for Cell Processor-Based Blade
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/pci.h>
#include "spider_net.h"
static struct {
const char str[ETH_GSTRING_LEN];
} ethtool_stats_keys[] = {
{ "tx_packet... |
google | android | tc35815 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/toshiba/tc35815.c | 65,330 | utf_8 | 54c642c657556c0a58d4a3cb803d9385 | /*
* tc35815.c: A TOSHIBA TC35815CF PCI 10/100Mbps ethernet driver for linux.
*
* Based on skelton.c by Donald Becker.
*
* This driver is a replacement of older and less maintained version.
* This is a header of the older version:
*/
#define DRV_VERSION "1.39"
static const char *version = "tc35815.c:v" DRV_VERSI... |
google | android | ps3_gelic_wireless | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c | 69,803 | utf_8 | 875357aa11fcdd58c95959fd3e111728 | /*
* PS3 gelic network driver.
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#undef DEBUG
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/if_vlan.h>
#include <linux/in.h>
#include <linux/ip.h>
#... |
google | android | spider_net | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/toshiba/spider_net.c | 71,206 | utf_8 | 9a9099763b92ae6fc3933d1a8982328b | /*
* Network device driver for Cell Processor-Based Blade and Celleb platform
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/compiler.h>
#include <linux/crc32.h>
#include <linux/delay.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/firmware.h>
#include ... |
google | android | ps3_gelic_net | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/toshiba/ps3_gelic_net.c | 48,839 | utf_8 | 790e0648699943a6727b677b2d9537e4 | /*
* PS3 gelic network driver.
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#undef DEBUG
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/if_vlan.h>
#include <linux/... |
google | android | xgmac_mdio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/xgmac_mdio.c | 7,936 | utf_8 | 1444eb66817a789d0471868fe7f6e53e | /*
* QorIQ 10G MDIO Controller
*
* kind, whether express or implied.
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/phy.h>
#include <linux/mdio.h>
#include <linux/of_address.h>
#include <linux/of_platform.h>
#include <linux/of_mdio.h>
/* N... |
google | android | gianfar_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/gianfar_ethtool.c | 42,128 | utf_8 | 4e01b1df99b201f5628cb382682e17ed | /*
* drivers/net/ethernet/freescale/gianfar_ethtool.c
*
* Gianfar Ethernet Driver
* Ethtool support for Gianfar Enet
* Based on e1000 ethtool support
*
* Author: Andy Fleming
* Maintainer: Kumar Gala
* by reference.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linu... |
google | android | ucc_geth | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/ucc_geth.c | 120,444 | utf_8 | 127a43ab02998ac3283f907a65420578 | /*
* option) any later version.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/stddef.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>... |
google | android | ucc_geth_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/ucc_geth_ethtool.c | 11,566 | utf_8 | 77c0caf7ad34e0ddf52ab19d14153839 | /*
* option) any later version.
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/stddef.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/... |
google | android | fec_ptp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/fec_ptp.c | 18,051 | utf_8 | 551df0655f2092d123cb15b9a1ff8999 | /*
* Fast Ethernet Controller (ENET) PTP driver for MX6x.
*
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/iopor... |
google | android | fec_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/fec_main.c | 95,708 | utf_8 | 75e321c251ff45f6f2f40222290f5100 | /*
* Fast Ethernet Controller (FEC) driver for Motorola MPC8xx.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/pm_runtime.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <lin... |
google | android | fec_mpc52xx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/fec_mpc52xx.c | 29,155 | utf_8 | 44e0e581bea261d0fe3aa9f332b1809a | /*
* Driver for the MPC5200 Fast Ethernet Controller
*
* kind, whether express or implied.
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux... |
google | android | fsl_pq_mdio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/fsl_pq_mdio.c | 13,901 | utf_8 | 9b903eb3ed03c439dc4d9def423eb210 | /*
* Freescale PowerQUICC Ethernet Driver -- MIIM bus implementation
* Provides Bus interface for MIIM regs
*
* option) any later version.
*
*/
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/mi... |
google | android | gianfar_ptp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/gianfar_ptp.c | 16,360 | utf_8 | 9c323dd5c9b6aa30707cfe1f5b1c3cb0 | /*
* PTP 1588 clock using the eTSEC
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/device.h>
#include <linux/hrtimer.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linu... |
google | android | gianfar | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/gianfar.c | 99,595 | utf_8 | 125dcb8c67eceebb36b28356a5f8bea1 | /* drivers/net/ethernet/freescale/gianfar.c
*
* Gianfar Ethernet Driver
* This driver is designed for the non-CPM ethernet controllers
* on the 85xx and 83xx family of integrated processors
* Based on 8260_io/fcc_enet.c
*
* Author: Andy Fleming
* Maintainer: Kumar Gala
* option) any later version.
*
* Gianf... |
google | android | fec_mpc52xx_phy | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/fec_mpc52xx_phy.c | 3,814 | utf_8 | 7fb94f1f3cb00afdd4689e68c6df4b56 | /*
* Driver for the MPC5200 Fast Ethernet Controller - MDIO bus driver
*
* kind, whether express or implied.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include <linux/of_platform.h>
#include <linux/slab.h>
#include <linux/of_mdio.h>
#include <asm/io.h... |
google | android | mac-fec | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/fs_enet/mac-fec.c | 12,915 | utf_8 | 811eb9b0cfb69cb87e1cee9d1fb438a8 | /*
* Freescale Ethernet controllers
*
* kind, whether express or implied.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#incl... |
google | android | mii-fec | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/fs_enet/mii-fec.c | 5,652 | utf_8 | 4e0663f9b524e97f7ec0635ee94fa6e3 | /*
* Combined Ethernet driver for Motorola MPC8xx and MPC82xx.
*
* kind, whether express or implied.
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include... |
google | android | mac-scc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/fs_enet/mac-scc.c | 13,274 | utf_8 | 1f0c0e97457173600f64586190128ca8 | /*
* Ethernet on Serial Communications Controller (SCC) driver for Motorola MPC8xx and MPC82xx.
*
* kind, whether express or implied.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/ioport.h>... |
google | android | mac-fcc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c | 16,245 | utf_8 | 1ecfdd81f52ba833606a7cfb0aad78d0 | /*
* FCC driver for Motorola MPC82xx (PQ2).
*
* kind, whether express or implied.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/delay.... |
google | android | mii-bitbang | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c | 5,358 | utf_8 | 450d825a2b2dc8ccb6df646882a9f781 | /*
* Combined Ethernet driver for Motorola MPC8xx and MPC82xx.
*
* kind, whether express or implied.
*/
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/mii.h>
#include <linux/platform... |
google | android | fs_enet-main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | 26,922 | utf_8 | fe63470d48bb4b031082b74432230849 | /*
* Combined Ethernet driver for Motorola MPC8xx and MPC82xx.
*
* kind, whether express or implied.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include... |
google | android | nb8800 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/aurora/nb8800.c | 36,011 | utf_8 | c268d7cc5c313fbcf0b9569d986691a1 | /*
*/
#include <linux/module.h>
#include <linux/etherdevice.h>
#include <linux/delay.h>
#include <linux/ethtool.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/of_device.h>
#include <linux/of_mdio.h>
#include <linux/of_net.h>
#include <linux/dma-mapping.h>
#include <linux/phy.h>
#inc... |
google | android | sc92031 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/silan/sc92031.c | 39,676 | utf_8 | 0842748e10d3f9a92751473a9b923126 | /* Silan SC92031 PCI Fast Ethernet Adapter driver
*
* Based on vendor drivers:
* Silan Fast Ethernet Netcard Driver:
* MODULE_AUTHOR ("gaoyonghong");
* MODULE_DESCRIPTION ("SILAN Fast Ethernet driver");
* Both are almost identical and seem to be based on pci-skeleton.c
*
* Rewritten for 2.6 by Cesar ... |
google | android | altera_utils | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/altera/altera_utils.c | 1,368 | utf_8 | fbdd7d1aff0b35d4d533ab770e6b04c8 | /* Altera TSE SGDMA and MSGDMA Linux driver
*/
#include "altera_tse.h"
#include "altera_utils.h"
void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask)
{
u32 value = csrrd32(ioaddr, offs);
value |= bit_mask;
csrwr32(value, ioaddr, offs);
}
void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mas... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.