Lines Matching defs:table
959 * struct ksz_mac_table - Static MAC table data structure
981 * struct ksz_vlan_table - VLAN table data structure
1093 * @mac_table: MAC table entries information.
1094 * @vlan_table: VLAN table entries information.
1185 * @multi_bits: Cached multicast hash table settings.
1581 * sw_r_table - read 4 bytes of data from switch table
1583 * @table: The table selector.
1584 * @addr: The address of the table entry.
1587 * This routine reads 4 bytes of data from the table of the switch.
1590 static void sw_r_table(struct ksz_hw *hw, int table, u16 addr, u32 *data)
1595 ctrl_addr = (((table << TABLE_SEL_SHIFT) | TABLE_READ) << 8) | addr;
1607 * sw_w_table_64 - write 8 bytes of data to the switch table
1609 * @table: The table selector.
1610 * @addr: The address of the table entry.
1614 * This routine writes 8 bytes of data to the table of the switch.
1617 static void sw_w_table_64(struct ksz_hw *hw, int table, u16 addr, u32 data_hi,
1623 ctrl_addr = ((table << TABLE_SEL_SHIFT) << 8) | addr;
1637 * sw_w_sta_mac_table - write to the static MAC table
1639 * @addr: The address of the table entry.
1647 * This routine writes an entry of the static MAC table of the switch. It
1675 * sw_r_vlan_table - read from the VLAN table
1677 * @addr: The address of the table entry.
1682 * This function reads an entry of the VLAN table of the switch. It calls
2351 /* Read 16 VLAN entries from device's VLAN table. */
2473 * Turning on receive is required if static MAC table is not setup.
2490 * Need to setup static MAC table with override to keep receiving BPDU
2511 * sw_clr_sta_mac_table - clear static MAC table
2514 * This routine clears the static MAC table.
3279 * multicast hash table, so not all multicast packets can wake up the host.
5027 /* Clean out static MAC table when the switch is shutdown. */
6386 * needs that. However, fast aging is used to flush the dynamic MAC table when