Searched refs:ksz_switch (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/micrel/
H A Dksz884x.c1168 * struct ksz_switch - KSZ8842 switch data structure
1181 struct ksz_switch { struct
1234 * @ksz_switch: Pointer to KSZ8842 switch.
1272 struct ksz_switch *ksz_switch; member in struct:ksz_hw
2202 sw_cfg_broad_storm(hw, hw->ksz_switch->broad_per); sw_ena_broad_storm()
2216 hw->ksz_switch->broad_per = 1; sw_init_broad_storm()
2217 sw_cfg_broad_storm(hw, hw->ksz_switch->broad_per); sw_init_broad_storm()
2238 hw->ksz_switch->broad_per = percent; hw_cfg_broad_storm()
2267 struct ksz_switch *sw = hw->ksz_switch; sw_init_prio_rate()
2557 hw->ksz_switch->port_cfg[port].port_prio = prio; sw_cfg_port_based()
2588 struct ksz_switch *sw = hw->ksz_switch; sw_init_prio()
2650 struct ksz_switch *sw = hw->ksz_switch; sw_init_vlan()
2687 hw->ksz_switch->port_cfg[port].member = member; sw_cfg_port_base_vlan()
2820 hw->ksz_switch->port_cfg[port].stp_state = state; port_set_stp_state()
2840 entry = &hw->ksz_switch->mac_table[i]; sw_clr_sta_mac_table()
2858 entry = &hw->ksz_switch->mac_table[STP_ENTRY]; sw_init_stp()
2886 entry = &hw->ksz_switch->mac_table[i]; sw_block_addr()
3259 if (!hw->ksz_switch) determine_flow_ctrl()
3340 if (hw->ksz_switch) { port_get_link_speed()
5334 struct ksz_switch *sw = hw->ksz_switch; bridge_change()
5379 if (hw->ksz_switch->member & pi) { netdev_close()
5380 hw->ksz_switch->member &= ~pi; netdev_close()
5425 if (hw->ksz_switch) { hw_cfg_huge_frame()
5530 if (hw->ksz_switch) netdev_open()
5710 struct ksz_switch *sw = hw->ksz_switch; dev_set_promiscuous()
6336 if (!hw->ksz_switch) { netdev_get_pauseparam()
6377 if (hw->ksz_switch) { netdev_set_pauseparam()
6386 if (hw->ksz_switch) { netdev_set_pauseparam()
6877 hw_priv->hw.ksz_switch->other_addr[j++] = get_mac_addr()
6879 hw_priv->hw.ksz_switch->other_addr[5] += get_mac_addr()
6898 struct ksz_switch *sw = hw->ksz_switch; read_other_addr()
6933 struct ksz_switch *sw = NULL; pcidev_init()
7009 hw->ksz_switch = kzalloc(sizeof(struct ksz_switch), GFP_KERNEL); pcidev_init()
7010 if (!hw->ksz_switch) pcidev_init()
7013 sw = hw->ksz_switch; pcidev_init()
7049 if (hw->ksz_switch) pcidev_init()
7121 kfree(hw->ksz_switch); pcidev_init()
7150 kfree(hw_priv->hw.ksz_switch); pcidev_exit()

Completed in 87 milliseconds