Lines Matching +full:- +full:- +full:disable +full:- +full:attr
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2013-2016 Freescale Semiconductor, Inc.
34 cfg->channel_mode);\
35 MC_CMD_OP(cmd, 0, 32, 8, uint8_t, cfg->num_priorities);\
39 #define DPIO_RSP_GET_ATTR(cmd, attr) \ argument
41 MC_RSP_OP(cmd, 0, 0, 32, int, attr->id);\
42 MC_RSP_OP(cmd, 0, 32, 16, uint16_t, attr->qbman_portal_id);\
43 MC_RSP_OP(cmd, 0, 48, 8, uint8_t, attr->num_priorities);\
44 MC_RSP_OP(cmd, 0, 56, 4, enum dpio_channel_mode, attr->channel_mode);\
45 MC_RSP_OP(cmd, 1, 0, 64, uint64_t, attr->qbman_portal_ce_offset);\
46 MC_RSP_OP(cmd, 2, 0, 64, uint64_t, attr->qbman_portal_ci_offset);\
47 MC_RSP_OP(cmd, 3, 32, 32, uint32_t, attr->qbman_version);\
57 * dpio_open() - Open a control session for the specified object
79 * dpio_close() - Close the control session of the object
91 * enum dpio_channel_mode - DPIO notification channel mode
103 * struct dpio_cfg - Structure representing DPIO configuration
105 * @num_priorities: Number of priorities for the notification channel (1-8);
114 * dpio_create() - Create the DPIO object.
143 * dpio_destroy() - Destroy the DPIO object and release all its resources.
157 * dpio_enable() - Enable the DPIO, allow I/O portal operations.
169 * dpio_disable() - Disable the DPIO, stop any I/O portal operation.
181 * dpio_reset() - Reset the DPIO, returns the object to initial state.
193 * struct dpio_attr - Structure representing DPIO attributes
196 * @qbman_portal_ce_offset: offset of the software portal cache-enabled area
197 * @qbman_portal_ci_offset: offset of the software portal cache-inhibited area
200 * @num_priorities: Number of priorities for the notification channel (1-8);
215 * dpio_get_attributes() - Retrieve DPIO attributes
219 * @attr: Returned object's attributes
226 struct dpio_attr *attr);
229 * dpio_get_api_version - Retrieve DPIO Major and Minor version info.