Mind as such has no functions. To have functions it would have to be a machine.
But Mind-Nature is not mechanistic.
Does a bird have functions? Some claim as much.
But Mind is not even a particular kind of being. It's the container of all beings whatsoever.
Mind in its essence has no functions, no shape, no color, no form.
It's the Way of Mysterious Brightness, Obscure Lightening.
Drop the inane and mechanistic conceptual "discursivity" that right now has your Mind gripped in its talons. Come out and play in the Clear Sky of Open Awareness that is Zen!