Home
last modified time | relevance | path

Searched refs:mmr (Results 1 – 12 of 12) sorted by relevance

/linux-2.6.39/arch/blackfin/mm/
Dmaccess.c30 u16 mmr = bfin_read16(src); in probe_kernel_read() local
31 memcpy(dst, &mmr, sizeof(mmr)); in probe_kernel_read()
34 u32 mmr = bfin_read32(src); in probe_kernel_read() local
35 memcpy(dst, &mmr, sizeof(mmr)); in probe_kernel_read()
69 u16 mmr; in probe_kernel_write() local
70 memcpy(&mmr, src, sizeof(mmr)); in probe_kernel_write()
71 bfin_write16(dst, mmr); in probe_kernel_write()
74 u32 mmr; in probe_kernel_write() local
75 memcpy(&mmr, src, sizeof(mmr)); in probe_kernel_write()
76 bfin_write32(dst, mmr); in probe_kernel_write()
/linux-2.6.39/arch/blackfin/include/asm/
Dcplb.h107 static inline void _disable_cplb(u32 mmr, u32 mask) in _disable_cplb() argument
109 u32 ctrl = bfin_read32(mmr) & ~mask; in _disable_cplb()
112 bfin_write32(mmr, ctrl); in _disable_cplb()
115 static inline void disable_cplb(u32 mmr, u32 mask) in disable_cplb() argument
117 u32 ctrl = bfin_read32(mmr) & ~mask; in disable_cplb()
119 bfin_write32(mmr, ctrl); in disable_cplb()
127 static inline void _enable_cplb(u32 mmr, u32 mask) in _enable_cplb() argument
129 u32 ctrl = bfin_read32(mmr) | mask; in _enable_cplb()
132 bfin_write32(mmr, ctrl); in _enable_cplb()
135 static inline void enable_cplb(u32 mmr, u32 mask) in enable_cplb() argument
[all …]
/linux-2.6.39/drivers/infiniband/hw/mlx4/
Dmr.c57 ~0ull, convert_access(acc), 0, 0, &mr->mmr); in mlx4_ib_get_dma_mr()
61 err = mlx4_mr_enable(to_mdev(pd->device)->dev, &mr->mmr); in mlx4_ib_get_dma_mr()
65 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_get_dma_mr()
71 mlx4_mr_free(to_mdev(pd->device)->dev, &mr->mmr); in mlx4_ib_get_dma_mr()
149 convert_access(access_flags), n, shift, &mr->mmr); in mlx4_ib_reg_user_mr()
153 err = mlx4_ib_umem_write_mtt(dev, &mr->mmr.mtt, mr->umem); in mlx4_ib_reg_user_mr()
157 err = mlx4_mr_enable(dev->dev, &mr->mmr); in mlx4_ib_reg_user_mr()
161 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_reg_user_mr()
166 mlx4_mr_free(to_mdev(pd->device)->dev, &mr->mmr); in mlx4_ib_reg_user_mr()
181 mlx4_mr_free(to_mdev(ibmr->device)->dev, &mr->mmr); in mlx4_ib_dereg_mr()
[all …]
Dmlx4_ib.h83 struct mlx4_mr mmr; member
/linux-2.6.39/drivers/misc/sgi-gru/
Dgrufile.c320 unsigned long mmr = 0; in gru_chiplet_cpu_to_mmr() local
334 mmr = UVH_GR0_TLB_INT0_CONFIG + in gru_chiplet_cpu_to_mmr()
337 mmr = UVH_GR1_TLB_INT0_CONFIG + in gru_chiplet_cpu_to_mmr()
344 return mmr; in gru_chiplet_cpu_to_mmr()
366 unsigned long mmr; in gru_chiplet_setup_tlb_irq() local
370 mmr = gru_chiplet_cpu_to_mmr(chiplet, cpu, &core); in gru_chiplet_setup_tlb_irq()
371 if (mmr == 0) in gru_chiplet_setup_tlb_irq()
397 unsigned long mmr; in gru_chiplet_teardown_tlb_irq() local
403 mmr = gru_chiplet_cpu_to_mmr(chiplet, cpu, &core); in gru_chiplet_teardown_tlb_irq()
404 if (mmr == 0) in gru_chiplet_teardown_tlb_irq()
[all …]
/linux-2.6.39/drivers/char/
Dmbcs.c82 static inline void mbcs_getdma_set(void *mmr, in mbcs_getdma_set() argument
107 MBCS_MMR_SET(mmr, MBCS_RD_DMA_SYS_ADDR, host_addr.dma_hostaddr_reg); in mbcs_getdma_set()
111 MBCS_MMR_SET(mmr, MBCS_RD_DMA_LOC_ADDR, local_addr.dma_localaddr_reg); in mbcs_getdma_set()
117 MBCS_MMR_SET(mmr, MBCS_RD_DMA_CTRL, rdma_control.dma_control_reg); in mbcs_getdma_set()
121 MBCS_MMR_SET(mmr, MBCS_RD_DMA_AMO_DEST, amo_dest.dma_amo_dest_reg); in mbcs_getdma_set()
125 MBCS_MMR_SET(mmr, MBCS_RD_DMA_INT_DEST, intr_dest.intr_dest_reg); in mbcs_getdma_set()
129 static inline void mbcs_putdma_set(void *mmr, in mbcs_putdma_set() argument
154 MBCS_MMR_SET(mmr, MBCS_WR_DMA_SYS_ADDR, host_addr.dma_hostaddr_reg); in mbcs_putdma_set()
158 MBCS_MMR_SET(mmr, MBCS_WR_DMA_LOC_ADDR, local_addr.dma_localaddr_reg); in mbcs_putdma_set()
164 MBCS_MMR_SET(mmr, MBCS_WR_DMA_CTRL, wdma_control.dma_control_reg); in mbcs_putdma_set()
[all …]
/linux-2.6.39/arch/ia64/include/asm/sn/
Drw_mmr.h24 extern long pio_phys_read_mmr(volatile long *mmr);
25 extern void pio_phys_write_mmr(volatile long *mmr, long val);
/linux-2.6.39/arch/x86/kernel/apic/
Dx2apic_uv_x.c63 unsigned long val, *mmr; in uv_early_read_mmr() local
65 mmr = early_ioremap(UV_LOCAL_MMR_BASE | addr, sizeof(*mmr)); in uv_early_read_mmr()
66 val = *mmr; in uv_early_read_mmr()
67 early_iounmap(mmr, sizeof(*mmr)); in uv_early_read_mmr()
469 union uvh_rh_gam_mmr_overlay_config_mmr_u mmr; in map_mmr_high() local
472 mmr.v = uv_read_local_mmr(UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR); in map_mmr_high()
473 if (mmr.s.enable) in map_mmr_high()
474 map_high("MMR", mmr.s.base, shift, shift, max_pnode, map_uc); in map_mmr_high()
/linux-2.6.39/arch/x86/platform/uv/
Dtlb_uv.c139 unsigned long mmr = 0; in uv_bau_process_retry_msg() local
163 mmr = uv_read_local_mmr in uv_bau_process_retry_msg()
172 if (mmr & (msg_res << UV_SW_ACK_NPENDING)) { in uv_bau_process_retry_msg()
283 unsigned long mmr; in uv_do_reset() local
318 mmr = uv_read_local_mmr in uv_do_reset()
321 if (mmr & msg_res) { in uv_do_reset()
1655 unsigned long mmr; in uv_bau_init() local
1700 mmr = 1; /* should be 1 to broadcast to both sockets */ in uv_bau_init()
1702 mmr); in uv_bau_init()
/linux-2.6.39/drivers/video/mb862xx/
Dmb862xxfb.h25 unsigned long mmr; /* memory mode for SDRAM */ member
Dmb862xxfb.c508 unsigned long ccf, mmr; in mb862xx_gdc_init() local
534 mmr = par->gc_mode ? par->gc_mode->mmr : 0x414fb7f2; in mb862xx_gdc_init()
543 outreg(host, GC_MMR, mmr); in mb862xx_gdc_init()
/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_provider.c1115 struct mthca_mr *mmr = to_mmr(mr); in mthca_dereg_mr() local
1117 mthca_free_mr(to_mdev(mr->device), mmr); in mthca_dereg_mr()
1118 if (mmr->umem) in mthca_dereg_mr()
1119 ib_umem_release(mmr->umem); in mthca_dereg_mr()
1120 kfree(mmr); in mthca_dereg_mr()