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);
1555 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1557 if (!wops->port_attr_stp_state_set)
1560 return wops->port_attr_stp_state_set(rocker_port, state);
1569 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1571 if (!wops->port_attr_bridge_flags_support_get)
1573 return wops->port_attr_bridge_flags_support_get(rocker_port,
1581 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1585 if (!wops->port_attr_bridge_flags_set)
1603 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1605 if (!wops->port_attr_bridge_flags_set)
1608 return wops->port_attr_bridge_flags_set(rocker_port, flags.val);
1615 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1617 if (!wops->port_attr_bridge_ageing_time_set)
1620 return wops->port_attr_bridge_ageing_time_set(rocker_port, ageing_time);
1627 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1629 if (!wops->port_obj_vlan_add)
1632 return wops->port_obj_vlan_add(rocker_port, vlan);
1639 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1644 if (!wops->port_obj_vlan_del)
1646 return wops->port_obj_vlan_del(rocker_port, vlan);
1653 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1655 if (!wops->port_obj_fdb_add)
1658 return wops->port_obj_fdb_add(rocker_port, info->vid, info->addr);
1665 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1667 if (!wops->port_obj_fdb_del)
1669 return wops->port_obj_fdb_del(rocker_port, info->vid, info->addr);
1676 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1678 if (!wops->port_master_linked)
1680 return wops->port_master_linked(rocker_port, master, extack);
1686 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1688 if (!wops->port_master_unlinked)
1690 return wops->port_master_unlinked(rocker_port, master);
1696 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1698 if (!wops->port_neigh_update)
1700 return wops->port_neigh_update(rocker_port, n);
1706 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1708 if (!wops->port_neigh_destroy)
1710 return wops->port_neigh_destroy(rocker_port, n);
1717 struct rocker_world_ops *wops = rocker_port->rocker->wops;
1719 if (!wops->port_ev_mac_vlan_seen)
1721 return wops->port_ev_mac_vlan_seen(rocker_port, addr, vlan_id);
1727 struct rocker_world_ops *wops = rocker->wops;
1729 if (!wops->fib4_add)
1731 return wops->fib4_add(rocker, fen_info);
1737 struct rocker_world_ops *wops = rocker->wops;
1739 if (!wops->fib4_del)
1741 return wops->fib4_del(rocker, fen_info);
1746 struct rocker_world_ops *wops = rocker->wops;
1748 if (wops->fib4_abort)
1749 wops->fib4_abort(rocker);