Lines Matching defs:data
39 a_uint32_t i, data, tmp;
43 SW_GET_FIELD_BY_REG(VLAN_TABLE_FUNC1, VLAN_ID, data, reg[1]);
44 vlan_entry->vid = data & 0xfff;
46 SW_GET_FIELD_BY_REG(VLAN_TABLE_FUNC0, IVL_EN, data, reg[0]);
47 if (1 == data)
56 SW_GET_FIELD_BY_REG(VLAN_TABLE_FUNC0, LEARN_DIS, data, reg[0]);
57 if (1 == data)
66 SW_GET_FIELD_BY_REG(VLAN_TABLE_FUNC0, VT_PRI_EN, data, reg[0]);
67 if (1 == data)
71 SW_GET_FIELD_BY_REG(VLAN_TABLE_FUNC0, VT_PRI, data, reg[0]);
72 vlan_entry->vid_pri = data & 0xff;
79 SW_GET_FIELD_BY_REG(VLAN_TABLE_FUNC0, VID_MEM, data, reg[0]);
82 tmp = (data >> (i << 1)) & 0x3UL;
508 a_uint32_t data, reg[2] = { 0 };
515 SW_GET_FIELD_BY_REG(VLAN_TABLE_FUNC0, IVL_EN, data, reg[0]);
516 if (data)
532 a_uint32_t data, reg[2] = { 0 };
544 SW_GET_FIELD_BY_REG(VLAN_TABLE_FUNC0, VID_MEM, data, reg[0]);
545 data &= (~(0x3 << (port_id << 1)));
546 data |= ((port_info & 0x3) << (port_id << 1));
547 SW_SET_REG_BY_FIELD(VLAN_TABLE_FUNC0, VID_MEM, data, reg[0]);
639 a_uint32_t data, reg[2] = { 0 };
646 SW_GET_FIELD_BY_REG(VLAN_TABLE_FUNC0, LEARN_DIS, data, reg[0]);
647 if (data)