Lines Matching defs:table

1027  * struct ksz_mac_table - Static MAC table data structure
1049 * struct ksz_vlan_table - VLAN table data structure
1161 * @mac_table: MAC table entries information.
1162 * @vlan_table: VLAN table entries information.
1253 * @multi_bits: Cached multicast hash table settings.
1658 * sw_r_table - read 4 bytes of data from switch table
1660 * @table: The table selector.
1661 * @addr: The address of the table entry.
1664 * This routine reads 4 bytes of data from the table of the switch.
1667 static void sw_r_table(struct ksz_hw *hw, int table, u16 addr, u32 *data)
1672 ctrl_addr = (((table << TABLE_SEL_SHIFT) | TABLE_READ) << 8) | addr;
1684 * sw_w_table_64 - write 8 bytes of data to the switch table
1686 * @table: The table selector.
1687 * @addr: The address of the table entry.
1691 * This routine writes 8 bytes of data to the table of the switch.
1694 static void sw_w_table_64(struct ksz_hw *hw, int table, u16 addr, u32 data_hi,
1700 ctrl_addr = ((table << TABLE_SEL_SHIFT) << 8) | addr;
1714 * sw_w_sta_mac_table - write to the static MAC table
1716 * @addr: The address of the table entry.
1724 * This routine writes an entry of the static MAC table of the switch. It
1752 * sw_r_vlan_table - read from the VLAN table
1754 * @addr: The address of the table entry.
1759 * This function reads an entry of the VLAN table of the switch. It calls
2646 /* Read 16 VLAN entries from device's VLAN table. */
2785 * Turning on receive is required if static MAC table is not setup.
2802 * Need to setup static MAC table with override to keep receiving BPDU
2823 * sw_clr_sta_mac_table - clear static MAC table
2826 * This routine clears the static MAC table.
3652 * multicast hash table, so not all multicast packets can wake up the host.
5401 /* Clean out static MAC table when the switch is shutdown. */
6756 * needs that. However, fast aging is used to flush the dynamic MAC table when