Lines Matching refs:a5psw_reg_writel
71 static void a5psw_reg_writel(struct a5psw *a5psw, int offset, u32 value) in a5psw_reg_writel() function
90 a5psw_reg_writel(a5psw, offset, reg); in a5psw_reg_rmw()
154 a5psw_reg_writel(a5psw, A5PSW_LK_ADDR_CTRL, *ctrl); in a5psw_lk_execute_ctrl()
184 a5psw_reg_writel(a5psw, A5PSW_AUTH_PORT(port), reg); in a5psw_port_authorize_set()
211 a5psw_reg_writel(a5psw, A5PSW_FRM_LENGTH(port), new_mtu); in a5psw_port_change_mtu()
263 a5psw_reg_writel(a5psw, A5PSW_CMD_CFG(port), cmd_cfg); in a5psw_phylink_mac_link_down()
287 a5psw_reg_writel(a5psw, A5PSW_CMD_CFG(port), cmd_cfg); in a5psw_phylink_mac_link_up()
306 a5psw_reg_writel(a5psw, A5PSW_LK_AGETIME, agetime); in a5psw_set_ageing_time()
483 a5psw_reg_writel(a5psw, A5PSW_LK_DATA_LO, lk_data->lo); in a5psw_lk_execute_lookup()
484 a5psw_reg_writel(a5psw, A5PSW_LK_DATA_HI, lk_data->hi); in a5psw_lk_execute_lookup()
529 a5psw_reg_writel(a5psw, A5PSW_LK_DATA_HI, lk_data.hi); in a5psw_port_fdb_add()
538 a5psw_reg_writel(a5psw, A5PSW_LK_LEARNCOUNT, reg); in a5psw_port_fdb_add()
582 a5psw_reg_writel(a5psw, A5PSW_LK_DATA_HI, lk_data.hi); in a5psw_port_fdb_del()
597 a5psw_reg_writel(a5psw, A5PSW_LK_LEARNCOUNT, reg); in a5psw_port_fdb_del()
686 a5psw_reg_writel(a5psw, A5PSW_VLAN_RES(i), vlan_res); in a5psw_new_vlan_res_entry()
707 a5psw_reg_writel(a5psw, vlan_res_off, A5PSW_VLAN_RES_RD_TAGMASK); in a5psw_port_vlan_tagged_cfg()
709 a5psw_reg_writel(a5psw, vlan_res_off, A5PSW_VLAN_RES_RD_TAGMASK); in a5psw_port_vlan_tagged_cfg()
713 a5psw_reg_writel(a5psw, vlan_res_off, reg); in a5psw_port_vlan_tagged_cfg()
754 a5psw_reg_writel(a5psw, A5PSW_SYSTEM_TAGINFO(port), vid); in a5psw_port_vlan_add()
931 a5psw_reg_writel(a5psw, A5PSW_MGMT_CFG, reg); in a5psw_setup()
934 a5psw_reg_writel(a5psw, A5PSW_PATTERN_CTRL(A5PSW_PATTERN_MGMTFWD), in a5psw_setup()
940 a5psw_reg_writel(a5psw, A5PSW_MGMT_TAG_CFG, reg); in a5psw_setup()
946 a5psw_reg_writel(a5psw, A5PSW_LK_CTRL, reg); in a5psw_setup()
958 a5psw_reg_writel(a5psw, A5PSW_LK_LEARNCOUNT, reg); in a5psw_setup()
963 a5psw_reg_writel(a5psw, A5PSW_VLAN_RES(vlan), reg); in a5psw_setup()
970 a5psw_reg_writel(a5psw, A5PSW_CMD_CFG(port), in a5psw_setup()
1051 a5psw_reg_writel(a5psw, A5PSW_MDIO_COMMAND, cmd); in a5psw_mdio_read()
1075 a5psw_reg_writel(a5psw, A5PSW_MDIO_COMMAND, cmd); in a5psw_mdio_write()
1076 a5psw_reg_writel(a5psw, A5PSW_MDIO_DATA, phy_data); in a5psw_mdio_write()
1097 a5psw_reg_writel(a5psw, A5PSW_MDIO_CFG_STATUS, cfgstatus); in a5psw_mdio_config()