Thanks for your question.
Most probably you have injured your TM joint that is temporo
mandibular joint,that is why you have difficulty in chewing and unable to open the mouth.Immediate medical consultation with a dentist
or general surgeon
is advisable who may advice you X Ray
skull and TM joint to rule out or confirm fracture
and accordingly he/she may prescribe you treatment.
Hope this answers your question