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 | altera_tse_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/altera/altera_tse_ethtool.c | 7,645 | utf_8 | 0dee9c0594d7948eaa71f97881005576 | /* Ethtool support for Altera Triple-Speed Ethernet MAC driver
*
* Contributors:
* Dalon Westergreen
* Thomas Chou
* Ian Abbott
* Yuriy Kozlov
* Tobias Klauser
* Andriy Smolskyy
* Roman Bulgakov
* Dmytro Mytarchuk
*
* Original driver contributed by SLS.
* Major updates contributed by Global... |
google | android | altera_sgdma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/altera/altera_sgdma.c | 15,416 | utf_8 | e3397165cbebbef1214bb3ae3f4707e2 | /* Altera TSE SGDMA and MSGDMA Linux driver
*/
#include <linux/list.h>
#include "altera_utils.h"
#include "altera_tse.h"
#include "altera_sgdmahw.h"
#include "altera_sgdma.h"
static void sgdma_setup_descrip(struct sgdma_descrip __iomem *desc,
struct sgdma_descrip __iomem *ndesc,
dma_addr_t ndesc_phys,
dma_... |
google | android | altera_msgdma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/altera/altera_msgdma.c | 6,150 | utf_8 | f752f2cc8d93a2dd9b29d95b1eda6c25 | /* Altera TSE SGDMA and MSGDMA Linux driver
*/
#include <linux/netdevice.h>
#include "altera_utils.h"
#include "altera_tse.h"
#include "altera_msgdmahw.h"
#include "altera_msgdma.h"
/* No initialization work to do for MSGDMA */
int msgdma_initialize(struct altera_tse_private *priv)
{
return 0;
}
void msgdma_uninitial... |
google | android | altera_tse_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/altera/altera_tse_main.c | 43,209 | utf_8 | 0b4baffbeaf35197f420b77648908369 | /* Altera Triple-Speed Ethernet MAC driver
*
* Contributors:
* Dalon Westergreen
* Thomas Chou
* Ian Abbott
* Yuriy Kozlov
* Tobias Klauser
* Andriy Smolskyy
* Roman Bulgakov
* Dmytro Mytarchuk
* Matthew Gerlach
*
* Original driver contributed by SLS.
* Major updates contributed by Globa... |
google | android | bfa_msgq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/brocade/bna/bfa_msgq.c | 15,527 | utf_8 | e8a19b691510e67c61e4a42273abc8d5 | /*
* Linux network driver for QLogic BR-series Converged Network Adapter.
*
* www.qlogic.com
*/
/* MSGQ module source file. */
#include "bfi.h"
#include "bfa_msgq.h"
#include "bfa_ioc.h"
#define call_cmdq_ent_cbfn(_cmdq_ent, _status) \
{ \
bfa_msgq_cmdcbfn_t cbfn; \
void *cbarg; \
cbfn = (_c... |
google | android | bnad_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/brocade/bna/bnad_ethtool.c | 29,837 | utf_8 | cd2475d2a049872dd5332700acce0202 | /*
* Linux network driver for QLogic BR-series Converged Network Adapter.
*
* www.qlogic.com
*/
#include "cna.h"
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/ethtool.h>
#include <linux/rtnetlink.h>
#include "bna.h"
#include "bnad.h"
#define BNAD_NUM_TXF_COUNTERS 12
#define BNAD_NUM_RXF_COU... |
google | android | bfa_cee | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/brocade/bna/bfa_cee.c | 7,407 | utf_8 | 8b646789bfc1b98d0dac56b76819c28c | /*
* Linux network driver for QLogic BR-series Converged Network Adapter.
*
* www.qlogic.com
*/
#include "bfa_cee.h"
#include "bfi_cna.h"
#include "bfa_ioc.h"
static void bfa_cee_format_lldp_cfg(struct bfa_cee_lldp_cfg *lldp_cfg);
static void bfa_cee_format_cee_cfg(void *buffer);
static void
bfa_cee_format_cee_cfg(... |
google | android | cna_fwimg | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/brocade/bna/cna_fwimg.c | 2,414 | utf_8 | 37f1c09d5218b8aeeb98904dd22c83b5 | /*
* Linux network driver for QLogic BR-series Converged Network Adapter.
*
* www.qlogic.com
*/
#include <linux/firmware.h>
#include "bnad.h"
#include "bfi.h"
#include "cna.h"
const struct firmware *bfi_fw;
static u32 *bfi_image_ct_cna, *bfi_image_ct2_cna;
static u32 bfi_image_ct_cna_size, bfi_image_ct2_cna_size;
s... |
google | android | bfa_ioc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/brocade/bna/bfa_ioc.c | 79,298 | utf_8 | db5fe91236c11e161bbc905b40fa7d2a | /*
* Linux network driver for QLogic BR-series Converged Network Adapter.
*
* www.qlogic.com
*/
#include "bfa_ioc.h"
#include "bfi_reg.h"
#include "bfa_defs.h"
/* IOC local definitions */
/* Asic specific macros : see bfa_hw_cb.c and bfa_hw_ct.c for details. */
#define bfa_ioc_firmware_lock(__ioc) \
((__ioc)->... |
google | android | bnad | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/brocade/bna/bnad.c | 95,740 | utf_8 | a0bed297ff597214e18381f807913058 | /*
* Linux network driver for QLogic BR-series Converged Network Adapter.
*
* www.qlogic.com
*/
#include <linux/bitops.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/etherdevice.h>
#include <linux/in.h>
#include <linux/ethtool.h>
#include <linux/if_vlan.h>
#include <linux/if_ether.h>
#inc... |
google | android | bna_enet | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/brocade/bna/bna_enet.c | 52,260 | utf_8 | d391ada3754a3ba7b6127883606b922a | /*
* Linux network driver for QLogic BR-series Converged Network Adapter.
*
* www.qlogic.com
*/
#include "bna.h"
static inline int
ethport_can_be_up(struct bna_ethport *ethport)
{
int ready = 0;
if (ethport->bna->enet.type == BNA_ENET_T_REGULAR)
ready = ((ethport->flags & BNA_ETHPORT_F_ADMIN_UP) &&
(ethport... |
google | android | bnad_debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/brocade/bna/bnad_debugfs.c | 14,429 | utf_8 | 6a38009eca78cc8118421567d4c6a899 | /*
* Linux network driver for QLogic BR-series Converged Network Adapter.
*
* www.qlogic.com
*/
#include <linux/debugfs.h>
#include <linux/module.h>
#include "bnad.h"
/*
* BNA debufs interface
*
* To access the interface, debugfs file system should be mounted
* if not already mounted using:
* mount -t debugfs ... |
google | android | bna_tx_rx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/brocade/bna/bna_tx_rx.c | 92,034 | utf_8 | fcd7769f850bd7734e16fbd7569a38f6 | /*
* Linux network driver for QLogic BR-series Converged Network Adapter.
*
* www.qlogic.com
*/
#include "bna.h"
#include "bfi.h"
/* IB */
static void
bna_ib_coalescing_timeo_set(struct bna_ib *ib, u8 coalescing_timeo)
{
ib->coalescing_timeo = coalescing_timeo;
ib->door_bell.doorbell_ack = BNA_DOORBELL_IB_INT_ACK... |
google | android | bfa_ioc_ct | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/brocade/bna/bfa_ioc_ct.c | 27,168 | utf_8 | 9061823cf861593cd49b6f723e108084 | /*
* Linux network driver for QLogic BR-series Converged Network Adapter.
*
* www.qlogic.com
*/
#include "bfa_ioc.h"
#include "cna.h"
#include "bfi.h"
#include "bfi_reg.h"
#include "bfa_defs.h"
#define bfa_ioc_ct_sync_pos(__ioc) BIT(bfa_ioc_pcifn(__ioc))
#define BFA_IOC_SYNC_REQD_SH 16
#define bfa_ioc_ct_get_sync_... |
google | android | s2io | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/neterion/s2io.c | 245,424 | utf_8 | fda3bc83cae23758788848df04aeb6bc | /************************************************************************
* s2io.c: A Linux PCI-X Ethernet driver for Neterion 10GbE Server NIC
*
* Credits:
* Jeff Garzik : For pointing out the improper error condition
* check in the s2io_xmit routine and also some
* issues in the Tx watch dog function. ... |
google | android | vxge-traffic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/neterion/vxge/vxge-traffic.c | 67,145 | utf_8 | 505ecdc4028c3d721026e630b93e8c0a | /******************************************************************************
******************************************************************************/
#include <linux/etherdevice.h>
#include <linux/prefetch.h>
#include "vxge-traffic.h"
#include "vxge-config.h"
#include "vxge-main.h"
/*
* vxge_hw_vpath_intr_e... |
google | android | vxge-main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/neterion/vxge/vxge-main.c | 131,622 | utf_8 | f77612063cdaded439337f018db66402 | /******************************************************************************
*
* The module loadable parameters that are supported by the driver and a brief
* explanation of all the variables:
* vlan_tag_strip:
* Strip VLAN Tag enable/disable. Instructs the device to remove
* the VLAN tag from all received tagged fr... |
google | android | vxge-config | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/neterion/vxge/vxge-config.c | 136,736 | utf_8 | ac0f64e54385abcc9eadd2ea7f7edf38 | /******************************************************************************
******************************************************************************/
#include <linux/vmalloc.h>
#include <linux/etherdevice.h>
#include <linux/pci.h>
#include <linux/pci_hotplug.h>
#include <linux/slab.h>
#include "vxge-traffic.... |
google | android | vxge-ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/neterion/vxge/vxge-ethtool.c | 41,693 | utf_8 | eaf0521364cf10c1600b419765bbb796 | /******************************************************************************
******************************************************************************/
#include <linux/ethtool.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/etherdevice.h>
#include "vxge-ethtool.h"
static const char ethtool_dr... |
google | android | pch_gbe_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 81,140 | utf_8 | aa11bb4701dc017b0411c804683b1562 | /*
*/
#include "pch_gbe.h"
#include "pch_gbe_api.h"
#include <linux/module.h>
#include <linux/net_tstamp.h>
#include <linux/ptp_classify.h>
#include <linux/gpio.h>
#define DRV_VERSION "1.01"
const char pch_driver_version[] = DRV_VERSION;
#define PCI_DEVICE_ID_INTEL_IOH1_GBE 0x8802 /* Pci device ID */
#define PCH_... |
google | android | pch_gbe_param | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c | 15,501 | utf_8 | 26a64765e83b6545cc466232ad3462c7 | /*
*/
#include "pch_gbe.h"
#include <linux/module.h> /* for __MODULE_STRING */
#define OPTION_UNSET -1
#define OPTION_DISABLED 0
#define OPTION_ENABLED 1
/**
* TxDescriptors - Transmit Descriptor Count
*/
static int RxDescriptors = OPTION_UNSET;
module_param(RxDescriptors, int, 0);
MODULE_PARM_DESC(RxDescriptors,... |
google | android | pch_gbe_phy | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c | 12,502 | utf_8 | 64937176c0ee896a95eb72cabd8afad9 | /*
*/
#include "pch_gbe.h"
#include "pch_gbe_phy.h"
#define PHY_MAX_REG_ADDRESS 0x1F /* 5 bit address bus (0-0x1F) */
/* PHY 1000 MII Register/Bit Definitions */
/* PHY Registers defined by IEEE */
#define PHY_CONTROL 0x00 /* Control Register */
#define PHY_STATUS 0x01 /* Status Regiser */
#de... |
google | android | pch_gbe_api | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_api.c | 6,855 | utf_8 | 7199479ead5bd3ee8d149c20db5386b1 | /*
*/
#include "pch_gbe.h"
#include "pch_gbe_phy.h"
#include "pch_gbe_api.h"
/* bus type values */
#define pch_gbe_bus_type_unknown 0
#define pch_gbe_bus_type_pci 1
#define pch_gbe_bus_type_pcix 2
#define pch_gbe_bus_type_pci_express 3
#define pch_gbe_bus_type_reserved 4
/* bus speed values */
#define pch_gbe_bus_sp... |
google | android | pch_gbe_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c | 14,635 | utf_8 | b244ec11d573a95b7bf7c5f69181b5aa | /*
*/
#include "pch_gbe.h"
#include "pch_gbe_api.h"
/**
* pch_gbe_stats - Stats item information
*/
struct pch_gbe_stats {
char string[ETH_GSTRING_LEN];
size_t size;
size_t offset;
};
#define PCH_GBE_STAT(m) \
{ \
.string = #m, \
.size = FIELD_SIZEOF(struct pch_gbe_hw_stats, m), \
.offset = of... |
google | android | sis900 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sis/sis900.c | 74,065 | utf_8 | 0b4f50a69a2713049f40339a7a946e37 | /* sis900.c: A SiS 900/7016 PCI Fast Ethernet driver for Linux.
the authorship (implicit copyright) notice.
References:
SiS 7016 Fast Ethernet PCI Bus 10/100 Mbps LAN Controller with OnNow Support,
preliminary Rev. 1.0 Jan. 14, 1998
SiS 900 Fast Ethernet PCI Bus 10/100 Mbps LAN Single Chip with OnNow Sup... |
google | android | sis190 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sis/sis190.c | 46,952 | utf_8 | eef872ebc805ba1893b5ff710a7cfc40 | /*
sis190.c: Silicon Integrated Systems SiS190 ethernet driver
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/netdevice.h>
#include <linux/rtnetlink.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#incl... |
google | android | tsi108_eth | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/tundra/tsi108_eth.c | 47,128 | utf_8 | 4f6c42e607eadc25f2ea7ac367b50e15 | /*******************************************************************************
this program; if not, write to the Free Software Foundation, Inc., 59
Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*******************************************************************************/
/* This driver is based on th... |
google | android | mmc_core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 11,196 | utf_8 | e2c4d2dd5fbda005f26259696a70490c | /*******************************************************************************
DWMAC Management Counters
*******************************************************************************/
#include <linux/kernel.h>
#include <linux/io.h>
#include "mmc.h"
/* MAC Management Counters register offset */
#define MMC_CNTRL ... |
google | android | stmmac_mdio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 8,477 | utf_8 | 941d3b441cce12ef7661dad414233560 | /*******************************************************************************
STMMAC Ethernet Driver -- MDIO bus implementation
Provides Bus interface for MII registers
*******************************************************************************/
#include <linux/mii.h>
#include <linux/phy.h>
#include <linux/s... |
google | android | norm_desc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/norm_desc.c | 7,264 | utf_8 | 9a1726e536d892a4930c9b87535f037b | /*******************************************************************************
This contains the functions to handle the normal descriptors.
*******************************************************************************/
#include <linux/stmmac.h>
#include "common.h"
#include "descs_com.h"
static int ndesc_get_tx_s... |
google | android | dwmac-socfpga | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 8,387 | utf_8 | c89bbcfac0be628946396eb36e2030cb | *
* Adopted from dwmac-sti.c
*/
#include <linux/mfd/syscon.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_net.h>
#include <linux/phy.h>
#include <linux/regmap.h>
#include <linux/reset.h>
#include <linux/stmmac.h>
#include "stmmac.h"
#include "stmmac_platform.h"
#define SYSMGR_EMACGRP_CTRL_... |
google | android | dwmac1000_dma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c | 6,758 | utf_8 | e742d2ceb852a2b5ef186abf11340477 | /*******************************************************************************
This is the driver for the GMAC on-chip Ethernet controller for ST SoCs.
DWC Ether MAC 10/100/1000 Universal version 3.41a has been used for
developing this code.
This contains the functions to handle the dma.
********************... |
google | android | stmmac_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 91,248 | utf_8 | 42b4458d9dce2855d1e0c50b76abeada | /*******************************************************************************
This is the driver for the ST MAC 10/100/1000 on-chip Ethernet controllers.
ST Ethernet IPs are built around a Synopsys IP Core.
Documentation available at:
http://www.stlinux.com
Support available at:
https://bugzilla.stlinux.co... |
google | android | dwmac-ipq806x | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c | 11,021 | utf_8 | 688184fd18b287219450751382fee022 | /*
* Qualcomm Atheros IPQ806x GMAC glue layer
*
*/
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/phy.h>
#include <linux/regmap.h>
#include <linux/clk.h>
#include <linux/reset.h>
#include <linux/of_net.h>
#include <linux/mfd/syscon.h>
#include <linux/stmmac.h>
#include <linux/of_mdio.h>... |
google | android | enh_desc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/enh_desc.c | 10,993 | utf_8 | 5c47c34be1b284279d15268509705f19 | /*******************************************************************************
This contains the functions to handle the enhanced descriptors.
*******************************************************************************/
#include <linux/stmmac.h>
#include "common.h"
#include "descs_com.h"
static int enh_desc_get... |
google | android | stmmac_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 22,670 | utf_8 | a9b5a4b0f0326c53070c5c556e10768f | /*******************************************************************************
STMMAC Ethtool support
*******************************************************************************/
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/interrupt.h>
#include <linux/mii.h>
#include <linux/phy.h>
... |
google | android | dwmac100_core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c | 6,287 | utf_8 | 662c2d5a226697edae7d93bd73e922bd | /*******************************************************************************
This is the driver for the MAC 10/100 on-chip Ethernet controller
currently tested on all the ST boards based on STb7109 and stx7200 SoCs.
DWC Ether MAC 10/100 Universal version 4.0 has been used for developing
this code.
This on... |
google | android | ring_mode | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/ring_mode.c | 4,144 | utf_8 | 5930647d7fad1153b410e028a968dadb | /*******************************************************************************
Specialised functions for managing Ring mode
this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
****************************************************************... |
google | android | dwmac-sunxi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 4,732 | utf_8 | 16e989d35d08d6439cc244d72e0ec5de | /*
* dwmac-sunxi.c - Allwinner sunxi DWMAC specific glue layer
*
*/
#include <linux/stmmac.h>
#include <linux/clk.h>
#include <linux/module.h>
#include <linux/phy.h>
#include <linux/platform_device.h>
#include <linux/of_net.h>
#include <linux/regulator/consumer.h>
#include "stmmac_platform.h"
struct sunxi_priv_data ... |
google | android | dwmac1000_core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c | 12,328 | utf_8 | 87d868943fea792343a0bd3923ad719b | /*******************************************************************************
This is the driver for the GMAC on-chip Ethernet controller for ST SoCs.
DWC Ether MAC 10/100/1000 Universal version 3.41a has been used for
developing this code.
This only implements the mac core functions for this chip.
********... |
google | android | dwmac-lpc18xx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c | 2,377 | utf_8 | 059989604ce72d7a8152e4b404278a11 | /*
* DWMAC glue for NXP LPC18xx/LPC43xx Ethernet
*
* warranty of any kind, whether express or implied.
*/
#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_net.h>
#include <linux/phy.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/stmmac... |
google | android | stmmac_hwtstamp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c | 3,903 | utf_8 | 8ef2495274b0dc2bfa925d80ed742809 | /*******************************************************************************
*******************************************************************************/
#include <linux/io.h>
#include <linux/delay.h>
#include "common.h"
#include "stmmac_ptp.h"
static void stmmac_config_hw_tstamping(void __iomem *ioaddr, u32 da... |
google | android | dwmac-meson | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c | 2,457 | utf_8 | 7558fe5b5977db8ea8c3dda3a66bb34a | /*
* Amlogic Meson DWMAC glue layer
*
*/
#include <linux/device.h>
#include <linux/ethtool.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/stmmac.h>
#include "stmmac_platform.h"
#define ETHMAC_SPEED_100 BIT(1)
struct meson_dwmac {
struc... |
google | android | stmmac_platform | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 11,211 | utf_8 | 69bb4cc395b7ba6543edc31a239399db | /*******************************************************************************
This contains the functions to handle the platform driver.
*******************************************************************************/
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linu... |
google | android | stmmac_ptp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c | 5,367 | utf_8 | a7c55978804c018b284f5652b149257a | /*******************************************************************************
PTP 1588 clock using the STMMAC.
*******************************************************************************/
#include "stmmac.h"
#include "stmmac_ptp.h"
/**
* stmmac_adjust_freq
*
*
* Description: this function will adjust the f... |
google | android | dwmac-sti | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c | 11,175 | utf_8 | a02f8e88b4a8c7810fbafee83cf15a5a | /*
* dwmac-sti.c - STMicroelectronics DWMAC Specific Glue layer
*
* (at your option) any later version.
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/stmmac.h>
#include <linux/phy.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/reg... |
google | android | dwmac100_dma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c | 4,582 | utf_8 | e05db8fd614ee7b28316b0ba0f0a674b | /*******************************************************************************
This is the driver for the MAC 10/100 on-chip Ethernet controller
currently tested on all the ST boards based on STb7109 and stx7200 SoCs.
DWC Ether MAC 10/100 Universal version 4.0 has been used for developing
this code.
This co... |
google | android | dwmac_lib | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c | 7,260 | utf_8 | 610342a04079e5d1d0d9bec54a6e5128 | /*******************************************************************************
*******************************************************************************/
#include <linux/io.h>
#include "common.h"
#include "dwmac_dma.h"
#define GMAC_HI_REG_AE 0x80000000
/* CSR1 enables the transmit DMA to check for new descript... |
google | android | dwmac-generic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c | 2,153 | utf_8 | 76c315e732cecd2205298168bf8f7b7f | /*
* Generic DWMAC platform driver
*
* warranty of any kind, whether express or implied.
*/
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include "stmmac.h"
#include "stmmac_platform.h"
static int dwmac_generic_probe(struct platform_device *pdev)
{
struct plat_stmmacenet_data ... |
google | android | dwmac-rk | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 17,487 | utf_8 | 2f2f7b20a9c4e370019ab5206900c3a2 | /**
* dwmac-rk.c - Rockchip RK3288 DWMAC specific glue layer
*
*/
#include <linux/stmmac.h>
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/phy.h>
#include <linux/of_net.h>
#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/of_gpio.h>
#include <linux/of_device.h>
#include <linux/platf... |
google | android | chain_mode | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/chain_mode.c | 5,096 | utf_8 | c98b81c70383ce6db3f8edfe90184413 | /*******************************************************************************
Specialised functions for managing Chained mode
this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*************************************************************... |
google | android | stmmac_pci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 7,623 | utf_8 | 5f7d8505ad6c03858bd7e00559ebf7fb | /*******************************************************************************
This contains the functions to handle the pci driver.
*******************************************************************************/
#include <linux/pci.h>
#include <linux/dmi.h>
#include "stmmac.h"
/*
* This struct is used to associa... |
google | android | tehuti | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/tehuti/tehuti.c | 67,840 | utf_8 | 414765555d21162e174e839571c3d26c | /*
* Tehuti Networks(R) Network Driver
* ethtool interface implementation
* (at your option) any later version.
*/
/*
* RX HW/SW interaction overview
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* There are 2 types of RX communication channels between driver and NIC.
* 1) RX Free Fifo - RXF - holds descriptors of empty buff... |
google | android | ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/ethtool.c | 34,372 | utf_8 | 708e7cb68c4e330ea278e8a1f8f3e75e | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/rtnetlink.h>
#include <linux/in.h>
#include "net_driver.h"
#include "workarounds.h"
#include "selftest.h"
#inc... |
google | android | siena_sriov | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/siena_sriov.c | 47,955 | utf_8 | 02007111b860c8aabd80643b9353091c | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/pci.h>
#include <linux/module.h>
#include "net_driver.h"
#include "efx.h"
#include "nic.h"
#include "io.h"
#include "mcdi.h"
#include "filter.h"
#include "mcdi_pcol.h... |
google | android | qt202x_phy | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/qt202x_phy.c | 14,394 | utf_8 | ee18a2f47fb6f9f3a3864d3d806f7632 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
/*
* Driver for AMCC QT202x SFP+ and XFP adapters; see www.amcc.com for details
*/
#include <linux/slab.h>
#include <linux/timer.h>
#include <linux/delay.h>
#include "efx.h"
#inclu... |
google | android | mcdi_mon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/mcdi_mon.c | 15,735 | utf_8 | 5390997a76d8030b323a09e93fac1e70 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/bitops.h>
#include <linux/slab.h>
#include <linux/hwmon.h>
#include <linux/stat.h>
#include "net_driver.h"
#include "mcdi.h"
#include "mcdi_pcol.h"
#include "nic.h"
e... |
google | android | selftest | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/selftest.c | 22,329 | utf_8 | 6baa620d5c465b2cc5fb8a9fb9117f02 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/netdevice.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/kernel_stat.h>
#include <linux/pci.h>
#include <linux/ethtool.h>
#include <linux/ip.h>... |
google | android | mtd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/mtd.c | 3,120 | utf_8 | 1f7397a749cb469cfe3feb0133f5ae20 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/module.h>
#include <linux/mtd/mtd.h>
#include <linux/slab.h>
#include <linux/rtnetlink.h>
#include "net_driver.h"
#include "efx.h"
#define to_efx_mtd_partition(mtd) ... |
google | android | rx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/rx.c | 29,362 | utf_8 | 705b368f959b518cb9919a7b9cbaac40 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/socket.h>
#include <linux/in.h>
#include <linux/slab.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/pr... |
google | android | efx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/efx.c | 91,446 | utf_8 | bd73d92bb4afcac0cf510531961f8642 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/delay.h>
#include <linux/notifier.h>
#include <linux/ip.h... |
google | android | nic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/nic.c | 15,422 | utf_8 | ed9b9df44d14b649e80abee6df3117d7 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/cpu_rmap.... |
google | android | ef10 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/ef10.c | 144,605 | utf_8 | e9d2bf09f7d9e8defddde259a61acd30 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include "net_driver.h"
#include "ef10_regs.h"
#include "io.h"
#include "mcdi.h"
#include "mcdi_pcol.h"
#include "nic.h"
#include "workarounds.h"
#include "selftest.h"
#include "ef10... |
google | android | ptp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/ptp.c | 58,085 | utf_8 | 9fc48bbf5e7ef4be617919bedfc366ca | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
/* Theory of operation:
*
* PTP support is assisted by firmware running on the MC, which provides
* the hardware timestamping capabilities. Both transmitted and received
* PTP e... |
google | android | ef10_sriov | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/ef10_sriov.c | 18,541 | utf_8 | d3f31a53fec37a494fc6c136fc7ff099 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/pci.h>
#include <linux/module.h>
#include "net_driver.h"
#include "ef10_sriov.h"
#include "efx.h"
#include "nic.h"
#include "mcdi_pcol.h"
static int efx_ef10_evb_port... |
google | android | txc43128_phy | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/txc43128_phy.c | 16,302 | utf_8 | eb0a8a7814d55794f0b85f837fbc5fe1 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
/*
* Driver for Transwitch/Mysticom CX4 retimer
* see www.transwitch.com, part is TXC-43128
*/
#include <linux/delay.h>
#include <linux/slab.h>
#include "efx.h"
#include "mdio_10g... |
google | android | tx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/tx.c | 38,473 | utf_8 | 95ac350c432e24aca169d4f57b327426 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/pci.h>
#include <linux/tcp.h>
#include <linux/ip.h>
#include <linux/in.h>
#include <linux/ipv6.h>
#include <linux/slab.h>
#include <net/ipv6.h>
#include <linux/if_eth... |
google | android | mdio_10g | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/mdio_10g.c | 8,703 | utf_8 | 859ed5f8393a1ae04a3f671b3f3b5260 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
/*
* Useful functions for working with MDIO clause 45 PHYs
*/
#include <linux/types.h>
#include <linux/ethtool.h>
#include <linux/delay.h>
#include "net_driver.h"
#include "mdio_10... |
google | android | tenxpress | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/tenxpress.c | 13,613 | utf_8 | 2cd0b1c79bebb9d64edb9b46802381ee | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/delay.h>
#include <linux/rtnetlink.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include "efx.h"
#include "mdio_10g.h"
#include "nic.h"
#include "phy.h"
#in... |
google | android | farch | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/farch.c | 90,107 | utf_8 | 0c4a301cd8f1dd8adaa927067045e5a8 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/crc32.h>
... |
google | android | mcdi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/mcdi.c | 56,461 | utf_8 | 1b5114217fc4981fc1e1cc7b9d7723e5 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/delay.h>
#include <linux/moduleparam.h>
#include <linux/atomic.h>
#include "net_driver.h"
#include "nic.h"
#include "io.h"
#include "farch_regs.h"
#include "mcdi_pcol... |
google | android | falcon_boards | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/falcon_boards.c | 21,938 | utf_8 | 75c07d3fb7de5698ad760f0fce66269b | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/rtnetlink.h>
#include "net_driver.h"
#include "phy.h"
#include "efx.h"
#include "nic.h"
#include "workarounds.h"
/* Macros for unpacking the board revision */
/* The ... |
google | android | sriov | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/sriov.c | 2,227 | utf_8 | 4918ac283bf37737fdcbda602fa239ec | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/module.h>
#include "net_driver.h"
#include "nic.h"
#include "sriov.h"
int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac)
{
struct efx_nic *efx =... |
google | android | siena | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/siena.c | 31,973 | utf_8 | 13d02bed4c5165c67bb988b8ba7c1b31 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/random.h>
#include "net_driver.h"
#include... |
google | android | falcon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/falcon.c | 86,566 | utf_8 | de76456b0d04caf134d009e336a247a2 | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/i2c.h>
#include <linux/mii.h>
#include... |
google | android | mcdi_port | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sfc/mcdi_port.c | 29,756 | utf_8 | 116f7c3144e6490736b3d9494d42996a | /****************************************************************************
* Driver for Solarflare network controllers and boards
*/
/*
* Driver for PHY related operations via MCDI.
*/
#include <linux/slab.h>
#include "efx.h"
#include "phy.h"
#include "mcdi.h"
#include "mcdi_pcol.h"
#include "nic.h"
#include "se... |
google | android | starfire | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/adaptec/starfire.c | 62,517 | utf_8 | 5417ce98d12b50fe620ab0e6eb157fdb | /* starfire.c: Linux device driver for the Adaptec Starfire network adapter. */
/*
Written 1998-2000 by Donald Becker.
Current maintainer is Ion Badulescu <ionut ta badula tod org>. Please
send all bug reports to me, and not to Donald Becker, as this code
has been heavily modified from Donald's original version.
S... |
google | android | sunqe | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sun/sunqe.c | 25,702 | utf_8 | 04856a00e84981e747770c4c89a95423 | /* sunqe.c: Sparc QuadEthernet 10baseT SBUS card driver.
* Once again I am out to prove that every ethernet
* controller out there can be most efficiently programmed
* if you make it look like a LANCE.
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#inc... |
google | android | sunhme | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sun/sunhme.c | 94,528 | utf_8 | 86e1992e66ad85935d265723e36a8f09 | /* sunhme.c: Sparc HME/BigMac 10/100baseT half/full duplex auto switching,
* auto carrier detecting ethernet driver. Also known as the
* "Happy Meal Ethernet" found on SunSwift SBUS cards.
*
*
* Changes :
* 2000/11/11 Willy Tarreau <willy AT meta-x.org>
* - port to non-sparc architectures.... |
google | android | sungem | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sun/sungem.c | 77,776 | utf_8 | 883dfc63a087df2c1c753dd7cf7510e0 | /* $Id: sungem.c,v 1.44.2.22 2002/03/13 01:18:12 davem Exp $
* sungem.c: Sun GEM ethernet driver.
*
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <... |
google | android | niu | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sun/niu.c | 234,593 | utf_8 | 407abffd639cdc0d8d0ec42de7aebd5f | /* niu.c: Neptune ethernet driver.
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/etherdevice.h>
#include <linu... |
google | android | sunvnet | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sun/sunvnet.c | 50,394 | utf_8 | 5fbc549610d548aa5df5609a2bd2f974 | /* sunvnet.c: Sun LDOM Virtual Network Driver.
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/... |
google | android | sunbmac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sun/sunbmac.c | 33,475 | utf_8 | d42165abc25e56fbf3d201afdb9d36e0 | /* sunbmac.c: Driver for Sparc BigMAC 100baseT ethernet adapters.
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/in.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/c... |
google | android | cassini | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/sun/cassini.c | 142,581 | utf_8 | 147bee668b9709240a82c49bf39d82e8 | /* cassini.c: Sun Microsystems Cassini(+) ethernet driver.
*
*
* The cassini chip has a number of features that distinguish it from
* the gem chip:
* 4 transmit descriptor rings that are used for either QoS (VLAN) or
* load balancing (non-VLAN mode)
* batching of multiple packets
* multiple CPU dispatch... |
google | android | xirc2ps_cs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/xircom/xirc2ps_cs.c | 53,278 | utf_8 | 7e1c5d7e0f35a6c20e5ad35021d02376 | /* [xirc2ps_cs.c wk 03.11.99] (1.40 1999/11/18 00:06:03)
* Xircom CreditCard Ethernet Adapter IIps driver
* Xircom Realport 10/100 (RE-100) driver
*
* This driver supports various Xircom CreditCard Ethernet adapters
* including the CE2, CE IIps, RE-10, CEM28, CEM33, CE33, CEM56,
* CE3-100, CE3B, RE-100, REM10BT,... |
google | android | mace | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/apple/mace.c | 27,955 | utf_8 | dfd45a27acf7ece9aa215c81ed158e7b | /*
* Network device driver for the MACE ethernet controller on
* Apple Powermacs. Assumes it's under a DBDMA controller.
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/timer.h>
#... |
google | android | macmace | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/apple/macmace.c | 18,395 | utf_8 | 785046ca1a9816ba3e8f6d9217f107de | /*
* Driver for the Macintosh 68K onboard MACE controller with PSC
* driven DMA. The MACE driver code is derived from mace.c. The
*
* Converted to DMA API, converted to unified driver model,
* sync'd some routines with mace.c and fixed various bugs.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include ... |
google | android | bmac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/apple/bmac.c | 42,226 | utf_8 | 0cd76d79bdec4d3d4c1a2d2a25163b79 | /*
* Network device driver for the BMAC ethernet controller on
* Apple Powermacs. Assumes it's under a DBDMA controller.
*
*
* May 1999, Al Viro: proper release of /proc/net/bmac entry, switched to
* dynamic procfs inode.
*/
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/kernel.h>
#inclu... |
google | android | dm9000 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/davicom/dm9000.c | 42,612 | utf_8 | b1d581fde56fff844423963c5c3a545c | /*
* Davicom DM9000 Fast Ethernet driver for Linux.
*/
#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>
#include <linux... |
google | android | qca_spi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qualcomm/qca_spi.c | 24,324 | utf_8 | 02d124074073f4a25c9e987f15413830 | /*
*/
/* This module implements the Qualcomm Atheros SPI protocol for
* kernel-based SPI device; it is essentially an Ethernet-to-SPI
* serial converter;
*/
#include <linux/errno.h>
#include <linux/etherdevice.h>
#include <linux/if_arp.h>
#include <linux/if_ether.h>
#include <linux/init.h>
#include <linux/int... |
google | android | qca_framing | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qualcomm/qca_framing.c | 3,909 | utf_8 | 14d8223fe03ee0305df58f6719cce113 | /*
*/
/* Atheros ethernet framing. Every Ethernet frame is surrounded
* by an atheros frame while transmitted over a serial channel;
*/
#include <linux/kernel.h>
#include "qca_framing.h"
u16
qcafrm_create_header(u8 *buf, u16 length)
{
__le16 len;
if (!buf)
return 0;
len = cpu_to_le16(length);
buf[0] = 0xAA... |
google | android | qca_debug | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qualcomm/qca_debug.c | 7,489 | utf_8 | 458f09accaed823ed6bb7e628fd0bcc9 | /*
*/
/* This file contains debugging routines for use in the QCA7K driver.
*/
#include <linux/debugfs.h>
#include <linux/ethtool.h>
#include <linux/seq_file.h>
#include <linux/types.h>
#include "qca_7k.h"
#include "qca_debug.h"
#define QCASPI_MAX_REGS 0x20
static const u16 qcaspi_spi_regs[] = {
SPI_REG_BFR_SIZE,
... |
google | android | qca_7k | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qualcomm/qca_7k.c | 3,510 | utf_8 | 37c792690b2e3d0f1651fccda58542cc | /*
*
*
*/
/* This module implements the Qualcomm Atheros SPI protocol for
* kernel-based SPI device.
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/spi/spi.h>
#include <linux/version.h>
#include "qca_7k.h"
void
qcaspi_spi_error(struct qcaspi *qca)
{
if (qca... |
google | android | xgmac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/calxeda/xgmac.c | 57,604 | utf_8 | 909e3116007d72f90bb6ebf22030d764 | /*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/circ_buf.h>
#include <linux/interrupt.h>
#include <linux/etherdevice.h>
#include <linux/platform_device.h>
#include <linux/skbuff.h>
#include <linux/ethtool.h>
#include <linux/if.h>
#include <linux/crc32.h>
#include <linux/dma-mapping.h>
#includ... |
google | android | forcedeth | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/nvidia/forcedeth.c | 194,117 | utf_8 | 987e23ddda348914a27e3316c3346725 | /*
* forcedeth: Ethernet driver for NVIDIA nForce media access controllers.
*
* Note: This driver is a cleanroom reimplementation based on reverse
* engineered documentation written by Carl-Daniel Hailfinger
* and Andrew de Quincey.
*
* NVIDIA, nForce and other NVIDIA marks are trademarks or registered... |
google | android | 8139too | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/realtek/8139too.c | 72,602 | iso_8859_1 | 4b9bf16bea441467d766327e7af9ac14 | /*
8139too.c: A RealTek RTL-8139 Fast Ethernet driver for Linux.
This driver is for boards based on the RTL8129 and RTL8139
PCI ethernet chips.
Contributors:
Donald Becker - he wrote the original driver, kudos to him!
(but please don't e-mail him for support, this isn't his driver)
Tigran Aivazian - bug fix... |
google | android | r8169 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/realtek/r8169.c | 213,322 | utf_8 | f30ce665432509e5c075eed381f156b1 | /*
* r8169.c: RealTek 8169/8168/8101 ethernet driver.
*
*
* See MAINTAINERS file for support contact information.
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/delay.h>
#include <linux/ethtool.h>
#inclu... |
google | android | atp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/realtek/atp.c | 28,109 | utf_8 | 31d164c93203ca2788eeef03341b3b5b | /* atp.c: Attached (pocket) ethernet adapter driver for linux. */
/*
This is a driver for commonly OEM pocket (parallel port)
ethernet adapters based on the Realtek RTL8002 and RTL8012 chips.
Written 1993-2000 by Donald Becker.
Scyld Computing Corporation
410 Severn Ave., Suite 210
Annapolis MD 21403
Support inf... |
google | android | declance | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/amd/declance.c | 35,458 | utf_8 | 705c07f2de2a9d76f2345b87428ae2dc | /*
* Lance ethernet driver for the MIPS processor based
* DECstation family
*
*
* adopted from sunlance.c by Richard van den Berg
*
*
* additional sources:
* - PMAD-AA TURBOchannel Ethernet Module Functional Specification,
* Revision 1.2
*
* History:
*
* v0.001: The... |
google | android | a2065 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/amd/a2065.c | 20,467 | utf_8 | 579e2404b5d3ec0d8b19940328861b6d | /*
* Amiga Linux/68k A2065 Ethernet Driver
*
* Peter De Schrijver
*
* lance.c: An AMD LANCE ethernet driver for linux.
* Written 1993-94 by Donald Becker.
*
* Am79C960: PCnet(tm)-ISA Single-Chip Ethernet Controller
* Advanced Micro Devices
* Publication #16907,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.