Searched refs:hdr_ctl (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/drivers/net/dsa/b53/ |
D | b53_common.c | 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() [all …]
|