Lines Matching full:data1
155 static int e6060sw_read_vtu(device_t dev, int num, int *data1, int *data2);
156 static void e6060sw_set_vtu(device_t dev, int num, int data1, int data2);
548 int data1, data2; in e6060sw_getvgroup() local
557 data1 = MDIO_READREG(device_get_parent(dev), in e6060sw_getvgroup()
560 vg->es_member_ports = data1 & 0x3f; in e6060sw_getvgroup()
566 vid = e6060sw_read_vtu(dev, vg->es_vlangroup, &data1, &data2); in e6060sw_getvgroup()
573 tag = data1 >> (i * 4) & 3; in e6060sw_getvgroup()
602 int data1, data2; in e6060sw_setvgroup() local
608 data1 = MDIO_READREG(device_get_parent(dev), in e6060sw_setvgroup()
611 data1 &= ~0x3f; in e6060sw_setvgroup()
612 data1 |= vg->es_member_ports; in e6060sw_setvgroup()
615 PORT_VLAN_MAP, data1); in e6060sw_setvgroup()
619 data1 = 0; in e6060sw_setvgroup()
625 data1 |= (0xd << i * 4); in e6060sw_setvgroup()
631 data1 |= (0xe << i * 4); in e6060sw_setvgroup()
637 data1 |= (0x3 << i * 4); in e6060sw_setvgroup()
643 e6060sw_set_vtu(dev, vg->es_vlangroup, data1, data2); in e6060sw_setvgroup()
779 e6060sw_set_vtu(device_t dev, int num, int data1, int data2) in e6060sw_set_vtu() argument
787 VTU_DATA1_REG, data1); in e6060sw_set_vtu()
804 e6060sw_read_vtu(device_t dev, int num, int *data1, int *data2) in e6060sw_read_vtu() argument
828 *data1 = MDIO_READREG(device_get_parent(dev), in e6060sw_read_vtu()