Home
last modified time | relevance | path

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

12

/drivers/spi/
Dspi-fsl-cpm.c62 out_be32(&mspi->pram->rstate, 0); in fsl_spi_cpm_reinit_txrx()
63 out_be16(&mspi->pram->rbptr, in fsl_spi_cpm_reinit_txrx()
64 in_be16(&mspi->pram->rbase)); in fsl_spi_cpm_reinit_txrx()
65 out_be32(&mspi->pram->tstate, 0); in fsl_spi_cpm_reinit_txrx()
66 out_be16(&mspi->pram->tbptr, in fsl_spi_cpm_reinit_txrx()
67 in_be16(&mspi->pram->tbase)); in fsl_spi_cpm_reinit_txrx()
313 void *pram; in fsl_spi_cpm_init() local
317 pram = devm_ioremap_resource(dev, res); in fsl_spi_cpm_init()
318 if (IS_ERR(pram)) in fsl_spi_cpm_init()
319 mspi->pram = NULL; in fsl_spi_cpm_init()
[all …]
Dspi-fsl-lib.h37 struct spi_pram __iomem *pram; member
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dram.c35 nvkm_ram_del(struct nvkm_ram **pram) in nvkm_ram_del() argument
37 struct nvkm_ram *ram = *pram; in nvkm_ram_del()
40 *pram = ram->func->dtor(ram); in nvkm_ram_del()
43 kfree(*pram); in nvkm_ram_del()
44 *pram = NULL; in nvkm_ram_del()
95 struct nvkm_ram **pram) in nvkm_ram_new_() argument
97 if (!(*pram = kzalloc(sizeof(**pram), GFP_KERNEL))) in nvkm_ram_new_()
99 return nvkm_ram_ctor(func, fb, type, size, tags, *pram); in nvkm_ram_new_()
Dramgm107.c34 gm107_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in gm107_ram_new() argument
36 if (!(*pram = kzalloc(sizeof(**pram), GFP_KERNEL))) in gm107_ram_new()
39 return gf100_ram_ctor(&gm107_ram_func, fb, 0x021c14, *pram); in gm107_ram_new()
Dramnv49.c27 nv49_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv49_ram_new() argument
43 ret = nv40_ram_new_(fb, type, size, tags, pram); in nv49_ram_new()
47 (*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
43 ret = nv40_ram_new_(fb, type, size, tags, pram); in nv41_ram_new()
47 (*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
43 ret = nvkm_ram_new_(&nv04_ram_func, fb, type, size, tags, pram); in nv20_ram_new()
47 (*pram)->parts = (nvkm_rd32(device, 0x100200) & 0x00000003) + 1; in nv20_ram_new()
Dramnv40.c198 u32 tags, struct nvkm_ram **pram) in nv40_ram_new_() argument
203 *pram = &ram->base; in nv40_ram_new_()
208 nv40_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv40_ram_new() argument
224 ret = nv40_ram_new_(fb, type, size, tags, pram); in nv40_ram_new()
228 (*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, 0, 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, 0, 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, 0, pram); in nv44_ram_new()
Dramnv1a.c27 nv1a_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv1a_ram_new() argument
47 mib * 1024 * 1024, 0, pram); in nv1a_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, 0, pram); in nv04_ram_new()
Drammcp77.c61 mcp77_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in mcp77_ram_new() argument
73 *pram = &ram->base; in mcp77_ram_new()
Dramgp100.c87 gp100_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in gp100_ram_new() argument
118 *pram = ram; in gp100_ram_new()
Dnv50.c44 nv50_fb_ram_new(struct nvkm_fb *base, struct nvkm_ram **pram) in nv50_fb_ram_new() argument
47 return fb->func->ram_new(&fb->base, pram); in nv50_fb_ram_new()
Dramgf100.c629 gf100_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in gf100_ram_new() argument
638 *pram = &ram->base; in gf100_ram_new()
Dramnv50.c681 nv50_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv50_ram_new() argument
688 *pram = &ram->base; in nv50_ram_new()
/drivers/tty/serial/cpm_uart/
Dcpm_uart_cpm2.c59 void __iomem *pram; in cpm_uart_map_pram() local
76 pram = ioremap(res.start, len); in cpm_uart_map_pram()
77 if (!pram) in cpm_uart_map_pram()
81 return pram; in cpm_uart_map_pram()
89 return pram; in cpm_uart_map_pram()
93 out_be16(pram, offset); in cpm_uart_map_pram()
94 iounmap(pram); in cpm_uart_map_pram()
98 void cpm_uart_unmap_pram(struct uart_cpm_port *port, void __iomem *pram) in cpm_uart_unmap_pram() argument
101 iounmap(pram); in cpm_uart_unmap_pram()
Dcpm_uart_cpm1.c64 void cpm_uart_unmap_pram(struct uart_cpm_port *port, void __iomem *pram) in cpm_uart_unmap_pram() argument
66 iounmap(pram); in cpm_uart_unmap_pram()
Dcpm_uart_core.c1154 void __iomem *mem, *pram; in cpm_uart_init_port() local
1190 pinfo->sccup = pram = cpm_uart_map_pram(pinfo, np); in cpm_uart_init_port()
1195 pinfo->smcup = pram = cpm_uart_map_pram(pinfo, np); in cpm_uart_init_port()
1201 if (!pram) { in cpm_uart_init_port()
1259 cpm_uart_unmap_pram(pinfo, pram); in cpm_uart_init_port()
Dcpm_uart.h97 void cpm_uart_unmap_pram(struct uart_cpm_port *port, void __iomem *pram);
/drivers/usb/host/
Dfhci-hcd.c43 out_be16(&fhci->pram->frame_num, 0); in fhci_start_sof_timer()
264 memset_io(usb->fhci->pram, 0, FHCI_PRAM_SIZE); in fhci_usb_init()
279 out_be16(&fhci->pram->frame_num, 0); in fhci_usb_init()
282 out_be32(&fhci->pram->rx_state, 0); in fhci_usb_init()
633 fhci->pram = cpm_muram_addr(pram_addr); in of_fhci_probe()
795 cpm_muram_free(cpm_muram_offset(fhci->pram)); in fhci_remove()
Dfhci.h253 struct fhci_pram __iomem *pram; /* Parameter RAM */ member
454 return in_be16(&fhci->pram->frame_num) & 0x07ff; in get_frame_num()
Dfhci-sched.c344 if ((((in_be16(&fhci->pram->frame_num) & 0x07ff) - in rotate_frames()
352 usb->actual_frame->frame_num = in_be16(&fhci->pram->frame_num) & 0x7ff; in rotate_frames()

12