Searched refs:mc_io (Results 1 - 25 of 46) sorted by relevance

12

/linux-master/drivers/bus/fsl-mc/
H A Dmc-io.c12 static int fsl_mc_io_set_dpmcp(struct fsl_mc_io *mc_io, argument
17 if (mc_io->dpmcp_dev)
20 if (dpmcp_dev->mc_io)
23 error = dpmcp_open(mc_io,
30 mc_io->dpmcp_dev = dpmcp_dev;
31 dpmcp_dev->mc_io = mc_io;
35 static void fsl_mc_io_unset_dpmcp(struct fsl_mc_io *mc_io) argument
38 struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev;
40 error = dpmcp_close(mc_io,
72 struct fsl_mc_io *mc_io; local
130 fsl_destroy_mc_io(struct fsl_mc_io *mc_io) argument
176 struct fsl_mc_io *mc_io = NULL; local
242 fsl_mc_portal_free(struct fsl_mc_io *mc_io) argument
272 fsl_mc_portal_reset(struct fsl_mc_io *mc_io) argument
[all...]
H A Ddpmcp.c13 * @mc_io: Pointer to MC portal's I/O object
28 int dpmcp_open(struct fsl_mc_io *mc_io, argument
44 err = mc_send_command(mc_io, &cmd);
56 * @mc_io: Pointer to MC portal's I/O object
65 int dpmcp_close(struct fsl_mc_io *mc_io, argument
76 return mc_send_command(mc_io, &cmd);
81 * @mc_io: Pointer to MC portal's I/O object
87 int dpmcp_reset(struct fsl_mc_io *mc_io, argument
98 return mc_send_command(mc_io, &cmd);
H A Ddpbp.c13 * @mc_io: Pointer to MC portal's I/O object
28 int dpbp_open(struct fsl_mc_io *mc_io, argument
44 err = mc_send_command(mc_io, &cmd);
57 * @mc_io: Pointer to MC portal's I/O object
66 int dpbp_close(struct fsl_mc_io *mc_io, argument
77 return mc_send_command(mc_io, &cmd);
83 * @mc_io: Pointer to MC portal's I/O object
89 int dpbp_enable(struct fsl_mc_io *mc_io, argument
100 return mc_send_command(mc_io, &cmd);
106 * @mc_io
112 dpbp_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
135 dpbp_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
160 dpbp_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpbp_attr *attr) argument
[all...]
H A Dmc-sys.c155 * @mc_io: MC I/O object to be used
159 static int mc_polling_wait_preemptible(struct fsl_mc_io *mc_io, argument
171 status = mc_read_response(mc_io->portal_virt_addr, cmd);
183 dev_dbg(mc_io->dev,
185 &mc_io->portal_phys_addr,
201 * @mc_io: MC I/O object to be used
205 static int mc_polling_wait_atomic(struct fsl_mc_io *mc_io, argument
216 status = mc_read_response(mc_io->portal_virt_addr, cmd);
223 dev_dbg(mc_io->dev,
225 &mc_io
245 mc_send_command(struct fsl_mc_io *mc_io, struct fsl_mc_command *cmd) argument
[all...]
H A Ddpcon.c13 * @mc_io: Pointer to MC portal's I/O object
28 int dpcon_open(struct fsl_mc_io *mc_io, argument
45 err = mc_send_command(mc_io, &cmd);
58 * @mc_io: Pointer to MC portal's I/O object
67 int dpcon_close(struct fsl_mc_io *mc_io, argument
79 return mc_send_command(mc_io, &cmd);
85 * @mc_io: Pointer to MC portal's I/O object
91 int dpcon_enable(struct fsl_mc_io *mc_io, argument
103 return mc_send_command(mc_io, &cmd);
109 * @mc_io
115 dpcon_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
139 dpcon_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
163 dpcon_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpcon_attr *attr) argument
201 dpcon_set_notification(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpcon_notification_cfg *cfg) argument
[all...]
H A Dobj-api.c44 int fsl_mc_obj_open(struct fsl_mc_io *mc_io, argument
64 err = mc_send_command(mc_io, &cmd);
75 int fsl_mc_obj_close(struct fsl_mc_io *mc_io, argument
86 return mc_send_command(mc_io, &cmd);
90 int fsl_mc_obj_reset(struct fsl_mc_io *mc_io, argument
101 return mc_send_command(mc_io, &cmd);
H A Ddprc.c21 * @mc_io: Pointer to MC portal's I/O object
30 int dprc_open(struct fsl_mc_io *mc_io, argument
46 err = mc_send_command(mc_io, &cmd);
59 * @mc_io: Pointer to MC portal's I/O object
68 int dprc_close(struct fsl_mc_io *mc_io, argument
79 return mc_send_command(mc_io, &cmd);
85 * @mc_io: Pointer to MC portal's I/O object
112 int dprc_reset_container(struct fsl_mc_io *mc_io, argument
128 err = dprc_get_api_version(mc_io, 0,
150 return mc_send_command(mc_io,
164 dprc_set_irq(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, struct dprc_irq_cfg *irq_cfg) argument
202 dprc_set_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u8 en) argument
238 dprc_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 mask) argument
270 dprc_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 *status) argument
312 dprc_clear_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 status) argument
341 dprc_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dprc_attributes *attr) argument
379 dprc_get_obj_count(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int *obj_count) argument
420 dprc_get_obj(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int obj_index, struct fsl_mc_obj_desc *obj_desc) argument
471 dprc_set_obj_irq(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *obj_type, int obj_id, u8 irq_index, struct dprc_irq_cfg *irq_cfg) argument
511 dprc_get_obj_region(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *obj_type, int obj_id, u8 region_index, struct dprc_region_desc *region_desc) argument
595 dprc_get_api_version(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 *major_ver, u16 *minor_ver) argument
626 dprc_get_container_id(struct fsl_mc_io *mc_io, u32 cmd_flags, int *container_id) argument
664 dprc_get_connection(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dprc_endpoint *endpoint1, struct dprc_endpoint *endpoint2, int *state) argument
[all...]
H A Dfsl-mc-private.h60 int dpmcp_open(struct fsl_mc_io *mc_io,
65 int dpmcp_close(struct fsl_mc_io *mc_io,
69 int dpmcp_reset(struct fsl_mc_io *mc_io,
262 int dprc_open(struct fsl_mc_io *mc_io,
267 int dprc_close(struct fsl_mc_io *mc_io,
304 int dprc_set_irq(struct fsl_mc_io *mc_io,
310 int dprc_set_irq_enable(struct fsl_mc_io *mc_io,
316 int dprc_set_irq_mask(struct fsl_mc_io *mc_io,
322 int dprc_get_irq_status(struct fsl_mc_io *mc_io,
328 int dprc_clear_irq_status(struct fsl_mc_io *mc_io,
[all...]
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddprtc.h23 int dprtc_open(struct fsl_mc_io *mc_io,
28 int dprtc_close(struct fsl_mc_io *mc_io,
32 int dprtc_set_irq_enable(struct fsl_mc_io *mc_io,
38 int dprtc_get_irq_enable(struct fsl_mc_io *mc_io,
44 int dprtc_set_irq_mask(struct fsl_mc_io *mc_io,
50 int dprtc_get_irq_mask(struct fsl_mc_io *mc_io,
56 int dprtc_get_irq_status(struct fsl_mc_io *mc_io,
62 int dprtc_clear_irq_status(struct fsl_mc_io *mc_io,
H A Ddpsw.h23 int dpsw_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpsw_id, u16 *token);
25 int dpsw_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
85 int dpsw_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
87 int dpsw_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
89 int dpsw_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
118 int dpsw_set_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
121 int dpsw_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
124 int dpsw_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
127 int dpsw_clear_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
169 int dpsw_get_attributes(struct fsl_mc_io *mc_io, u3
[all...]
H A Ddprtc.c14 * @mc_io: Pointer to MC portal's I/O object
29 int dprtc_open(struct fsl_mc_io *mc_io, argument
44 err = mc_send_command(mc_io, &cmd);
55 * @mc_io: Pointer to MC portal's I/O object
64 int dprtc_close(struct fsl_mc_io *mc_io, argument
73 return mc_send_command(mc_io, &cmd);
78 * @mc_io: Pointer to MC portal's I/O object
91 int dprtc_set_irq_enable(struct fsl_mc_io *mc_io, argument
107 return mc_send_command(mc_io, &cmd);
112 * @mc_io
120 dprtc_get_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u8 *en) argument
163 dprtc_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 mask) argument
195 dprtc_get_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 *mask) argument
235 dprtc_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 *status) argument
276 dprtc_clear_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 status) argument
[all...]
H A Ddpni.h86 int dpni_open(struct fsl_mc_io *mc_io,
91 int dpni_close(struct fsl_mc_io *mc_io,
122 int dpni_set_pools(struct fsl_mc_io *mc_io,
127 int dpni_enable(struct fsl_mc_io *mc_io,
131 int dpni_disable(struct fsl_mc_io *mc_io,
135 int dpni_is_enabled(struct fsl_mc_io *mc_io,
140 int dpni_reset(struct fsl_mc_io *mc_io,
154 int dpni_set_irq_enable(struct fsl_mc_io *mc_io,
160 int dpni_get_irq_enable(struct fsl_mc_io *mc_io,
166 int dpni_set_irq_mask(struct fsl_mc_io *mc_io,
[all...]
H A Ddpmac.c11 * @mc_io: Pointer to MC portal's I/O object
26 int dpmac_open(struct fsl_mc_io *mc_io, argument
43 err = mc_send_command(mc_io, &cmd);
55 * @mc_io: Pointer to MC portal's I/O object
64 int dpmac_close(struct fsl_mc_io *mc_io, argument
75 return mc_send_command(mc_io, &cmd);
81 * @mc_io: Pointer to MC portal's I/O object
88 int dpmac_get_attributes(struct fsl_mc_io *mc_io, argument
103 err = mc_send_command(mc_io, &cmd);
119 * @mc_io
126 dpmac_set_link_state(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpmac_link_state *link_state) argument
161 dpmac_get_counter(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpmac_counter_id id, u64 *value) argument
194 dpmac_get_api_version(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 *major_ver, u16 *minor_ver) argument
225 dpmac_set_protocol(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpmac_eth_if protocol) argument
[all...]
H A Ddpmac.h14 int dpmac_open(struct fsl_mc_io *mc_io,
19 int dpmac_close(struct fsl_mc_io *mc_io,
81 int dpmac_get_attributes(struct fsl_mc_io *mc_io,
121 int dpmac_set_link_state(struct fsl_mc_io *mc_io,
205 int dpmac_get_counter(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
208 int dpmac_get_api_version(struct fsl_mc_io *mc_io, u32 cmd_flags,
211 int dpmac_set_protocol(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
H A Ddpsw.c24 * @mc_io: Pointer to MC portal's I/O object
39 int dpsw_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpsw_id, u16 *token) argument
53 err = mc_send_command(mc_io, &cmd);
65 * @mc_io: Pointer to MC portal's I/O object
74 int dpsw_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
84 return mc_send_command(mc_io, &cmd);
89 * @mc_io: Pointer to MC portal's I/O object
95 int dpsw_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
105 return mc_send_command(mc_io, &cmd);
110 * @mc_io
116 dpsw_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
137 dpsw_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
165 dpsw_set_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u8 en) argument
199 dpsw_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 mask) argument
229 dpsw_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 *status) argument
269 dpsw_clear_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 status) argument
296 dpsw_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpsw_attr *attr) argument
343 dpsw_if_set_link_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, struct dpsw_link_cfg *cfg) argument
372 dpsw_if_get_link_state(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, struct dpsw_link_state *state) argument
411 dpsw_if_set_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, const struct dpsw_tci_cfg *cfg) argument
443 dpsw_if_get_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, struct dpsw_tci_cfg *cfg) argument
485 dpsw_if_set_stp(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, const struct dpsw_stp_cfg *cfg) argument
515 dpsw_if_get_counter(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, enum dpsw_counter type, u64 *counter) argument
552 dpsw_if_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id) argument
577 dpsw_if_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id) argument
603 dpsw_if_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, struct dpsw_if_attr *attr) argument
644 dpsw_if_set_max_frame_length(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, u16 frame_length) argument
679 dpsw_vlan_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_cfg *cfg) argument
712 dpsw_vlan_add_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) argument
749 dpsw_vlan_add_if_untagged(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) argument
780 dpsw_vlan_remove_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) argument
813 dpsw_vlan_remove_if_untagged(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) argument
840 dpsw_vlan_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id) argument
868 dpsw_fdb_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *fdb_id, const struct dpsw_fdb_cfg *cfg) argument
902 dpsw_fdb_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id) argument
927 dpsw_fdb_add_unicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, const struct dpsw_fdb_unicast_cfg *cfg) argument
967 dpsw_fdb_dump(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, u64 iova_addr, u32 iova_size, u16 *num_entries) argument
1005 dpsw_fdb_remove_unicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, const struct dpsw_fdb_unicast_cfg *cfg) argument
1044 dpsw_fdb_add_multicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, const struct dpsw_fdb_multicast_cfg *cfg) argument
1083 dpsw_fdb_remove_multicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, const struct dpsw_fdb_multicast_cfg *cfg) argument
1115 dpsw_ctrl_if_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpsw_ctrl_if_attr *attr) argument
1146 dpsw_ctrl_if_set_pools(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpsw_ctrl_if_pools_cfg *cfg) argument
1178 dpsw_ctrl_if_set_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpsw_queue_type qtype, const struct dpsw_ctrl_if_queue_cfg *cfg) argument
1210 dpsw_get_api_version(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 *major_ver, u16 *minor_ver) argument
1242 dpsw_if_get_port_mac_addr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, u8 mac_addr[6]) argument
1278 dpsw_ctrl_if_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
1296 dpsw_ctrl_if_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
1316 dpsw_set_egress_flood(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpsw_egress_flood_cfg *cfg) argument
1342 dpsw_if_set_learning_mode(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, enum dpsw_learning_mode mode) argument
1371 dpsw_acl_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *acl_id, const struct dpsw_acl_cfg *cfg) argument
1402 dpsw_acl_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 acl_id) argument
1426 dpsw_acl_add_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 acl_id, const struct dpsw_acl_if_cfg *cfg) argument
1452 dpsw_acl_remove_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 acl_id, const struct dpsw_acl_if_cfg *cfg) argument
1528 dpsw_acl_add_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 acl_id, const struct dpsw_acl_entry_cfg *cfg) argument
1560 dpsw_acl_remove_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 acl_id, const struct dpsw_acl_entry_cfg *cfg) argument
1594 dpsw_set_reflection_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id) argument
1619 dpsw_if_add_reflection(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, const struct dpsw_reflection_cfg *cfg) argument
1646 dpsw_if_remove_reflection(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, const struct dpsw_reflection_cfg *cfg) argument
[all...]
H A Ddpni.c80 * @mc_io: Pointer to MC portal's I/O object
95 int dpni_open(struct fsl_mc_io *mc_io, argument
113 err = mc_send_command(mc_io, &cmd);
125 * @mc_io: Pointer to MC portal's I/O object
134 int dpni_close(struct fsl_mc_io *mc_io, argument
146 return mc_send_command(mc_io, &cmd);
151 * @mc_io: Pointer to MC portal's I/O object
161 int dpni_set_pools(struct fsl_mc_io *mc_io, argument
189 return mc_send_command(mc_io, &cmd);
194 * @mc_io
200 dpni_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
223 dpni_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
247 dpni_is_enabled(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int *en) argument
281 dpni_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
311 dpni_set_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u8 en) argument
342 dpni_get_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u8 *en) argument
389 dpni_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 mask) argument
423 dpni_get_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 *mask) argument
465 dpni_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 *status) argument
508 dpni_clear_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 status) argument
538 dpni_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpni_attr *attr) argument
586 dpni_set_errors_behavior(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpni_error_cfg *cfg) argument
617 dpni_get_buffer_layout(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpni_queue_type qtype, struct dpni_buffer_layout *layout) argument
665 dpni_set_buffer_layout(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpni_queue_type qtype, const struct dpni_buffer_layout *layout) argument
707 dpni_set_offload(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpni_offload type, u32 config) argument
726 dpni_get_offload(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpni_offload type, u32 *config) argument
768 dpni_get_qdid(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpni_queue_type qtype, u16 *qdid) argument
807 dpni_get_tx_data_offset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *data_offset) argument
842 dpni_set_link_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_link_cfg *cfg) argument
871 dpni_get_link_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpni_link_cfg *cfg) argument
907 dpni_get_link_state(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpni_link_state *state) argument
946 dpni_set_max_frame_length(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 max_frame_length) argument
976 dpni_get_max_frame_length(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *max_frame_length) argument
1011 dpni_set_multicast_promisc(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int en) argument
1039 dpni_get_multicast_promisc(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int *en) argument
1074 dpni_set_unicast_promisc(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int en) argument
1102 dpni_get_unicast_promisc(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int *en) argument
1137 dpni_set_primary_mac_addr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const u8 mac_addr[6]) argument
1167 dpni_get_primary_mac_addr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 mac_addr[6]) argument
1206 dpni_get_port_mac_addr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 mac_addr[6]) argument
1242 dpni_enable_vlan_filter(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u32 en) argument
1280 dpni_add_vlan_id(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, u8 flags, u8 tc_id, u8 flow_id) argument
1309 dpni_remove_vlan_id(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id) argument
1335 dpni_add_mac_addr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const u8 mac_addr[6]) argument
1365 dpni_remove_mac_addr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const u8 mac_addr[6]) argument
1398 dpni_clear_mac_filters(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int unicast, int multicast) argument
1432 dpni_set_rx_tc_dist(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 tc_id, const struct dpni_rx_tc_dist_cfg *cfg) argument
1469 dpni_set_congestion_notification( struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpni_queue_type qtype, u8 tc_id, const struct dpni_congestion_notification_cfg *cfg) argument
1519 dpni_set_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpni_queue_type qtype, u8 tc, u8 index, u8 options, const struct dpni_queue *queue) argument
1567 dpni_get_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpni_queue_type qtype, u8 tc, u8 index, struct dpni_queue *queue, struct dpni_queue_id *qid) argument
1624 dpni_get_statistics(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 page, union dpni_statistics *stat) argument
1670 dpni_set_taildrop(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpni_congestion_point cg_point, enum dpni_queue_type qtype, u8 tc, u8 index, struct dpni_taildrop *taildrop) argument
1714 dpni_get_taildrop(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpni_congestion_point cg_point, enum dpni_queue_type qtype, u8 tc, u8 index, struct dpni_taildrop *taildrop) argument
1761 dpni_get_api_version(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 *major_ver, u16 *minor_ver) argument
1805 dpni_set_rx_fs_dist(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_rx_dist_cfg *cfg) argument
1840 dpni_set_rx_hash_dist(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_rx_dist_cfg *cfg) argument
1877 dpni_add_fs_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 tc_id, u16 index, const struct dpni_rule_cfg *cfg, const struct dpni_fs_action_cfg *action) argument
1917 dpni_remove_fs_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 tc_id, const struct dpni_rule_cfg *cfg) argument
1955 dpni_set_qos_table(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_qos_tbl_cfg *cfg) argument
1990 dpni_add_qos_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_rule_cfg *cfg, u8 tc_id, u16 index) argument
2024 dpni_remove_qos_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_rule_cfg *cfg) argument
2056 dpni_clear_qos_table(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
2082 dpni_set_tx_shaping(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_tx_shaping_cfg *tx_cr_shaper, const struct dpni_tx_shaping_cfg *tx_er_shaper, int coupled) argument
2118 dpni_get_single_step_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpni_single_step_cfg *ptp_cfg) argument
2162 dpni_set_single_step_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpni_single_step_cfg *ptp_cfg) argument
[all...]
H A Ddpaa2-ptp.c50 err = dprtc_get_irq_mask(mc_dev->mc_io, 0, mc_dev->mc_handle,
62 err = dprtc_set_irq_mask(mc_dev->mc_io, 0, mc_dev->mc_handle,
100 err = dprtc_get_irq_status(mc_dev->mc_io, 0, mc_dev->mc_handle,
118 err = dprtc_clear_irq_status(mc_dev->mc_io, 0, mc_dev->mc_handle,
140 err = fsl_mc_portal_allocate(mc_dev, 0, &mc_dev->mc_io);
149 err = dprtc_open(mc_dev->mc_io, 0, mc_dev->obj_desc.id,
189 err = dprtc_set_irq_enable(mc_dev->mc_io, 0, mc_dev->mc_handle,
215 dprtc_close(mc_dev->mc_io, 0, mc_dev->mc_handle);
217 fsl_mc_portal_free(mc_dev->mc_io);
233 dprtc_close(mc_dev->mc_io,
[all...]
/linux-master/drivers/soc/fsl/dpio/
H A Ddpio.h12 int dpio_open(struct fsl_mc_io *mc_io,
17 int dpio_close(struct fsl_mc_io *mc_io,
44 int dpio_enable(struct fsl_mc_io *mc_io,
48 int dpio_disable(struct fsl_mc_io *mc_io,
75 int dpio_get_attributes(struct fsl_mc_io *mc_io,
80 int dpio_set_stashing_destination(struct fsl_mc_io *mc_io,
85 int dpio_get_api_version(struct fsl_mc_io *mc_io,
90 int dpio_reset(struct fsl_mc_io *mc_io,
H A Ddpio.c20 * @mc_io: Pointer to MC portal's I/O object
35 int dpio_open(struct fsl_mc_io *mc_io, argument
51 err = mc_send_command(mc_io, &cmd);
63 * @mc_io: Pointer to MC portal's I/O object
69 int dpio_close(struct fsl_mc_io *mc_io, argument
80 return mc_send_command(mc_io, &cmd);
85 * @mc_io: Pointer to MC portal's I/O object
91 int dpio_enable(struct fsl_mc_io *mc_io, argument
102 return mc_send_command(mc_io, &cmd);
107 * @mc_io
113 dpio_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
136 dpio_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpio_attr *attr) argument
170 dpio_set_stashing_destination(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 sdest) argument
195 dpio_get_api_version(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 *major_ver, u16 *minor_ver) argument
225 dpio_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
[all...]
H A Ddpio-driver.c137 err = fsl_mc_portal_allocate(dpio_dev, 0, &dpio_dev->mc_io);
144 err = dpio_open(dpio_dev->mc_io, 0, dpio_dev->obj_desc.id,
151 err = dpio_reset(dpio_dev->mc_io, 0, dpio_dev->mc_handle);
157 err = dpio_get_attributes(dpio_dev->mc_io, 0, dpio_dev->mc_handle,
166 err = dpio_enable(dpio_dev->mc_io, 0, dpio_dev->mc_handle);
189 err = dpio_set_stashing_destination(dpio_dev->mc_io, 0,
247 dpio_close(dpio_dev->mc_io, 0, dpio_dev->mc_handle);
256 dpio_disable(dpio_dev->mc_io, 0, dpio_dev->mc_handle);
259 dpio_close(dpio_dev->mc_io, 0, dpio_dev->mc_handle);
261 fsl_mc_portal_free(dpio_dev->mc_io);
[all...]
/linux-master/drivers/dma/fsl-dpaa2-qdma/
H A Ddpdmai.h161 int dpdmai_open(struct fsl_mc_io *mc_io, u32 cmd_flags,
163 int dpdmai_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
164 int dpdmai_destroy(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
165 int dpdmai_create(struct fsl_mc_io *mc_io, u32 cmd_flags,
167 int dpdmai_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
168 int dpdmai_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
169 int dpdmai_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
170 int dpdmai_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags,
172 int dpdmai_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
174 int dpdmai_get_rx_queue(struct fsl_mc_io *mc_io, u3
[all...]
H A Ddpdmai.c53 * @mc_io: Pointer to MC portal's I/O object
68 int dpdmai_open(struct fsl_mc_io *mc_io, u32 cmd_flags, argument
83 err = mc_send_command(mc_io, &cmd);
96 * @mc_io: Pointer to MC portal's I/O object
105 int dpdmai_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
114 return mc_send_command(mc_io, &cmd);
120 * @mc_io: Pointer to MC portal's I/O object
140 int dpdmai_create(struct fsl_mc_io *mc_io, u32 cmd_flags, argument
152 err = mc_send_command(mc_io, &cmd);
164 * @mc_io
170 dpdmai_destroy(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
191 dpdmai_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
212 dpdmai_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
233 dpdmai_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
255 dpdmai_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpdmai_attr *attr) argument
293 dpdmai_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 priority, const struct dpdmai_rx_queue_cfg *cfg) argument
327 dpdmai_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 priority, struct dpdmai_rx_queue_attr *attr) argument
368 dpdmai_get_tx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 priority, u32 *fqid) argument
[all...]
/linux-master/drivers/crypto/caam/
H A Ddpseci.h30 int dpseci_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpseci_id,
33 int dpseci_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
58 int dpseci_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
60 int dpseci_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
62 int dpseci_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
64 int dpseci_is_enabled(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
82 int dpseci_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
155 int dpseci_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
174 int dpseci_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
187 int dpseci_get_tx_queue(struct fsl_mc_io *mc_io, u3
[all...]
H A Ddpseci.c13 * @mc_io: Pointer to MC portal's I/O object
27 int dpseci_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpseci_id, argument
39 err = mc_send_command(mc_io, &cmd);
50 * @mc_io: Pointer to MC portal's I/O object
59 int dpseci_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
66 return mc_send_command(mc_io, &cmd);
71 * @mc_io: Pointer to MC portal's I/O object
77 int dpseci_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
84 return mc_send_command(mc_io, &cmd);
89 * @mc_io
95 dpseci_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
114 dpseci_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) argument
133 dpseci_is_enabled(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int *en) argument
162 dpseci_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpseci_attr *attr) argument
197 dpseci_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 queue, const struct dpseci_rx_queue_cfg *cfg) argument
231 dpseci_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 queue, struct dpseci_rx_queue_attr *attr) argument
271 dpseci_get_tx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 queue, struct dpseci_tx_queue_attr *attr) argument
304 dpseci_get_sec_attr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpseci_sec_attr *attr) argument
351 dpseci_get_api_version(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 *major_ver, u16 *minor_ver) argument
381 dpseci_set_congestion_notification(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpseci_congestion_notification_cfg *cfg) argument
416 dpseci_get_congestion_notification(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpseci_congestion_notification_cfg *cfg) argument
[all...]
/linux-master/include/linux/fsl/
H A Dmc.h175 * @mc_io: Pointer to MC IO object assigned to this device or
211 struct fsl_mc_io *mc_io; member in struct:fsl_mc_device
360 int mc_send_command(struct fsl_mc_io *mc_io, struct fsl_mc_command *cmd);
418 void fsl_mc_portal_free(struct fsl_mc_io *mc_io);
420 int fsl_mc_portal_reset(struct fsl_mc_io *mc_io);
533 int dprc_reset_container(struct fsl_mc_io *mc_io,
566 int dpbp_open(struct fsl_mc_io *mc_io,
571 int dpbp_close(struct fsl_mc_io *mc_io,
575 int dpbp_enable(struct fsl_mc_io *mc_io,
579 int dpbp_disable(struct fsl_mc_io *mc_io,
[all...]

Completed in 277 milliseconds

12