Lines Matching +full:fsl +full:- +full:mc

1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright 2013-2016 Freescale Semiconductor Inc.
7 #include <linux/fsl/mc.h>
9 #include "fsl-mc-private.h"
12 * dpcon_open() - Open a control session for the specified object
13 * @mc_io: Pointer to MC portal's I/O object
22 * associated with the specific object ID and the specific MC
42 dpcon_cmd->dpcon_id = cpu_to_le32(dpcon_id); in dpcon_open()
44 /* send command to mc*/ in dpcon_open()
57 * dpcon_close() - Close the control session of the object
58 * @mc_io: Pointer to MC portal's I/O object
78 /* send command to mc*/ in dpcon_close()
84 * dpcon_enable() - Enable the DPCON
85 * @mc_io: Pointer to MC portal's I/O object
102 /* send command to mc*/ in dpcon_enable()
108 * dpcon_disable() - Disable the DPCON
109 * @mc_io: Pointer to MC portal's I/O object
126 /* send command to mc*/ in dpcon_disable()
132 * dpcon_reset() - Reset the DPCON, returns the object to initial state.
133 * @mc_io: Pointer to MC portal's I/O object
149 /* send command to mc*/ in dpcon_reset()
155 * dpcon_get_attributes() - Retrieve DPCON attributes.
156 * @mc_io: Pointer to MC portal's I/O object
177 /* send command to mc*/ in dpcon_get_attributes()
184 attr->id = le32_to_cpu(dpcon_rsp->id); in dpcon_get_attributes()
185 attr->qbman_ch_id = le16_to_cpu(dpcon_rsp->qbman_ch_id); in dpcon_get_attributes()
186 attr->num_priorities = dpcon_rsp->num_priorities; in dpcon_get_attributes()
193 * dpcon_set_notification() - Set DPCON notification destination
194 * @mc_io: Pointer to MC portal's I/O object
214 dpcon_cmd->dpio_id = cpu_to_le32(cfg->dpio_id); in dpcon_set_notification()
215 dpcon_cmd->priority = cfg->priority; in dpcon_set_notification()
216 dpcon_cmd->user_ctx = cpu_to_le64(cfg->user_ctx); in dpcon_set_notification()
218 /* send command to mc*/ in dpcon_set_notification()