Lines Matching refs:mc_io

250 	error = dprc_get_obj_count(mc_bus_dev->mc_io,  in dprc_scan_objects()
278 error = dprc_get_obj(mc_bus_dev->mc_io, in dprc_scan_objects()
402 struct fsl_mc_io *mc_io = mc_dev->mc_io; in dprc_irq0_handler_thread() local
416 error = dprc_get_irq_status(mc_io, 0, mc_dev->mc_handle, 0, in dprc_irq0_handler_thread()
424 error = dprc_clear_irq_status(mc_io, 0, mc_dev->mc_handle, 0, in dprc_irq0_handler_thread()
467 struct fsl_mc_io *mc_io = mc_dev->mc_io; in disable_dprc_irq() local
472 error = dprc_set_irq_enable(mc_io, 0, mc_dev->mc_handle, 0, 0); in disable_dprc_irq()
483 error = dprc_set_irq_mask(mc_io, 0, mc_dev->mc_handle, 0, 0x0); in disable_dprc_irq()
494 error = dprc_clear_irq_status(mc_io, 0, mc_dev->mc_handle, 0, ~0x0U); in disable_dprc_irq()
548 error = dprc_set_irq_mask(mc_dev->mc_io, 0, mc_dev->mc_handle, 0, in enable_dprc_irq()
561 error = dprc_set_irq_enable(mc_dev->mc_io, 0, mc_dev->mc_handle, 0, 1); in enable_dprc_irq()
632 if (!mc_dev->mc_io) { in dprc_setup()
649 &mc_dev->mc_io); in dprc_setup()
670 error = dprc_open(mc_dev->mc_io, 0, mc_dev->obj_desc.id, in dprc_setup()
677 error = dprc_get_attributes(mc_dev->mc_io, 0, mc_dev->mc_handle, in dprc_setup()
685 error = dprc_get_api_version(mc_dev->mc_io, 0, in dprc_setup()
705 (void)dprc_close(mc_dev->mc_io, 0, mc_dev->mc_handle); in dprc_setup()
712 fsl_destroy_mc_io(mc_dev->mc_io); in dprc_setup()
713 mc_dev->mc_io = NULL; in dprc_setup()
809 if (!mc_dev->mc_io) { in dprc_cleanup()
814 error = dprc_close(mc_dev->mc_io, 0, mc_dev->mc_handle); in dprc_cleanup()
819 fsl_destroy_mc_io(mc_dev->mc_io); in dprc_cleanup()
820 mc_dev->mc_io = NULL; in dprc_cleanup()