Lines Matching defs:wops

1438 	struct rocker_world_ops *wops;
1441 wops = rocker_world_ops_find(mode);
1442 if (!wops) {
1447 rocker->wops = wops;
1448 rocker->wpriv = kzalloc(wops->priv_size, GFP_KERNEL);
1451 if (!wops->init)
1453 err = wops->init(rocker);
1461 struct rocker_world_ops *wops = rocker->wops;
1463 if (!wops || !wops->fini)
1465 wops->fini(rocker);
1480 if (rocker->wops) {
1481 if (rocker->wops->mode != mode) {
1492 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1495 rocker_port->wpriv = kzalloc(wops->port_priv_size, GFP_KERNEL);
1498 if (!wops->port_pre_init)
1500 err = wops->port_pre_init(rocker_port);
1508 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1510 if (!wops->port_init)
1512 return wops->port_init(rocker_port);
1517 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1519 if (!wops->port_fini)
1521 wops->port_fini(rocker_port);
1526 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1528 if (!wops->port_post_fini)
1530 wops->port_post_fini(rocker_port);
1536 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1538 if (!wops->port_open)
1540 return wops->port_open(rocker_port);
1545 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1547 if (!wops->port_stop)
1549 wops->port_stop(rocker_port);
1556 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1558 if (!wops->port_attr_stp_state_set)
1564 return wops->port_attr_stp_state_set(rocker_port, state);
1573 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1575 if (!wops->port_attr_bridge_flags_support_get)
1577 return wops->port_attr_bridge_flags_support_get(rocker_port,
1586 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1590 if (!wops->port_attr_bridge_flags_set)
1609 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1611 if (!wops->port_attr_bridge_flags_set)
1617 return wops->port_attr_bridge_flags_set(rocker_port, brport_flags,
1627 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1629 if (!wops->port_attr_bridge_ageing_time_set)
1635 return wops->port_attr_bridge_ageing_time_set(rocker_port, ageing_time,
1644 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1646 if (!wops->port_obj_vlan_add)
1652 return wops->port_obj_vlan_add(rocker_port, vlan);
1659 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1664 if (!wops->port_obj_vlan_del)
1666 return wops->port_obj_vlan_del(rocker_port, vlan);
1673 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1675 if (!wops->port_obj_fdb_add)
1678 return wops->port_obj_fdb_add(rocker_port, info->vid, info->addr);
1685 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1687 if (!wops->port_obj_fdb_del)
1689 return wops->port_obj_fdb_del(rocker_port, info->vid, info->addr);
1695 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1697 if (!wops->port_master_linked)
1699 return wops->port_master_linked(rocker_port, master);
1705 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1707 if (!wops->port_master_unlinked)
1709 return wops->port_master_unlinked(rocker_port, master);
1715 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1717 if (!wops->port_neigh_update)
1719 return wops->port_neigh_update(rocker_port, n);
1725 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1727 if (!wops->port_neigh_destroy)
1729 return wops->port_neigh_destroy(rocker_port, n);
1736 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1738 if (!wops->port_ev_mac_vlan_seen)
1740 return wops->port_ev_mac_vlan_seen(rocker_port, addr, vlan_id);
1746 struct rocker_world_ops *wops = rocker->wops;
1748 if (!wops->fib4_add)
1750 return wops->fib4_add(rocker, fen_info);
1756 struct rocker_world_ops *wops = rocker->wops;
1758 if (!wops->fib4_del)
1760 return wops->fib4_del(rocker, fen_info);
1765 struct rocker_world_ops *wops = rocker->wops;
1767 if (wops->fib4_abort)
1768 wops->fib4_abort(rocker);