Lines Matching refs:B53_VLAN_PAGE
265 b53_write32(dev, B53_VLAN_PAGE, B53_VLAN_WRITE_25, entry); in b53_set_vlan_entry()
266 b53_write16(dev, B53_VLAN_PAGE, B53_VLAN_TABLE_ACCESS_25, vid | in b53_set_vlan_entry()
275 b53_write16(dev, B53_VLAN_PAGE, B53_VLAN_WRITE_65, entry); in b53_set_vlan_entry()
276 b53_write16(dev, B53_VLAN_PAGE, B53_VLAN_TABLE_ACCESS_65, vid | in b53_set_vlan_entry()
296 b53_write16(dev, B53_VLAN_PAGE, B53_VLAN_TABLE_ACCESS_25, vid | in b53_get_vlan_entry()
298 b53_read32(dev, B53_VLAN_PAGE, B53_VLAN_WRITE_25, &entry); in b53_get_vlan_entry()
310 b53_write16(dev, B53_VLAN_PAGE, B53_VLAN_TABLE_ACCESS_65, vid | in b53_get_vlan_entry()
312 b53_read16(dev, B53_VLAN_PAGE, B53_VLAN_WRITE_65, &entry); in b53_get_vlan_entry()
362 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL0, &vc0); in b53_enable_vlan()
363 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL1, &vc1); in b53_enable_vlan()
366 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL4_25, &vc4); in b53_enable_vlan()
367 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL5_25, &vc5); in b53_enable_vlan()
369 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL4_63XX, &vc4); in b53_enable_vlan()
370 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL5_63XX, &vc5); in b53_enable_vlan()
372 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL4, &vc4); in b53_enable_vlan()
373 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL5, &vc5); in b53_enable_vlan()
412 b53_write8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL0, vc0); in b53_enable_vlan()
413 b53_write8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL1, vc1); in b53_enable_vlan()
418 b53_write8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL3, in b53_enable_vlan()
421 b53_write8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL3, 0); in b53_enable_vlan()
423 b53_write8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL4_25, vc4); in b53_enable_vlan()
424 b53_write8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL5_25, vc5); in b53_enable_vlan()
426 b53_write16(dev, B53_VLAN_PAGE, B53_VLAN_CTRL3_63XX, 0); in b53_enable_vlan()
427 b53_write8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL4_63XX, vc4); in b53_enable_vlan()
428 b53_write8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL5_63XX, vc5); in b53_enable_vlan()
430 b53_write16(dev, B53_VLAN_PAGE, B53_VLAN_CTRL3, 0); in b53_enable_vlan()
431 b53_write8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL4, vc4); in b53_enable_vlan()
432 b53_write8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL5, vc5); in b53_enable_vlan()
786 b53_write16(dev, B53_VLAN_PAGE, in b53_configure_vlan()
1547 b53_write16(dev, B53_VLAN_PAGE, B53_VLAN_PORT_DEF_TAG(port), in b53_vlan_add()
1564 b53_read16(dev, B53_VLAN_PAGE, B53_VLAN_PORT_DEF_TAG(port), &pvid); in b53_vlan_del()
1581 b53_write16(dev, B53_VLAN_PAGE, B53_VLAN_PORT_DEF_TAG(port), pvid); in b53_vlan_del()
1924 b53_read16(dev, B53_VLAN_PAGE, B53_JOIN_ALL_VLAN_EN, ®); in b53_br_join()
1928 b53_write16(dev, B53_VLAN_PAGE, B53_JOIN_ALL_VLAN_EN, reg); in b53_br_join()
1990 b53_read16(dev, B53_VLAN_PAGE, B53_JOIN_ALL_VLAN_EN, ®); in b53_br_leave()
1994 b53_write16(dev, B53_VLAN_PAGE, B53_JOIN_ALL_VLAN_EN, reg); in b53_br_leave()
2660 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL4_25, &vc4); in b53_switch_init()
2779 b53_write16(dev, B53_VLAN_PAGE, B53_VLAN_TABLE_ACCESS_25, 0xf); in b53_switch_detect()
2780 b53_read16(dev, B53_VLAN_PAGE, B53_VLAN_TABLE_ACCESS_25, &tmp); in b53_switch_detect()