Lines Matching refs:ksz_switch

1105 struct ksz_switch {  struct
1197 struct ksz_switch *ksz_switch; member
2043 sw_cfg_broad_storm(hw, hw->ksz_switch->broad_per); in sw_ena_broad_storm()
2057 hw->ksz_switch->broad_per = 1; in sw_init_broad_storm()
2058 sw_cfg_broad_storm(hw, hw->ksz_switch->broad_per); in sw_init_broad_storm()
2079 hw->ksz_switch->broad_per = percent; in hw_cfg_broad_storm()
2108 struct ksz_switch *sw = hw->ksz_switch; in sw_init_prio_rate()
2256 hw->ksz_switch->port_cfg[port].port_prio = prio; in sw_cfg_port_based()
2287 struct ksz_switch *sw = hw->ksz_switch; in sw_init_prio()
2349 struct ksz_switch *sw = hw->ksz_switch; in sw_init_vlan()
2386 hw->ksz_switch->port_cfg[port].member = member; in sw_cfg_port_base_vlan()
2502 hw->ksz_switch->port_cfg[port].stp_state = state; in port_set_stp_state()
2522 entry = &hw->ksz_switch->mac_table[i]; in sw_clr_sta_mac_table()
2540 entry = &hw->ksz_switch->mac_table[STP_ENTRY]; in sw_init_stp()
2568 entry = &hw->ksz_switch->mac_table[i]; in sw_block_addr()
2884 if (!hw->ksz_switch) in determine_flow_ctrl()
2964 if (hw->ksz_switch) { in port_get_link_speed()
4946 struct ksz_switch *sw = hw->ksz_switch; in bridge_change()
4991 if (hw->ksz_switch->member & pi) { in netdev_close()
4992 hw->ksz_switch->member &= ~pi; in netdev_close()
5037 if (hw->ksz_switch) { in hw_cfg_huge_frame()
5139 if (hw->ksz_switch) in netdev_open()
5319 struct ksz_switch *sw = hw->ksz_switch; in dev_set_promiscuous()
5953 if (!hw->ksz_switch) { in netdev_get_pauseparam()
5994 if (hw->ksz_switch) { in netdev_set_pauseparam()
6003 if (hw->ksz_switch) { in netdev_set_pauseparam()
6498 hw_priv->hw.ksz_switch->other_addr[j++] = in get_mac_addr()
6500 hw_priv->hw.ksz_switch->other_addr[5] += in get_mac_addr()
6519 struct ksz_switch *sw = hw->ksz_switch; in read_other_addr()
6554 struct ksz_switch *sw = NULL; in pcidev_init()
6630 hw->ksz_switch = kzalloc(sizeof(struct ksz_switch), GFP_KERNEL); in pcidev_init()
6631 if (!hw->ksz_switch) in pcidev_init()
6634 sw = hw->ksz_switch; in pcidev_init()
6670 if (hw->ksz_switch) in pcidev_init()
6750 kfree(hw->ksz_switch); in pcidev_init()
6779 kfree(hw_priv->hw.ksz_switch); in pcidev_exit()