/drivers/spi/ |
D | spi-fsl-cpm.c | 59 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 …]
|
D | spi-fsl-lib.h | 29 struct spi_pram __iomem *pram; member
|
/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_cpm2.c | 45 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()
|
D | cpm_uart_cpm1.c | 50 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()
|
D | cpm_uart_core.c | 1140 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()
|
D | cpm_uart.h | 95 void cpm_uart_unmap_pram(struct uart_cpm_port *port, void __iomem *pram);
|
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ram.c | 159 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_()
|
D | ramnv49.c | 27 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()
|
D | ramnv41.c | 27 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()
|
D | ramnv20.c | 27 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()
|
D | ramnv40.c | 192 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()
|
D | ramnv4e.c | 27 nv4e_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv4e_ram_new() argument 32 size, pram); in nv4e_ram_new()
|
D | ramnv10.c | 27 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()
|
D | ramnv44.c | 27 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()
|
D | ramgm107.c | 48 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()
|
D | ramnv04.c | 32 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()
|
D | ramnv1a.c | 27 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()
|
D | ramgf108.c | 57 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()
|
D | ramgm200.c | 63 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()
|
D | ramgp100.c | 90 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()
|
D | rammcp77.c | 59 mcp77_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in mcp77_ram_new() argument 71 *pram = &ram->base; in mcp77_ram_new()
|
D | nv50.c | 32 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()
|
D | ramgf100.c | 568 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/ |
D | fhci-hcd.c | 39 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()
|
D | fhci.h | 249 struct fhci_pram __iomem *pram; /* Parameter RAM */ member 448 return in_be16(&fhci->pram->frame_num) & 0x07ff; in get_frame_num()
|