macb_config
const struct macb_config *dt_conf)
static const struct macb_config fu540_c000_config = {
static const struct macb_config at91sam9260_config = {
static const struct macb_config sama5d3macb_config = {
static const struct macb_config pc302gem_config = {
static const struct macb_config sama5d2_config = {
static const struct macb_config sama5d29_config = {
static const struct macb_config sama5d3_config = {
static const struct macb_config sama5d4_config = {
static const struct macb_config emac_config = {
static const struct macb_config np4_config = {
static const struct macb_config zynqmp_config = {
static const struct macb_config zynq_config = {
static const struct macb_config mpfs_config = {
static const struct macb_config sama7g5_gem_config = {
static const struct macb_config sama7g5_emac_config = {
static const struct macb_config versal_config = {
static const struct macb_config eyeq5_config = {
static const struct macb_config raspberrypi_rp1_config = {
static const struct macb_config default_gem_config = {
const struct macb_config *macb_config;
macb_config = of_device_get_match_data(&pdev->dev);
if (!macb_config)
macb_config = &default_gem_config;
err = macb_config->clk_init(pdev, &pclk, &hclk, &tx_clk, &rx_clk, &tsu_clk);
bp->dma_burst_length = macb_config->dma_burst_length;
bp->jumbo_max_len = macb_config->jumbo_max_len;
else if (macb_config->max_tx_length)
bp->max_tx_length = macb_config->max_tx_length;
bp->usrio = macb_config->usrio;
macb_configure_caps(bp, macb_config);
err = macb_config->init(pdev);