Lines Matching full:token

27  * @token:	Returned token; use in subsequent API calls
32 * This function returns a unique authentication token,
34 * portal; this token must be used in all subsequent commands for
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()
67 * @token: Token of DPSW object
74 int dpsw_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_close() argument
81 token); in dpsw_close()
91 * @token: Token of DPSW object
95 int dpsw_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_enable() argument
102 token); in dpsw_enable()
112 * @token: Token of DPSW object
116 int dpsw_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_disable() argument
123 token); in dpsw_disable()
133 * @token: Token of DPSW object
137 int dpsw_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_reset() argument
144 token); in dpsw_reset()
154 * @token: Token of DPCI object
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()
187 * @token: Token of DPCI object
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()
221 * @token: Token of DPSW object
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()
261 * @token: Token of DPCI object
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()
291 * @token: Token of DPSW object
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()
337 * @token: Token of DPSW object
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()
366 * @token: Token of DPSW object
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()
405 * @token: Token of DPSW object
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()
437 * @token: Token of DPSW object
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()
476 * @token: Token of DPSW object
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()
508 * @token: Token of DPSW object
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()
547 * @token: Token of DPSW object
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()
572 * @token: Token of DPSW object
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()
597 * @token: Token of DPSW object
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()
638 * @token: Token of DPSW object
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()
666 * @token: Token of DPSW object
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()
701 * @token: Token of DPSW object
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()
737 * @token: Token of DPSW object
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()
771 * @token: Token of DPSW object
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()
803 * @token: Token of DPSW object
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()
835 * @token: Token of DPSW object
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()
862 * @token: Token of DPSW object
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()
897 * @token: Token of DPSW object
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()
921 * @token: Token of DPSW object
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()
953 * @token: Token of DPSW object
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()
999 * @token: Token of DPSW object
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()
1031 * @token: Token of DPSW object
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()
1072 * @token: Token of DPSW object
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()
1110 * @token: Token of DPSW object
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()
1141 * @token: Token of DPSW object
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()
1172 * @token: Token of dpsw object
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()
1236 * @token: Token of DPSW object
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()
1274 * @token: Token of DPSW object
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()
1292 * @token: Token of DPSW object
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()
1311 * @token: Token of DPSW object
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()
1336 * @token: Token of DPSW object
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()
1362 * @token: Token of DPSW object
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()
1397 * @token: Token of DPSW object
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()
1420 * @token: Token of DPSW object
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()
1446 * @token: Token of DPSW object
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()
1520 * @token: Token of DPSW object
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()
1552 * @token: Token of DPSW object
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()
1587 * @token: Token of DPSW object
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()
1613 * @token: Token of DPSW object
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()
1640 * @token: Token of DPSW object
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()