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 | sysfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wimax/i2400m/sysfs.c | 2,248 | utf_8 | 106d5231948693af41f57708f5e60d97 | /*
* Intel Wireless WiMAX Connection 2400m
* Sysfs interfaces to show driver and device information
*
*
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/spinlock.h>
#include <linux/device.h>
#include ... |
google | android | rx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wimax/i2400m/rx.c | 43,576 | utf_8 | 0342245c9a66a76a5bc26d02cd59525d | /*
* Intel Wireless WiMAX Connection 2400m
* Handle incoming traffic and deliver it to the control or data planes
*
*
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY ... |
google | android | fw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wimax/i2400m/fw.c | 51,038 | utf_8 | ecfbe943fc524c7706d254fa2618e583 | /*
* Intel Wireless WiMAX Connection 2400m
* Firmware uploader
*
*
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* - Initial implementation
*
... |
google | android | usb-rx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wimax/i2400m/usb-rx.c | 15,058 | utf_8 | 280bb6f6d09ef58315df6adc6ce1bd98 | /*
* Intel Wireless WiMAX Connection 2400m
* USB RX handling
*
*
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* - Use skb_clone(), break up pr... |
google | android | control | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wimax/i2400m/control.c | 43,889 | utf_8 | eeb1871136fc9c8bc59fe52f2c23350f | /*
* Intel Wireless WiMAX Connection 2400m
* Miscellaneous control functions for managing the device
*
*
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF TH... |
google | android | tx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wimax/i2400m/tx.c | 38,202 | utf_8 | 189b39e4cd2069e7b70dc0d3c960d416 | /*
* Intel Wireless WiMAX Connection 2400m
* Generic (non-bus specific) TX handling
*
*
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* device i... |
google | android | driver | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wimax/i2400m/driver.c | 30,159 | utf_8 | f5712e190d4433c238699afbad556814 | /*
* Intel Wireless WiMAX Connection 2400m
* Generic probe/disconnect, reset and message passing
*
*
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*
*
* See i2400m.h for driver documentation. This contains helpers for
* the driver model glue [_setup()/_release()], handling... |
google | android | usb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wimax/i2400m/usb.c | 24,453 | utf_8 | 79591dea3dde138352e750538af47ed9 | /*
* Intel Wireless WiMAX Connection 2400m
* Linux driver model glue for USB device, reset & fw upload
*
*
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*
*
* See i2400m-usb.h for a general description of this driver.
*
* This file implements driver model glue, and hook u... |
google | android | eth_v10 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/cris/eth_v10.c | 48,798 | utf_8 | 75a19c47ebeeeab8dcc41f946b419146 | /*
* e100net.c: A network driver for the ETRAX 100LX network controller.
*
*
* The outline of this driver comes from skeleton.c.
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/ptrace.h... |
google | android | cc2520 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ieee802154/cc2520.c | 27,365 | utf_8 | b81c609ed93c7024b4fc724068143355 | /* Driver for TI CC2520 802.15.4 Wireless-PAN Networking controller
*
* (at your option) any later version.
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/gpio.h>
#include <linux/delay.h>
#include <linux/spi/spi.h>
#include <linux/spi/cc2520.h>
#include <linux/workqueue.h>
#include <linux/... |
google | android | at86rf230 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ieee802154/at86rf230.c | 44,359 | utf_8 | b3c50e2cc900540daf11d09cb3c70f88 | /*
* AT86RF230/RF231 driver
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/hrtimer.h>
#include <linux/jiffies.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/gpio.h>
#include <linux/delay.h>
#include <linux/spi/spi.h>
#include <linux/spi/at86rf230.h>
#include <linux/r... |
google | android | fakelb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ieee802154/fakelb.c | 6,344 | utf_8 | db4c7675268362a577cdbff25e4dea10 | /*
* Loopback IEEE 802.15.4 interface
*
*/
#include <linux/module.h>
#include <linux/timer.h>
#include <linux/platform_device.h>
#include <linux/netdevice.h>
#include <linux/device.h>
#include <linux/spinlock.h>
#include <net/mac802154.h>
#include <net/cfg802154.h>
static int numlbs = 2;
static LIST_HEAD(fakelb_phys... |
google | android | mrf24j40 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ieee802154/mrf24j40.c | 36,492 | utf_8 | e09e6e74935cb902a39297801a5ae40d | /*
* Driver for Microchip MRF24J40 802.15.4 Wireless-PAN Networking controller
*
*/
#include <linux/spi/spi.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/ieee802154.h>
#include <linux/irq.h>
#include <net/cfg802154.h>
#include <net/mac802154.h>
/* MRF24J40 Short ... |
google | android | atusb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ieee802154/atusb.c | 20,593 | utf_8 | 8c7a91677a72c712ca222326708d382b | /*
* atusb.c - Driver for the ATUSB IEEE 802.15.4 dongle
*
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/usb.h>
#include <linux/skbuff.h>
#include <net/cfg802154.h>
#include <net/mac802154.h>
#include "at86rf230.h"
#include "atusb.h"
#define... |
google | android | yam | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/hamradio/yam.c | 32,977 | utf_8 | fbe6dee5a5ae7ea1c3541167e411aa18 | /*****************************************************************************/
/*
* yam.c -- YAM radio modem driver.
*
* authority of your country.
*
*
* History:
* 0.0 F1OAT 06.06.98 Begin of work with baycom.c source code V 0.3
* 0.1 F1OAT 07.06.98 Add timer polling routine for channel arbitratio... |
google | android | scc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/hamradio/scc.c | 55,584 | utf_8 | df6c7b7006e8c06c0981de0acb122fe3 | #define RCS_ID "$Id: scc.c,v 1.75 1998/11/04 15:15:01 jreuter Exp jreuter $"
#define VERSION "3.0"
/*
* Please use z8530drv-utils-3.0 with this version.
* ------------------
*
* You can find a subset of the documentation in
* Documentation/networking/z8530drv.txt.
*/
/*
****************************... |
google | android | baycom_par | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/hamradio/baycom_par.c | 16,824 | utf_8 | bb99f87fdb687b4b8f5e9b2d12c8a502 | /*****************************************************************************/
/*
* baycom_par.c -- baycom par96 and picpar radio modem driver.
*
* authority of your country.
*
*
* Supported modems
*
* par96: This is a modem for 9600 baud FSK compatible to the G3RUH standard.
* The modem does al... |
google | android | hdlcdrv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/hamradio/hdlcdrv.c | 21,175 | utf_8 | 1cf04f0a6c224c6abaee7ed7c36a4406 | /*****************************************************************************/
/*
* hdlcdrv.c -- HDLC packet radio network driver.
*
* authority of your country.
*
* The driver was derived from Donald Beckers skeleton.c
* Written 1993-94 by Donald Becker.
*
* History:
* 0.1 21.09.1996 Started
* ... |
google | android | 6pack | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/hamradio/6pack.c | 24,920 | utf_8 | 2860899c1f9c8a21b9cd2996a1e651b5 | /*
* 6pack.c This module implements the 6pack protocol for kernel-based
* devices like TTY. It interfaces between a raw TTY and the
* kernel's AX.25 protocol layers.
*
*/
#include <linux/module.h>
#include <asm/uaccess.h>
#include <linux/bitops.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/i... |
google | android | baycom_epp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/hamradio/baycom_epp.c | 34,999 | utf_8 | 370d6011d0654d6a2f9c780a1a9351d0 | /*****************************************************************************/
/*
* baycom_epp.c -- baycom epp radio modem driver.
*
* authority of your country.
*
*
* History:
* 0.1 xx.xx.1998 Initial version by Matthias Welwarsky (dg2fef)
* 0.2 21.04.1998 Massive rework by Thomas Sailer
* ... |
google | android | dmascc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/hamradio/dmascc.c | 37,739 | utf_8 | e8d69bae106898da72473826e4541e71 | /*
* Driver for high-speed SCC boards (those with DMA support)
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/if_arp.h>
#include <linux/in.h>
#include <linux/init.h>
#include <linux/i... |
google | android | baycom_ser_fdx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/hamradio/baycom_ser_fdx.c | 21,215 | utf_8 | 1e1f0bedf88b9b825a6241a15a710484 | /*****************************************************************************/
/*
* baycom_ser_fdx.c -- baycom ser12 fullduplex radio modem driver.
*
* authority of your country.
*
*
* Supported modems
*
* ser12: This is a very simple 1200 baud AFSK modem. The modem consists only
* of a modulato... |
google | android | bpqether | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/hamradio/bpqether.c | 15,025 | utf_8 | 5f73ae0d23c48f5690601c9736b83337 | /*
* G8BPQ compatible "AX.25 via ethernet" driver release 004
*
* This code REQUIRES 2.0.0 or higher/ NET3.029
*
* This module:
*
* This is a "pseudo" network driver to allow AX.25 over Ethernet
* using G8BPQ encapsulation. It has been extracted from the protocol
* implementation because
*
* - things got un... |
google | android | mkiss | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/hamradio/mkiss.c | 24,281 | utf_8 | f0b084da1a16e38d4516ad7cfddf2538 | /*
*/
#include <linux/module.h>
#include <linux/bitops.h>
#include <asm/uaccess.h>
#include <linux/crc16.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/in.h>
#include <linux/inet.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/errno.h>
#include <linux/... |
google | android | baycom_ser_hdx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/hamradio/baycom_ser_hdx.c | 21,003 | utf_8 | af5fe77449ad10a910dee9b9bbad0157 | /*****************************************************************************/
/*
* baycom_ser_hdx.c -- baycom ser12 halfduplex radio modem driver.
*
* authority of your country.
*
*
* Supported modems
*
* ser12: This is a very simple 1200 baud AFSK modem. The modem consists only
* of a modulato... |
google | android | rrunner | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/hippi/rrunner.c | 42,229 | utf_8 | 07d744525c8f9276fc464305a821019f | /*
* rrunner.c: Linux driver for the Essential RoadRunner HIPPI board.
*
* (at your option) any later version.
*
* Thanks to Jayaram Bhat from ODS/Essential for fixing some of the
* stupid bugs in my code.
*
* Softnet support and various other patches from Val Henson of
* ODS/Essential.
*
* PCI DMA mapping c... |
google | android | hdlc_raw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/hdlc_raw.c | 2,617 | utf_8 | e2359175b5a10b0be905bab9979925d9 | /*
* Generic HDLC support routines for Linux
* HDLC support
*
*/
#include <linux/errno.h>
#include <linux/hdlc.h>
#include <linux/if_arp.h>
#include <linux/inetdevice.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pkt_sched.h>
#include <linux/poll.h>
#include <linux/r... |
google | android | hd64572 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/hd64572.c | 17,949 | utf_8 | d6d9696bcc96f72fc8059f8d663b8094 | /*
* Hitachi (now Renesas) SCA-II HD64572 driver for Linux
*
*
* Source of information: HD64572 SCA-II User's Manual
*
* We use the following SCA memory map:
*
* Packet buffer descriptor rings - starting from card->rambase:
* rx_ring_buffers * sizeof(pkt_desc) = logical channel #0 RX ring
* tx_ring_buffers * ... |
google | android | hostess_sv11 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/hostess_sv11.c | 7,367 | utf_8 | 88f5f3e0c39088c54748ca58337320da | /*
* Comtrol SV11 card driver
*
* This is a slightly odd Z85230 synchronous driver. All you need to
* know basically is
*
* Its a genuine Z85230
*
* It supports DMA using two DMA channels in SYNC mode. The driver doesn't
* use these facilities
*
* The control port is at io+1, the data at io+3 and turning of... |
google | android | hdlc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/hdlc.c | 8,242 | utf_8 | 33ce00a1b544406090ac972116a79998 | /*
* Generic HDLC support routines for Linux
*
*
* Currently supported:
* * raw IP-in-HDLC
* * Cisco HDLC
* * Frame Relay with ANSI or CCITT LMI (both user and network side)
* * PPP
* * X.25
*
* Use sethdlc utility to set line parameters, protocol and PVCs
*
* How does it work:
* - proto->open(), close(),... |
google | android | hd64570 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/hd64570.c | 20,038 | utf_8 | aac5c81c73801e568e11315487d1a658 | /*
* Hitachi SCA HD64570 driver for Linux
*
*
* Source of information: Hitachi HD64570 SCA User's Manual
*
* We use the following SCA memory map:
*
* Packet buffer descriptor rings - starting from winbase or win0base:
* rx_ring_buffers * sizeof(pkt_desc) = logical channel #0 RX ring
* tx_ring_buffers * sizeof... |
google | android | hdlc_cisco | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/hdlc_cisco.c | 9,820 | utf_8 | d99537adf78f8821c7377d9c38caf245 | /*
* Generic HDLC support routines for Linux
* Cisco HDLC support
*
*/
#include <linux/errno.h>
#include <linux/hdlc.h>
#include <linux/if_arp.h>
#include <linux/inetdevice.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pkt_sched.h>
#include <linux/poll.h>
#include <l... |
google | android | farsync | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/farsync.c | 71,813 | utf_8 | 3d4ccefafaaf130a58cdd581573189c4 | /*
* FarSync WAN driver for Linux (2.6.x kernel version)
*
* Actually sync driver for X.21, V.35 and V.24 on FarSync T-series cards
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/version.h>
#include <linux/pci.h>
#include <linux/sched.... |
google | android | wanxl | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/wanxl.c | 21,255 | utf_8 | 62b0d15f2ab0418b9559b806404234ed | /*
* wanXL serial card driver for Linux
* host part
*
*
* Status:
* - Only DTE (external clock) support with NRZ and NRZI encodings
* - wanXL100 will require minor driver modifications, no access to hw
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/kernel.h>
#includ... |
google | android | sdla | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/sdla.c | 38,827 | utf_8 | d56a750484c6c3963fc73b15b7f04302 | /*
* SDLA An implementation of a driver for the Sangoma S502/S508 series
* multi-protocol PC interface card. Initial offering is with
* the DLCI driver, providing Frame Relay support for linux.
*
* Global definitions for the Frame relay interface.
*
*
* Changes:
* 0.15 Mike McLagan Improved error handli... |
google | android | hdlc_ppp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/hdlc_ppp.c | 19,168 | utf_8 | 2189e906691518c20cc8f35153069b4a | /*
* Generic HDLC support routines for Linux
* Point-to-point protocol support
*
*/
#include <linux/errno.h>
#include <linux/hdlc.h>
#include <linux/if_arp.h>
#include <linux/inetdevice.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pkt_sched.h>
#include <linux/poll.h... |
google | android | cosa | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/cosa.c | 58,611 | utf_8 | 1ecd9223e415716be5406588f97dd41a | /* $Id: cosa.c,v 1.31 2000/03/08 17:47:16 kas Exp $ */
/*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* The driver for the SRP and COSA synchronous serial cards.
*
* HARDWARE INFO
*
* Both cards are developed at the Institute of Computer Science,
* Masaryk University (http://www.ics.muni.... |
google | android | c101 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/c101.c | 11,050 | utf_8 | c2213daed9c0794706b41da142ac08a5 | /*
* Moxa C101 synchronous serial card driver for Linux
*
*
* For information see <http://www.kernel.org/pub/linux/utils/net/hdlc/>
*
* Sources of information:
* Hitachi HD64570 SCA User's Manual
* Moxa C101 User's Manual
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <... |
google | android | z85230 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/z85230.c | 39,934 | utf_8 | 3feb2060d55f035669c9b21608edcfa8 | /*
*
* Development of this driver was funded by Equiinet Ltd
* http://www.equiinet.com
*
* ChangeLog:
*
* Asynchronous mode dropped for 2.2. For 2.5 we will attempt the
* unification of all the Z85x30 asynchronous drivers for real.
*
* DMA now uses get_free_page as kmalloc buffers may span a 64K
* boundar... |
google | android | x25_asy | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/x25_asy.c | 18,787 | utf_8 | 8a733b9749d090cca2d8a53dbc20ec32 | /*
* Things to sort out:
*
* o tbusy handling
* o allow users to set the parameters
* o sync/async switching ?
*
* Note: This does _not_ implement CCITT X.25 asynchronous framing
* recommendations. Its primarily for testing purposes. If you wanted
* to do CCITT then in theory all you need is to nick the HDLC a... |
google | android | ixp4xx_hss | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/ixp4xx_hss.c | 37,781 | iso_8859_16 | 7f69f838053c6c428ebb3df3f54b9e81 | /*
* Intel IXP4xx HSS (synchronous serial port) driver for Linux
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/bitops.h>
#include <linux/cdev.h>
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/fs.h>
#include <linux/hdlc.h>
#include <linux/io.h>
#... |
google | android | lapbether | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/lapbether.c | 10,190 | utf_8 | 6975d488581ea178190201bc6c4e7354 | /*
* "LAPB via ethernet" driver release 001
*
* This code REQUIRES 2.1.15 or higher/ NET3.038
*
* This module:
*
* This is a "pseudo" network driver to allow LAPB over Ethernet.
*
* This driver can use any ethernet destination address, and can be
* limited to accept frames from one dedicated ethernet card on... |
google | android | dscc4 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/dscc4.c | 54,225 | utf_8 | 0518dcf6a525ec12c69ac796d1403e75 | /*
* drivers/net/wan/dscc4/dscc4.c: a DSCC4 HDLC driver for Linux
*
* Specific bug reports/asian food will be welcome.
*
* Special thanks to the nice people at CS-Telecom for the hardware and the
* access to the test/measure tools.
*
*
* Theory of Operation
*
* I. Board Compatibil... |
google | android | hdlc_fr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/hdlc_fr.c | 30,075 | utf_8 | ff0bc79b428fe0d7f3d612f8b5dac06b | /*
* Generic HDLC support routines for Linux
* Frame Relay support
*
*
Theory of PVC state
DCE mode:
(exist,new) -> 0,0 when "PVC create" or if "link unreliable"
0,x -> 1,1 if "link reliable" when sending FULL STATUS
1,1 -> 1,0 if received FULL STATUS ACK
(active) -> 0 when "ifco... |
google | android | pc300too | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/pc300too.c | 14,251 | utf_8 | 24a53c66e6daeb3f9de57624f0318596 | /*
* Cyclades PC300 synchronous serial card driver for Linux
*
*
* For information see <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
*
* Sources of information:
* Hitachi HD64572 SCA-II User's Manual
* Original Cyclades PC300 Linux driver
*
* This driver currently supports only PC300/RSV (V.24/V.35... |
google | android | hdlc_x25 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/hdlc_x25.c | 4,961 | utf_8 | 0d7164d09ee9d97135ca863dfc05ced1 | /*
* Generic HDLC support routines for Linux
* X.25 support
*
*/
#include <linux/errno.h>
#include <linux/gfp.h>
#include <linux/hdlc.h>
#include <linux/if_arp.h>
#include <linux/inetdevice.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/lapb.h>
#include <linux/module.h>
#include <linux/pkt_sch... |
google | android | hdlc_raw_eth | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/hdlc_raw_eth.c | 3,146 | utf_8 | e0b2fa767f1ae0853a79e7fada42e1fe | /*
* Generic HDLC support routines for Linux
* HDLC Ethernet emulation support
*
*/
#include <linux/errno.h>
#include <linux/etherdevice.h>
#include <linux/gfp.h>
#include <linux/hdlc.h>
#include <linux/if_arp.h>
#include <linux/inetdevice.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.... |
google | android | n2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/n2.c | 13,512 | utf_8 | 8a2362e554656c89e2165e8efe61f050 | /*
* SDL Inc. RISCom/N2 synchronous serial card driver for Linux
*
*
* For information see <http://www.kernel.org/pub/linux/utils/net/hdlc/>
*
* Note: integrated CSU/DSU/DDS are not supported by this driver
*
* Sources of information:
* Hitachi HD64570 SCA User's Manual
* SDL Inc. PPP/HDLC/CISCO driver
... |
google | android | dlci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/dlci.c | 11,267 | utf_8 | f61c01a4ac4bc4ea44d3633b72697bc2 | /*
* DLCI Implementation of Frame Relay protocol for Linux, according to
* RFC 1490. This generic device provides en/decapsulation for an
* underlying hardware driver. Routes & IPs are assigned to these
* interfaces. Requires 'dlcicfg' program to create usable
* interfaces, the initial one, 'dlci' is for ... |
google | android | pci200syn | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/pci200syn.c | 11,475 | utf_8 | 7e457b4dade119dbffe40239e00e600d | /*
* Goramo PCI200SYN synchronous serial card driver for Linux
*
*
* For information see <http://www.kernel.org/pub/linux/utils/net/hdlc/>
*
* Sources of information:
* Hitachi HD64572 SCA-II User's Manual
* PLX Technology Inc. PCI9052 Data Book
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <li... |
google | android | sbni | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/sbni.c | 41,563 | utf_8 | 4ff1e610c92201a3ada6b14e7361cf75 | /* sbni.c: Granch SBNI12 leased line adapters driver for linux
*
*
*
* 5.0.1 Jun 22 2001
* - Fixed bug in probe
* 5.0.0 Jun 06 2001
* - Driver was completely redesigned by Denis I.Timofeev,
* - now PCI/Dual, ISA/Dual (with single interrupt line) models are
* - supported
* 3.3.0 Thu Feb 24 21:30:28... |
google | android | sealevel | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/sealevel.c | 8,096 | utf_8 | b29aad52f98440693c4a6cd8031eea9f | /*
* Sealevel Systems 4021 driver.
*
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/net.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/delay.h>
#include <linux/hdlc.h>
#in... |
google | android | lmc_debug | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/lmc/lmc_debug.c | 1,815 | utf_8 | ac7a03796d9b77567e3d73116dafe458 | #include <linux/types.h>
#include <linux/netdevice.h>
#include <linux/interrupt.h>
#include "lmc_debug.h"
/*
* Prints out len, max to 80 octets using printk, 20 per line
*/
#ifdef DEBUG
#ifdef LMC_PACKET_LOG
void lmcConsoleLog(char *type, unsigned char *ucData, int iLen)
{
int iNewLine = 1;
char str[80], *pstr;... |
google | android | lmc_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/lmc/lmc_main.c | 62,839 | utf_8 | f676854ef6c8d712e16b0d2a25f3a3d7 | /*
*
* Driver for the LanMedia LMC5200, LMC5245, LMC1000, LMC1200 cards.
*
* To control link specific options lmcctl is required.
* It can be obtained from ftp.lanmedia.com.
*
* Linux driver notes:
* Linux uses the device struct lmc_private to pass private information
* around.
*
* The initializa... |
google | android | lmc_media | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/lmc/lmc_media.c | 34,361 | utf_8 | 153924e8bf136a7f3e42f07bdf8e261c | /* $Id: lmc_media.c,v 1.13 2000/04/11 05:25:26 asj Exp $ */
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/in.h>
#include <linux/if_arp.h>
#include <linux/netdevice.h>
... |
google | android | lmc_proto | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wan/lmc/lmc_proto.c | 3,479 | utf_8 | d47e6de2e6100a684c573aa7d325984e | /*
*
* Driver for the LanMedia LMC5200, LMC5245, LMC1000, LMC1200 cards.
*/
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/in.h>
#include <linux/if_arp.h>
#inclu... |
google | android | ipddp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/appletalk/ipddp.c | 8,983 | utf_8 | 9adc99f1de3d6f480c26b76da3d604d6 | /*
* ipddp.c: IP to Appletalk-IP Encapsulation driver for Linux
* Appletalk-IP to IP Decapsulation driver for Linux
*
* Authors:
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ip.h>
#include <linux/atalk.h... |
google | android | cops | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/appletalk/cops.c | 29,348 | utf_8 | 210aa87dad1dd726a4cd7b5d99d6a29f | /* cops.c: LocalTalk driver for Linux.
*
* Authors:
*
* Changes:
* 19970608 Alan Cox Allowed dual card type support
* Can set board type in insmod
* Hooks for cops_setup routine
* (not yet implemented).
* 19971101 Jay Schulist Fixes for multiple lt* devices.
* 19980607 Steven Hirsch Fixed the... |
google | android | ltpc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/appletalk/ltpc.c | 31,392 | utf_8 | d17c05148816669d846c933554132a09 | /*** ltpc.c -- a driver for the LocalTalk PC card.
*
*
* This is ALPHA code at best. It may not work for you. It may
* damage your equipment. It may damage your relations with other
* users of your network. Use it at your own risk!
*
* Based in part on:
* skeleton.c by Donal... |
google | android | ppp_generic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ppp/ppp_generic.c | 73,234 | utf_8 | 816fe98088f1d9f399424141e6fbd8fd | /*
* Generic PPP layer for Linux.
*
*
* The generic PPP layer handles the PPP network interfaces, the
* /dev/ppp device, packet and VJ compression, and multilink.
* It talks to PPP `channels' via the interface defined in
* include/linux/ppp_channel.h. Channels provide the basic means for
* sending and receivin... |
google | android | ppp_mppe | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ppp/ppp_mppe.c | 21,342 | utf_8 | 03a28463d92d76ae0d2f8860b48ab1d2 | /*
* ppp_mppe.c - interface MPPE to the PPP code.
* This version is for use with Linux kernel 2.6.14+
*
* Only need extra skb padding on transmit, not receive.
* Use Linux kernel 2.6 arc4 and sha1 routines rather than
* providing our own.
* 2/15/04 - TS: added... |
google | android | ppp_async | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ppp/ppp_async.c | 24,239 | utf_8 | 74050850dfc44205de81d99e465be0ac | /*
* PPP async serial channel driver for Linux.
*
*
* This driver provides the encapsulation and framing for sending
* and receiving PPP frames over async serial lines. It relies on
* the generic PPP layer to give it frames to send and to process
* received frames. It implements the PPP line discipline.
*
* ... |
google | android | ppp_synctty | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ppp/ppp_synctty.c | 17,081 | utf_8 | 82f874399ce4b495ff608489d3b9ccb6 | /*
* PPP synchronous tty channel driver for Linux.
*
* This is a ppp channel driver that can be used with tty device drivers
* that are frame oriented, such as synchronous HDLC devices.
*
* Complete PPP frames without encoding/decoding are exchanged between
* the channel driver and the device driver.
*
* The a... |
google | android | ppp_deflate | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ppp/ppp_deflate.c | 18,315 | utf_8 | 7aefc32046cd3c3274e7ba6677636efd | /*
* ppp_deflate.c - interface the zlib procedures for Deflate compression
* and decompression (as used by gzip) to the PPP code.
*
*/
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/ppp_defs.h>
#include <linux/ppp-comp.h... |
google | android | bsd_comp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ppp/bsd_comp.c | 29,584 | utf_8 | 851ae99d652d59ae28b5dd785a3b1c30 | /*
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* SUCH DAMAGE.
*/
/*
* This version is for use with contiguous buffers on Linux-derived systems.
*
* ==FILEVERSION 20000226==
*
* NOTE TO MAINTAINERS:
* If you modify this file at al... |
google | android | pppox | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ppp/pppox.c | 3,412 | utf_8 | 7bab9b22ec352d060d1579c36708f799 | /** -*- linux-c -*- ***********************************************************
* Linux PPP over X/Ethernet (PPPoX/PPPoE) Sockets
*
* PPPoX --- Generic PPP encapsulation socket family
* PPPoE --- PPP over Ethernet (RFC 2516)
*
*
* Version: 0.5.2
*
*
*/
#include <linux/string.h>
#include <linux/module.h>
#incl... |
google | android | pppoe | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ppp/pppoe.c | 28,672 | utf_8 | 2de684403d57d76f54e5d37f12969eda | /** -*- linux-c -*- ***********************************************************
* Linux PPP over Ethernet (PPPoX/PPPoE) Sockets
*
* PPPoX --- Generic PPP encapsulation socket family
* PPPoE --- PPP over Ethernet (RFC 2516)
*
*
* Version: 0.7.0
*
* 070228 : Fix to allow multiple sessions with same remote MAC an... |
google | android | pptp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ppp/pptp.c | 17,123 | utf_8 | 30457ca7142b75db685475a388a4b390 | /*
* Point-to-Point Tunneling Protocol for Linux
*
*
*/
#include <linux/string.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/net.h>
#include <linux/skbuff.h>
#include <linux/vmalloc.h>
#include <linux/init.h>
#in... |
google | android | ipvlan_core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ipvlan/ipvlan_core.c | 15,607 | utf_8 | 3d2f3e8f279754a0d98db6be54cee69b | *
*/
#include "ipvlan.h"
static u32 ipvlan_jhash_secret __read_mostly;
void ipvlan_init_secret(void)
{
net_get_random_once(&ipvlan_jhash_secret, sizeof(ipvlan_jhash_secret));
}
static void ipvlan_count_rx(const struct ipvl_dev *ipvlan,
unsigned int len, bool success, bool mcast)
{
if (!ipvlan)
return;
if ... |
google | android | ipvlan_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/ipvlan/ipvlan_main.c | 20,556 | utf_8 | ff4cee17d6a2cfd8a82bcbd49c81dccc | *
*/
#include "ipvlan.h"
void ipvlan_adjust_mtu(struct ipvl_dev *ipvlan, struct net_device *dev)
{
ipvlan->dev->mtu = dev->mtu - ipvlan->mtu_adj;
}
void ipvlan_set_port_mode(struct ipvl_port *port, u32 nval)
{
struct ipvl_dev *ipvlan;
if (port->mode != nval) {
list_for_each_entry(ipvlan, &port->ipvlans, pnode) {... |
google | android | bcm_sf2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/dsa/bcm_sf2.c | 36,047 | utf_8 | 383619e6d3cfade6f1aad5cec70f81db | /*
* Broadcom Starfighter 2 DSA switch driver
*
* (at your option) any later version.
*/
#include <linux/list.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/phy.h>
#include <linux/phy_fixed.h>
#include <... |
google | android | mv88e6xxx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/dsa/mv88e6xxx.c | 64,351 | utf_8 | 7221b58d569716b11a65ef6577a390a6 | /*
* net/dsa/mv88e6xxx.c - Marvell 88e6xxx switch chip support
* (at your option) any later version.
*/
#include <linux/delay.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/if_bridge.h>
#include <linux/jiffies.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/netdevic... |
google | android | mv88e6123_61_65 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/dsa/mv88e6123_61_65.c | 3,584 | utf_8 | ac6a9722a9e340c6e575058f6d41c03e | /*
* net/dsa/mv88e6123_61_65.c - Marvell 88e6123/6161/6165 switch chip support
* (at your option) any later version.
*/
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include <net/dsa.h>
#include "mv88e6xxx.h"... |
google | android | mv88e6131 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/dsa/mv88e6131.c | 4,720 | utf_8 | f9d90487134b3b284e97cbd7e2ae8813 | /*
* net/dsa/mv88e6131.c - Marvell 88e6095/6095f/6131 switch chip support
* (at your option) any later version.
*/
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include <net/dsa.h>
#include "mv88e6xxx.h"
stat... |
google | android | mv88e6060 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/dsa/mv88e6060.c | 6,512 | utf_8 | f7b99c17f7e29672d831ce2e956be86f | /*
* net/dsa/mv88e6060.c - Driver for Marvell 88e6060 switch chips
* (at your option) any later version.
*/
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include <net/dsa.h>
#include "mv88e6060.h"
static int ... |
google | android | mv88e6352 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/dsa/mv88e6352.c | 7,908 | utf_8 | e7a6a2dd54891bf2e62e556d7a077d60 | /*
* net/dsa/mv88e6352.c - Marvell 88e6352 switch chip support
*
* (at your option) any later version.
*/
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/platform_device.h>
#include <linux/phy.h>
#include <net/dsa.h>
... |
google | android | mv88e6171 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/dsa/mv88e6171.c | 3,772 | utf_8 | c1de0c45617477c7a6d81ef437613a8d | /* net/dsa/mv88e6171.c - Marvell 88e6171 switch chip support
* (at your option) any later version.
*/
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include <net/dsa.h>
#include "mv88e6xxx.h"
static const struc... |
google | android | xenbus | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/xen-netback/xenbus.c | 26,933 | utf_8 | abb8d2dea16749d561a7f2de41a5bde3 | /*
* Xenbus code for netif backend
*
*/
#include "common.h"
#include <linux/vmalloc.h>
#include <linux/rtnetlink.h>
struct backend_info {
struct xenbus_device *dev;
struct xenvif *vif;
/* This is the state that will be reflected in xenstore when any
* active hotplug script completes.
*/
enum xenbus_state stat... |
google | android | interface | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/xen-netback/interface.c | 18,478 | utf_8 | a73fceac4f81826a44d722788a62417b | /*
* Network-device interface management.
*
*/
#include "common.h"
#include <linux/kthread.h>
#include <linux/ethtool.h>
#include <linux/rtnetlink.h>
#include <linux/if_vlan.h>
#include <linux/vmalloc.h>
#include <xen/events.h>
#include <asm/xen/hypercall.h>
#include <xen/balloon.h>
#define XENVIF_QUEUE_LENGTH 32
#d... |
google | android | netback | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/xen-netback/netback.c | 58,026 | utf_8 | 60bb62d1def7f2a337ab46ed73644720 | /*
* Back-end of the driver for virtual network devices. This portion of the
* driver exports a 'unified' network-device interface that can be accessed
* by any operating system that implements a compatible front end. A
* reference front-end implementation can be found in:
* drivers/net/xen-netfront.c
*
*/
#inc... |
google | android | vmxnet3_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/vmxnet3/vmxnet3_drv.c | 94,972 | utf_8 | 591dc04f02a602976b812555826029e4 | /*
* Linux driver for VMware's vmxnet3 ethernet NIC.
*
*
*/
#include <linux/module.h>
#include <net/ip6_checksum.h>
#include "vmxnet3_int.h"
char vmxnet3_driver_name[] = "vmxnet3";
#define VMXNET3_DRIVER_DESC "VMware vmxnet3 virtual NIC driver"
/*
* PCI Device ID Table
* Last entry must be all 0s
*/
static const... |
google | android | vmxnet3_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/vmxnet3/vmxnet3_ethtool.c | 22,474 | utf_8 | 9b0ebd344f9feaaaec42651a826147e4 | /*
* Linux driver for VMware's vmxnet3 ethernet NIC.
*
*
*/
#include "vmxnet3_int.h"
struct vmxnet3_stat_desc {
char desc[ETH_GSTRING_LEN];
int offset;
};
/* per tq stats maintained by the device */
static const struct vmxnet3_stat_desc
vmxnet3_tq_dev_stats[] = {
/* description, offset */
{ "Tx Queue#"... |
google | android | dp83640 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/dp83640.c | 38,155 | utf_8 | e15e72d476d46251cf6830e37cbd5d36 | /*
* Driver for the National Semiconductor DP83640 PHYTER
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/crc32.h>
#include <linux/ethtool.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/mii.h>
#include <linux/module.... |
google | android | smsc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/smsc.c | 7,371 | utf_8 | ba546183222ea775e3f5067f1d892f0e | /*
* drivers/net/phy/smsc.c
*
* Driver for SMSC PHYs
*
* Author: Herbert Valerio Riedel
*
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mii.h>
#include <linux/ethtool.h>
#include <linux/phy.h>
#include <linux/netdevice.h>
#include <linux/smscphy.h>
static int smsc_phy_config_intr(stru... |
google | android | aquantia | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/aquantia.c | 4,566 | utf_8 | 1a90dbbe5641022f0b362b69dd4ffced | /*
* Driver for Aquantia PHY
*
* kind, whether express or implied.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/mii.h>
#include <linux/ethtool.h>
#include <linux/phy.h>
#include <linux/mdio.h>
#define PHY_ID_AQ1202 0x03a1b445
#define PHY_ID_AQ2104 0x03a1b460
#defin... |
google | android | cicada | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/cicada.c | 3,679 | utf_8 | 213d6446312a7fea0d448487b0313977 | /*
* drivers/net/phy/cicada.c
*
* Driver for Cicada PHYs
*
* Author: Andy Fleming
*
* option) any later version.
*
*/
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/unistd.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <li... |
google | android | teranetics | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/teranetics.c | 3,007 | utf_8 | 10adc9501ff3a7b4cdfda4f1286be8fd | /*
* Driver for Teranetics PHY
*
#define PHY_ID_TN2020 0x00a19410
#define MDIO_PHYXS_LNSTAT_SYNC0 0x0001
#define MDIO_PHYXS_LNSTAT_SYNC1 0x0002
#define MDIO_PHYXS_LNSTAT_SYNC2 0x0004
#define MDIO_PHYXS_LNSTAT_SYNC3 0x0008
#define MDIO_PHYXS_LNSTAT_ALIGN 0x1000
#define MDIO_PHYXS_LANE_READY (MDIO_PHYXS_LNSTAT_SYNC0 | ... |
google | android | mdio-gpio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/mdio-gpio.c | 6,620 | utf_8 | afa328f98a899d8fbdc5c20ab27cf741 | /*
* GPIO based MDIO bitbang driver.
* Supports OpenFirmware.
*
* kind, whether express or implied.
*/
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/platform_data/mdio-gpio.h>
#include <linux/of_gpio.h>
#inc... |
google | android | mdio-mux-gpio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/mdio-mux-gpio.c | 2,326 | utf_8 | defce407c17518d7669c6f5a9ef327a0 | /*
* This file is subject to the terms and conditions of the GNU General Public
*/
#include <linux/platform_device.h>
#include <linux/device.h>
#include <linux/of_mdio.h>
#include <linux/module.h>
#include <linux/phy.h>
#include <linux/mdio-mux.h>
#include <linux/gpio/consumer.h>
#define DRV_VERSION "1.1"
#define DRV... |
google | android | bcm87xx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/bcm87xx.c | 5,095 | utf_8 | cb56631dced6a7f41c97dda5eb412a22 | /*
* This file is subject to the terms and conditions of the GNU General Public
*/
#include <linux/module.h>
#include <linux/phy.h>
#include <linux/of.h>
#define PHY_ID_BCM8706 0x0143bdc1
#define PHY_ID_BCM8727 0x0143bff0
#define BCM87XX_PMD_RX_SIGNAL_DETECT (MII_ADDR_C45 | 0x1000a)
#define BCM87XX_10GBASER_PCS_STATU... |
google | android | mdio-mux | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/mdio-mux.c | 5,072 | utf_8 | 7c77020b894119ace50f23cc7dacf2fd | /*
* This file is subject to the terms and conditions of the GNU General Public
*/
#include <linux/platform_device.h>
#include <linux/mdio-mux.h>
#include <linux/of_mdio.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/phy.h>
#define DRV_VERSION "1.0"
#define DRV_DESCRIPTION "MDIO bus multiplexe... |
google | android | mdio-octeon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/mdio-octeon.c | 8,747 | utf_8 | 7f7d0f885aaf650bac26f0dd748664ea | /*
* This file is subject to the terms and conditions of the GNU General Public
*/
#include <linux/platform_device.h>
#include <linux/of_address.h>
#include <linux/of_mdio.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/gfp.h>
#include <linux/phy.h>
#include <linux/io.h>
#ifdef CONFIG_CAVIUM_OCT... |
google | android | phy | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/phy.c | 32,231 | utf_8 | f9b2611fc87ae6e65e22acee43447a69 | /* Framework for configuring and reading PHY devices
* Based on code in sungem_phy.c and gianfar_phy.c
*
* Author: Andy Fleming
*
* option) any later version.
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/unistd.h>
#i... |
google | android | broadcom | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/broadcom.c | 16,722 | utf_8 | 8af04d997b804b757484c3f920a346de | /*
* drivers/net/phy/broadcom.c
*
* Broadcom BCM5411, BCM5421 and BCM5461 Gigabit Ethernet
* transceivers.
*
*/
#include "bcm-phy-lib.h"
#include <linux/module.h>
#include <linux/phy.h>
#include <linux/brcmphy.h>
#define BRCM_PHY_MODEL(phydev) \
((phydev)->drv->phy_id & (phydev)->drv->phy_id_mask)
#define BRCM_P... |
google | android | realtek | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/realtek.c | 4,892 | utf_8 | 3f37f34c4e18915e619e1344b32f0eeb | /*
* drivers/net/phy/realtek.c
*
* Driver for Realtek PHYs
*
* option) any later version.
*
*/
#include <linux/phy.h>
#include <linux/module.h>
#define RTL821x_PHYSR 0x11
#define RTL821x_PHYSR_DUPLEX 0x2000
#define RTL821x_PHYSR_SPEED 0xc000
#define RTL821x_INER 0x12
#define RTL821x_INER_INIT 0x6400
#define RT... |
google | android | davicom | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/davicom.c | 5,083 | utf_8 | 7ae09763ca95c48ad6d59341375fad6d | /*
* drivers/net/phy/davicom.c
*
* Driver for Davicom PHYs
*
* Author: Andy Fleming
*
* option) any later version.
*
*/
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/unistd.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <... |
google | android | micrel | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/micrel.c | 23,118 | utf_8 | f6e39ce7d41a02ca843f585b793b1192 | /*
* drivers/net/phy/micrel.c
*
* Driver for Micrel PHYs
*
* Author: David J. Choi
*
* option) any later version.
*
* Support : Micrel Phys:
* Giga phys: ksz9021, ksz9031
* 100/10 Phys : ksz8001, ksz8721, ksz8737, ksz8041
* ksz8021, ksz8031, ksz8051,
* ksz8081, ksz8091,
* ksz8061,
* Swi... |
google | android | amd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/amd.c | 2,088 | utf_8 | 6ac0a7563e27d17a7e4ecdc3277e6611 | /*
* Driver for AMD am79c PHYs
*
* option) any later version.
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mii.h>
#include <linux/phy.h>
#define PHY_ID_AM79C874 0x0022561b
#define MII_AM79C_IR 17 /* Interrupt Status/Control Register */
... |
google | android | mdio-bitbang | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/mdio-bitbang.c | 5,881 | utf_8 | c7235969e6719ece73d7b2456eb1b7ab | /*
* Bitbanged MDIO support.
*
* kind, whether express or implied.
*/
#include <linux/module.h>
#include <linux/mdio-bitbang.h>
#include <linux/types.h>
#include <linux/delay.h>
#define MDIO_READ 2
#define MDIO_WRITE 1
#define MDIO_C45 (1<<15)
#define MDIO_C45_ADDR (MDIO_C45 | 0)
#define MDIO_C45_READ (MDIO_C45 | 3... |
google | android | dp83848 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/phy/dp83848.c | 2,876 | utf_8 | e80801192057a53892915879843b0aba | /*
* Driver for the Texas Instruments DP83848 PHY
*
*/
#include <linux/module.h>
#include <linux/phy.h>
#define DP83848_PHY_ID 0x20005c90
/* Registers */
#define DP83848_MICR 0x11
#define DP83848_MISR 0x12
/* MICR Register Fields */
#define DP83848_MICR_INT_OE BIT(0) /* Interrupt Output Enable */
#define DP83... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.