• Home
  • Raw
  • Download

Lines Matching refs:mgmt

329 	u8 mgmt;  in b53_set_forwarding()  local
331 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt); in b53_set_forwarding()
334 mgmt |= SM_SW_FWD_EN; in b53_set_forwarding()
336 mgmt &= ~SM_SW_FWD_EN; in b53_set_forwarding()
338 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, mgmt); in b53_set_forwarding()
342 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, &mgmt); in b53_set_forwarding()
343 mgmt |= B53_MII_DUMB_FWDG_EN; in b53_set_forwarding()
344 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, mgmt); in b53_set_forwarding()
349 b53_read8(dev, B53_CTRL_PAGE, B53_IP_MULTICAST_CTRL, &mgmt); in b53_set_forwarding()
350 mgmt |= B53_UC_FWD_EN | B53_MC_FWD_EN | B53_IPMC_FWD_EN; in b53_set_forwarding()
351 b53_write8(dev, B53_CTRL_PAGE, B53_IP_MULTICAST_CTRL, mgmt); in b53_set_forwarding()
357 u8 mgmt, vc0, vc1, vc4 = 0, vc5; in b53_enable_vlan() local
359 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt); in b53_enable_vlan()
374 mgmt &= ~SM_SW_FWD_MODE; in b53_enable_vlan()
435 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, mgmt); in b53_enable_vlan()
717 u8 mgmt, reg; in b53_switch_reset() local
749 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt); in b53_switch_reset()
751 if (!(mgmt & SM_SW_FWD_EN)) { in b53_switch_reset()
752 mgmt &= ~SM_SW_FWD_MODE; in b53_switch_reset()
753 mgmt |= SM_SW_FWD_EN; in b53_switch_reset()
755 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, mgmt); in b53_switch_reset()
756 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt); in b53_switch_reset()
758 if (!(mgmt & SM_SW_FWD_EN)) { in b53_switch_reset()