Lines Matching full:mc
3 * Freescale Management Complex (MC) bus public interface
26 * struct fsl_mc_driver - MC object device driver object
53 * enum fsl_mc_pool_type - Types of allocatable MC bus resources
59 FSL_MC_POOL_DPMCP = 0x0, /* corresponds to "dpmcp" in the MC */
60 FSL_MC_POOL_DPBP, /* corresponds to "dpbp" in the MC */
61 FSL_MC_POOL_DPCON, /* corresponds to "dpcon" in the MC */
71 * struct fsl_mc_resource - MC generic resource
73 * @id: unique MC resource Id within the resources of the same type
81 * MC resource structures.
92 * struct fsl_mc_device_irq - MC object device message-based interrupt
94 * @mc_dev: MC object device that owns this interrupt
96 * @resource: MC generic resource associated with the interrupt
148 * Bit masks for a MC object device (struct fsl_mc_device) flags
160 * struct fsl_mc_device - MC object device object
163 * @flags: MC object device flags
165 * @mc_handle: MC handle for the corresponding MC object opened
166 * @mc_io: Pointer to MC IO object assigned to this device or
168 * @obj_desc: MC description of the DPAA device
171 * @resource: generic resource associated with this MC object device, if any.
174 * Generic device object for MC object devices that are "attached" to a
175 * MC bus.
180 * called for an MC object device, but before the device-specific probe
182 * - DP_OBJ_DPRC objects are the only MC objects that have built-in MC
183 * portals. For all other MC objects, their device drivers are responsible for
184 * allocating MC portals for them by calling fsl_mc_portal_allocate().
185 * - Some types of MC objects (e.g., DP_OBJ_DPBP, DP_OBJ_DPCON) are
188 * fsl_mc_object_allocate()/fsl_mc_object_free() functions. These MC objects
191 * For MC objects that are not allocatable (e.g., DP_OBJ_DPRC, DP_OBJ_DPNI),
244 * MC command flags
307 * Bit masks for a MC I/O object (struct fsl_mc_io) flags
312 * struct fsl_mc_io - MC I/O object to be passed-in to mc_send_command()
313 * @dev: device associated with this Mc I/O object
315 * @portal_size: MC command portal size in bytes
316 * @portal_phys_addr: MC command portal physical address
317 * @portal_virt_addr: MC command portal virtual address
318 * @dpmcp_dev: pointer to the DPMCP device associated with the MC portal.
322 * @mutex: Mutex to serialize mc_send_command() calls that use the same MC
329 * @spinlock: Spinlock to serialize mc_send_command() calls that use the same MC
361 /* If fsl-mc bus is not present device cannot belong to fsl-mc bus */
369 /* Macro to get the container device of a MC device */
546 * Maximum number of total IRQs that can be pre-allocated for an MC bus'