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 | sh_eth | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/renesas/sh_eth.c | 80,772 | utf_8 | 110828a6a9f2c6537e7e09277f42bb4c | /* SuperH Ethernet device driver
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/etherdevice.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/mdio-bitbang.h>
#include <linux/... |
google | android | ravb_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/renesas/ravb_main.c | 48,926 | utf_8 | 01a111e25755256b363c0f4ecb34fcea | /* Renesas Ethernet AVB device driver
*
*/
#include <linux/cache.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/if_vlan.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <lin... |
google | android | ravb_ptp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/renesas/ravb_ptp.c | 8,713 | utf_8 | e7c22c427cf388b7434aebb6f4712895 | /* PTP 1588 clock using the Renesas Ethernet AVB
*
* (at your option) any later version.
*/
#include "ravb.h"
static int ravb_ptp_tcr_request(struct ravb_private *priv, u32 request)
{
struct net_device *ndev = priv->ndev;
int error;
error = ravb_wait(ndev, GCCR, GCCR_TCR, GCCR_TCR_NOREQ);
if (error)
return er... |
google | android | mac89x0 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cirrus/mac89x0.c | 18,478 | utf_8 | 1f257eed9d4a8c91fdcfa9f12a7a789a | /* mac89x0.c: A Crystal Semiconductor CS89[02]0 driver for linux. */
/*
Written 1996 by Russell Nelson, with reference to skeleton.c
written 1993-1994 by Donald Becker.
: Changes for Linux 2.0 compatibility.
: Added dev_id parameter in net_interrupt(),
: req... |
google | android | ep93xx_eth | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cirrus/ep93xx_eth.c | 20,842 | utf_8 | 46ec97260581909840f8a83580662351 | /*
* EP93xx ethernet network device driver
* (at your option) any later version.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__
#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/mii.h>
#include <linux/etherdevice.h>
#include <... |
google | android | cs89x0 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cirrus/cs89x0.c | 51,595 | utf_8 | 1ae54708f1aa33e62af304d2d1161967 | /* cs89x0.c: A Crystal Semiconductor (Now Cirrus Logic) CS89[02]0
* driver for linux.
* Written 1996 by Russell Nelson, with reference to skeleton.c
* written 1993-1994 by Donald Becker.
*
*/
/*
* Set this to zero to disable DMA code
*
* Note that even if DMA is turned off we still support the 'dma' a... |
google | android | sun4i-emac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/allwinner/sun4i-emac.c | 24,665 | utf_8 | 9d3c96d7677a075e44f712a51a817fb4 | /*
* Allwinner EMAC Fast Ethernet driver for Linux.
*
* warranty of any kind, whether express or implied.
*/
#include <linux/clk.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/gpio.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/mii.h>
#include <linux/module.h>
#... |
google | android | ibmveth | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ibm/ibmveth.c | 48,810 | utf_8 | 69b5644bfdad027b84364c82b737e870 | /*
* IBM Power Virtual Ethernet Device Driver
*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/dma-mapping.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/... |
google | android | tah | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ibm/emac/tah.c | 4,000 | utf_8 | c370c93b48fe93db201d4e9333541dcc | /*
* drivers/net/ethernet/ibm/emac/tah.c
*
* Driver for PowerPC 4xx on-chip ethernet controller, TAH support.
*
* option) any later version.
*/
#include <linux/of_address.h>
#include <asm/io.h>
#include "emac.h"
#include "core.h"
int tah_attach(struct platform_device *ofdev, int channel)
{
struct tah_instance *d... |
google | android | mal | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ibm/emac/mal.c | 19,918 | utf_8 | 6e0d392b2203032164df649a218fa00b | /*
* drivers/net/ethernet/ibm/emac/mal.c
*
* Memory Access Layer (MAL) support
*
* option) any later version.
*
*/
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/of_irq.h>
#include "core.h"
#include <asm/dcr-regs.h>
static int mal_count;
int mal_register_commac(struct mal_instance *mal, struct ... |
google | android | phy | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ibm/emac/phy.c | 12,820 | utf_8 | 3b41f0ad3848344a03fc34ddebccf394 | /*
* drivers/net/ethernet/ibm/emac/phy.c
*
* Driver for PowerPC 4xx on-chip ethernet controller, PHY support.
* Borrowed from sungem_phy.c, though I only kept the generic MII
* driver for now.
*
* This file should be shared with other drivers or eventually
* merged as the "low level" part of miilib
*
*
*/
#i... |
google | android | core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ibm/emac/core.c | 83,259 | utf_8 | fa3c0fe4f45782a90ceed8a4417b4c9f | /*
* drivers/net/ethernet/ibm/emac/core.c
*
* Driver for PowerPC 4xx on-chip ethernet controller.
*
* option) any later version.
*
*/
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/types.h>
#include <linux/pci.h>
#inc... |
google | android | debug | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ibm/emac/debug.c | 7,507 | utf_8 | f69d8fba7ec2b6821abd7b06cfd87683 | /*
* drivers/net/ethernet/ibm/emac/debug.c
*
* Driver for PowerPC 4xx on-chip ethernet controller, debug print routines.
*
* option) any later version.
*
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/sysrq.h>
#include <asm/io.h>
#inclu... |
google | android | rgmii | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ibm/emac/rgmii.c | 7,923 | utf_8 | 9952ef805f79776fe872333d1e55e45e | /*
* drivers/net/ethernet/ibm/emac/rgmii.c
*
* Driver for PowerPC 4xx on-chip ethernet controller, RGMII bridge support.
*
* option) any later version.
*
*/
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/ethtool.h>
#include <linux/of_address.h>
#include <asm/io.h>
#include "emac.h"
#include "d... |
google | android | zmii | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ibm/emac/zmii.c | 7,562 | utf_8 | f5acdb0ea28beade5cedbc5af1f0d27d | /*
* drivers/net/ethernet/ibm/emac/zmii.c
*
* Driver for PowerPC 4xx on-chip ethernet controller, ZMII bridge support.
*
* option) any later version.
*
*/
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/ethtool.h>
#include <linux/of_address.h>
#include <asm/io.h>
#include "emac.h"
#include "cor... |
google | android | ehea_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ibm/ehea/ehea_main.c | 86,724 | utf_8 | 412dfd5bb91351ebd970477a4eb8e091 | /*
* linux/drivers/net/ethernet/ibm/ehea/ehea_main.c
*
* eHEA ethernet device driver for IBM eServer System p
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/device.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/tcp.h>
... |
google | android | ehea_qmr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ibm/ehea/ehea_qmr.c | 23,667 | utf_8 | a0e6e3c9e641684274711d68a02a5e01 | /*
* linux/drivers/net/ethernet/ibm/ehea/ehea_qmr.c
*
* eHEA ethernet device driver for IBM eServer System p
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/mm.h>
#include <linux/slab.h>
#include "ehea.h"
#include "ehea_phyp.h"
#includ... |
google | android | ehea_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ibm/ehea/ehea_ethtool.c | 6,839 | utf_8 | c06adba67fe53ede48c1e1e8f5579c43 | /*
* linux/drivers/net/ethernet/ibm/ehea/ehea_ethtool.c
*
* eHEA ethernet device driver for IBM eServer System p
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include "ehea.h"
#include "ehea_phyp.h"
static int ehea_get_settings(struct net_device *d... |
google | android | ehea_phyp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/ibm/ehea/ehea_phyp.c | 19,285 | utf_8 | 40e4dfa39dcd63ee6754dc8ad37908ad | /*
* linux/drivers/net/ethernet/ibm/ehea/ehea_phyp.c
*
* eHEA ethernet device driver for IBM eServer System p
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include "ehea_phyp.h"
static inline u16 get_order_of_qentries(u16 queue_entries)
{
u8 ld = ... |
google | android | qla3xxx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qla3xxx.c | 103,548 | utf_8 | 31ee6e8944a0115bf1133e59dcade893 | /*
* QLogic QLA3xxx NIC HBA Driver
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/list.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/dmapool.h>
#incl... |
google | android | qlcnic_io | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 61,111 | utf_8 | 97a0f89f70989b527f8adecd938b1b01 | /*
* QLogic qlcnic NIC Driver
*/
#include <linux/netdevice.h>
#include <linux/if_vlan.h>
#include <net/ip.h>
#include <linux/ipv6.h>
#include <net/checksum.h>
#include <linux/printk.h>
#include "qlcnic.h"
#define QLCNIC_TX_ETHER_PKT 0x01
#define QLCNIC_TX_TCP_PKT 0x02
#define QLCNIC_TX_UDP_PKT 0x03
#define QLCNIC_... |
google | android | qlcnic_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c | 45,470 | utf_8 | f65fcba21f036d0bf9a1d45840d842d9 | /*
* QLogic qlcnic NIC Driver
*/
#include <linux/slab.h>
#include <net/ip.h>
#include <linux/bitops.h>
#include "qlcnic.h"
#include "qlcnic_hdr.h"
#define MASK(n) ((1ULL<<(n))-1)
#define OCM_WIN_P3P(addr) (addr & 0xffc0000)
#define GET_MEM_OFFS_2M(addr) (addr & MASK(18))
#define CRB_BLK(off) ((off >> 20) & 0x3f)
#def... |
google | android | qlcnic_ctx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c | 39,630 | utf_8 | a2067dd7a141c0b9b156eae468984d27 | /*
* QLogic qlcnic NIC Driver
*/
#include "qlcnic.h"
static const struct qlcnic_mailbox_metadata qlcnic_mbx_tbl[] = {
{QLCNIC_CMD_CREATE_RX_CTX, 4, 1},
{QLCNIC_CMD_DESTROY_RX_CTX, 2, 1},
{QLCNIC_CMD_CREATE_TX_CTX, 4, 1},
{QLCNIC_CMD_DESTROY_TX_CTX, 3, 1},
{QLCNIC_CMD_INTRPT_TEST, 4, 1},
{QLCNIC_CMD_SET_MTU, 4, ... |
google | android | qlcnic_sriov_pf | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c | 51,121 | utf_8 | a2d007903b287b2b09cb4180fa311a2a | /*
* QLogic qlcnic NIC Driver
*/
#include <linux/types.h>
#include "qlcnic_sriov.h"
#include "qlcnic.h"
#define QLCNIC_SRIOV_VF_MAX_MAC 7
#define QLC_VF_MIN_TX_RATE 100
#define QLC_VF_MAX_TX_RATE 9999
#define QLC_MAC_OPCODE_MASK 0x7
#define QLC_VF_FLOOD_BIT BIT_16
#define QLC_FLOOD_MODE 0x5
#define QLC_SRIOV_ALLOW_V... |
google | android | qlcnic_sriov_common | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c | 57,795 | utf_8 | e64c7a2f8c588f63057b0715c51160eb | /*
* QLogic qlcnic NIC Driver
*/
#include <linux/types.h>
#include "qlcnic_sriov.h"
#include "qlcnic.h"
#include "qlcnic_83xx_hw.h"
#define QLC_BC_COMMAND 0
#define QLC_BC_RESPONSE 1
#define QLC_MBOX_RESP_TIMEOUT (10 * HZ)
#define QLC_MBOX_CH_FREE_TIMEOUT (10 * HZ)
#define QLC_BC_MSG 0
#define QLC_BC_CFREE 1
#defi... |
google | android | qlcnic_sysfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c | 36,978 | utf_8 | 82f9211276788542eb697e061a12b077 | /*
* QLogic qlcnic NIC Driver
*/
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/swab.h>
#include <linux/dma-mapping.h>
#include <net/ip.h>
#include <linux/ipv6.h>
#include <linux/inetdevice.h>
#include <linux/sysfs.h>
#include <linux/aer.h>
#include <linux/log2.h>
#ifdef CONFIG_QLCNIC_HWMON
#inc... |
google | android | qlcnic_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c | 52,123 | utf_8 | 60f9a8e83b4b2bcdced251cef330a2d8 | /*
* QLogic qlcnic NIC Driver
*/
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/io.h>
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include "qlcnic.h"
struct qlcnic_stats {
char stat_string[ETH_GSTRING_LEN];
int sizeof_stat;
int stat_offset;
};
#define QLC_SIZEO... |
google | android | qlcnic_init | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c | 31,773 | utf_8 | 35703ed8d7eec5f861dfc14a1fdc91d8 | /*
* QLogic qlcnic NIC Driver
*/
#include "qlcnic.h"
#include "qlcnic_hw.h"
struct crb_addr_pair {
u32 addr;
u32 data;
};
#define QLCNIC_MAX_CRB_XFORM 60
static unsigned int crb_addr_xform[QLCNIC_MAX_CRB_XFORM];
#define crb_addr_transform(name) \
(crb_addr_xform[QLCNIC_HW_PX_MAP_CRB_##name] = \
QLCNIC_HW_CRB_HUB_... |
google | android | qlcnic_minidump | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 35,230 | utf_8 | 55980e6cea2c41e270c6c4a40054e0d6 | /*
* QLogic qlcnic NIC Driver
*/
#include <net/ip.h>
#include "qlcnic.h"
#include "qlcnic_hdr.h"
#include "qlcnic_83xx_hw.h"
#include "qlcnic_hw.h"
#define QLC_83XX_MINIDUMP_FLASH 0x520000
#define QLC_83XX_OCM_INDEX 3
#define QLC_83XX_PCI_INDEX 0
#define QLC_83XX_DMA_ENGINE_INDEX 8
static const u32 qlcnic_ms_re... |
google | android | qlcnic_dcb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c | 28,417 | utf_8 | 84beb3434cbdb9ac5247ba9095c9cb52 | /*
* QLogic qlcnic NIC Driver
*/
#include <linux/types.h>
#include "qlcnic.h"
#define QLC_DCB_NUM_PARAM 3
#define QLC_DCB_LOCAL_IDX 0
#define QLC_DCB_OPER_IDX 1
#define QLC_DCB_PEER_IDX 2
#define QLC_DCB_GET_MAP(V) (1 << V)
#define QLC_DCB_FW_VER 0x2
#define QLC_DCB_MAX_TC 0x8
#define QLC_DCB_MAX_APP 0x8
#... |
google | android | qlcnic_83xx_init | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 66,601 | utf_8 | 8517b93aad8e8e05f165a3347726f1cb | /*
* QLogic qlcnic NIC Driver
*/
#include "qlcnic_sriov.h"
#include "qlcnic.h"
#include "qlcnic_hw.h"
/* Reset template definitions */
#define QLC_83XX_RESTART_TEMPLATE_SIZE 0x2000
#define QLC_83XX_RESET_TEMPLATE_ADDR 0x4F0000
#define QLC_83XX_RESET_SEQ_VERSION 0x0101
#define QLC_83XX_OPCODE_NOP 0x0000
#define Q... |
google | android | qlcnic_83xx_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c | 114,948 | utf_8 | 8e8724e8f1cd473485c9c2ed173db6a9 | /*
* QLogic qlcnic NIC Driver
*/
#include <linux/if_vlan.h>
#include <linux/ipv6.h>
#include <linux/ethtool.h>
#include <linux/interrupt.h>
#include <linux/aer.h>
#include "qlcnic.h"
#include "qlcnic_sriov.h"
static void __qlcnic_83xx_process_aen(struct qlcnic_adapter *);
static int qlcnic_83xx_clear_lb_mode(struct q... |
google | android | qlcnic_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 113,163 | utf_8 | 30e889ea6121f55ae8010d634a26a214 | /*
* QLogic qlcnic NIC Driver
*/
#include <linux/vmalloc.h>
#include <linux/interrupt.h>
#include <linux/swab.h>
#include <linux/dma-mapping.h>
#include <linux/if_vlan.h>
#include <net/ip.h>
#include <linux/ipv6.h>
#include <linux/inetdevice.h>
#include <linux/aer.h>
#include <linux/log2.h>
#include <linux/pci.h>
#if... |
google | android | qlcnic_83xx_vnic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 7,322 | utf_8 | ce3658220a6850bff1af432cc9ff20ef | /*
* QLogic qlcnic NIC Driver
*/
#include "qlcnic.h"
#include "qlcnic_hw.h"
static int qlcnic_83xx_enable_vnic_mode(struct qlcnic_adapter *adapter, int lock)
{
if (lock) {
if (qlcnic_83xx_lock_driver(adapter))
return -EBUSY;
}
QLCWRX(adapter->ahw, QLC_83XX_VNIC_STATE, QLCNIC_DEV_NPAR_OPER);
if (lock)
qlcni... |
google | android | qlge_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlge/qlge_main.c | 137,649 | utf_8 | cb2ca928d4edddea55fe0904ed8bad2f | /*
* QLogic qlge NIC HBA Driver
*/
#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/list.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/pagemap.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/dmapool.h>... |
google | android | qlge_dbg | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlge/qlge_dbg.c | 62,849 | utf_8 | ccc2cee5861e0c15df6828f80c3e6d7e | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/slab.h>
#include "qlge.h"
/* Read a NIC register from the alternate function. */
static u32 ql_read_other_func_reg(struct ql_adapter *qdev,
u32 reg)
{
u32 register_to_read;
u32 reg_val;
unsigned int status = 0;
register_to_read = MPI_NIC_REG_BLOC... |
google | android | qlge_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlge/qlge_ethtool.c | 22,268 | utf_8 | 327df11cbd4cc839f274a6ec0d578190 | #include <linux/kernel.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/list.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/pagemap.h>
#include <linux/sched.h>
#include <linux/dmapool.h>
#include <linux/mempool.h>
#include <linux/spinlock.h>
#include <linux/kthread.h>
#inc... |
google | android | qlge_mpi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qlge/qlge_mpi.c | 30,828 | utf_8 | bc71bc309b1005492968b9e059d0678c | #include "qlge.h"
int ql_unpause_mpi_risc(struct ql_adapter *qdev)
{
u32 tmp;
/* Un-pause the RISC */
tmp = ql_read32(qdev, CSR);
if (!(tmp & CSR_RP))
return -EIO;
ql_write32(qdev, CSR, CSR_CMD_CLR_PAUSE);
return 0;
}
int ql_pause_mpi_risc(struct ql_adapter *qdev)
{
u32 tmp;
int count = UDELAY_COUNT;
/*... |
google | android | qede_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 10,831 | utf_8 | 67cb0a5e6675c1b801d6680f9378cf9c | /* QLogic qede NIC Driver
* this source tree.
*/
#include <linux/version.h>
#include <linux/types.h>
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/string.h>
#include <linux/pci.h>
#include <linux/capability.h>
#include "qede.h"
#define QEDE_STAT_OFFSET(stat_name) (offsetof(struct qede_stats, s... |
google | android | qede_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qede/qede_main.c | 68,487 | utf_8 | 1384a8275aae2d3fa2c4a29897657e84 | /* QLogic qede NIC Driver
* this source tree.
*/
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/version.h>
#include <linux/device.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/errno.h>
#include <linux/list.h>
#include <linux/string.h>
#include... |
google | android | qed_cxt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qed/qed_cxt.c | 21,874 | utf_8 | 1953a489b5d2e1b7e5f4786bf6f47feb | /* QLogic qed NIC Driver
* this source tree.
*/
#include <linux/types.h>
#include <linux/bitops.h>
#include <linux/dma-mapping.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/log2.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/... |
google | android | qed_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qed/qed_hw.c | 20,503 | utf_8 | 3d22553ea79ee169ddd58978f99e0313 | /* QLogic qed NIC Driver
* this source tree.
*/
#include <linux/types.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/spin... |
google | android | qed_l2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qed/qed_l2.c | 46,001 | utf_8 | 0eeb36ed4febd9c89d2735466568c8d9 | /* QLogic qed NIC Driver
* this source tree.
*/
#include <linux/types.h>
#include <asm/byteorder.h>
#include <asm/param.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/etherdevice.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#inc... |
google | android | qed_init_fw_funcs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c | 24,581 | utf_8 | 3ffadf0722ead7ba161ee149b0e004d4 | /* QLogic qed NIC Driver
* this source tree.
*/
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/string.h>
#include "qed_hsi.h"
#include "qed_hw.h"
#include "qed_init_ops.h"
#include "qed_reg_addr.h"
enum cminterface {
MCM_SEC,
MCM_PRI,
UCM_SEC,
U... |
google | android | qed_init_ops | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qed/qed_init_ops.c | 13,082 | utf_8 | fab0bafcfb5de9c85bfb61198ed5351b | /* QLogic qed NIC Driver
* this source tree.
*/
#include <linux/types.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/string.h>
#include "qed.h"
#include "qed_hsi.h"
#include "qed_hw.h"
#include "qed_init_ops.h"
#include "qed... |
google | android | qed_dev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qed/qed_dev.c | 49,674 | utf_8 | ac4a2a68c691be0397410fb2e9b614d1 | /* QLogic qed NIC Driver
* this source tree.
*/
#include <linux/types.h>
#include <asm/byteorder.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/mutex.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/s... |
google | android | qed_mcp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qed/qed_mcp.c | 23,592 | utf_8 | 8304285a7fb0e698b75c5f9d8b1cffcc | /* QLogic qed NIC Driver
* this source tree.
*/
#include <linux/types.h>
#include <asm/byteorder.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/string.h>
#include "qed.h"
#include "qed_hsi.h"
#include "qed_hw.h"
#include ... |
google | android | qed_sp_commands | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qed/qed_sp_commands.c | 4,457 | utf_8 | 70ab151b5103ea0e26c62a22badeaa14 | /* QLogic qed NIC Driver
* this source tree.
*/
#include <linux/types.h>
#include <asm/byteorder.h>
#include <linux/bitops.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include "qed.h"
#include <linux/qed/qed_chain.h>
#include "qed_cxt.h"
#include "qed_hsi.h"
#include "qed_hw.h"
#in... |
google | android | qed_spq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qed/qed_spq.c | 22,528 | utf_8 | 5a3f69672953d38984eee0e6f2b380c3 | /* QLogic qed NIC Driver
* this source tree.
*/
#include <linux/types.h>
#include <asm/byteorder.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/sp... |
google | android | qed_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qed/qed_main.c | 27,760 | utf_8 | 6b60793900cfff6a24a886911e647745 | /* QLogic qed NIC Driver
* this source tree.
*/
#include <linux/stddef.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/version.h>
#include <linux/delay.h>
#include <asm/byteorder.h>
#include <linux/dma-mapping.h>
#include <linux/string.h>
#include <linux/module.h>
#include ... |
google | android | qed_int | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/qed/qed_int.c | 29,457 | utf_8 | f160a13a07916e74505ce24d57c16f05 | /* QLogic qed NIC Driver
* this source tree.
*/
#include <linux/types.h>
#include <asm/byteorder.h>
#include <linux/io.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <l... |
google | android | netxen_nic_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c | 86,100 | utf_8 | 99bb1e2649b9d4495dacac7907cd7b1e | /*
*
*/
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/interrupt.h>
#include "netxen_nic_hw.h"
#include "netxen_nic.h"
#include <linux/dma-mapping.h>
#include <linux/if_vlan.h>
#include <net/ip.h>
#include <linux/ipv6.h>
#include <linux/inetdevice.h>
#include <linux/sysfs.h>
#include <linux/aer.h>... |
google | android | netxen_nic_init | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c | 47,604 | utf_8 | 752179432b111cb4f0c4ac16506bda2e | /*
*
*/
#include <linux/netdevice.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/if_vlan.h>
#include <net/checksum.h>
#include "netxen_nic.h"
#include "netxen_nic_hw.h"
struct crb_addr_pair {
u32 addr;
u32 data;
};
#define NETXEN_MAX_CRB_XFORM 60
static unsigned int crb_addr_xform[NETXEN_MAX_CR... |
google | android | netxen_nic_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c | 26,661 | utf_8 | 94b15b560e7c2517783e0675cd510938 | /*
*
*/
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <asm/io.h>
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include "netxen_nic.h"
#include "netxen_nic_hw.h"
struct netxen_nic_stats {
char stat_string[ETH_GSTRING_LEN];
int sizeof_stat;
int stat_offset;
};
#define N... |
google | android | netxen_nic_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c | 68,551 | utf_8 | 94cae64fafc5f1c7f7e7bfe0d682de77 | /*
*
*/
#include <linux/slab.h>
#include "netxen_nic.h"
#include "netxen_nic_hw.h"
#include <net/ip.h>
#define MASK(n) ((1ULL<<(n))-1)
#define MN_WIN(addr) (((addr & 0x1fc0000) >> 1) | ((addr >> 25) & 0x3ff))
#define OCM_WIN(addr) (((addr & 0x1ff0000) >> 1) | ((addr >> 25) & 0x3ff))
#define MS_WIN(addr) (addr & 0x0ff... |
google | android | netxen_nic_ctx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c | 23,990 | utf_8 | af5a1e46817b2b330d1c40ee613af7d4 | /*
*
*/
#include "netxen_nic_hw.h"
#include "netxen_nic.h"
#define NXHAL_VERSION 1
static u32
netxen_poll_rsp(struct netxen_adapter *adapter)
{
u32 rsp = NX_CDRP_RSP_OK;
int timeout = 0;
do {
/* give atleast 1ms for firmware to respond */
msleep(1);
if (++timeout > NX_OS_CRB_RETRY_COUNT)
return NX_CDRP_RS... |
google | android | 3c589_cs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/3com/3c589_cs.c | 26,022 | utf_8 | 9de0df76d3bb96b7e473bc4681487b96 | /* ======================================================================
*
* A PCMCIA ethernet driver for the 3com 3c589 card.
*
*
* ======================================================================
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#define DRV_NAME "3c589_cs"
#define DRV_VERSION "1.162-ac"
#in... |
google | android | 3c515 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/3com/3c515.c | 49,588 | utf_8 | 2ed28680a340d5942f4025e9660d6c77 | /*
Written 1997-1998 by Donald Becker.
*/
#define DRV_NAME "3c515"
#define DRV_VERSION "0.99t-ac"
#define DRV_RELDATE "28-Oct-2002"
static char *version =
#define CORKSCREW 1
/* "Knobs" that adjust features and parameters. */
/* Set the copy breakpoint for the copy-only-tiny-frames scheme.
Setting to > 1512 effe... |
google | android | 3c509 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/3com/3c509.c | 39,397 | utf_8 | 0404cfebdcee07e2c56c8d71aa998167 | /* 3c509.c: A 3c509 EtherLink3 ethernet driver for linux. */
/*
Written 1993-2000 by Donald Becker.
Scyld Computing Corporation
410 Severn Ave., Suite 210
Annapolis MD 21403
Known limitations:
Because of the way 3c509 ISA detection works it's difficult to predict
a priori which of several ISA-mode cards will be ... |
google | android | 3c574_cs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/3com/3c574_cs.c | 33,954 | utf_8 | ff76d69f8b9bed9155a4036514377452 | /* 3c574.c: A PCMCIA ethernet driver for the 3com 3c574 "RoadRunner".
Written 1993-1998 by
Director, National Security Agency.
*/
/*
Theory of Operation
I. Board Compatibility
This device driver is designed for the 3Com 3c574 PC card Fast Ethernet
Adapter.
II. Board-specific settings
None -- PC cards are autoco... |
google | android | typhoon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/3com/typhoon.c | 72,454 | utf_8 | 151f2407b5f031efea9199434510a529 | /* typhoon.c: A Linux Ethernet device driver for 3Com 3CR990 family of NICs */
/*
pursuant to 15 C.F.R. Section 740.13(e).
This work was funded by the National Library of Medicine under
the Department of Energy project number 0274DD06D1 and NLM project
number Y1-LM-2015-01.
This driver is designed for the 3Com 3CR... |
google | android | 3c59x | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/3com/3c59x.c | 105,850 | utf_8 | e964eff03942ac1f468e51380ffe90ff | /* EtherLinkXL.c: A 3Com EtherLink PCI III/XL ethernet driver for linux. */
/*
Written 1996-1999 by Donald Becker.
Scyld Computing Corporation
410 Severn Ave., Suite 210
Annapolis MD 21403
*/
/*
* FIXME: This driver _could_ support MTU changing, but doesn't. See Don's hamachi.c implementation
* as well as other ... |
google | android | sundance | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/dlink/sundance.c | 59,381 | utf_8 | c6bf6f9072e67d56dddec41245ae76de | /* sundance.c: A Linux device driver for the Sundance ST201 "Alta". */
/*
Written 1999-2000 by Donald Becker.
Scyld Computing Corporation
410 Severn Ave., Suite 210
Annapolis MD 21403
Support and updates available at
http://www.scyld.com/network/sundance.html
[link no longer provides useful info -jgarzik]
Archi... |
google | android | dl2k | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/dlink/dl2k.c | 47,653 | utf_8 | 192ac3afc468d7a3c25bf0816205a892 | /* D-Link DL2000-based Gigabit Ethernet Adapter Linux driver */
/*
(at your option) any later version.
*/
#define DRV_NAME "DL2000/TC902x-based linux driver"
#define DRV_VERSION "v1.19"
#define DRV_RELDATE "2007/08/12"
#include "dl2k.h"
#include <linux/dma-mapping.h>
#define dw32(reg, val) iowrite32(val, ioaddr + ... |
google | android | enic_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/enic_main.c | 72,251 | utf_8 | 5a88b6806c15124acaa9a70ba046472c | /*
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/workqueue.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/i... |
google | android | vnic_intr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/vnic_intr.c | 2,048 | utf_8 | 38611591a52921e7c783ee388be8a16d | /*
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include "vnic_dev.h"
#include "vnic_intr.h"
#include "enic.h"
void vnic_intr_free(struct vnic_intr *intr)
{
intr->ctrl = NULL;
}
int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_... |
google | android | vnic_cq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/vnic_cq.c | 2,850 | utf_8 | 1e0da2b0a033bc21cae33b29a563e776 | /*
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/pci.h>
#include "vnic_dev.h"
#include "vnic_cq.h"
#include "enic.h"
void vnic_cq_free(struct vnic_cq *cq)
{
vnic_dev_free_desc_ring(cq->vdev, &cq->ring);
cq->ctrl = NULL;
}
int vnic_cq_alloc(struct vnic_dev *vdev, st... |
google | android | vnic_wq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/vnic_wq.c | 5,297 | utf_8 | 38177d10ca7c524515af110a213a7d6f | /*
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include "vnic_dev.h"
#include "vnic_wq.h"
#include "enic.h"
static int vnic_wq_alloc_bufs(struct vnic_wq *wq)
{
struct vnic_wq_buf *buf;
unsigned int i, j, cou... |
google | android | enic_res | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/enic_res.c | 9,585 | utf_8 | 1a6d8b68293fd79b636ff49f2867bb0d | /*
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include "wq_enet_desc.h"
#include "rq_enet_desc.h"
#include "cq_enet_desc.h"
#include "vnic_resource.h"
#include "vnic_enet.h"
#include "vnic_dev.h"
#include "vnic_wq.h"
#include "v... |
google | android | enic_dev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/enic_dev.c | 5,040 | utf_8 | d3e7ed33d5d41788c7e37a4cccd0467e | /*
*
*/
#include <linux/pci.h>
#include <linux/etherdevice.h>
#include "vnic_dev.h"
#include "vnic_vic.h"
#include "enic_res.h"
#include "enic.h"
#include "enic_dev.h"
int enic_dev_fw_info(struct enic *enic, struct vnic_devcmd_fw_info **fw_info)
{
int err;
spin_lock_bh(&enic->devcmd_lock);
err = vnic_dev_fw_info(e... |
google | android | enic_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/enic_ethtool.c | 14,189 | utf_8 | 3efeb91033a0ecd5232732d26ecca002 | /**
*
*/
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include "enic_res.h"
#include "enic.h"
#include "enic_dev.h"
#include "enic_clsf.h"
#include "vnic_rss.h"
#include "vnic_stats.h"
struct enic_stat {
char name[ETH_GSTRING_LEN];
unsigned int index;
};
#define ENIC_TX_STAT(stat) { \
.name = #stat, \
... |
google | android | enic_clsf | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/enic_clsf.c | 7,100 | utf_8 | d7817bfeed397422661042f75fbb1664 | #include <linux/if.h>
#include <linux/if_ether.h>
#include <linux/if_link.h>
#include <linux/netdevice.h>
#include <linux/in.h>
#include <linux/types.h>
#include <linux/skbuff.h>
#include <net/flow_dissector.h>
#include "enic_res.h"
#include "enic_clsf.h"
/* enic_addfltr_5t - Add ipv4 5tuple filter
*
* This function ... |
google | android | enic_pp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/enic_pp.c | 9,183 | utf_8 | 0ce8e4e33aba2870377af21534e61d82 | /*
*
*/
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/rtnetlink.h>
#include <net/ip.h>
#include "vnic_vic.h"
#include "enic_res.h"
#include "enic.h"
#include "enic_dev.h"
#include "enic_... |
google | android | enic_api | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/enic_api.c | 1,482 | utf_8 | 8268f36c609a6b54bb58c6f64e728e60 | /**
*
*/
#include <linux/netdevice.h>
#include <linux/spinlock.h>
#include "vnic_dev.h"
#include "vnic_devcmd.h"
#include "enic_res.h"
#include "enic.h"
#include "enic_api.h"
int enic_api_devcmd_proxy_by_index(struct net_device *netdev, int vf,
enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait)
{
int err;
struc... |
google | android | vnic_dev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/vnic_dev.c | 28,502 | utf_8 | 3b1ebb7d15dadf555a7584ded7e4c1a4 | /*
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/if_ether.h>
#include "vnic_resource.h"
#include "vnic_devcmd.h"
#include "vnic_dev.h"
#include "vnic_wq.h"
#include "vnic_stats.h"
#include "enic.h"
#define VNIC_MAX_RES_... |
google | android | vnic_vic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/vnic_vic.c | 2,047 | utf_8 | 3b6e07c8bc960a2f016a5dde951df3c9 | /*
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/slab.h>
#include "vnic_vic.h"
struct vic_provinfo *vic_provinfo_alloc(gfp_t flags, const u8 *oui,
const u8 type)
{
struct vic_provinfo *vp;
if (!oui)
return NULL;
vp = kzalloc(VIC_PROVINFO_MAX_DATA, flags);
if (... |
google | android | vnic_rq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/cisco/enic/vnic_rq.c | 5,543 | utf_8 | 8bd638b7b8382dc2c84a5b091e6369db | /*
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include "vnic_dev.h"
#include "vnic_rq.h"
#include "enic.h"
static int vnic_rq_alloc_bufs(struct vnic_rq *rq)
{
struct vnic_rq_buf *buf;
unsigned int i, j, cou... |
google | android | bfin_mac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/adi/bfin_mac.c | 47,594 | utf_8 | ea8d4406fe3416e472e5c600786fbb38 | /*
* Blackfin On-Chip MAC Driver
*
*/
#define DRV_VERSION "1.1"
#define DRV_DESC "Blackfin on-chip Ethernet MAC driver"
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/delay.h>
#in... |
google | android | w90p910_ether | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/nuvoton/w90p910_ether.c | 25,939 | utf_8 | 3276d00241511a0831de3e9a128b58f1 | /*
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/mii.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/ethtool.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/gfp.h>
#define DRV_MODULE_NAME "w90p910-emc"
#def... |
google | android | cnic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/cnic.c | 152,468 | utf_8 | 20ebc5aea3eca1e6f831bed042f32e1b | /* cnic.c: QLogic CNIC core network driver.
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/uio_driv... |
google | android | b44 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/b44.c | 64,924 | utf_8 | c6ff42fac156a635e40c4dad6aefaf4e | /* b44.c: Broadcom 44xx/47xx Fast Ethernet device driver.
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/if_ether... |
google | android | bcmsysport | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bcmsysport.c | 55,644 | utf_8 | c46a3f60ee714dc6bebcf3f6425b2eb7 | /*
* Broadcom BCM7xxx System Port Ethernet MAC driver
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/platform_device.h>
#include <linu... |
google | android | bnx2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bnx2.c | 221,028 | utf_8 | 4b91034cec545a34339a9029832cbb9d | /* bnx2.c: QLogic bnx2 network driver.
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/stringify.h>
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/vm... |
google | android | bgmac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bgmac.c | 46,636 | utf_8 | 9164249e4cffe0733f48bcde0db946c6 | /*
* Driver for (BCM4706)? GBit MAC core on BCMA bus.
*
*/
#include "bgmac.h"
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/etherdevice.h>
#include <linux/mii.h>
#include <linux/phy.h>
#include <linux/phy_fixed.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping... |
google | android | bcm63xx_enet | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bcm63xx_enet.c | 74,349 | utf_8 | 105c9c36f5bd5b632172dfb7c20045d0 | /*
* Driver for BCM963xx builtin Ethernet mac
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/clk.h>
#include <linux/etherdevice.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/ethtool... |
google | android | tg3 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/tg3.c | 477,094 | utf_8 | 0904894d22a05ca4aaf8ecf70e99a52f | /*
* tg3.c: Broadcom Tigon3 ethernet driver.
*
* notice is accompanying it.
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/stringify.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/compiler.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/in.h>
#... |
google | android | sb1250-mac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/sb1250-mac.c | 65,979 | utf_8 | 615749184b784012a436034fec4c61c6 | /*
*
*
* This driver is designed for the Broadcom SiByte SOC built-in
* Ethernet controllers. Written by Mitch Lichtenberg at Broadcom Corp.
*
* Updated to the driver model and the PHY abstraction layer
* by Maciej W. Rozycki.
*/
#include <linux/bug.h>
#include <linux/module.h>
#include <linux/kernel.h>
#includ... |
google | android | bcmgenet | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/genet/bcmgenet.c | 97,010 | utf_8 | 4ad02110fee35d67a6d0c36b4f9bc041 | /*
* Broadcom GENET (Gigabit Ethernet) controller driver
*
*/
#define pr_fmt(fmt) "bcmgenet: " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/string.h>
#include <linux/if_ether.h>
#incl... |
google | android | bcmgenet_wol | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c | 5,403 | utf_8 | 1c4e8e90d05421687b0b9df4fd685732 | /*
* Broadcom GENET (Gigabit Ethernet) Wake-on-LAN support
*
*/
#define pr_fmt(fmt) "bcmgenet_wol: " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/errno.h>
#in... |
google | android | bcmmii | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/genet/bcmmii.c | 17,199 | utf_8 | a4920a076bec01a7ff14cb5406f63e32 | /*
* Broadcom GENET MDIO routines
*
*/
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/wait.h>
#include <linux/mii.h>
#include <linux/ethtool.h>
#include <linux/bitops.h>
#include <linux/netdevice.h>
#include <linux/platform_device.h>
#include <linux/phy.h>
#include <linux/phy_fixed.h>
#include <li... |
google | android | bnxt_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 31,366 | utf_8 | c6caa12c5a9a1cb5d37fe0a7f1df8540 | /* Broadcom NetXtreme-C/E network driver.
*
*/
#include <linux/ethtool.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/etherdevice.h>
#include <linux/crc32.h>
#include <linux/firmware.h>
#include "bnxt_hsi.h"
#include "bnxt.h"
#include "bnxt_ethtool.h"
#include "bnxt_nvm_defs.h" /* NVRAM conten... |
google | android | bnxt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bnxt/bnxt.c | 146,774 | utf_8 | 9b48e20bc676a65deb17570bbda159af | /* Broadcom NetXtreme-C/E network driver.
*
*/
#include <linux/module.h>
#include <linux/stringify.h>
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <l... |
google | android | bnxt_sriov | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c | 22,061 | utf_8 | e00f6caf12057cdc01180f817f6ed747 | /* Broadcom NetXtreme-C/E network driver.
*
*/
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/if_vlan.h>
#include <linux/interrupt.h>
#include <linux/etherdevice.h>
#include "bnxt_hsi.h"
#include "bnxt.h"
#include "bnxt_sriov.h"
#include "bnxt_ethtool.h"
#ifdef CONFIG_BN... |
google | android | bnx2x_vfpf | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c | 66,556 | utf_8 | 7d4a7407ecf37ca4c9cba12de07add35 | /* bnx2x_vfpf.c: QLogic Everest network driver.
*
*/
#include "bnx2x.h"
#include "bnx2x_cmn.h"
#include <linux/crc32.h>
static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx);
/* place a given tlv on the tlv buffer at a given offset */
static void bnx2x_add_tlv(struct bnx2x *bp, void *tlvs_list,
u16 of... |
google | android | bnx2x_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c | 101,244 | utf_8 | 60b5c414cabaf8eac52ffa561de5a48c | /* bnx2x_ethtool.c: QLogic Everest network driver.
*
* Written by: Eliezer Tamir
* Based on code from Michael Chan's bnx2 driver
* UDP CSUM errata workaround by Arik Gendelman
* Slowpath and fastpath rework by Vladislav Zolotarov
* Statistics and Link management by Yitchak Gertner
*
*/
#define pr_fmt(fmt) KBUIL... |
google | android | bnx2x_link | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 416,192 | utf_8 | 29993cf91e722634b2f4a54c65a4a4ed | * consent.
*
* Written by Yaniv Rosner
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/delay.h>
#include <linux/ethtool.h>
#include <linux/mutex.h>
#include "bnx2x.h"
#include "bnx2x_cmn.h"
typed... |
google | android | bnx2x_sp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 178,827 | utf_8 | 75f7f8e5dcbef1198228575672f2e21e | /* bnx2x_sp.c: Qlogic Everest network driver.
*
* Written by: Vladislav Zolotarov
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/crc32.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/crc32c.h>
#include "bnx2x.h"
#include "bnx2x_cmn.h"
#inclu... |
google | android | bnx2x_sriov | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 88,005 | utf_8 | 51e07ddded3e7471befa8316d898fdaa | /* bnx2x_sriov.c: QLogic Everest network driver.
*
*
*/
#include "bnx2x.h"
#include "bnx2x_init.h"
#include "bnx2x_cmn.h"
#include "bnx2x_sp.h"
#include <linux/crc32.h>
#include <linux/if_vlan.h>
static int bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx,
struct bnx2x_virtf **vf,
struct pf_vf_bulletin_con... |
google | android | bnx2x_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 425,553 | utf_8 | 7ce392f4f21840b4d1fad990c8b29508 | /* bnx2x_main.c: QLogic Everest network driver.
*
* Written by: Eliezer Tamir
* Based on code from Michael Chan's bnx2 driver
* UDP CSUM errata workaround by Arik Gendelman
* Slowpath and fastpath rework by Vladislav Zolotarov
* Statistics and Link management by Yitchak Gertner
*
*/
#define pr_fmt(fmt) KBUILD_M... |
google | android | bnx2x_stats | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c | 63,587 | utf_8 | da2226c5e524dd12804bdf0474f5093d | /* bnx2x_stats.c: QLogic Everest network driver.
*
* Written by: Eliezer Tamir
* Based on code from Michael Chan's bnx2 driver
* UDP CSUM errata workaround by Arik Gendelman
* Slowpath and fastpath rework by Vladislav Zolotarov
* Statistics and Link management by Yitchak Gertner
*
*/
#define pr_fmt(fmt) KBUILD_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.