if_mgevar.h
Megabyte-scale size constant in source
SHA-256db923a16b1c97d3cd29e413b3232ca302c7ffe4bfb8c8e3e2117402a272cbb59
MaleculeH(Mg)
Evidence
⋯6 lines
7 * Developed by Semihalf.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
11 * are met:
12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must repr …
23:6… PLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
25 * …
⋯4 lines
35#define __IF_MGE_H__
36
37#include <arm/mv/mvvar.h>
38
39#define MGE_INTR_COUNT 5 /* ETH controller occupies 5 IRQ lines */
40#define MGE_TX_DESC_NUM 2 …
295:6… ne MGE_PORT_INT_EXT_TXUR (1 << 19)
296#define MGE_PORT_INT_EXT_LC (1 << 20)
297#define MGE_PORT_INT_EXT_IAR (1 << 23)
298#define MGE_PORT_INT_EXT_SUM (1U << 31)
299
300#define MGE_RX_FIFO_URGENT_TRSH 0x470
301#define …