| /linux/drivers/clk/qcom/ |
| H A D | clk-rcg.c | 106 static u32 md_to_m(struct mn *mn, u32 md) in md_to_m() argument 108 md >>= mn->m_val_shift; in md_to_m() 109 md &= BIT(mn->width) - 1; in md_to_m() 132 static u32 mn_to_md(struct mn *mn, u32 m, u32 n, u32 md) in mn_to_md() argument 136 mask_w = BIT(mn->width) - 1; in mn_to_md() 137 mask = (mask_w << mn->m_val_shift) | mask_w; in mn_to_md() 141 m <<= mn->m_val_shift; in mn_to_md() 149 static u32 ns_m_to_n(struct mn *mn, u32 ns, u32 m) in ns_m_to_n() argument 151 ns = ~ns >> mn->n_val_shift; in ns_m_to_n() 152 ns &= BIT(mn->width) - 1; in ns_m_to_n() [all …]
|
| H A D | gcc-msm8660.c | 106 .mn = { 157 .mn = { 208 .mn = { 259 .mn = { 310 .mn = { 361 .mn = { 412 .mn = { 463 .mn = { 514 .mn = { 565 .mn = { [all …]
|
| H A D | gcc-mdm9615.c | 188 .mn = { 239 .mn = { 290 .mn = { 341 .mn = { 392 .mn = { 455 .mn = { 506 .mn = { 557 .mn = { 608 .mn = { 659 .mn = { [all …]
|
| H A D | gcc-ipq806x.c | 414 .mn = { 465 .mn = { 516 .mn = { 567 .mn = { 618 .mn = { 669 .mn = { 733 .mn = { 784 .mn = { 835 .mn = { 886 .mn = { [all …]
|
| H A D | mmcc-msm8960.c | 188 .mn = { 239 .mn = { 290 .mn = { 348 .mn = { 416 .mn = { 484 .mn = { 739 .mn = { 845 .mn[0] = { 853 .mn[1] = { 907 .mn[0] = { [all …]
|
| H A D | lcc-ipq806x.c | 113 .mn = { 230 .mn = { 314 .mn = { 371 .mn = {
|
| H A D | lcc-msm8960.c | 96 .mn = { \ 258 .mn = { 328 .mn = {
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| H A D | ram.c | 35 struct nvkm_mm_node *mn; member 52 .mem = vram->mn, in nvkm_vram_map() 61 return (u64)nvkm_mm_size(nvkm_vram(memory)->mn) << NVKM_RAM_MM_SHIFT; in nvkm_vram_size() 68 if (!nvkm_mm_contiguous(vram->mn)) in nvkm_vram_addr() 70 return (u64)nvkm_mm_addr(vram->mn) << NVKM_RAM_MM_SHIFT; in nvkm_vram_addr() 89 struct nvkm_mm_node *next = vram->mn; in nvkm_vram_dtor() 101 kfree(vram->mn); in nvkm_vram_dtor() 138 vram->mn = kzalloc_obj(*vram->mn); in nvkm_ram_wrap() 139 if (!vram->mn) in nvkm_ram_wrap() 142 vram->mn->offset = addr >> NVKM_RAM_MM_SHIFT; in nvkm_ram_wrap() [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | mmu_rb.c | 59 INIT_HLIST_NODE(&h->mn.hlist); in hfi1_mmu_rb_register() 61 h->mn.ops = &mn_opts; in hfi1_mmu_rb_register() 68 ret = mmu_notifier_register(&h->mn, current->mm); in hfi1_mmu_rb_register() 86 mmgrab(handler->mn.mm); in hfi1_mmu_rb_unregister() 89 mmu_notifier_unregister(&handler->mn, handler->mn.mm); in hfi1_mmu_rb_unregister() 115 mmdrop(handler->mn.mm); in hfi1_mmu_rb_unregister() 129 if (current->mm != handler->mn.mm) in hfi1_mmu_rb_insert() 233 if (current->mm != handler->mn.mm) in hfi1_mmu_rb_evict() 261 static int mmu_notifier_range_start(struct mmu_notifier *mn, in mmu_notifier_range_start() argument 265 container_of(mn, struct mmu_rb_handler, mn); in mmu_notifier_range_start()
|
| H A D | mmu_rb.h | 34 * they fit together in one cache line. mn is relatively rarely 39 struct mmu_notifier mn; member
|
| /linux/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | memory.c | 38 nvkm_mm_free(&fb->tags.mm, &tags->mn); in nvkm_memory_tags_put() 61 if (tags->mn && tags->mn->length != nr) { in nvkm_memory_tags_get() 77 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, nr, nr, 1, &tags->mn)) { in nvkm_memory_tags_get() 79 clr(device, tags->mn->offset, tags->mn->length); in nvkm_memory_tags_get() 90 tags->mn = NULL; in nvkm_memory_tags_get()
|
| /linux/drivers/perf/hisilicon/ |
| H A D | hisi_uncore_mn_pmu.c | 3 * HiSilicon SoC MN uncore Hardware event counters support 16 /* Dynamic CPU hotplug state used by MN PMU */ 19 /* MN register definition */ 259 "Failed to read MN scl id\n"); in hisi_mn_pmu_dev_init() 263 "Failed to read MN index id\n"); in hisi_mn_pmu_dev_init() 335 return dev_err_probe(mn_pmu->dev, ret, "Failed to register MN PMU\n"); in hisi_mn_pmu_probe() 383 ret = cpuhp_setup_state_multi(CPUHP_AP_ONLINE_DYN, "perf/hisi/mn:online", in hisi_mn_pmu_module_init() 387 pr_err("hisi_mn_pmu: Failed to setup MN PMU hotplug: %d\n", ret); in hisi_mn_pmu_module_init() 408 MODULE_DESCRIPTION("HiSilicon SoC MN uncore PMU driver");
|
| /linux/drivers/iommu/intel/ |
| H A D | svm.c | 51 static void intel_arch_invalidate_secondary_tlbs(struct mmu_notifier *mn, in intel_arch_invalidate_secondary_tlbs() argument 55 struct dmar_domain *domain = container_of(mn, struct dmar_domain, notifier); in intel_arch_invalidate_secondary_tlbs() 70 static void intel_mm_release(struct mmu_notifier *mn, struct mm_struct *mm) in intel_mm_release() argument 72 struct dmar_domain *domain = container_of(mn, struct dmar_domain, notifier); in intel_mm_release() 99 static void intel_mm_free_notifier(struct mmu_notifier *mn) in intel_mm_free_notifier() argument 101 struct dmar_domain *domain = container_of(mn, struct dmar_domain, notifier); in intel_mm_free_notifier()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
| H A D | gk20a.c | 53 struct nvkm_mm_node *mn; member 130 return (u64)gk20a_instobj(memory)->mn->offset << 12; in gk20a_instobj_addr() 136 return (u64)gk20a_instobj(memory)->mn->length << 12; in gk20a_instobj_size() 288 .mem = node->mn, in gk20a_instobj_map() 304 dma_free_attrs(dev, (u64)node->base.mn->length << PAGE_SHIFT, in gk20a_instobj_dtor_dma() 317 struct nvkm_mm_node *r = node->base.mn; in gk20a_instobj_dtor_iommu() 335 for (i = 0; i < node->base.mn->length; i++) { in gk20a_instobj_dtor_iommu() 416 node->base.mn = &node->r; in gk20a_instobj_ctor_dma() 494 node->base.mn = r; in gk20a_instobj_ctor_iommu() 543 size, align, (u64)node->mn->offset << 12); in gk20a_instobj_new()
|
| /linux/drivers/media/tuners/ |
| H A D | xc2028-types.h | 58 /* LCD firmwares exist only for MTS STD/MN (PAL or NTSC/M) 59 and for non-MTS STD/MN (PAL, NTSC/M or NTSC/Kr) 65 /* NOGD firmwares exist only for MTS STD/MN (PAL or NTSC/M) 66 and for non-MTS STD/MN (PAL, NTSC/M or NTSC/Kr)
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_mn.c | 42 * @mn: our notifier 49 static bool radeon_mn_invalidate(struct mmu_interval_notifier *mn, in radeon_mn_invalidate() argument 53 struct radeon_bo *bo = container_of(mn, struct radeon_bo, notifier); in radeon_mn_invalidate()
|
| /linux/arch/x86/kernel/apic/ |
| H A D | x2apic_uv_x.c | 1160 struct mn { struct 1167 /* Initialize caller's MN struct and fill in values */ 1168 static void get_mn(struct mn *mnp) in get_mn() argument 1190 struct mn mn; in uv_init_hub_info() local 1192 get_mn(&mn); in uv_init_hub_info() 1193 hi->gpa_mask = mn.m_val ? in uv_init_hub_info() 1194 (1UL << (mn.m_val + mn.n_val)) - 1 : in uv_init_hub_info() 1197 hi->m_val = mn.m_val; in uv_init_hub_info() 1198 hi->n_val = mn.n_val; in uv_init_hub_info() 1199 hi->m_shift = mn.m_shift; in uv_init_hub_info() [all …]
|
| /linux/net/sched/ |
| H A D | sch_teql.c | 258 struct neighbour *mn; in __teql_resolve() local 260 mn = __neigh_lookup_errno(n->tbl, n->primary_key, dev); in __teql_resolve() 262 if (IS_ERR(mn)) in __teql_resolve() 263 return PTR_ERR(mn); in __teql_resolve() 264 n = mn; in __teql_resolve()
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | hihope-rzg2-ex-lvds.dtsi | 3 * Device Tree Source for the RZ/G2[MN] HiHope sub board LVDS common parts
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-btree.c | 743 struct btree_node *ln, *rn, *mn, *pn; in split_two_into_three() local 768 mn = dm_block_data(middle); in split_two_into_three() 771 mn->header.nr_entries = cpu_to_le32(0); in split_two_into_three() 772 mn->header.flags = ln->header.flags; in split_two_into_three() 773 mn->header.max_entries = ln->header.max_entries; in split_two_into_three() 774 mn->header.value_size = ln->header.value_size; in split_two_into_three() 776 redistribute3(ln, mn, rn); in split_two_into_three() 783 le64_to_cpu(mn->keys[0]), &location); in split_two_into_three() 798 if (key < le64_to_cpu(mn->keys[0])) { in split_two_into_three()
|
| /linux/drivers/rtc/ |
| H A D | rtc-pcf2123.c | 85 #define ALRM_DISABLE BIT(7) /* MN, HR, DM, or DW alarm matching */ 196 tm->tm_mon = bcd2bin(rxbuf[5] & 0x1F) - 1; /* rtc mn 1-12 */ in pcf2123_rtc_read_time() 223 txbuf[5] = bin2bcd((tm->tm_mon + 1) & 0x1F); /* rtc mn 1-12 */ in pcf2123_rtc_set_time()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_cs.h | 68 struct amdgpu_mn *mn; member
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_process.c | 1373 static void kfd_process_free_notifier(struct mmu_notifier *mn) in kfd_process_free_notifier() argument 1375 kfd_unref_process(container_of(mn, struct kfd_process, mmu_notifier)); in kfd_process_free_notifier() 1452 static void kfd_process_notifier_release(struct mmu_notifier *mn, in kfd_process_notifier_release() argument 1461 p = container_of(mn, struct kfd_process, mmu_notifier); in kfd_process_notifier_release() 1664 struct mmu_notifier *mn; in create_process() local 1724 mn = mmu_notifier_get(&kfd_process_mmu_notifier_ops, process->mm); in create_process() 1725 if (IS_ERR(mn)) { in create_process() 1726 err = PTR_ERR(mn); in create_process() 1729 BUG_ON(mn != &process->mmu_notifier); in create_process()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
| H A D | vmmnv50.c | 307 if (map->tags->mn) { in nv50_vmm_valid() 308 u32 tags = map->tags->mn->offset + in nv50_vmm_valid()
|
| H A D | vmmgf100.c | 300 if (!map->no_comp && map->tags->mn) { in gf100_vmm_valid() 301 u64 tags = map->tags->mn->offset + (map->offset >> 17); in gf100_vmm_valid()
|