Home
last modified time | relevance | path

Searched refs:pram (Results 1 – 25 of 30) sorted by relevance

12

/drivers/spi/
Dspi-fsl-cpm.c59 out_be32(&mspi->pram->rstate, 0); in fsl_spi_cpm_reinit_txrx()
60 out_be16(&mspi->pram->rbptr, in fsl_spi_cpm_reinit_txrx()
61 in_be16(&mspi->pram->rbase)); in fsl_spi_cpm_reinit_txrx()
62 out_be32(&mspi->pram->tstate, 0); in fsl_spi_cpm_reinit_txrx()
63 out_be16(&mspi->pram->tbptr, in fsl_spi_cpm_reinit_txrx()
64 in_be16(&mspi->pram->tbase)); in fsl_spi_cpm_reinit_txrx()
331 void *pram; in fsl_spi_cpm_init() local
333 pram = devm_platform_ioremap_resource(to_platform_device(dev), in fsl_spi_cpm_init()
335 if (IS_ERR(pram)) in fsl_spi_cpm_init()
336 mspi->pram = NULL; in fsl_spi_cpm_init()
[all …]
Dspi-fsl-lib.h29 struct spi_pram __iomem *pram; member
/drivers/tty/serial/cpm_uart/
Dcpm_uart_cpm2.c45 void __iomem *pram; in cpm_uart_map_pram() local
62 pram = ioremap(res.start, len); in cpm_uart_map_pram()
63 if (!pram) in cpm_uart_map_pram()
67 return pram; in cpm_uart_map_pram()
75 return pram; in cpm_uart_map_pram()
79 out_be16(pram, offset); in cpm_uart_map_pram()
80 iounmap(pram); in cpm_uart_map_pram()
84 void cpm_uart_unmap_pram(struct uart_cpm_port *port, void __iomem *pram) in cpm_uart_unmap_pram() argument
87 iounmap(pram); in cpm_uart_unmap_pram()
Dcpm_uart_cpm1.c50 void cpm_uart_unmap_pram(struct uart_cpm_port *port, void __iomem *pram) in cpm_uart_unmap_pram() argument
52 iounmap(pram); in cpm_uart_unmap_pram()
Dcpm_uart_core.c1140 void __iomem *mem, *pram; in cpm_uart_init_port() local
1177 pinfo->sccup = pram = cpm_uart_map_pram(pinfo, np); in cpm_uart_init_port()
1182 pinfo->smcup = pram = cpm_uart_map_pram(pinfo, np); in cpm_uart_init_port()
1188 if (!pram) { in cpm_uart_init_port()
1248 cpm_uart_unmap_pram(pinfo, pram); in cpm_uart_init_port()
Dcpm_uart.h95 void cpm_uart_unmap_pram(struct uart_cpm_port *port, void __iomem *pram);
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dram.c159 nvkm_ram_del(struct nvkm_ram **pram) in nvkm_ram_del() argument
161 struct nvkm_ram *ram = *pram; in nvkm_ram_del()
164 *pram = ram->func->dtor(ram); in nvkm_ram_del()
166 kfree(*pram); in nvkm_ram_del()
167 *pram = NULL; in nvkm_ram_del()
212 enum nvkm_ram_type type, u64 size, struct nvkm_ram **pram) in nvkm_ram_new_() argument
214 if (!(*pram = kzalloc(sizeof(**pram), GFP_KERNEL))) in nvkm_ram_new_()
216 return nvkm_ram_ctor(func, fb, type, size, *pram); in nvkm_ram_new_()
Dramnv49.c27 nv49_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv49_ram_new() argument
42 ret = nv40_ram_new_(fb, type, size, pram); in nv49_ram_new()
46 (*pram)->parts = (nvkm_rd32(device, 0x100200) & 0x00000003) + 1; in nv49_ram_new()
Dramnv41.c27 nv41_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv41_ram_new() argument
42 ret = nv40_ram_new_(fb, type, size, pram); in nv41_ram_new()
46 (*pram)->parts = (nvkm_rd32(device, 0x100200) & 0x00000003) + 1; in nv41_ram_new()
Dramnv20.c27 nv20_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv20_ram_new() argument
42 ret = nvkm_ram_new_(&nv04_ram_func, fb, type, size, pram); in nv20_ram_new()
46 (*pram)->parts = (nvkm_rd32(device, 0x100200) & 0x00000003) + 1; in nv20_ram_new()
Dramnv40.c192 struct nvkm_ram **pram) in nv40_ram_new_() argument
197 *pram = &ram->base; in nv40_ram_new_()
202 nv40_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv40_ram_new() argument
217 ret = nv40_ram_new_(fb, type, size, pram); in nv40_ram_new()
221 (*pram)->parts = (nvkm_rd32(device, 0x100200) & 0x00000003) + 1; in nv40_ram_new()
Dramnv4e.c27 nv4e_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv4e_ram_new() argument
32 size, pram); in nv4e_ram_new()
Dramnv10.c27 nv10_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv10_ram_new() argument
39 return nvkm_ram_new_(&nv04_ram_func, fb, type, size, pram); in nv10_ram_new()
Dramnv44.c27 nv44_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv44_ram_new() argument
41 return nv40_ram_new_(fb, type, size, pram); in nv44_ram_new()
Dramgm107.c48 gm107_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in gm107_ram_new() argument
50 return gk104_ram_new_(&gm107_ram, fb, pram); in gm107_ram_new()
Dramnv04.c32 nv04_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv04_ram_new() argument
64 return nvkm_ram_new_(&nv04_ram_func, fb, type, size, pram); in nv04_ram_new()
Dramnv1a.c27 nv1a_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv1a_ram_new() argument
55 mib * 1024 * 1024, pram); in nv1a_ram_new()
Dramgf108.c57 gf108_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in gf108_ram_new() argument
59 return gf100_ram_new_(&gf108_ram, fb, pram); in gf108_ram_new()
Dramgm200.c63 gm200_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in gm200_ram_new() argument
65 return gk104_ram_new_(&gm200_ram, fb, pram); in gm200_ram_new()
Dramgp100.c90 gp100_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in gp100_ram_new() argument
94 if (!(ram = *pram = kzalloc(sizeof(*ram), GFP_KERNEL))) in gp100_ram_new()
Drammcp77.c59 mcp77_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in mcp77_ram_new() argument
71 *pram = &ram->base; in mcp77_ram_new()
Dnv50.c32 nv50_fb_ram_new(struct nvkm_fb *base, struct nvkm_ram **pram) in nv50_fb_ram_new() argument
35 return fb->func->ram_new(&fb->base, pram); in nv50_fb_ram_new()
Dramgf100.c568 struct nvkm_fb *fb, struct nvkm_ram **pram) in gf100_ram_new_() argument
577 *pram = &ram->base; in gf100_ram_new_()
669 gf100_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in gf100_ram_new() argument
671 return gf100_ram_new_(&gf100_ram, fb, pram); in gf100_ram_new()
/drivers/usb/host/
Dfhci-hcd.c39 out_be16(&fhci->pram->frame_num, 0); in fhci_start_sof_timer()
260 memset_io(usb->fhci->pram, 0, FHCI_PRAM_SIZE); in fhci_usb_init()
275 out_be16(&fhci->pram->frame_num, 0); in fhci_usb_init()
278 out_be32(&fhci->pram->rx_state, 0); in fhci_usb_init()
630 fhci->pram = cpm_muram_addr(pram_addr); in of_fhci_probe()
792 cpm_muram_free(cpm_muram_offset(fhci->pram)); in fhci_remove()
Dfhci.h249 struct fhci_pram __iomem *pram; /* Parameter RAM */ member
448 return in_be16(&fhci->pram->frame_num) & 0x07ff; in get_frame_num()

12