/linux-4.4.14/drivers/staging/fsl-mc/include/ |
H A D | dpbp.h | 39 struct fsl_mc_io; 41 int dpbp_open(struct fsl_mc_io *mc_io, 46 int dpbp_close(struct fsl_mc_io *mc_io, 58 int dpbp_create(struct fsl_mc_io *mc_io, 63 int dpbp_destroy(struct fsl_mc_io *mc_io, 67 int dpbp_enable(struct fsl_mc_io *mc_io, 71 int dpbp_disable(struct fsl_mc_io *mc_io, 75 int dpbp_is_enabled(struct fsl_mc_io *mc_io, 80 int dpbp_reset(struct fsl_mc_io *mc_io, 96 int dpbp_set_irq(struct fsl_mc_io *mc_io, 102 int dpbp_get_irq(struct fsl_mc_io *mc_io, 109 int dpbp_set_irq_enable(struct fsl_mc_io *mc_io, 115 int dpbp_get_irq_enable(struct fsl_mc_io *mc_io, 121 int dpbp_set_irq_mask(struct fsl_mc_io *mc_io, 127 int dpbp_get_irq_mask(struct fsl_mc_io *mc_io, 133 int dpbp_get_irq_status(struct fsl_mc_io *mc_io, 139 int dpbp_clear_irq_status(struct fsl_mc_io *mc_io, 166 int dpbp_get_attributes(struct fsl_mc_io *mc_io,
|
H A D | mc-sys.h | 46 * Bit masks for a MC I/O object (struct fsl_mc_io) flags 54 * struct fsl_mc_io - MC I/O object to be passed-in to mc_send_command() 65 * portal, if the fsl_mc_io object was created with the 67 * fsl_mc_io object must be made only from non-atomic context. 72 * portal, if the fsl_mc_io object was created with the 74 * fsl_mc_io object can be made from atomic or non-atomic context. 76 struct fsl_mc_io { struct 102 u32 flags, struct fsl_mc_io **new_mc_io); 104 void fsl_destroy_mc_io(struct fsl_mc_io *mc_io); 106 int fsl_mc_io_set_dpmcp(struct fsl_mc_io *mc_io, 109 void fsl_mc_io_unset_dpmcp(struct fsl_mc_io *mc_io); 111 int mc_send_command(struct fsl_mc_io *mc_io, struct mc_command *cmd);
|
H A D | dprc.h | 41 struct fsl_mc_io; 57 int dprc_open(struct fsl_mc_io *mc_io, 62 int dprc_close(struct fsl_mc_io *mc_io, 124 int dprc_create_container(struct fsl_mc_io *mc_io, 131 int dprc_destroy_container(struct fsl_mc_io *mc_io, 136 int dprc_reset_container(struct fsl_mc_io *mc_io, 184 int dprc_set_irq(struct fsl_mc_io *mc_io, 190 int dprc_get_irq(struct fsl_mc_io *mc_io, 197 int dprc_set_irq_enable(struct fsl_mc_io *mc_io, 203 int dprc_get_irq_enable(struct fsl_mc_io *mc_io, 209 int dprc_set_irq_mask(struct fsl_mc_io *mc_io, 215 int dprc_get_irq_mask(struct fsl_mc_io *mc_io, 221 int dprc_get_irq_status(struct fsl_mc_io *mc_io, 227 int dprc_clear_irq_status(struct fsl_mc_io *mc_io, 257 int dprc_get_attributes(struct fsl_mc_io *mc_io, 262 int dprc_set_res_quota(struct fsl_mc_io *mc_io, 269 int dprc_get_res_quota(struct fsl_mc_io *mc_io, 320 int dprc_assign(struct fsl_mc_io *mc_io, 326 int dprc_unassign(struct fsl_mc_io *mc_io, 332 int dprc_get_pool_count(struct fsl_mc_io *mc_io, 337 int dprc_get_pool(struct fsl_mc_io *mc_io, 343 int dprc_get_obj_count(struct fsl_mc_io *mc_io, 379 int dprc_get_obj(struct fsl_mc_io *mc_io, 385 int dprc_get_obj_desc(struct fsl_mc_io *mc_io, 392 int dprc_set_obj_irq(struct fsl_mc_io *mc_io, 400 int dprc_get_obj_irq(struct fsl_mc_io *mc_io, 409 int dprc_get_res_count(struct fsl_mc_io *mc_io, 442 int dprc_get_res_ids(struct fsl_mc_io *mc_io, 479 int dprc_get_obj_region(struct fsl_mc_io *mc_io, 487 int dprc_set_obj_label(struct fsl_mc_io *mc_io, 519 int dprc_connect(struct fsl_mc_io *mc_io, 526 int dprc_disconnect(struct fsl_mc_io *mc_io, 531 int dprc_get_connection(struct fsl_mc_io *mc_io,
|
H A D | dpmng.h | 39 struct fsl_mc_io; 61 int mc_get_version(struct fsl_mc_io *mc_io, 65 int dpmng_get_container_id(struct fsl_mc_io *mc_io,
|
H A D | mc.h | 22 struct fsl_mc_io; 155 struct fsl_mc_io *mc_io; 189 struct fsl_mc_io **new_mc_io); 191 void fsl_mc_portal_free(struct fsl_mc_io *mc_io); 193 int fsl_mc_portal_reset(struct fsl_mc_io *mc_io);
|
H A D | mc-private.h | 94 struct fsl_mc_io *mc_io,
|
/linux-4.4.14/drivers/staging/fsl-mc/bus/ |
H A D | dpmcp.h | 39 struct fsl_mc_io; 41 int dpmcp_open(struct fsl_mc_io *mc_io, 49 int dpmcp_close(struct fsl_mc_io *mc_io, 62 int dpmcp_create(struct fsl_mc_io *mc_io, 67 int dpmcp_destroy(struct fsl_mc_io *mc_io, 71 int dpmcp_reset(struct fsl_mc_io *mc_io, 93 int dpmcp_set_irq(struct fsl_mc_io *mc_io, 99 int dpmcp_get_irq(struct fsl_mc_io *mc_io, 106 int dpmcp_set_irq_enable(struct fsl_mc_io *mc_io, 112 int dpmcp_get_irq_enable(struct fsl_mc_io *mc_io, 118 int dpmcp_set_irq_mask(struct fsl_mc_io *mc_io, 124 int dpmcp_get_irq_mask(struct fsl_mc_io *mc_io, 130 int dpmcp_get_irq_status(struct fsl_mc_io *mc_io, 136 int dpmcp_clear_irq_status(struct fsl_mc_io *mc_io, 160 int dpmcp_get_attributes(struct fsl_mc_io *mc_io,
|
H A D | dpmcp.c | 54 int dpmcp_open(struct fsl_mc_io *mc_io, dpmcp_open() 89 int dpmcp_close(struct fsl_mc_io *mc_io, dpmcp_close() 124 int dpmcp_create(struct fsl_mc_io *mc_io, dpmcp_create() 156 int dpmcp_destroy(struct fsl_mc_io *mc_io, dpmcp_destroy() 178 int dpmcp_reset(struct fsl_mc_io *mc_io, dpmcp_reset() 202 int dpmcp_set_irq(struct fsl_mc_io *mc_io, dpmcp_set_irq() 234 int dpmcp_get_irq(struct fsl_mc_io *mc_io, dpmcp_get_irq() 277 int dpmcp_set_irq_enable(struct fsl_mc_io *mc_io, dpmcp_set_irq_enable() 305 int dpmcp_get_irq_enable(struct fsl_mc_io *mc_io, dpmcp_get_irq_enable() 345 int dpmcp_set_irq_mask(struct fsl_mc_io *mc_io, dpmcp_set_irq_mask() 376 int dpmcp_get_irq_mask(struct fsl_mc_io *mc_io, dpmcp_get_irq_mask() 413 int dpmcp_get_irq_status(struct fsl_mc_io *mc_io, dpmcp_get_irq_status() 450 int dpmcp_clear_irq_status(struct fsl_mc_io *mc_io, dpmcp_clear_irq_status() 478 int dpmcp_get_attributes(struct fsl_mc_io *mc_io, dpmcp_get_attributes()
|
H A D | dpbp.c | 54 int dpbp_open(struct fsl_mc_io *mc_io, dpbp_open() 90 int dpbp_close(struct fsl_mc_io *mc_io, dpbp_close() 126 int dpbp_create(struct fsl_mc_io *mc_io, dpbp_create() 159 int dpbp_destroy(struct fsl_mc_io *mc_io, dpbp_destroy() 181 int dpbp_enable(struct fsl_mc_io *mc_io, dpbp_enable() 204 int dpbp_disable(struct fsl_mc_io *mc_io, dpbp_disable() 228 int dpbp_is_enabled(struct fsl_mc_io *mc_io, dpbp_is_enabled() 258 int dpbp_reset(struct fsl_mc_io *mc_io, dpbp_reset() 282 int dpbp_set_irq(struct fsl_mc_io *mc_io, dpbp_set_irq() 314 int dpbp_get_irq(struct fsl_mc_io *mc_io, dpbp_get_irq() 357 int dpbp_set_irq_enable(struct fsl_mc_io *mc_io, dpbp_set_irq_enable() 385 int dpbp_get_irq_enable(struct fsl_mc_io *mc_io, dpbp_get_irq_enable() 425 int dpbp_set_irq_mask(struct fsl_mc_io *mc_io, dpbp_set_irq_mask() 456 int dpbp_get_irq_mask(struct fsl_mc_io *mc_io, dpbp_get_irq_mask() 493 int dpbp_get_irq_status(struct fsl_mc_io *mc_io, dpbp_get_irq_status() 530 int dpbp_clear_irq_status(struct fsl_mc_io *mc_io, dpbp_clear_irq_status() 558 int dpbp_get_attributes(struct fsl_mc_io *mc_io, dpbp_get_attributes()
|
H A D | mc-sys.c | 76 u32 flags, struct fsl_mc_io **new_mc_io) fsl_create_mc_io() 79 struct fsl_mc_io *mc_io; fsl_create_mc_io() 138 void fsl_destroy_mc_io(struct fsl_mc_io *mc_io) fsl_destroy_mc_io() 155 int fsl_mc_io_set_dpmcp(struct fsl_mc_io *mc_io, fsl_mc_io_set_dpmcp() 182 void fsl_mc_io_unset_dpmcp(struct fsl_mc_io *mc_io) fsl_mc_io_unset_dpmcp() 307 static int mc_polling_wait_preemptible(struct fsl_mc_io *mc_io, mc_polling_wait_preemptible() 354 static int mc_polling_wait_atomic(struct fsl_mc_io *mc_io, mc_polling_wait_atomic() 395 int mc_send_command(struct fsl_mc_io *mc_io, struct mc_command *cmd) mc_send_command()
|
H A D | mc-allocator.c | 269 * @mc_io_flags: Flags for the fsl_mc_io object that wraps the allocated 271 * @new_mc_io: Pointer to area where the pointer to the fsl_mc_io object 276 * it in a new fsl_mc_io object. If 'mc_dev' is a DPRC itself, the 281 struct fsl_mc_io **new_mc_io) fsl_mc_portal_allocate() 290 struct fsl_mc_io *mc_io = NULL; fsl_mc_portal_allocate() 341 * @mc_io: Pointer to the fsl_mc_io object that wraps the MC portal to free 343 void fsl_mc_portal_free(struct fsl_mc_io *mc_io) fsl_mc_portal_free() 369 * fsl_mc_portal_reset - Resets the dpmcp object for a given fsl_mc_io object 371 * @mc_io: Pointer to the fsl_mc_io object that wraps the MC portal to free 373 int fsl_mc_portal_reset(struct fsl_mc_io *mc_io) fsl_mc_portal_reset()
|
H A D | dpmng.c | 46 int mc_get_version(struct fsl_mc_io *mc_io, mc_get_version() 79 int dpmng_get_container_id(struct fsl_mc_io *mc_io, dpmng_get_container_id()
|
H A D | dprc.c | 48 int dprc_open(struct fsl_mc_io *mc_io, dprc_open() 84 int dprc_close(struct fsl_mc_io *mc_io, dprc_close() 110 int dprc_create_container(struct fsl_mc_io *mc_io, dprc_create_container() 178 int dprc_destroy_container(struct fsl_mc_io *mc_io, dprc_destroy_container() 216 int dprc_reset_container(struct fsl_mc_io *mc_io, dprc_reset_container() 244 int dprc_get_irq(struct fsl_mc_io *mc_io, dprc_get_irq() 284 int dprc_set_irq(struct fsl_mc_io *mc_io, dprc_set_irq() 315 int dprc_get_irq_enable(struct fsl_mc_io *mc_io, dprc_get_irq_enable() 355 int dprc_set_irq_enable(struct fsl_mc_io *mc_io, dprc_set_irq_enable() 386 int dprc_get_irq_mask(struct fsl_mc_io *mc_io, dprc_get_irq_mask() 427 int dprc_set_irq_mask(struct fsl_mc_io *mc_io, dprc_set_irq_mask() 457 int dprc_get_irq_status(struct fsl_mc_io *mc_io, dprc_get_irq_status() 494 int dprc_clear_irq_status(struct fsl_mc_io *mc_io, dprc_clear_irq_status() 521 int dprc_get_attributes(struct fsl_mc_io *mc_io, dprc_get_attributes() 575 int dprc_set_res_quota(struct fsl_mc_io *mc_io, dprc_set_res_quota() 625 int dprc_get_res_quota(struct fsl_mc_io *mc_io, dprc_get_res_quota() 699 int dprc_assign(struct fsl_mc_io *mc_io, dprc_assign() 750 int dprc_unassign(struct fsl_mc_io *mc_io, dprc_unassign() 796 int dprc_get_pool_count(struct fsl_mc_io *mc_io, dprc_get_pool_count() 834 int dprc_get_pool(struct fsl_mc_io *mc_io, dprc_get_pool() 884 int dprc_get_obj_count(struct fsl_mc_io *mc_io, dprc_get_obj_count() 923 int dprc_get_obj(struct fsl_mc_io *mc_io, dprc_get_obj() 1000 int dprc_get_obj_desc(struct fsl_mc_io *mc_io, dprc_get_obj_desc() 1094 int dprc_set_obj_irq(struct fsl_mc_io *mc_io, dprc_set_obj_irq() 1149 int dprc_get_obj_irq(struct fsl_mc_io *mc_io, dprc_get_obj_irq() 1211 int dprc_get_res_count(struct fsl_mc_io *mc_io, dprc_get_res_count() 1264 int dprc_get_res_ids(struct fsl_mc_io *mc_io, dprc_get_res_ids() 1322 int dprc_get_obj_region(struct fsl_mc_io *mc_io, dprc_get_obj_region() 1379 int dprc_set_obj_label(struct fsl_mc_io *mc_io, dprc_set_obj_label() 1451 int dprc_connect(struct fsl_mc_io *mc_io, dprc_connect() 1516 int dprc_disconnect(struct fsl_mc_io *mc_io, dprc_disconnect() 1562 int dprc_get_connection(struct fsl_mc_io *mc_io, dprc_get_connection()
|
H A D | mc-bus.c | 253 static int get_dprc_icid(struct fsl_mc_io *mc_io, get_dprc_icid() 391 struct fsl_mc_io *mc_io, fsl_mc_device_add() 431 struct fsl_mc_io *mc_io2; fsl_mc_device_add() 676 struct fsl_mc_io *mc_io = NULL; fsl_mc_bus_probe()
|