• Home
  • Raw
  • Download

Lines Matching full:felix

22 #include "felix.h"
860 .name = "felix ptp",
959 struct felix *felix = ocelot_to_felix(ocelot); in vsc9959_mdio_bus_alloc() local
970 felix->pcs = devm_kcalloc(dev, felix->info->num_ports, in vsc9959_mdio_bus_alloc()
973 if (!felix->pcs) { in vsc9959_mdio_bus_alloc()
1020 felix->imdio = bus; in vsc9959_mdio_bus_alloc()
1022 for (port = 0; port < felix->info->num_ports; port++) { in vsc9959_mdio_bus_alloc()
1026 if (dsa_is_unused_port(felix->ds, port)) in vsc9959_mdio_bus_alloc()
1032 phylink_pcs = lynx_pcs_create_mdiodev(felix->imdio, port); in vsc9959_mdio_bus_alloc()
1036 felix->pcs[port] = phylink_pcs; in vsc9959_mdio_bus_alloc()
1046 struct felix *felix = ocelot_to_felix(ocelot); in vsc9959_mdio_bus_free() local
1050 struct phylink_pcs *phylink_pcs = felix->pcs[port]; in vsc9959_mdio_bus_free()
1055 mdiobus_unregister(felix->imdio); in vsc9959_mdio_bus_free()
1056 mdiobus_free(felix->imdio); in vsc9959_mdio_bus_free()
2533 * The Felix switch implementation of cut-through forwarding does not check in
2541 struct felix *felix = ocelot_to_felix(ocelot); in vsc9959_cut_through_fwd() local
2542 struct dsa_switch *ds = felix->ds; in vsc9959_cut_through_fwd()
2676 struct felix *felix; in felix_pci_probe() local
2690 felix = kzalloc(sizeof(struct felix), GFP_KERNEL); in felix_pci_probe()
2691 if (!felix) { in felix_pci_probe()
2697 pci_set_drvdata(pdev, felix); in felix_pci_probe()
2698 ocelot = &felix->ocelot; in felix_pci_probe()
2701 felix->info = &felix_info_vsc9959; in felix_pci_probe()
2702 felix->switch_base = pci_resource_start(pdev, VSC9959_SWITCH_PCI_BAR); in felix_pci_probe()
2708 "felix-intb", ocelot); in felix_pci_probe()
2725 ds->num_ports = felix->info->num_ports; in felix_pci_probe()
2726 ds->num_tx_queues = felix->info->num_tx_queues; in felix_pci_probe()
2729 felix->ds = ds; in felix_pci_probe()
2730 felix->tag_proto = DSA_TAG_PROTO_OCELOT; in felix_pci_probe()
2744 kfree(felix); in felix_pci_probe()
2753 struct felix *felix = pci_get_drvdata(pdev); in felix_pci_remove() local
2755 if (!felix) in felix_pci_remove()
2758 dsa_unregister_switch(felix->ds); in felix_pci_remove()
2760 kfree(felix->ds); in felix_pci_remove()
2761 kfree(felix); in felix_pci_remove()
2768 struct felix *felix = pci_get_drvdata(pdev); in felix_pci_shutdown() local
2770 if (!felix) in felix_pci_shutdown()
2773 dsa_switch_shutdown(felix->ds); in felix_pci_shutdown()
2796 MODULE_DESCRIPTION("Felix Switch driver");