Searched refs:hdr_ctl (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/dsa/b53/ |
H A D | b53_common.c | 629 u8 hdr_ctl, val; in b53_brcm_hdr_setup() local 649 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &hdr_ctl); in b53_brcm_hdr_setup() 651 hdr_ctl |= SM_SW_FWD_MODE; in b53_brcm_hdr_setup() 653 hdr_ctl &= ~SM_SW_FWD_MODE; in b53_brcm_hdr_setup() 654 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, hdr_ctl); in b53_brcm_hdr_setup() 657 b53_read8(dev, B53_MGMT_PAGE, B53_GLOBAL_CONFIG, &hdr_ctl); in b53_brcm_hdr_setup() 659 hdr_ctl |= GC_FRM_MGMT_PORT_MII; in b53_brcm_hdr_setup() 661 hdr_ctl |= GC_FRM_MGMT_PORT_M; in b53_brcm_hdr_setup() 662 b53_write8(dev, B53_MGMT_PAGE, B53_GLOBAL_CONFIG, hdr_ctl); in b53_brcm_hdr_setup() 665 b53_read8(dev, B53_MGMT_PAGE, B53_BRCM_HDR, &hdr_ctl); in b53_brcm_hdr_setup() [all …]
|