rocker_port        52 drivers/net/ethernet/rocker/rocker.h struct rocker_port *rocker_port_dev_lower_find(struct net_device *dev,
rocker_port        62 drivers/net/ethernet/rocker/rocker.h 	struct rocker_port **ports;
rocker_port        75 drivers/net/ethernet/rocker/rocker.h typedef int (*rocker_cmd_prep_cb_t)(const struct rocker_port *rocker_port,
rocker_port        79 drivers/net/ethernet/rocker/rocker.h typedef int (*rocker_cmd_proc_cb_t)(const struct rocker_port *rocker_port,
rocker_port        83 drivers/net/ethernet/rocker/rocker.h int rocker_cmd_exec(struct rocker_port *rocker_port, bool nowait,
rocker_port        87 drivers/net/ethernet/rocker/rocker.h int rocker_port_set_learning(struct rocker_port *rocker_port,
rocker_port        97 drivers/net/ethernet/rocker/rocker.h 	int (*port_pre_init)(struct rocker_port *rocker_port);
rocker_port        98 drivers/net/ethernet/rocker/rocker.h 	int (*port_init)(struct rocker_port *rocker_port);
rocker_port        99 drivers/net/ethernet/rocker/rocker.h 	void (*port_fini)(struct rocker_port *rocker_port);
rocker_port       100 drivers/net/ethernet/rocker/rocker.h 	void (*port_post_fini)(struct rocker_port *rocker_port);
rocker_port       101 drivers/net/ethernet/rocker/rocker.h 	int (*port_open)(struct rocker_port *rocker_port);
rocker_port       102 drivers/net/ethernet/rocker/rocker.h 	void (*port_stop)(struct rocker_port *rocker_port);
rocker_port       103 drivers/net/ethernet/rocker/rocker.h 	int (*port_attr_stp_state_set)(struct rocker_port *rocker_port,
rocker_port       105 drivers/net/ethernet/rocker/rocker.h 	int (*port_attr_bridge_flags_set)(struct rocker_port *rocker_port,
rocker_port       108 drivers/net/ethernet/rocker/rocker.h 	int (*port_attr_bridge_flags_support_get)(const struct rocker_port *
rocker_port       109 drivers/net/ethernet/rocker/rocker.h 						  rocker_port,
rocker_port       112 drivers/net/ethernet/rocker/rocker.h 	int (*port_attr_bridge_ageing_time_set)(struct rocker_port *rocker_port,
rocker_port       115 drivers/net/ethernet/rocker/rocker.h 	int (*port_obj_vlan_add)(struct rocker_port *rocker_port,
rocker_port       117 drivers/net/ethernet/rocker/rocker.h 	int (*port_obj_vlan_del)(struct rocker_port *rocker_port,
rocker_port       119 drivers/net/ethernet/rocker/rocker.h 	int (*port_obj_fdb_add)(struct rocker_port *rocker_port,
rocker_port       121 drivers/net/ethernet/rocker/rocker.h 	int (*port_obj_fdb_del)(struct rocker_port *rocker_port,
rocker_port       123 drivers/net/ethernet/rocker/rocker.h 	int (*port_master_linked)(struct rocker_port *rocker_port,
rocker_port       125 drivers/net/ethernet/rocker/rocker.h 	int (*port_master_unlinked)(struct rocker_port *rocker_port,
rocker_port       127 drivers/net/ethernet/rocker/rocker.h 	int (*port_neigh_update)(struct rocker_port *rocker_port,
rocker_port       129 drivers/net/ethernet/rocker/rocker.h 	int (*port_neigh_destroy)(struct rocker_port *rocker_port,
rocker_port       131 drivers/net/ethernet/rocker/rocker.h 	int (*port_ev_mac_vlan_seen)(struct rocker_port *rocker_port,
rocker_port       101 drivers/net/ethernet/rocker/rocker_main.c static u32 rocker_msix_tx_vector(const struct rocker_port *rocker_port)
rocker_port       103 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_msix_vector(rocker_port->rocker,
rocker_port       104 drivers/net/ethernet/rocker/rocker_main.c 				  ROCKER_MSIX_VEC_TX(rocker_port->port_number));
rocker_port       107 drivers/net/ethernet/rocker/rocker_main.c static u32 rocker_msix_rx_vector(const struct rocker_port *rocker_port)
rocker_port       109 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_msix_vector(rocker_port->rocker,
rocker_port       110 drivers/net/ethernet/rocker/rocker_main.c 				  ROCKER_MSIX_VEC_RX(rocker_port->port_number));
rocker_port       670 drivers/net/ethernet/rocker/rocker_main.c static int rocker_dma_rx_ring_skb_map(const struct rocker_port *rocker_port,
rocker_port       674 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker *rocker = rocker_port->rocker;
rocker_port       694 drivers/net/ethernet/rocker/rocker_main.c static size_t rocker_port_rx_buf_len(const struct rocker_port *rocker_port)
rocker_port       696 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_port->dev->mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN;
rocker_port       699 drivers/net/ethernet/rocker/rocker_main.c static int rocker_dma_rx_ring_skb_alloc(const struct rocker_port *rocker_port,
rocker_port       702 drivers/net/ethernet/rocker/rocker_main.c 	struct net_device *dev = rocker_port->dev;
rocker_port       704 drivers/net/ethernet/rocker/rocker_main.c 	size_t buf_len = rocker_port_rx_buf_len(rocker_port);
rocker_port       716 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_dma_rx_ring_skb_map(rocker_port, desc_info, skb, buf_len);
rocker_port       753 drivers/net/ethernet/rocker/rocker_main.c static int rocker_dma_rx_ring_skbs_alloc(const struct rocker_port *rocker_port)
rocker_port       755 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_dma_ring_info *rx_ring = &rocker_port->rx_ring;
rocker_port       756 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker *rocker = rocker_port->rocker;
rocker_port       761 drivers/net/ethernet/rocker/rocker_main.c 		err = rocker_dma_rx_ring_skb_alloc(rocker_port,
rocker_port       774 drivers/net/ethernet/rocker/rocker_main.c static void rocker_dma_rx_ring_skbs_free(const struct rocker_port *rocker_port)
rocker_port       776 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_dma_ring_info *rx_ring = &rocker_port->rx_ring;
rocker_port       777 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker *rocker = rocker_port->rocker;
rocker_port       784 drivers/net/ethernet/rocker/rocker_main.c static int rocker_port_dma_rings_init(struct rocker_port *rocker_port)
rocker_port       786 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker *rocker = rocker_port->rocker;
rocker_port       790 drivers/net/ethernet/rocker/rocker_main.c 				     ROCKER_DMA_TX(rocker_port->port_number),
rocker_port       792 drivers/net/ethernet/rocker/rocker_main.c 				     &rocker_port->tx_ring);
rocker_port       794 drivers/net/ethernet/rocker/rocker_main.c 		netdev_err(rocker_port->dev, "failed to create tx dma ring\n");
rocker_port       798 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_dma_ring_bufs_alloc(rocker, &rocker_port->tx_ring,
rocker_port       802 drivers/net/ethernet/rocker/rocker_main.c 		netdev_err(rocker_port->dev, "failed to alloc tx dma ring buffers\n");
rocker_port       807 drivers/net/ethernet/rocker/rocker_main.c 				     ROCKER_DMA_RX(rocker_port->port_number),
rocker_port       809 drivers/net/ethernet/rocker/rocker_main.c 				     &rocker_port->rx_ring);
rocker_port       811 drivers/net/ethernet/rocker/rocker_main.c 		netdev_err(rocker_port->dev, "failed to create rx dma ring\n");
rocker_port       815 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_dma_ring_bufs_alloc(rocker, &rocker_port->rx_ring,
rocker_port       819 drivers/net/ethernet/rocker/rocker_main.c 		netdev_err(rocker_port->dev, "failed to alloc rx dma ring buffers\n");
rocker_port       823 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_dma_rx_ring_skbs_alloc(rocker_port);
rocker_port       825 drivers/net/ethernet/rocker/rocker_main.c 		netdev_err(rocker_port->dev, "failed to alloc rx dma ring skbs\n");
rocker_port       828 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_ring_pass_to_producer(rocker, &rocker_port->rx_ring);
rocker_port       833 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_ring_bufs_free(rocker, &rocker_port->rx_ring,
rocker_port       836 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_ring_destroy(rocker, &rocker_port->rx_ring);
rocker_port       838 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_ring_bufs_free(rocker, &rocker_port->tx_ring,
rocker_port       841 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_ring_destroy(rocker, &rocker_port->tx_ring);
rocker_port       845 drivers/net/ethernet/rocker/rocker_main.c static void rocker_port_dma_rings_fini(struct rocker_port *rocker_port)
rocker_port       847 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker *rocker = rocker_port->rocker;
rocker_port       849 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_rx_ring_skbs_free(rocker_port);
rocker_port       850 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_ring_bufs_free(rocker, &rocker_port->rx_ring,
rocker_port       852 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_ring_destroy(rocker, &rocker_port->rx_ring);
rocker_port       853 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_ring_bufs_free(rocker, &rocker_port->tx_ring,
rocker_port       855 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_ring_destroy(rocker, &rocker_port->tx_ring);
rocker_port       858 drivers/net/ethernet/rocker/rocker_main.c static void rocker_port_set_enable(const struct rocker_port *rocker_port,
rocker_port       861 drivers/net/ethernet/rocker/rocker_main.c 	u64 val = rocker_read64(rocker_port->rocker, PORT_PHYS_ENABLE);
rocker_port       864 drivers/net/ethernet/rocker/rocker_main.c 		val |= 1ULL << rocker_port->pport;
rocker_port       866 drivers/net/ethernet/rocker/rocker_main.c 		val &= ~(1ULL << rocker_port->pport);
rocker_port       867 drivers/net/ethernet/rocker/rocker_main.c 	rocker_write64(rocker_port->rocker, PORT_PHYS_ENABLE, val);
rocker_port       897 drivers/net/ethernet/rocker/rocker_main.c static void rocker_port_link_up(const struct rocker_port *rocker_port)
rocker_port       899 drivers/net/ethernet/rocker/rocker_main.c 	netif_carrier_on(rocker_port->dev);
rocker_port       900 drivers/net/ethernet/rocker/rocker_main.c 	netdev_info(rocker_port->dev, "Link is up\n");
rocker_port       903 drivers/net/ethernet/rocker/rocker_main.c static void rocker_port_link_down(const struct rocker_port *rocker_port)
rocker_port       905 drivers/net/ethernet/rocker/rocker_main.c 	netif_carrier_off(rocker_port->dev);
rocker_port       906 drivers/net/ethernet/rocker/rocker_main.c 	netdev_info(rocker_port->dev, "Link is down\n");
rocker_port       915 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port;
rocker_port       928 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port = rocker->ports[port_number];
rocker_port       929 drivers/net/ethernet/rocker/rocker_main.c 	if (netif_carrier_ok(rocker_port->dev) != link_up) {
rocker_port       931 drivers/net/ethernet/rocker/rocker_main.c 			rocker_port_link_up(rocker_port);
rocker_port       933 drivers/net/ethernet/rocker/rocker_main.c 			rocker_port_link_down(rocker_port);
rocker_port       939 drivers/net/ethernet/rocker/rocker_main.c static int rocker_world_port_ev_mac_vlan_seen(struct rocker_port *rocker_port,
rocker_port       948 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port;
rocker_port       965 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port = rocker->ports[port_number];
rocker_port       966 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_world_port_ev_mac_vlan_seen(rocker_port, addr, vlan_id);
rocker_port      1024 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = dev_id;
rocker_port      1026 drivers/net/ethernet/rocker/rocker_main.c 	napi_schedule(&rocker_port->napi_tx);
rocker_port      1032 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = dev_id;
rocker_port      1034 drivers/net/ethernet/rocker/rocker_main.c 	napi_schedule(&rocker_port->napi_rx);
rocker_port      1042 drivers/net/ethernet/rocker/rocker_main.c int rocker_cmd_exec(struct rocker_port *rocker_port, bool nowait,
rocker_port      1046 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker *rocker = rocker_port->rocker;
rocker_port      1064 drivers/net/ethernet/rocker/rocker_main.c 	err = prepare(rocker_port, desc_info, prepare_priv);
rocker_port      1085 drivers/net/ethernet/rocker/rocker_main.c 		err = process(rocker_port, desc_info, process_priv);
rocker_port      1092 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_get_port_settings_prep(const struct rocker_port *rocker_port,
rocker_port      1105 drivers/net/ethernet/rocker/rocker_main.c 			       rocker_port->pport))
rocker_port      1112 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_get_port_settings_ethtool_proc(const struct rocker_port *rocker_port,
rocker_port      1151 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_get_port_settings_macaddr_proc(const struct rocker_port *rocker_port,
rocker_port      1178 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_get_port_settings_mode_proc(const struct rocker_port *rocker_port,
rocker_port      1207 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_get_port_settings_phys_name_proc(const struct rocker_port *rocker_port,
rocker_port      1248 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_set_port_settings_ethtool_prep(const struct rocker_port *rocker_port,
rocker_port      1262 drivers/net/ethernet/rocker/rocker_main.c 			       rocker_port->pport))
rocker_port      1278 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_set_port_settings_macaddr_prep(const struct rocker_port *rocker_port,
rocker_port      1292 drivers/net/ethernet/rocker/rocker_main.c 			       rocker_port->pport))
rocker_port      1302 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_set_port_settings_mtu_prep(const struct rocker_port *rocker_port,
rocker_port      1316 drivers/net/ethernet/rocker/rocker_main.c 			       rocker_port->pport))
rocker_port      1326 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_set_port_learning_prep(const struct rocker_port *rocker_port,
rocker_port      1340 drivers/net/ethernet/rocker/rocker_main.c 			       rocker_port->pport))
rocker_port      1350 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_get_port_settings_ethtool(struct rocker_port *rocker_port,
rocker_port      1353 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_cmd_exec(rocker_port, false,
rocker_port      1359 drivers/net/ethernet/rocker/rocker_main.c static int rocker_cmd_get_port_settings_macaddr(struct rocker_port *rocker_port,
rocker_port      1362 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_cmd_exec(rocker_port, false,
rocker_port      1368 drivers/net/ethernet/rocker/rocker_main.c static int rocker_cmd_get_port_settings_mode(struct rocker_port *rocker_port,
rocker_port      1371 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_cmd_exec(rocker_port, false,
rocker_port      1377 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_set_port_settings_ethtool(struct rocker_port *rocker_port,
rocker_port      1384 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_cmd_exec(rocker_port, false,
rocker_port      1389 drivers/net/ethernet/rocker/rocker_main.c static int rocker_cmd_set_port_settings_macaddr(struct rocker_port *rocker_port,
rocker_port      1392 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_cmd_exec(rocker_port, false,
rocker_port      1397 drivers/net/ethernet/rocker/rocker_main.c static int rocker_cmd_set_port_settings_mtu(struct rocker_port *rocker_port,
rocker_port      1400 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_cmd_exec(rocker_port, false,
rocker_port      1405 drivers/net/ethernet/rocker/rocker_main.c int rocker_port_set_learning(struct rocker_port *rocker_port,
rocker_port      1408 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_cmd_exec(rocker_port, false,
rocker_port      1466 drivers/net/ethernet/rocker/rocker_main.c static int rocker_world_check_init(struct rocker_port *rocker_port)
rocker_port      1468 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker *rocker = rocker_port->rocker;
rocker_port      1472 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_cmd_get_port_settings_mode(rocker_port, &mode);
rocker_port      1487 drivers/net/ethernet/rocker/rocker_main.c static int rocker_world_port_pre_init(struct rocker_port *rocker_port)
rocker_port      1489 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1492 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port->wpriv = kzalloc(wops->port_priv_size, GFP_KERNEL);
rocker_port      1493 drivers/net/ethernet/rocker/rocker_main.c 	if (!rocker_port->wpriv)
rocker_port      1497 drivers/net/ethernet/rocker/rocker_main.c 	err = wops->port_pre_init(rocker_port);
rocker_port      1499 drivers/net/ethernet/rocker/rocker_main.c 		kfree(rocker_port->wpriv);
rocker_port      1503 drivers/net/ethernet/rocker/rocker_main.c static int rocker_world_port_init(struct rocker_port *rocker_port)
rocker_port      1505 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1509 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_init(rocker_port);
rocker_port      1512 drivers/net/ethernet/rocker/rocker_main.c static void rocker_world_port_fini(struct rocker_port *rocker_port)
rocker_port      1514 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1518 drivers/net/ethernet/rocker/rocker_main.c 	wops->port_fini(rocker_port);
rocker_port      1521 drivers/net/ethernet/rocker/rocker_main.c static void rocker_world_port_post_fini(struct rocker_port *rocker_port)
rocker_port      1523 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1527 drivers/net/ethernet/rocker/rocker_main.c 	wops->port_post_fini(rocker_port);
rocker_port      1528 drivers/net/ethernet/rocker/rocker_main.c 	kfree(rocker_port->wpriv);
rocker_port      1531 drivers/net/ethernet/rocker/rocker_main.c static int rocker_world_port_open(struct rocker_port *rocker_port)
rocker_port      1533 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1537 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_open(rocker_port);
rocker_port      1540 drivers/net/ethernet/rocker/rocker_main.c static void rocker_world_port_stop(struct rocker_port *rocker_port)
rocker_port      1542 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1546 drivers/net/ethernet/rocker/rocker_main.c 	wops->port_stop(rocker_port);
rocker_port      1549 drivers/net/ethernet/rocker/rocker_main.c static int rocker_world_port_attr_stp_state_set(struct rocker_port *rocker_port,
rocker_port      1553 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1561 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_attr_stp_state_set(rocker_port, state);
rocker_port      1565 drivers/net/ethernet/rocker/rocker_main.c rocker_world_port_attr_bridge_flags_support_get(const struct rocker_port *
rocker_port      1566 drivers/net/ethernet/rocker/rocker_main.c 						rocker_port,
rocker_port      1570 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1574 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_attr_bridge_flags_support_get(rocker_port,
rocker_port      1579 drivers/net/ethernet/rocker/rocker_main.c rocker_world_port_attr_pre_bridge_flags_set(struct rocker_port *rocker_port,
rocker_port      1583 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1590 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_world_port_attr_bridge_flags_support_get(rocker_port,
rocker_port      1602 drivers/net/ethernet/rocker/rocker_main.c rocker_world_port_attr_bridge_flags_set(struct rocker_port *rocker_port,
rocker_port      1606 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1614 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_attr_bridge_flags_set(rocker_port, brport_flags,
rocker_port      1619 drivers/net/ethernet/rocker/rocker_main.c rocker_world_port_attr_bridge_ageing_time_set(struct rocker_port *rocker_port,
rocker_port      1624 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1632 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_attr_bridge_ageing_time_set(rocker_port, ageing_time,
rocker_port      1637 drivers/net/ethernet/rocker/rocker_main.c rocker_world_port_obj_vlan_add(struct rocker_port *rocker_port,
rocker_port      1641 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1649 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_obj_vlan_add(rocker_port, vlan);
rocker_port      1653 drivers/net/ethernet/rocker/rocker_main.c rocker_world_port_obj_vlan_del(struct rocker_port *rocker_port,
rocker_port      1656 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1663 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_obj_vlan_del(rocker_port, vlan);
rocker_port      1667 drivers/net/ethernet/rocker/rocker_main.c rocker_world_port_fdb_add(struct rocker_port *rocker_port,
rocker_port      1670 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1675 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_obj_fdb_add(rocker_port, info->vid, info->addr);
rocker_port      1679 drivers/net/ethernet/rocker/rocker_main.c rocker_world_port_fdb_del(struct rocker_port *rocker_port,
rocker_port      1682 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1686 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_obj_fdb_del(rocker_port, info->vid, info->addr);
rocker_port      1689 drivers/net/ethernet/rocker/rocker_main.c static int rocker_world_port_master_linked(struct rocker_port *rocker_port,
rocker_port      1692 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1696 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_master_linked(rocker_port, master);
rocker_port      1699 drivers/net/ethernet/rocker/rocker_main.c static int rocker_world_port_master_unlinked(struct rocker_port *rocker_port,
rocker_port      1702 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1706 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_master_unlinked(rocker_port, master);
rocker_port      1709 drivers/net/ethernet/rocker/rocker_main.c static int rocker_world_port_neigh_update(struct rocker_port *rocker_port,
rocker_port      1712 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1716 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_neigh_update(rocker_port, n);
rocker_port      1719 drivers/net/ethernet/rocker/rocker_main.c static int rocker_world_port_neigh_destroy(struct rocker_port *rocker_port,
rocker_port      1722 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1726 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_neigh_destroy(rocker_port, n);
rocker_port      1729 drivers/net/ethernet/rocker/rocker_main.c static int rocker_world_port_ev_mac_vlan_seen(struct rocker_port *rocker_port,
rocker_port      1733 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_world_ops *wops = rocker_port->rocker->wops;
rocker_port      1737 drivers/net/ethernet/rocker/rocker_main.c 	return wops->port_ev_mac_vlan_seen(rocker_port, addr, vlan_id);
rocker_port      1774 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      1777 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_port_dma_rings_init(rocker_port);
rocker_port      1781 drivers/net/ethernet/rocker/rocker_main.c 	err = request_irq(rocker_msix_tx_vector(rocker_port),
rocker_port      1783 drivers/net/ethernet/rocker/rocker_main.c 			  rocker_driver_name, rocker_port);
rocker_port      1785 drivers/net/ethernet/rocker/rocker_main.c 		netdev_err(rocker_port->dev, "cannot assign tx irq\n");
rocker_port      1789 drivers/net/ethernet/rocker/rocker_main.c 	err = request_irq(rocker_msix_rx_vector(rocker_port),
rocker_port      1791 drivers/net/ethernet/rocker/rocker_main.c 			  rocker_driver_name, rocker_port);
rocker_port      1793 drivers/net/ethernet/rocker/rocker_main.c 		netdev_err(rocker_port->dev, "cannot assign rx irq\n");
rocker_port      1797 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_world_port_open(rocker_port);
rocker_port      1799 drivers/net/ethernet/rocker/rocker_main.c 		netdev_err(rocker_port->dev, "cannot open port in world\n");
rocker_port      1803 drivers/net/ethernet/rocker/rocker_main.c 	napi_enable(&rocker_port->napi_tx);
rocker_port      1804 drivers/net/ethernet/rocker/rocker_main.c 	napi_enable(&rocker_port->napi_rx);
rocker_port      1806 drivers/net/ethernet/rocker/rocker_main.c 		rocker_port_set_enable(rocker_port, true);
rocker_port      1811 drivers/net/ethernet/rocker/rocker_main.c 	free_irq(rocker_msix_rx_vector(rocker_port), rocker_port);
rocker_port      1813 drivers/net/ethernet/rocker/rocker_main.c 	free_irq(rocker_msix_tx_vector(rocker_port), rocker_port);
rocker_port      1815 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port_dma_rings_fini(rocker_port);
rocker_port      1821 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      1824 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port_set_enable(rocker_port, false);
rocker_port      1825 drivers/net/ethernet/rocker/rocker_main.c 	napi_disable(&rocker_port->napi_rx);
rocker_port      1826 drivers/net/ethernet/rocker/rocker_main.c 	napi_disable(&rocker_port->napi_tx);
rocker_port      1827 drivers/net/ethernet/rocker/rocker_main.c 	rocker_world_port_stop(rocker_port);
rocker_port      1828 drivers/net/ethernet/rocker/rocker_main.c 	free_irq(rocker_msix_rx_vector(rocker_port), rocker_port);
rocker_port      1829 drivers/net/ethernet/rocker/rocker_main.c 	free_irq(rocker_msix_tx_vector(rocker_port), rocker_port);
rocker_port      1830 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port_dma_rings_fini(rocker_port);
rocker_port      1835 drivers/net/ethernet/rocker/rocker_main.c static void rocker_tx_desc_frags_unmap(const struct rocker_port *rocker_port,
rocker_port      1838 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker *rocker = rocker_port->rocker;
rocker_port      1865 drivers/net/ethernet/rocker/rocker_main.c static int rocker_tx_desc_frag_map_put(const struct rocker_port *rocker_port,
rocker_port      1869 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker *rocker = rocker_port->rocker;
rocker_port      1877 drivers/net/ethernet/rocker/rocker_main.c 			netdev_err(rocker_port->dev, "failed to dma map tx frag\n");
rocker_port      1901 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      1902 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker *rocker = rocker_port->rocker;
rocker_port      1908 drivers/net/ethernet/rocker/rocker_main.c 	desc_info = rocker_desc_head_get(&rocker_port->tx_ring);
rocker_port      1920 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_tx_desc_frag_map_put(rocker_port, desc_info,
rocker_port      1933 drivers/net/ethernet/rocker/rocker_main.c 		err = rocker_tx_desc_frag_map_put(rocker_port, desc_info,
rocker_port      1942 drivers/net/ethernet/rocker/rocker_main.c 	rocker_desc_head_set(rocker, &rocker_port->tx_ring, desc_info);
rocker_port      1944 drivers/net/ethernet/rocker/rocker_main.c 	desc_info = rocker_desc_head_get(&rocker_port->tx_ring);
rocker_port      1951 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tx_desc_frags_unmap(rocker_port, desc_info);
rocker_port      1964 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      1970 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_cmd_set_port_settings_macaddr(rocker_port, addr->sa_data);
rocker_port      1979 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      1989 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_cmd_set_port_settings_mtu(rocker_port, new_mtu);
rocker_port      2002 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      2006 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_cmd_exec(rocker_port, false,
rocker_port      2017 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      2019 drivers/net/ethernet/rocker/rocker_main.c 	if (rocker_port->dev->flags & IFF_UP)
rocker_port      2020 drivers/net/ethernet/rocker/rocker_main.c 		rocker_port_set_enable(rocker_port, !proto_down);
rocker_port      2021 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port->dev->proto_down = proto_down;
rocker_port      2028 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(n->dev);
rocker_port      2031 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_world_port_neigh_destroy(rocker_port, n);
rocker_port      2033 drivers/net/ethernet/rocker/rocker_main.c 		netdev_warn(rocker_port->dev, "failed to handle neigh destroy (err %d)\n",
rocker_port      2040 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      2041 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker *rocker = rocker_port->rocker;
rocker_port      2069 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      2074 drivers/net/ethernet/rocker/rocker_main.c 		err = rocker_world_port_attr_stp_state_set(rocker_port,
rocker_port      2079 drivers/net/ethernet/rocker/rocker_main.c 		err = rocker_world_port_attr_pre_bridge_flags_set(rocker_port,
rocker_port      2084 drivers/net/ethernet/rocker/rocker_main.c 		err = rocker_world_port_attr_bridge_flags_set(rocker_port,
rocker_port      2089 drivers/net/ethernet/rocker/rocker_main.c 		err = rocker_world_port_attr_bridge_ageing_time_set(rocker_port,
rocker_port      2105 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      2110 drivers/net/ethernet/rocker/rocker_main.c 		err = rocker_world_port_obj_vlan_add(rocker_port,
rocker_port      2125 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      2130 drivers/net/ethernet/rocker/rocker_main.c 		err = rocker_world_port_obj_vlan_del(rocker_port,
rocker_port      2250 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      2252 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_cmd_get_port_settings_ethtool(rocker_port, ecmd);
rocker_port      2259 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      2261 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_cmd_set_port_settings_ethtool(rocker_port, ecmd);
rocker_port      2305 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_get_port_stats_prep(const struct rocker_port *rocker_port,
rocker_port      2320 drivers/net/ethernet/rocker/rocker_main.c 			       rocker_port->pport))
rocker_port      2329 drivers/net/ethernet/rocker/rocker_main.c rocker_cmd_get_port_stats_ethtool_proc(const struct rocker_port *rocker_port,
rocker_port      2352 drivers/net/ethernet/rocker/rocker_main.c 	if (pport != rocker_port->pport)
rocker_port      2366 drivers/net/ethernet/rocker/rocker_main.c static int rocker_cmd_get_port_stats_ethtool(struct rocker_port *rocker_port,
rocker_port      2369 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_cmd_exec(rocker_port, false,
rocker_port      2378 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = netdev_priv(dev);
rocker_port      2380 drivers/net/ethernet/rocker/rocker_main.c 	if (rocker_cmd_get_port_stats_ethtool(rocker_port, data) != 0) {
rocker_port      2412 drivers/net/ethernet/rocker/rocker_main.c static struct rocker_port *rocker_port_napi_tx_get(struct napi_struct *napi)
rocker_port      2414 drivers/net/ethernet/rocker/rocker_main.c 	return container_of(napi, struct rocker_port, napi_tx);
rocker_port      2419 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = rocker_port_napi_tx_get(napi);
rocker_port      2420 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker *rocker = rocker_port->rocker;
rocker_port      2426 drivers/net/ethernet/rocker/rocker_main.c 	while ((desc_info = rocker_desc_tail_get(&rocker_port->tx_ring))) {
rocker_port      2431 drivers/net/ethernet/rocker/rocker_main.c 			netdev_err(rocker_port->dev, "tx desc received with err %d\n",
rocker_port      2433 drivers/net/ethernet/rocker/rocker_main.c 		rocker_tx_desc_frags_unmap(rocker_port, desc_info);
rocker_port      2437 drivers/net/ethernet/rocker/rocker_main.c 			rocker_port->dev->stats.tx_packets++;
rocker_port      2438 drivers/net/ethernet/rocker/rocker_main.c 			rocker_port->dev->stats.tx_bytes += skb->len;
rocker_port      2440 drivers/net/ethernet/rocker/rocker_main.c 			rocker_port->dev->stats.tx_errors++;
rocker_port      2447 drivers/net/ethernet/rocker/rocker_main.c 	if (credits && netif_queue_stopped(rocker_port->dev))
rocker_port      2448 drivers/net/ethernet/rocker/rocker_main.c 		netif_wake_queue(rocker_port->dev);
rocker_port      2451 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_ring_credits_set(rocker, &rocker_port->tx_ring, credits);
rocker_port      2457 drivers/net/ethernet/rocker/rocker_main.c 			       const struct rocker_port *rocker_port,
rocker_port      2478 drivers/net/ethernet/rocker/rocker_main.c 	skb->protocol = eth_type_trans(skb, rocker_port->dev);
rocker_port      2483 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port->dev->stats.rx_packets++;
rocker_port      2484 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port->dev->stats.rx_bytes += skb->len;
rocker_port      2488 drivers/net/ethernet/rocker/rocker_main.c 	return rocker_dma_rx_ring_skb_alloc(rocker_port, desc_info);
rocker_port      2491 drivers/net/ethernet/rocker/rocker_main.c static struct rocker_port *rocker_port_napi_rx_get(struct napi_struct *napi)
rocker_port      2493 drivers/net/ethernet/rocker/rocker_main.c 	return container_of(napi, struct rocker_port, napi_rx);
rocker_port      2498 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = rocker_port_napi_rx_get(napi);
rocker_port      2499 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker *rocker = rocker_port->rocker;
rocker_port      2506 drivers/net/ethernet/rocker/rocker_main.c 	       (desc_info = rocker_desc_tail_get(&rocker_port->rx_ring))) {
rocker_port      2510 drivers/net/ethernet/rocker/rocker_main.c 				netdev_err(rocker_port->dev, "rx desc received with err %d\n",
rocker_port      2513 drivers/net/ethernet/rocker/rocker_main.c 			err = rocker_port_rx_proc(rocker, rocker_port,
rocker_port      2516 drivers/net/ethernet/rocker/rocker_main.c 				netdev_err(rocker_port->dev, "rx processing failed with err %d\n",
rocker_port      2520 drivers/net/ethernet/rocker/rocker_main.c 			rocker_port->dev->stats.rx_errors++;
rocker_port      2523 drivers/net/ethernet/rocker/rocker_main.c 		rocker_desc_head_set(rocker, &rocker_port->rx_ring, desc_info);
rocker_port      2530 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_ring_credits_set(rocker, &rocker_port->rx_ring, credits);
rocker_port      2539 drivers/net/ethernet/rocker/rocker_main.c static void rocker_carrier_init(const struct rocker_port *rocker_port)
rocker_port      2541 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker *rocker = rocker_port->rocker;
rocker_port      2545 drivers/net/ethernet/rocker/rocker_main.c 	link_up = link_status & (1 << rocker_port->pport);
rocker_port      2547 drivers/net/ethernet/rocker/rocker_main.c 		netif_carrier_on(rocker_port->dev);
rocker_port      2549 drivers/net/ethernet/rocker/rocker_main.c 		netif_carrier_off(rocker_port->dev);
rocker_port      2554 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port;
rocker_port      2558 drivers/net/ethernet/rocker/rocker_main.c 		rocker_port = rocker->ports[i];
rocker_port      2559 drivers/net/ethernet/rocker/rocker_main.c 		if (!rocker_port)
rocker_port      2561 drivers/net/ethernet/rocker/rocker_main.c 		rocker_world_port_fini(rocker_port);
rocker_port      2562 drivers/net/ethernet/rocker/rocker_main.c 		unregister_netdev(rocker_port->dev);
rocker_port      2563 drivers/net/ethernet/rocker/rocker_main.c 		rocker_world_port_post_fini(rocker_port);
rocker_port      2564 drivers/net/ethernet/rocker/rocker_main.c 		free_netdev(rocker_port->dev);
rocker_port      2570 drivers/net/ethernet/rocker/rocker_main.c static void rocker_port_dev_addr_init(struct rocker_port *rocker_port)
rocker_port      2572 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker *rocker = rocker_port->rocker;
rocker_port      2576 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_cmd_get_port_settings_macaddr(rocker_port,
rocker_port      2577 drivers/net/ethernet/rocker/rocker_main.c 						   rocker_port->dev->dev_addr);
rocker_port      2580 drivers/net/ethernet/rocker/rocker_main.c 		eth_hw_addr_random(rocker_port->dev);
rocker_port      2589 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port;
rocker_port      2593 drivers/net/ethernet/rocker/rocker_main.c 	dev = alloc_etherdev(sizeof(struct rocker_port));
rocker_port      2597 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port = netdev_priv(dev);
rocker_port      2598 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port->dev = dev;
rocker_port      2599 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port->rocker = rocker;
rocker_port      2600 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port->port_number = port_number;
rocker_port      2601 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port->pport = port_number + 1;
rocker_port      2603 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_world_check_init(rocker_port);
rocker_port      2609 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port_dev_addr_init(rocker_port);
rocker_port      2612 drivers/net/ethernet/rocker/rocker_main.c 	netif_tx_napi_add(dev, &rocker_port->napi_tx, rocker_port_poll_tx,
rocker_port      2614 drivers/net/ethernet/rocker/rocker_main.c 	netif_napi_add(dev, &rocker_port->napi_rx, rocker_port_poll_rx,
rocker_port      2616 drivers/net/ethernet/rocker/rocker_main.c 	rocker_carrier_init(rocker_port);
rocker_port      2624 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_world_port_pre_init(rocker_port);
rocker_port      2634 drivers/net/ethernet/rocker/rocker_main.c 	rocker->ports[port_number] = rocker_port;
rocker_port      2636 drivers/net/ethernet/rocker/rocker_main.c 	err = rocker_world_port_init(rocker_port);
rocker_port      2648 drivers/net/ethernet/rocker/rocker_main.c 	rocker_world_port_post_fini(rocker_port);
rocker_port      2661 drivers/net/ethernet/rocker/rocker_main.c 	alloc_size = sizeof(struct rocker_port *) * rocker->port_count;
rocker_port      2738 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port;
rocker_port      2743 drivers/net/ethernet/rocker/rocker_main.c rocker_fdb_offload_notify(struct rocker_port *rocker_port,
rocker_port      2752 drivers/net/ethernet/rocker/rocker_main.c 				 rocker_port->dev, &info.info, NULL);
rocker_port      2759 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port = switchdev_work->rocker_port;
rocker_port      2769 drivers/net/ethernet/rocker/rocker_main.c 		err = rocker_world_port_fdb_add(rocker_port, fdb_info);
rocker_port      2771 drivers/net/ethernet/rocker/rocker_main.c 			netdev_dbg(rocker_port->dev, "fdb add failed err=%d\n", err);
rocker_port      2774 drivers/net/ethernet/rocker/rocker_main.c 		rocker_fdb_offload_notify(rocker_port, fdb_info);
rocker_port      2780 drivers/net/ethernet/rocker/rocker_main.c 		err = rocker_world_port_fdb_del(rocker_port, fdb_info);
rocker_port      2782 drivers/net/ethernet/rocker/rocker_main.c 			netdev_dbg(rocker_port->dev, "fdb add failed err=%d\n", err);
rocker_port      2789 drivers/net/ethernet/rocker/rocker_main.c 	dev_put(rocker_port->dev);
rocker_port      2799 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port;
rocker_port      2807 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port = netdev_priv(dev);
rocker_port      2813 drivers/net/ethernet/rocker/rocker_main.c 	switchdev_work->rocker_port = rocker_port;
rocker_port      2837 drivers/net/ethernet/rocker/rocker_main.c 	queue_work(rocker_port->rocker->rocker_owq,
rocker_port      3088 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port;
rocker_port      3093 drivers/net/ethernet/rocker/rocker_main.c 	rocker_port = netdev_priv(dev);
rocker_port      3094 drivers/net/ethernet/rocker/rocker_main.c 	if (rocker_port->rocker != rocker)
rocker_port      3102 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *port;
rocker_port      3118 drivers/net/ethernet/rocker/rocker_main.c struct rocker_port *rocker_port_dev_lower_find(struct net_device *dev,
rocker_port      3138 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port;
rocker_port      3149 drivers/net/ethernet/rocker/rocker_main.c 		rocker_port = netdev_priv(dev);
rocker_port      3151 drivers/net/ethernet/rocker/rocker_main.c 			err = rocker_world_port_master_linked(rocker_port,
rocker_port      3157 drivers/net/ethernet/rocker/rocker_main.c 			err = rocker_world_port_master_unlinked(rocker_port,
rocker_port      3179 drivers/net/ethernet/rocker/rocker_main.c 	struct rocker_port *rocker_port;
rocker_port      3191 drivers/net/ethernet/rocker/rocker_main.c 		rocker_port = netdev_priv(dev);
rocker_port      3192 drivers/net/ethernet/rocker/rocker_main.c 		err = rocker_world_port_neigh_update(rocker_port, n);
rocker_port       195 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct rocker_port *rocker_port;
rocker_port       505 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_cmd_flow_tbl_add(const struct rocker_port *rocker_port,
rocker_port       562 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_cmd_flow_tbl_del(const struct rocker_port *rocker_port,
rocker_port       671 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_cmd_group_tbl_add(const struct rocker_port *rocker_port,
rocker_port       716 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_cmd_group_tbl_del(const struct rocker_port *rocker_port,
rocker_port       785 drivers/net/ethernet/rocker/rocker_ofdpa.c 	return rocker_cmd_exec(ofdpa_port->rocker_port,
rocker_port       816 drivers/net/ethernet/rocker/rocker_ofdpa.c 		err = rocker_cmd_exec(ofdpa_port->rocker_port,
rocker_port      1100 drivers/net/ethernet/rocker/rocker_ofdpa.c 	return rocker_cmd_exec(ofdpa_port->rocker_port,
rocker_port      1128 drivers/net/ethernet/rocker/rocker_ofdpa.c 		err = rocker_cmd_exec(ofdpa_port->rocker_port,
rocker_port      1437 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct rocker_port *rocker_port;
rocker_port      1439 drivers/net/ethernet/rocker/rocker_ofdpa.c 	rocker_port = ofdpa->rocker->ports[port_index];
rocker_port      1440 drivers/net/ethernet/rocker/rocker_ofdpa.c 	return rocker_port ? rocker_port->wpriv : NULL;
rocker_port      2418 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_pre_init(struct rocker_port *rocker_port)
rocker_port      2420 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2422 drivers/net/ethernet/rocker/rocker_ofdpa.c 	ofdpa_port->ofdpa = rocker_port->rocker->wpriv;
rocker_port      2423 drivers/net/ethernet/rocker/rocker_ofdpa.c 	ofdpa_port->rocker_port = rocker_port;
rocker_port      2424 drivers/net/ethernet/rocker/rocker_ofdpa.c 	ofdpa_port->dev = rocker_port->dev;
rocker_port      2425 drivers/net/ethernet/rocker/rocker_ofdpa.c 	ofdpa_port->pport = rocker_port->pport;
rocker_port      2431 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_init(struct rocker_port *rocker_port)
rocker_port      2433 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2436 drivers/net/ethernet/rocker/rocker_ofdpa.c 	rocker_port_set_learning(rocker_port,
rocker_port      2461 drivers/net/ethernet/rocker/rocker_ofdpa.c static void ofdpa_port_fini(struct rocker_port *rocker_port)
rocker_port      2463 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2468 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_open(struct rocker_port *rocker_port)
rocker_port      2470 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2475 drivers/net/ethernet/rocker/rocker_ofdpa.c static void ofdpa_port_stop(struct rocker_port *rocker_port)
rocker_port      2477 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2482 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_attr_stp_state_set(struct rocker_port *rocker_port,
rocker_port      2485 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2490 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_attr_bridge_flags_set(struct rocker_port *rocker_port,
rocker_port      2494 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2502 drivers/net/ethernet/rocker/rocker_ofdpa.c 		err = rocker_port_set_learning(ofdpa_port->rocker_port,
rocker_port      2512 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_port_attr_bridge_flags_support_get(const struct rocker_port *
rocker_port      2513 drivers/net/ethernet/rocker/rocker_ofdpa.c 					 rocker_port,
rocker_port      2522 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_port_attr_bridge_ageing_time_set(struct rocker_port *rocker_port,
rocker_port      2526 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2539 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_obj_vlan_add(struct rocker_port *rocker_port,
rocker_port      2542 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2555 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_obj_vlan_del(struct rocker_port *rocker_port,
rocker_port      2558 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2571 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_obj_fdb_add(struct rocker_port *rocker_port,
rocker_port      2574 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2583 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_obj_fdb_del(struct rocker_port *rocker_port,
rocker_port      2586 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2662 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_master_linked(struct rocker_port *rocker_port,
rocker_port      2665 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2675 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_master_unlinked(struct rocker_port *rocker_port,
rocker_port      2678 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2688 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_neigh_update(struct rocker_port *rocker_port,
rocker_port      2691 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2699 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_neigh_destroy(struct rocker_port *rocker_port,
rocker_port      2702 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2709 drivers/net/ethernet/rocker/rocker_ofdpa.c static int ofdpa_port_ev_mac_vlan_seen(struct rocker_port *rocker_port,
rocker_port      2713 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct ofdpa_port *ofdpa_port = rocker_port->wpriv;
rocker_port      2726 drivers/net/ethernet/rocker/rocker_ofdpa.c 	struct rocker_port *rocker_port;
rocker_port      2728 drivers/net/ethernet/rocker/rocker_ofdpa.c 	rocker_port = rocker_port_dev_lower_find(dev, rocker);
rocker_port      2729 drivers/net/ethernet/rocker/rocker_ofdpa.c 	return rocker_port ? rocker_port->wpriv : NULL;