Lines Matching refs:hdr_ctl
625 u8 hdr_ctl, val; in b53_brcm_hdr_setup() local
645 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &hdr_ctl); in b53_brcm_hdr_setup()
647 hdr_ctl |= SM_SW_FWD_MODE; in b53_brcm_hdr_setup()
649 hdr_ctl &= ~SM_SW_FWD_MODE; in b53_brcm_hdr_setup()
650 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, hdr_ctl); in b53_brcm_hdr_setup()
653 b53_read8(dev, B53_MGMT_PAGE, B53_GLOBAL_CONFIG, &hdr_ctl); in b53_brcm_hdr_setup()
655 hdr_ctl |= GC_FRM_MGMT_PORT_MII; in b53_brcm_hdr_setup()
657 hdr_ctl |= GC_FRM_MGMT_PORT_M; in b53_brcm_hdr_setup()
658 b53_write8(dev, B53_MGMT_PAGE, B53_GLOBAL_CONFIG, hdr_ctl); in b53_brcm_hdr_setup()
661 b53_read8(dev, B53_MGMT_PAGE, B53_BRCM_HDR, &hdr_ctl); in b53_brcm_hdr_setup()
663 hdr_ctl |= val; in b53_brcm_hdr_setup()
665 hdr_ctl &= ~val; in b53_brcm_hdr_setup()
666 b53_write8(dev, B53_MGMT_PAGE, B53_BRCM_HDR, hdr_ctl); in b53_brcm_hdr_setup()