Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/spi/
Dspi-fsl-cpm.c58 out_be32(&mspi->pram->rstate, 0); in fsl_spi_cpm_reinit_txrx()
59 out_be16(&mspi->pram->rbptr, in fsl_spi_cpm_reinit_txrx()
60 in_be16(&mspi->pram->rbase)); in fsl_spi_cpm_reinit_txrx()
61 out_be32(&mspi->pram->tstate, 0); in fsl_spi_cpm_reinit_txrx()
62 out_be16(&mspi->pram->tbptr, in fsl_spi_cpm_reinit_txrx()
63 in_be16(&mspi->pram->tbase)); in fsl_spi_cpm_reinit_txrx()
308 void *pram; in fsl_spi_cpm_init() local
310 pram = devm_platform_ioremap_resource(to_platform_device(dev), in fsl_spi_cpm_init()
312 if (IS_ERR(pram)) in fsl_spi_cpm_init()
313 mspi->pram = NULL; in fsl_spi_cpm_init()
[all …]
Dspi-fsl-lib.h29 struct spi_pram __iomem *pram; member
/linux-6.1.9/drivers/tty/serial/cpm_uart/
Dcpm_uart_cpm2.c44 void __iomem *pram; in cpm_uart_map_pram() local
61 pram = ioremap(res.start, len); in cpm_uart_map_pram()
62 if (!pram) in cpm_uart_map_pram()
66 return pram; in cpm_uart_map_pram()
74 return pram; in cpm_uart_map_pram()
78 out_be16(pram, offset); in cpm_uart_map_pram()
79 iounmap(pram); in cpm_uart_map_pram()
83 void cpm_uart_unmap_pram(struct uart_cpm_port *port, void __iomem *pram) in cpm_uart_unmap_pram() argument
86 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.h96 void cpm_uart_unmap_pram(struct uart_cpm_port *port, void __iomem *pram);
/linux-6.1.9/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()
167 kfree(*pram); in nvkm_ram_del()
168 *pram = NULL; in nvkm_ram_del()
214 enum nvkm_ram_type type, u64 size, struct nvkm_ram **pram) in nvkm_ram_new_() argument
216 if (!(*pram = kzalloc(sizeof(**pram), GFP_KERNEL))) in nvkm_ram_new_()
218 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()
Dramga102.c33 ga102_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in ga102_ram_new() argument
39 return nvkm_ram_new_(&ga102_ram, fb, type, (u64)size << 20, pram); in ga102_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()
/linux-6.1.9/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()
629 fhci->pram = cpm_muram_addr(pram_addr); in of_fhci_probe()
769 cpm_muram_free(cpm_muram_offset(fhci->pram)); in fhci_remove()
/linux-6.1.9/sound/soc/sh/
Dsiu_dai.c254 add = info->pram; in siu_dai_spbstart()
259 add = info->pram + (0x0100 / sizeof(u32)); in siu_dai_spbstart()
752 info->pram = devm_ioremap(&pdev->dev, res->start, PRAM_SIZE); in siu_probe()
753 if (!info->pram) in siu_probe()

12