Lines Matching refs:token
39 int dpsw_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpsw_id, u16 *token) in dpsw_open() argument
58 *token = mc_cmd_hdr_read_token(&cmd); in dpsw_open()
74 int dpsw_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_close() argument
81 token); in dpsw_close()
95 int dpsw_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_enable() argument
102 token); in dpsw_enable()
116 int dpsw_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_disable() argument
123 token); in dpsw_disable()
137 int dpsw_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_reset() argument
144 token); in dpsw_reset()
165 int dpsw_set_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_set_irq_enable() argument
174 token); in dpsw_set_irq_enable()
199 int dpsw_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_set_irq_mask() argument
208 token); in dpsw_set_irq_mask()
229 int dpsw_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_get_irq_status() argument
240 token); in dpsw_get_irq_status()
269 int dpsw_clear_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_clear_irq_status() argument
278 token); in dpsw_clear_irq_status()
296 int dpsw_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_get_attributes() argument
306 token); in dpsw_get_attributes()
343 int dpsw_if_set_link_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, in dpsw_if_set_link_cfg() argument
352 token); in dpsw_if_set_link_cfg()
372 int dpsw_if_get_link_state(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_if_get_link_state() argument
383 token); in dpsw_if_get_link_state()
411 int dpsw_if_set_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, in dpsw_if_set_tci() argument
421 token); in dpsw_if_set_tci()
443 int dpsw_if_get_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, in dpsw_if_get_tci() argument
454 token); in dpsw_if_get_tci()
485 int dpsw_if_set_stp(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, in dpsw_if_set_stp() argument
494 token); in dpsw_if_set_stp()
515 int dpsw_if_get_counter(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_if_get_counter() argument
526 token); in dpsw_if_get_counter()
552 int dpsw_if_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id) in dpsw_if_enable() argument
560 token); in dpsw_if_enable()
577 int dpsw_if_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id) in dpsw_if_disable() argument
585 token); in dpsw_if_disable()
603 int dpsw_if_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_if_get_attributes() argument
612 token); in dpsw_if_get_attributes()
644 int dpsw_if_set_max_frame_length(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_if_set_max_frame_length() argument
653 token); in dpsw_if_set_max_frame_length()
679 int dpsw_vlan_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_vlan_add() argument
688 token); in dpsw_vlan_add()
712 int dpsw_vlan_add_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_vlan_add_if() argument
721 token); in dpsw_vlan_add_if()
749 int dpsw_vlan_add_if_untagged(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_vlan_add_if_untagged() argument
758 token); in dpsw_vlan_add_if_untagged()
780 int dpsw_vlan_remove_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_vlan_remove_if() argument
789 token); in dpsw_vlan_remove_if()
813 int dpsw_vlan_remove_if_untagged(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_vlan_remove_if_untagged() argument
822 token); in dpsw_vlan_remove_if_untagged()
840 int dpsw_vlan_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_vlan_remove() argument
849 token); in dpsw_vlan_remove()
868 int dpsw_fdb_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *fdb_id, in dpsw_fdb_add() argument
878 token); in dpsw_fdb_add()
902 int dpsw_fdb_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id) in dpsw_fdb_remove() argument
910 token); in dpsw_fdb_remove()
927 int dpsw_fdb_add_unicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_fdb_add_unicast() argument
937 token); in dpsw_fdb_add_unicast()
967 int dpsw_fdb_dump(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, in dpsw_fdb_dump() argument
978 token); in dpsw_fdb_dump()
1005 int dpsw_fdb_remove_unicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_fdb_remove_unicast() argument
1015 token); in dpsw_fdb_remove_unicast()
1044 int dpsw_fdb_add_multicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_fdb_add_multicast() argument
1054 token); in dpsw_fdb_add_multicast()
1083 int dpsw_fdb_remove_multicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_fdb_remove_multicast() argument
1093 token); in dpsw_fdb_remove_multicast()
1116 u16 token, struct dpsw_ctrl_if_attr *attr) in dpsw_ctrl_if_get_attributes() argument
1123 cmd_flags, token); in dpsw_ctrl_if_get_attributes()
1146 int dpsw_ctrl_if_set_pools(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_ctrl_if_set_pools() argument
1154 cmd_flags, token); in dpsw_ctrl_if_set_pools()
1178 int dpsw_ctrl_if_set_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_ctrl_if_set_queue() argument
1187 token); in dpsw_ctrl_if_set_queue()
1242 int dpsw_if_get_port_mac_addr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_if_get_port_mac_addr() argument
1253 token); in dpsw_if_get_port_mac_addr()
1278 int dpsw_ctrl_if_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_ctrl_if_enable() argument
1283 token); in dpsw_ctrl_if_enable()
1296 int dpsw_ctrl_if_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_ctrl_if_disable() argument
1302 token); in dpsw_ctrl_if_disable()
1316 int dpsw_set_egress_flood(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_set_egress_flood() argument
1322 cmd.header = mc_encode_cmd_header(DPSW_CMDID_SET_EGRESS_FLOOD, cmd_flags, token); in dpsw_set_egress_flood()
1342 int dpsw_if_set_learning_mode(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_if_set_learning_mode() argument
1350 token); in dpsw_if_set_learning_mode()
1371 int dpsw_acl_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *acl_id, in dpsw_acl_add() argument
1379 cmd.header = mc_encode_cmd_header(DPSW_CMDID_ACL_ADD, cmd_flags, token); in dpsw_acl_add()
1402 int dpsw_acl_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_acl_remove() argument
1409 token); in dpsw_acl_remove()
1426 int dpsw_acl_add_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_acl_add_if() argument
1433 token); in dpsw_acl_add_if()
1452 int dpsw_acl_remove_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_acl_remove_if() argument
1460 token); in dpsw_acl_remove_if()
1528 int dpsw_acl_add_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_acl_add_entry() argument
1535 token); in dpsw_acl_add_entry()
1560 int dpsw_acl_remove_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_acl_remove_entry() argument
1569 token); in dpsw_acl_remove_entry()
1594 int dpsw_set_reflection_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_set_reflection_if() argument
1602 token); in dpsw_set_reflection_if()
1619 int dpsw_if_add_reflection(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_if_add_reflection() argument
1627 token); in dpsw_if_add_reflection()
1646 int dpsw_if_remove_reflection(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpsw_if_remove_reflection() argument
1654 token); in dpsw_if_remove_reflection()