/drivers/spi/ |
D | spi-fsl-cpm.c | 62 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 …]
|
D | spi-fsl-lib.h | 37 struct spi_pram __iomem *pram; member
|
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ram.c | 35 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_()
|
D | ramgm107.c | 34 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()
|
D | ramnv49.c | 27 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()
|
D | ramnv41.c | 27 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()
|
D | ramnv20.c | 27 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()
|
D | ramnv40.c | 198 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()
|
D | ramnv4e.c | 27 nv4e_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in nv4e_ram_new() argument 32 size, 0, 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, 0, 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, 0, pram); in nv44_ram_new()
|
D | ramnv1a.c | 27 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()
|
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, 0, pram); in nv04_ram_new()
|
D | rammcp77.c | 61 mcp77_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in mcp77_ram_new() argument 73 *pram = &ram->base; in mcp77_ram_new()
|
D | ramgp100.c | 87 gp100_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in gp100_ram_new() argument 118 *pram = ram; in gp100_ram_new()
|
D | nv50.c | 44 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()
|
D | ramgf100.c | 629 gf100_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) in gf100_ram_new() argument 638 *pram = &ram->base; in gf100_ram_new()
|
D | ramnv50.c | 681 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/ |
D | cpm_uart_cpm2.c | 59 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()
|
D | cpm_uart_cpm1.c | 64 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()
|
D | cpm_uart_core.c | 1154 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()
|
D | cpm_uart.h | 97 void cpm_uart_unmap_pram(struct uart_cpm_port *port, void __iomem *pram);
|
/drivers/usb/host/ |
D | fhci-hcd.c | 43 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()
|
D | fhci.h | 253 struct fhci_pram __iomem *pram; /* Parameter RAM */ member 454 return in_be16(&fhci->pram->frame_num) & 0x07ff; in get_frame_num()
|
D | fhci-sched.c | 344 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()
|