Lines Matching defs:table
80 dev_dbg(dev->dev, "Failed to read vlan table\n");
113 dev_dbg(dev->dev, "Failed to write vlan table\n");
119 /* update vlan cache table */
120 dev->vlan_cache[vid].table[0] = vlan_table[0];
121 dev->vlan_cache[vid].table[1] = vlan_table[1];
122 dev->vlan_cache[vid].table[2] = vlan_table[2];
130 static void ksz9477_read_table(struct ksz_device *dev, u32 *table)
132 ksz_read32(dev, REG_SW_ALU_VAL_A, &table[0]);
133 ksz_read32(dev, REG_SW_ALU_VAL_B, &table[1]);
134 ksz_read32(dev, REG_SW_ALU_VAL_C, &table[2]);
135 ksz_read32(dev, REG_SW_ALU_VAL_D, &table[3]);
138 static void ksz9477_write_table(struct ksz_device *dev, u32 *table)
140 ksz_write32(dev, REG_SW_ALU_VAL_A, table[0]);
141 ksz_write32(dev, REG_SW_ALU_VAL_B, table[1]);
142 ksz_write32(dev, REG_SW_ALU_VAL_C, table[2]);
143 ksz_write32(dev, REG_SW_ALU_VAL_D, table[3]);
409 NL_SET_ERR_MSG_MOD(extack, "Failed to get vlan table");
424 NL_SET_ERR_MSG_MOD(extack, "Failed to set vlan table");
446 dev_dbg(dev->dev, "Failed to get vlan table\n");
459 dev_dbg(dev->dev, "Failed to set vlan table\n");
561 /* if there is no port to forward, clear table */
645 /* read ALU table */
700 /* read ALU static table */
779 /* read ALU static table */
1075 /* Enable Reserved multicast table */
1093 dev_err(dev->dev, "Failed to update Reserved Multicast table\n");