Home
last modified time | relevance | path

Searched refs:mn (Results 1 – 18 of 18) sorted by relevance

/linux-4.19.296/drivers/clk/qcom/
Dclk-rcg.c114 static u32 md_to_m(struct mn *mn, u32 md) in md_to_m() argument
116 md >>= mn->m_val_shift; in md_to_m()
117 md &= BIT(mn->width) - 1; in md_to_m()
140 static u32 mn_to_md(struct mn *mn, u32 m, u32 n, u32 md) in mn_to_md() argument
144 mask_w = BIT(mn->width) - 1; in mn_to_md()
145 mask = (mask_w << mn->m_val_shift) | mask_w; in mn_to_md()
149 m <<= mn->m_val_shift; in mn_to_md()
157 static u32 ns_m_to_n(struct mn *mn, u32 ns, u32 m) in ns_m_to_n() argument
159 ns = ~ns >> mn->n_val_shift; in ns_m_to_n()
160 ns &= BIT(mn->width) - 1; in ns_m_to_n()
[all …]
Dclk-rcg.h30 struct mn { struct
80 struct mn mn; member
119 struct mn mn[2]; member
Dgcc-msm8660.c111 .mn = {
162 .mn = {
213 .mn = {
264 .mn = {
315 .mn = {
366 .mn = {
417 .mn = {
468 .mn = {
517 .mn = {
566 .mn = {
[all …]
Dgcc-ipq806x.c272 .mn = {
323 .mn = {
374 .mn = {
425 .mn = {
476 .mn = {
527 .mn = {
591 .mn = {
640 .mn = {
689 .mn = {
738 .mn = {
[all …]
Dgcc-mdm9615.c195 .mn = {
246 .mn = {
297 .mn = {
348 .mn = {
399 .mn = {
462 .mn = {
511 .mn = {
560 .mn = {
609 .mn = {
658 .mn = {
[all …]
Dgcc-msm8960.c178 .mn = {
229 .mn = {
280 .mn = {
331 .mn = {
382 .mn = {
433 .mn = {
484 .mn = {
535 .mn = {
584 .mn = {
633 .mn = {
[all …]
Dmmcc-msm8960.c180 .mn = {
229 .mn = {
278 .mn = {
334 .mn = {
398 .mn = {
462 .mn = {
713 .mn = {
815 .mn[0] = {
823 .mn[1] = {
875 .mn[0] = {
[all …]
Dlcc-ipq806x.c119 .mn = {
233 .mn = {
313 .mn = {
372 .mn = {
Dlcc-msm8960.c100 .mn = {
206 .mn = { \
350 .mn = {
418 .mn = {
Dlcc-mdm9615.c102 .mn = {
208 .mn = { \
352 .mn = {
420 .mn = {
/linux-4.19.296/drivers/misc/sgi-gru/
Dgrutlbpurge.c222 static int gru_invalidate_range_start(struct mmu_notifier *mn, in gru_invalidate_range_start() argument
227 struct gru_mm_struct *gms = container_of(mn, struct gru_mm_struct, in gru_invalidate_range_start()
239 static void gru_invalidate_range_end(struct mmu_notifier *mn, in gru_invalidate_range_end() argument
243 struct gru_mm_struct *gms = container_of(mn, struct gru_mm_struct, in gru_invalidate_range_end()
253 static void gru_release(struct mmu_notifier *mn, struct mm_struct *mm) in gru_release() argument
255 struct gru_mm_struct *gms = container_of(mn, struct gru_mm_struct, in gru_release()
274 struct mmu_notifier *mn, *gru_mn = NULL; in mmu_find_ops() local
278 hlist_for_each_entry_rcu(mn, &mm->mmu_notifier_mm->list, in mmu_find_ops()
280 if (mn->ops == ops) { in mmu_find_ops()
281 gru_mn = mn; in mmu_find_ops()
[all …]
/linux-4.19.296/include/linux/
Dmmu_notifier.h65 void (*release)(struct mmu_notifier *mn,
77 int (*clear_flush_young)(struct mmu_notifier *mn,
87 int (*clear_young)(struct mmu_notifier *mn,
98 int (*test_young)(struct mmu_notifier *mn,
106 void (*change_pte)(struct mmu_notifier *mn,
159 int (*invalidate_range_start)(struct mmu_notifier *mn,
163 void (*invalidate_range_end)(struct mmu_notifier *mn,
189 void (*invalidate_range)(struct mmu_notifier *mn, struct mm_struct *mm,
214 extern int mmu_notifier_register(struct mmu_notifier *mn,
216 extern int __mmu_notifier_register(struct mmu_notifier *mn,
[all …]
Dnvme.h205 char mn[40]; member
/linux-4.19.296/drivers/xen/
Dgntdev.c601 static int mn_invl_range_start(struct mmu_notifier *mn, in mn_invl_range_start() argument
606 struct gntdev_priv *priv = container_of(mn, struct gntdev_priv, mn); in mn_invl_range_start()
632 static void mn_release(struct mmu_notifier *mn, in mn_release() argument
635 struct gntdev_priv *priv = container_of(mn, struct gntdev_priv, mn); in mn_release()
693 priv->mn.ops = &gntdev_mmu_ops; in gntdev_open()
694 ret = mmu_notifier_register(&priv->mn, priv->mm); in gntdev_open()
742 mmu_notifier_unregister(&priv->mn, priv->mm); in gntdev_release()
Dgntdev-common.h34 struct mmu_notifier mn; member
/linux-4.19.296/virt/kvm/
Dkvm_main.c366 static inline struct kvm *mmu_notifier_to_kvm(struct mmu_notifier *mn) in mmu_notifier_to_kvm() argument
368 return container_of(mn, struct kvm, mmu_notifier); in mmu_notifier_to_kvm()
371 static void kvm_mmu_notifier_invalidate_range(struct mmu_notifier *mn, in kvm_mmu_notifier_invalidate_range() argument
375 struct kvm *kvm = mmu_notifier_to_kvm(mn); in kvm_mmu_notifier_invalidate_range()
383 static void kvm_mmu_notifier_change_pte(struct mmu_notifier *mn, in kvm_mmu_notifier_change_pte() argument
388 struct kvm *kvm = mmu_notifier_to_kvm(mn); in kvm_mmu_notifier_change_pte()
399 static int kvm_mmu_notifier_invalidate_range_start(struct mmu_notifier *mn, in kvm_mmu_notifier_invalidate_range_start() argument
405 struct kvm *kvm = mmu_notifier_to_kvm(mn); in kvm_mmu_notifier_invalidate_range_start()
427 static void kvm_mmu_notifier_invalidate_range_end(struct mmu_notifier *mn, in kvm_mmu_notifier_invalidate_range_end() argument
432 struct kvm *kvm = mmu_notifier_to_kvm(mn); in kvm_mmu_notifier_invalidate_range_end()
[all …]
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_dma.c193 static void scif_mmu_notifier_release(struct mmu_notifier *mn, in scif_mmu_notifier_release() argument
198 mmn = container_of(mn, struct scif_mmu_notif, ep_mmu_notifier); in scif_mmu_notifier_release()
203 static int scif_mmu_notifier_invalidate_range_start(struct mmu_notifier *mn, in scif_mmu_notifier_invalidate_range_start() argument
211 mmn = container_of(mn, struct scif_mmu_notif, ep_mmu_notifier); in scif_mmu_notifier_invalidate_range_start()
217 static void scif_mmu_notifier_invalidate_range_end(struct mmu_notifier *mn, in scif_mmu_notifier_invalidate_range_end() argument
/linux-4.19.296/include/rdma/
Dib_verbs.h1510 struct mmu_notifier mn; member