| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | at91_emac.c | 27 #error AT91 EMAC supports max 1024 RX buffers. \ 165 at91_emac_t *emac; in at91emac_mii_read() local 167 emac = get_emacbase_by_name(bus->name); in at91emac_mii_read() 168 at91emac_read(emac , addr, reg, &value); in at91emac_mii_read() 176 at91_emac_t *emac; in at91emac_mii_write() local 178 emac = get_emacbase_by_name(bus->name); in at91emac_mii_write() 179 at91emac_write(emac, addr, reg, value); in at91emac_mii_write() 189 at91_emac_t *emac; in at91emac_phy_reset() local 191 emac = (at91_emac_t *) netdev->iobase; in at91emac_phy_reset() 194 at91emac_write(emac, CONFIG_DRIVER_AT91EMAC_PHYADDR, in at91emac_phy_reset() [all …]
|
| /OK3568_Linux_fs/u-boot/board/ti/ti814x/ |
| H A D | mux.c | 47 {OFFSET(pincntl235), MODE(0x01)}, /* EMAC[0]_MTCLK */ 48 {OFFSET(pincntl236), MODE(0x01)}, /* EMAC[0]_MCOL */ 49 {OFFSET(pincntl237), MODE(0x01)}, /* EMAC[0]_MCRS */ 50 {OFFSET(pincntl238), MODE(0x01)}, /* EMAC[0]_MRXER */ 51 {OFFSET(pincntl239), MODE(0x01)}, /* EMAC[0]_MRCLK */ 52 {OFFSET(pincntl240), MODE(0x01)}, /* EMAC[0]_MRXD[0] */ 53 {OFFSET(pincntl241), MODE(0x01)}, /* EMAC[0]_MRXD[1] */ 54 {OFFSET(pincntl242), MODE(0x01)}, /* EMAC[0]_MRXD[2] */ 55 {OFFSET(pincntl243), MODE(0x01)}, /* EMAC[0]_MRXD[3] */ 56 {OFFSET(pincntl244), MODE(0x01)}, /* EMAC[0]_MRXD[4] */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/emac/ |
| H A D | Makefile | 3 # Makefile for the Qualcomm Technologies, Inc. EMAC Gigabit Ethernet driver 6 obj-$(CONFIG_QCOM_EMAC) += qcom-emac.o 8 qcom-emac-objs := emac.o emac-mac.o emac-phy.o emac-sgmii.o emac-ethtool.o \ 9 emac-sgmii-fsm9900.o emac-sgmii-qdf2432.o \ 10 emac-sgmii-qdf2400.o
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | allwinner,sun8i-a83t-emac.yaml | 4 $id: http://devicetree.org/schemas/net/allwinner,sun8i-a83t-emac.yaml# 7 title: Allwinner A83t EMAC Device Tree Bindings 16 - const: allwinner,sun8i-a83t-emac 17 - const: allwinner,sun8i-h3-emac 18 - const: allwinner,sun8i-r40-emac 19 - const: allwinner,sun8i-v3s-emac 20 - const: allwinner,sun50i-a64-emac 22 - const: allwinner,sun50i-h6-emac 23 - const: allwinner,sun50i-a64-emac 43 Phandle to the device containing the EMAC or GMAC clock [all …]
|
| H A D | ibm,emac.txt | 1 4xx/Axon EMAC ethernet nodes 3 The EMAC ethernet controller in IBM and AMCC 4xx chips, and also 7 below, the node for the OPB bus on which the EMAC sits must have a 10 i) The EMAC node itself 16 "ibm,emac-CHIP" where CHIP is the host ASIC (440gx, 17 405gp, Axon) and second is either "ibm,emac" or 18 "ibm,emac4". For Axon, thus, we have: "ibm,emac-axon", 20 - interrupts : <interrupt mapping for EMAC IRQ and WOL IRQ> 25 with this EMAC 27 with this EMAC [all …]
|
| H A D | emac_rockchip.txt | 1 * ARC EMAC 10/100 Ethernet platform driver for Rockchip RK3036/RK3066/RK3188 SoCs 4 - compatible: should be "rockchip,<name>-emac" 5 "rockchip,rk3036-emac": found on RK3036 SoCs 6 "rockchip,rk3066-emac": found on RK3066 SoCs 7 "rockchip,rk3188-emac": found on RK3188 SoCs 9 - interrupts: Should contain the EMAC interrupts 11 for emac. 21 polling period of EMAC and "macref" for the reference clock needed to transfer 30 compatible = "rockchip,rk3188-emac";
|
| H A D | davinci_emac.txt | 1 * Texas Instruments Davinci EMAC 7 - compatible: "ti,davinci-dm6467-emac", "ti,am3517-emac" or 8 "ti,dm816-emac" 14 - interrupts: interrupt mapping for the davinci emac interrupts sources: 24 - ti,davinci-no-bd-ram: boolean, does EMAC have BD RAM? 30 eth0: emac@1e20000 { 31 compatible = "ti,davinci-dm6467-emac";
|
| H A D | arc_emac.txt | 1 * Synopsys ARC EMAC 10/100 Ethernet driver (EMAC) 4 - compatible: Should be "snps,arc-emac" 6 - interrupts: Should contain the EMAC interrupts 18 The clock frequency is needed to calculate and set polling period of EMAC. 21 - clocks: reference to the clock supplying the EMAC. 29 compatible = "snps,arc-emac";
|
| H A D | qcom-emac.txt | 1 Qualcomm Technologies EMAC Gigabit Ethernet Controller 11 - compatible : Should be "qcom,fsm9900-emac". 20 - compatible : Should be "qcom,fsm9900-emac-sgmii" or "qcom,qdf2432-emac-sgmii". 36 compatible = "qcom,fsm9900-emac"; 61 compatible = "qcom,fsm9900-emac-sgmii"; 85 compatible = "qcom,fsm9900-emac"; 107 compatible = "qcom,qdf2432-emac-sgmii";
|
| H A D | snps,dwmac.yaml | 49 - allwinner,sun8i-a83t-emac 50 - allwinner,sun8i-h3-emac 51 - allwinner,sun8i-r40-emac 52 - allwinner,sun8i-v3s-emac 53 - allwinner,sun50i-a64-emac 310 - allwinner,sun8i-a83t-emac 311 - allwinner,sun8i-h3-emac 312 - allwinner,sun8i-r40-emac 313 - allwinner,sun8i-v3s-emac 314 - allwinner,sun50i-a64-emac [all …]
|
| H A D | allwinner,sun4i-a10-emac.yaml | 4 $id: http://devicetree.org/schemas/net/allwinner,sun4i-a10-emac.yaml# 7 title: Allwinner A10 EMAC Ethernet Controller Device Tree Bindings 18 const: allwinner,sun4i-a10-emac 45 emac: ethernet@1c0b000 { 46 compatible = "allwinner,sun4i-a10-emac";
|
| H A D | socfpga-dwmac.txt | 18 bit for each emac to enable/disable signals from the FPGA fabric to the 19 EMAC modules. 24 altr,emac-splitter: Should be the phandle to the emac splitter soft IP node if 25 DWMAC controller is connected emac splitter.
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/ |
| H A D | davinci_emac.c | 5 * DaVinci EMAC is based upon CPPI 3.0 TI DMA engine 65 MODULE_PARM_DESC(debug_level, "DaVinci EMAC debug level (NETIF_MSG bits)"); 89 static const char emac_version_string[] = "TI DaVinci EMAC Linux v6.1"; 93 #define EMAC_DEF_QOS_EN (0) /* EMAC proprietary QoS disabled */ 122 /* EMAC register related defines */ 149 /* EMAC register definitions/bit maps used */ 157 /* EMAC mac_control register */ 169 /* EMAC mac_status register */ 179 /* EMAC RX register masks */ 210 /* EMAC Peripheral Device Register Memory Layout structure */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/arc/ |
| H A D | emac_rockchip.c | 3 * emac-rockchip.c - Rockchip EMAC specific glue layer 16 #include "emac.h" 28 struct arc_emac_priv emac; member 38 struct rockchip_priv_data *emac = priv; in emac_rockchip_set_mac_speed() local 39 u32 speed_offset = emac->soc_data->grf_speed_offset; in emac_rockchip_set_mac_speed() 55 err = regmap_write(emac->grf, emac->soc_data->grf_offset, data); in emac_rockchip_set_mac_speed() 77 .compatible = "rockchip,rk3036-emac", 81 .compatible = "rockchip,rk3066-emac", 85 .compatible = "rockchip,rk3188-emac", 113 priv->emac.drv_name = DRV_NAME; in emac_rockchip_probe() [all …]
|
| H A D | emac.h | 5 * Registers and bits definitions of ARC EMAC 27 #define TXPL_MASK (1 << 31) /* Force polling of BD by EMAC */ 38 #define OWN_MASK (1 << 31) /* 0-CPU or 1-EMAC owns buffer */ 52 /* ARC EMAC register set combines entries for MAC and MDIO */ 74 #define EMAC_BUFFER_SIZE 1536 /* EMAC buffer size */ 77 * struct arc_emac_bd - EMAC buffer descriptor (BD). 112 * struct arc_emac_priv - Storage of EMAC's private information. 116 * @regs: Base address of EMAC memory-mapped control registers. 126 * @last_rx_bd: Index of the last Rx BD we've got from EMAC. 166 * arc_reg_set - Sets EMAC register with provided value. [all …]
|
| H A D | Kconfig | 3 # ARC EMAC network device configuration 27 tristate "ARC EMAC support" 33 non-standard on-chip ethernet device ARC EMAC 10/100 is used. 37 tristate "Rockchip EMAC support" 42 Support for Rockchip RK3036/RK3066/RK3188 EMAC ethernet controllers. 44 emac device driver. This driver is used for RK3036/RK3066/RK3188 45 EMAC ethernet controller.
|
| H A D | emac_main.c | 5 * Driver for the ARC EMAC 10100 (hardware revision 5) 24 #include "emac.h" 30 * @priv: Pointer to ARC EMAC private data structure. 82 * arc_emac_get_drvinfo - Get EMAC driver information. 107 * arc_emac_tx_clean - clears processed by EMAC Tx BDs. 204 /* Return ownership to EMAC */ in arc_emac_rx() 219 /* Return ownership to EMAC */ in arc_emac_rx() 232 /* Return ownership to EMAC */ in arc_emac_rx() 261 /* Return ownership to EMAC */ in arc_emac_rx() 292 * Under certain conditions EMAC stop reception of incoming packets and [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/sunxi/ |
| H A D | pinctrl-sun5i.c | 25 SUNXI_FUNCTION(0x2, "emac"), /* ERXD3 */ 32 SUNXI_FUNCTION(0x2, "emac"), /* ERXD2 */ 39 SUNXI_FUNCTION(0x2, "emac"), /* ERXD1 */ 46 SUNXI_FUNCTION(0x2, "emac"), /* ERXD0 */ 53 SUNXI_FUNCTION(0x2, "emac"), /* ETXD3 */ 60 SUNXI_FUNCTION(0x2, "emac"), /* ETXD2 */ 67 SUNXI_FUNCTION(0x2, "emac"), /* ETXD1 */ 74 SUNXI_FUNCTION(0x2, "emac"), /* ETXD0 */ 81 SUNXI_FUNCTION(0x2, "emac"), /* ERXCK */ 89 SUNXI_FUNCTION(0x2, "emac"), /* ERXERR */ [all …]
|
| H A D | pinctrl-sun50i-h6.c | 18 SUNXI_FUNCTION(0x2, "emac")), /* ERXD1 */ 20 SUNXI_FUNCTION(0x2, "emac")), /* ERXD0 */ 22 SUNXI_FUNCTION(0x2, "emac")), /* ECRS_DV */ 24 SUNXI_FUNCTION(0x2, "emac")), /* ERXERR */ 26 SUNXI_FUNCTION(0x2, "emac")), /* ETXD1 */ 28 SUNXI_FUNCTION(0x2, "emac")), /* ETXD0 */ 30 SUNXI_FUNCTION(0x2, "emac")), /* ETXCK */ 32 SUNXI_FUNCTION(0x2, "emac")), /* ETXEN */ 34 SUNXI_FUNCTION(0x2, "emac")), /* EMDC */ 36 SUNXI_FUNCTION(0x2, "emac")), /* EMDIO */ [all …]
|
| H A D | pinctrl-sun4i-a10.c | 25 SUNXI_FUNCTION(0x2, "emac"), /* ERXD3 */ 34 SUNXI_FUNCTION(0x2, "emac"), /* ERXD2 */ 43 SUNXI_FUNCTION(0x2, "emac"), /* ERXD1 */ 52 SUNXI_FUNCTION(0x2, "emac"), /* ERXD0 */ 61 SUNXI_FUNCTION(0x2, "emac"), /* ETXD3 */ 69 SUNXI_FUNCTION(0x2, "emac"), /* ETXD2 */ 77 SUNXI_FUNCTION(0x2, "emac"), /* ETXD1 */ 85 SUNXI_FUNCTION(0x2, "emac"), /* ETXD0 */ 93 SUNXI_FUNCTION(0x2, "emac"), /* ERXCK */ 101 SUNXI_FUNCTION(0x2, "emac"), /* ERXERR */ [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | sun50i-a64-pine64-plus-u-boot.dtsi | 3 ethernet0 = &emac; 7 emac: ethernet@01c30000 { label 8 compatible = "allwinner,sun50i-a64-emac"; 10 reg-names = "emac", "syscon"; 36 allwinner,function = "emac"; 46 allwinner,function = "emac";
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/ |
| H A D | b44.h | 45 #define ISTAT_EMAC 0x04000000 /* EMAC Interrupt */ 126 #define B44_RXCONFIG 0x0400UL /* EMAC RX Config */ 136 #define B44_RXMAXLEN 0x0404UL /* EMAC RX Max Packet Length */ 137 #define B44_TXMAXLEN 0x0408UL /* EMAC TX Max Packet Length */ 138 #define B44_MDIO_CTRL 0x0410UL /* EMAC MDIO Control */ 141 #define B44_MDIO_DATA 0x0414UL /* EMAC MDIO Data */ 157 #define B44_EMAC_IMASK 0x0418UL /* EMAC Interrupt Mask */ 158 #define B44_EMAC_ISTAT 0x041CUL /* EMAC Interrupt Status */ 162 #define B44_CAM_DATA_LO 0x0420UL /* EMAC CAM Data Low */ 163 #define B44_CAM_DATA_HI 0x0424UL /* EMAC CAM Data High */ [all …]
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/net/ |
| H A D | allwinner,sun4i-emac.txt | 1 * Allwinner EMAC ethernet controller 4 - compatible: should be "allwinner,sun4i-a10-emac" (Deprecated: 5 "allwinner,sun4i-emac") 13 emac: ethernet@01c0b000 { 14 compatible = "allwinner,sun4i-a10-emac";
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-davinci/ |
| H A D | lxt972.c | 41 volatile emac_regs *emac = (emac_regs *)EMAC_BASE_ADDR; in lxt972_get_link_speed() local 59 /* Speed doesn't matter, there is no setting for it in EMAC... */ in lxt972_get_link_speed() 61 /* set DM644x EMAC for Full Duplex */ in lxt972_get_link_speed() 62 emac->MACCONTROL = EMAC_MACCONTROL_MIIEN_ENABLE | in lxt972_get_link_speed() 65 /*set DM644x EMAC for Half Duplex */ in lxt972_get_link_speed() 66 emac->MACCONTROL = EMAC_MACCONTROL_MIIEN_ENABLE; in lxt972_get_link_speed()
|
| H A D | dp83848.c | 40 volatile emac_regs* emac = (emac_regs *)EMAC_BASE_ADDR; in dp83848_get_link_speed() local 51 /* Speed doesn't matter, there is no setting for it in EMAC... */ in dp83848_get_link_speed() 53 /* set DM644x EMAC for Full Duplex */ in dp83848_get_link_speed() 54 emac->MACCONTROL = EMAC_MACCONTROL_MIIEN_ENABLE | in dp83848_get_link_speed() 57 /*set DM644x EMAC for Half Duplex */ in dp83848_get_link_speed() 58 emac->MACCONTROL = EMAC_MACCONTROL_MIIEN_ENABLE; in dp83848_get_link_speed()
|