H A D | rocker.c | 216 struct rocker *rocker; member in struct:rocker_port 230 struct rocker { struct 377 static u32 rocker_msix_vector(struct rocker *rocker, unsigned int vector) rocker_msix_vector() argument 407 static int rocker_reg_test(struct rocker *rocker) rocker_reg_test() argument 437 static int rocker_dma_test_one(struct rocker *rocker, struct rocker_wait *wait, rocker_dma_test_one() argument 466 static int rocker_dma_test_offset(struct rocker *rocker, rocker_dma_test_offset() argument 526 static int rocker_dma_test(struct rocker *rocker, struct rocker_wait *wait) rocker_dma_test() argument 548 static int rocker_basic_hw_test(struct rocker *rocker) rocker_basic_hw_test() argument 877 static void rocker_desc_head_set(struct rocker *rocker, rocker_desc_head_set() argument 904 static void rocker_dma_ring_credits_set(struct rocker *rocker, rocker_dma_ring_credits_set() argument 918 static int rocker_dma_ring_create(struct rocker *rocker, rocker_dma_ring_create() argument 954 static void rocker_dma_ring_destroy(struct rocker *rocker, rocker_dma_ring_destroy() argument 965 static void rocker_dma_ring_pass_to_producer(struct rocker *rocker, rocker_dma_ring_pass_to_producer() argument 980 static int rocker_dma_ring_bufs_alloc(struct rocker *rocker, rocker_dma_ring_bufs_alloc() argument 1027 static void rocker_dma_ring_bufs_free(struct rocker *rocker, rocker_dma_ring_bufs_free() argument 1046 static int rocker_dma_rings_init(struct rocker *rocker) rocker_dma_rings_init() argument 1095 static void rocker_dma_rings_fini(struct rocker *rocker) rocker_dma_rings_fini() argument 1105 static int rocker_dma_rx_ring_skb_map(struct rocker *rocker, rocker_dma_rx_ring_skb_map() argument 1134 static int rocker_dma_rx_ring_skb_alloc(struct rocker *rocker, rocker_dma_rx_ring_skb_alloc() argument 1162 static void rocker_dma_rx_ring_skb_unmap(struct rocker *rocker, rocker_dma_rx_ring_skb_unmap() argument 1177 static void rocker_dma_rx_ring_skb_free(struct rocker *rocker, rocker_dma_rx_ring_skb_free() argument 1190 static int rocker_dma_rx_ring_skbs_alloc(struct rocker *rocker, rocker_dma_rx_ring_skbs_alloc() argument 1211 static void rocker_dma_rx_ring_skbs_free(struct rocker *rocker, rocker_dma_rx_ring_skbs_free() argument 1223 struct rocker *rocker = rocker_port->rocker; rocker_port_dma_rings_init() local 1284 struct rocker *rocker = rocker_port->rocker; rocker_port_dma_rings_fini() local 1312 struct rocker *rocker = dev_id; rocker_cmd_irq_handler() local 1346 static int rocker_event_link_change(struct rocker *rocker, rocker_event_link_change() argument 1385 static int rocker_event_mac_vlan_seen(struct rocker *rocker, rocker_event_mac_vlan_seen() argument 1417 static int rocker_event_process(struct rocker *rocker, rocker_event_process() argument 1444 struct rocker *rocker = dev_id; rocker_event_irq_handler() local 1495 static int rocker_cmd_exec(struct rocker *rocker, rocker_cmd_exec() argument 1547 rocker_cmd_get_port_settings_prep(struct rocker *rocker, rocker_cmd_get_port_settings_prep() argument 1568 rocker_cmd_get_port_settings_ethtool_proc(struct rocker *rocker, rocker_cmd_get_port_settings_ethtool_proc() argument 1607 rocker_cmd_get_port_settings_macaddr_proc(struct rocker *rocker, rocker_cmd_get_port_settings_macaddr_proc() argument 1640 rocker_cmd_get_port_settings_phys_name_proc(struct rocker *rocker, rocker_cmd_get_port_settings_phys_name_proc() argument 1682 rocker_cmd_set_port_settings_ethtool_prep(struct rocker *rocker, rocker_cmd_set_port_settings_ethtool_prep() argument 1713 rocker_cmd_set_port_settings_macaddr_prep(struct rocker *rocker, rocker_cmd_set_port_settings_macaddr_prep() argument 1738 rocker_cmd_set_port_learning_prep(struct rocker *rocker, rocker_cmd_set_port_learning_prep() argument 1998 static int rocker_cmd_flow_tbl_add(struct rocker *rocker, rocker_cmd_flow_tbl_add() argument 2056 static int rocker_cmd_flow_tbl_del(struct rocker *rocker, rocker_cmd_flow_tbl_del() argument 2166 static int rocker_cmd_group_tbl_add(struct rocker *rocker, rocker_cmd_group_tbl_add() argument 2212 static int rocker_cmd_group_tbl_del(struct rocker *rocker, rocker_cmd_group_tbl_del() argument 2237 static int rocker_init_tbls(struct rocker *rocker) rocker_init_tbls() argument 2257 static void rocker_free_tbls(struct rocker *rocker) rocker_free_tbls() argument 2296 rocker_flow_tbl_find(struct rocker *rocker, struct rocker_flow_tbl_entry *match) rocker_flow_tbl_find() argument 2314 struct rocker *rocker = rocker_port->rocker; rocker_flow_tbl_add() local 2350 struct rocker *rocker = rocker_port->rocker; rocker_flow_tbl_del() local 2609 rocker_group_tbl_find(struct rocker *rocker, rocker_group_tbl_find() argument 2640 struct rocker *rocker = rocker_port->rocker; rocker_group_tbl_add() local 2671 struct rocker *rocker = rocker_port->rocker; rocker_group_tbl_del() local 2784 rocker_neigh_tbl_find(struct rocker *rocker, __be32 ip_addr) rocker_neigh_tbl_find() argument 2796 static void _rocker_neigh_add(struct rocker *rocker, _rocker_neigh_add() argument 2805 static void _rocker_neigh_del(struct rocker *rocker, _rocker_neigh_del() argument 2814 static void _rocker_neigh_update(struct rocker *rocker, _rocker_neigh_update() argument 2829 struct rocker *rocker = rocker_port->rocker; rocker_port_ipv4_neigh() local 2947 struct rocker *rocker = rocker_port->rocker; rocker_port_ipv4_nh() local 3006 struct rocker *rocker = rocker_port->rocker; rocker_port_vlan_flood_group() local 3053 struct rocker *rocker = rocker_port->rocker; rocker_port_vlan_l2_groups() local 3446 rocker_fdb_tbl_find(struct rocker *rocker, struct rocker_fdb_tbl_entry *match) rocker_fdb_tbl_find() argument 3461 struct rocker *rocker = rocker_port->rocker; rocker_port_fdb() local 3504 struct rocker *rocker = rocker_port->rocker; rocker_port_fdb_flush() local 3681 rocker_internal_vlan_tbl_find(struct rocker *rocker, int ifindex) rocker_internal_vlan_tbl_find() argument 3697 struct rocker *rocker = rocker_port->rocker; rocker_port_internal_vlan_id_get() local 3739 struct rocker *rocker = rocker_port->rocker; rocker_port_internal_vlan_id_put() local 3877 struct rocker *rocker = rocker_port->rocker; rocker_tx_desc_frags_unmap() local 3908 struct rocker *rocker = rocker_port->rocker; rocker_tx_desc_frag_map_put() local 3941 struct rocker *rocker = rocker_port->rocker; rocker_port_xmit() local 4112 struct rocker *rocker = rocker_port->rocker; rocker_port_fdb_dump() local 4232 struct rocker *rocker = rocker_port->rocker; rocker_port_swdev_parent_id_get() local 4339 rocker_cmd_get_port_stats_prep(struct rocker *rocker, rocker_cmd_get_port_stats_prep() argument 4364 rocker_cmd_get_port_stats_ethtool_proc(struct rocker *rocker, rocker_cmd_get_port_stats_ethtool_proc() argument 4458 struct rocker *rocker = rocker_port->rocker; rocker_port_poll_tx() local 4493 static int rocker_port_rx_proc(struct rocker *rocker, rocker_port_rx_proc() argument 4530 struct rocker *rocker = rocker_port->rocker; rocker_port_poll_rx() local 4572 struct rocker *rocker = rocker_port->rocker; rocker_carrier_init() local 4583 static void rocker_remove_ports(struct rocker *rocker) rocker_remove_ports() argument 4597 static void rocker_port_dev_addr_init(struct rocker *rocker, rocker_port_dev_addr_init() argument 4611 static int rocker_probe_port(struct rocker *rocker, unsigned int port_number) rocker_probe_port() argument 4668 static int rocker_probe_ports(struct rocker *rocker) rocker_probe_ports() argument 4690 static int rocker_msix_init(struct rocker *rocker) rocker_msix_init() argument 4724 static void rocker_msix_fini(struct rocker *rocker) rocker_msix_fini() argument 4732 struct rocker *rocker; rocker_probe() local 4841 free_irq(rocker_msix_vector(rocker, ROCKER_MSIX_VEC_EVENT), rocker); rocker_probe() local 4843 free_irq(rocker_msix_vector(rocker, ROCKER_MSIX_VEC_CMD), rocker); rocker_probe() local 4864 struct rocker *rocker = pci_get_drvdata(pdev); rocker_remove() local 4869 free_irq(rocker_msix_vector(rocker, ROCKER_MSIX_VEC_EVENT), rocker); rocker_remove() local 4870 free_irq(rocker_msix_vector(rocker, ROCKER_MSIX_VEC_CMD), rocker); rocker_remove() local
|