Lines Matching refs:mc_io
31 int dpni_open(struct fsl_mc_io *mc_io, in dpni_open() argument
46 err = mc_send_command(mc_io, &cmd); in dpni_open()
56 int dpni_close(struct fsl_mc_io *mc_io, in dpni_close() argument
68 return mc_send_command(mc_io, &cmd); in dpni_close()
71 int dpni_create(struct fsl_mc_io *mc_io, in dpni_create() argument
87 err = mc_send_command(mc_io, &cmd); in dpni_create()
97 int dpni_destroy(struct fsl_mc_io *mc_io, in dpni_destroy() argument
113 return mc_send_command(mc_io, &cmd); in dpni_destroy()
116 int dpni_set_pools(struct fsl_mc_io *mc_io, in dpni_set_pools() argument
130 return mc_send_command(mc_io, &cmd); in dpni_set_pools()
133 int dpni_enable(struct fsl_mc_io *mc_io, in dpni_enable() argument
145 return mc_send_command(mc_io, &cmd); in dpni_enable()
148 int dpni_disable(struct fsl_mc_io *mc_io, in dpni_disable() argument
160 return mc_send_command(mc_io, &cmd); in dpni_disable()
163 int dpni_reset(struct fsl_mc_io *mc_io, in dpni_reset() argument
175 return mc_send_command(mc_io, &cmd); in dpni_reset()
178 int dpni_get_attributes(struct fsl_mc_io *mc_io, in dpni_get_attributes() argument
191 err = mc_send_command(mc_io, &cmd); in dpni_get_attributes()
201 int dpni_set_errors_behavior(struct fsl_mc_io *mc_io, in dpni_set_errors_behavior() argument
215 return mc_send_command(mc_io, &cmd); in dpni_set_errors_behavior()
218 int dpni_set_buffer_layout(struct fsl_mc_io *mc_io, in dpni_set_buffer_layout() argument
233 return mc_send_command(mc_io, &cmd); in dpni_set_buffer_layout()
236 int dpni_get_qdid(struct fsl_mc_io *mc_io, in dpni_get_qdid() argument
250 err = mc_send_command(mc_io, &cmd); in dpni_get_qdid()
260 int dpni_get_tx_data_offset(struct fsl_mc_io *mc_io, in dpni_get_tx_data_offset() argument
274 err = mc_send_command(mc_io, &cmd); in dpni_get_tx_data_offset()
284 int dpni_set_link_cfg(struct fsl_mc_io *mc_io, in dpni_set_link_cfg() argument
298 return mc_send_command(mc_io, &cmd); in dpni_set_link_cfg()
301 int dpni_get_link_state(struct fsl_mc_io *mc_io, in dpni_get_link_state() argument
315 err = mc_send_command(mc_io, &cmd); in dpni_get_link_state()
326 int dpni_set_primary_mac_addr(struct fsl_mc_io *mc_io, in dpni_set_primary_mac_addr() argument
340 return mc_send_command(mc_io, &cmd); in dpni_set_primary_mac_addr()
343 int dpni_get_primary_mac_addr(struct fsl_mc_io *mc_io, in dpni_get_primary_mac_addr() argument
357 err = mc_send_command(mc_io, &cmd); in dpni_get_primary_mac_addr()
367 int dpni_add_mac_addr(struct fsl_mc_io *mc_io, in dpni_add_mac_addr() argument
381 return mc_send_command(mc_io, &cmd); in dpni_add_mac_addr()
384 int dpni_remove_mac_addr(struct fsl_mc_io *mc_io, in dpni_remove_mac_addr() argument
398 return mc_send_command(mc_io, &cmd); in dpni_remove_mac_addr()
401 int dpni_get_api_version(struct fsl_mc_io *mc_io, in dpni_get_api_version() argument
414 err = mc_send_command(mc_io, &cmd); in dpni_get_api_version()
424 int dpni_set_queue(struct fsl_mc_io *mc_io, in dpni_set_queue() argument
440 return mc_send_command(mc_io, &cmd); in dpni_set_queue()
443 int dpni_get_queue(struct fsl_mc_io *mc_io, in dpni_get_queue() argument
461 err = mc_send_command(mc_io, &cmd); in dpni_get_queue()
470 int dpni_set_tx_confirmation_mode(struct fsl_mc_io *mc_io, in dpni_set_tx_confirmation_mode() argument
487 return mc_send_command(mc_io, &cmd); in dpni_set_tx_confirmation_mode()
490 int dpni_get_statistics(struct fsl_mc_io *mc_io, in dpni_get_statistics() argument
505 err = mc_send_command(mc_io, &cmd); in dpni_get_statistics()
515 int dpni_reset_statistics(struct fsl_mc_io *mc_io, in dpni_reset_statistics() argument
526 return mc_send_command(mc_io, &cmd); in dpni_reset_statistics()