Searched refs:ale_params (Results 1 – 3 of 3) sorted by relevance
436 struct cpsw_ale_params ale_params; in cpsw_init_common() local451 memset(&ale_params, 0, sizeof(ale_params)); in cpsw_init_common()460 ale_params.ale_regs = ss_regs + CPSW1_ALE_OFFSET; in cpsw_init_common()474 ale_params.ale_regs = ss_regs + CPSW2_ALE_OFFSET; in cpsw_init_common()501 ale_params.dev = dev; in cpsw_init_common()502 ale_params.ale_ageout = ale_ageout; in cpsw_init_common()503 ale_params.ale_ports = CPSW_ALE_PORTS_NUM; in cpsw_init_common()504 ale_params.dev_id = "cpsw"; in cpsw_init_common()506 cpsw->ale = cpsw_ale_create(&ale_params); in cpsw_init_common()
2019 struct cpsw_ale_params ale_params = { 0 }; in am65_cpsw_nuss_probe() local2122 ale_params.dev = dev; in am65_cpsw_nuss_probe()2123 ale_params.ale_ageout = AM65_CPSW_ALE_AGEOUT_DEFAULT; in am65_cpsw_nuss_probe()2124 ale_params.ale_ports = common->port_num + 1; in am65_cpsw_nuss_probe()2125 ale_params.ale_regs = common->cpsw_base + AM65_CPSW_NU_ALE_BASE; in am65_cpsw_nuss_probe()2126 ale_params.dev_id = "am65x-cpsw2g"; in am65_cpsw_nuss_probe()2127 ale_params.bus_freq = common->bus_freq; in am65_cpsw_nuss_probe()2129 common->ale = cpsw_ale_create(&ale_params); in am65_cpsw_nuss_probe()
3553 struct cpsw_ale_params ale_params; in gbe_probe() local3691 memset(&ale_params, 0, sizeof(ale_params)); in gbe_probe()3692 ale_params.dev = gbe_dev->dev; in gbe_probe()3693 ale_params.ale_regs = gbe_dev->ale_reg; in gbe_probe()3694 ale_params.ale_ageout = GBE_DEFAULT_ALE_AGEOUT; in gbe_probe()3695 ale_params.ale_ports = gbe_dev->ale_ports; in gbe_probe()3696 ale_params.dev_id = "cpsw"; in gbe_probe()3698 ale_params.dev_id = "66ak2el"; in gbe_probe()3700 ale_params.dev_id = "66ak2g"; in gbe_probe()3702 ale_params.dev_id = "66ak2h-xgbe"; in gbe_probe()[all …]