/linux-4.4.14/sound/soc/atmel/ |
H A D | Makefile | 2 snd-soc-atmel-pcm-pdc-objs := atmel-pcm-pdc.o 6 obj-$(CONFIG_SND_ATMEL_SOC_PDC) += snd-soc-atmel-pcm-pdc.o
|
H A D | atmel-pcm-pdc.c | 185 ssc_writex(params->ssc->regs, params->pdc->xpr, atmel_pcm_dma_irq() 187 ssc_writex(params->ssc->regs, params->pdc->xcr, atmel_pcm_dma_irq() 199 ssc_writex(params->ssc->regs, params->pdc->xnpr, atmel_pcm_dma_irq() 201 ssc_writex(params->ssc->regs, params->pdc->xncr, atmel_pcm_dma_irq() 283 ssc_writex(params->ssc->regs, params->pdc->xpr, atmel_pcm_trigger() 285 ssc_writex(params->ssc->regs, params->pdc->xcr, atmel_pcm_trigger() 289 ssc_writex(params->ssc->regs, params->pdc->xnpr, atmel_pcm_trigger() 291 ssc_writex(params->ssc->regs, params->pdc->xncr, atmel_pcm_trigger() 298 ssc_readx(params->ssc->regs, params->pdc->xpr), atmel_pcm_trigger() 299 ssc_readx(params->ssc->regs, params->pdc->xcr), atmel_pcm_trigger() 300 ssc_readx(params->ssc->regs, params->pdc->xnpr), atmel_pcm_trigger() 301 ssc_readx(params->ssc->regs, params->pdc->xncr)); atmel_pcm_trigger() 342 ptr = (dma_addr_t) ssc_readx(params->ssc->regs, params->pdc->xpr); atmel_pcm_pointer()
|
H A D | atmel-pcm.h | 74 struct atmel_pdc_regs *pdc; /* PDC receive or transmit registers */ member in struct:atmel_pcm_dma_params
|
H A D | atmel_ssc_dai.c | 98 .pdc = &pdc_tx_reg, 103 .pdc = &pdc_rx_reg, 108 .pdc = &pdc_tx_reg, 113 .pdc = &pdc_rx_reg, 118 .pdc = &pdc_tx_reg, 123 .pdc = &pdc_rx_reg,
|
/linux-4.4.14/arch/parisc/kernel/ |
H A D | processor.c | 40 #include <asm/pdc.h> 249 #define p ((unsigned long *)&boot_cpu_data.pdc.model) collect_boot_cpu_data() 250 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) collect_boot_cpu_data() 256 if (pdc_model_versions(&boot_cpu_data.pdc.versions, 0) == PDC_OK) collect_boot_cpu_data() 258 boot_cpu_data.pdc.versions); collect_boot_cpu_data() 260 if (pdc_model_cpuid(&boot_cpu_data.pdc.cpuid) == PDC_OK) collect_boot_cpu_data() 262 (boot_cpu_data.pdc.cpuid >> 5) & 127, collect_boot_cpu_data() 263 boot_cpu_data.pdc.cpuid & 31, collect_boot_cpu_data() 264 boot_cpu_data.pdc.cpuid); collect_boot_cpu_data() 266 if (pdc_model_capabilities(&boot_cpu_data.pdc.capabilities) == PDC_OK) collect_boot_cpu_data() 268 boot_cpu_data.pdc.capabilities); collect_boot_cpu_data() 270 if (pdc_model_sysmodel(boot_cpu_data.pdc.sys_model_name) == PDC_OK) collect_boot_cpu_data() 272 boot_cpu_data.pdc.sys_model_name); collect_boot_cpu_data() 274 boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion; collect_boot_cpu_data() 275 boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion; collect_boot_cpu_data() 373 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_OS32) for_each_online_cpu() 375 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_OS64) for_each_online_cpu() 377 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_IOPDIR_FDC) for_each_online_cpu() 379 switch (boot_cpu_data.pdc.capabilities & PDC_MODEL_NVA_MASK) { for_each_online_cpu() 390 seq_printf(m, " (0x%02lx)\n", boot_cpu_data.pdc.capabilities); for_each_online_cpu() 394 boot_cpu_data.pdc.sys_model_name, for_each_online_cpu() 411 boot_cpu_data.pdc.model.sw_id); for_each_online_cpu()
|
H A D | inventory.c | 29 #include <asm/pdc.h> 54 /* Determine the pdc "type" used on this machine */ setup_pdc() 67 * is a pdc pat box, or it is an older box. All 64 bit capable setup_pdc() 68 * machines are either pdc pat boxes or they support PDC_SYSTEM_MAP. setup_pdc() 110 #define PDC_PAGE_ADJ_SHIFT (PAGE_SHIFT - 12) /* pdc pages are always 4k */ 120 * pdc info is bad in this case). set_pmem_entry() 277 /* pat pdc can return information about a variety of different 304 /* The above pdc call shouldn't fail, but, just in pat_memconfig() 395 /* The above pdc call only works on boxes with sprockets sprockets_memconfig()
|
H A D | pdc_cons.c | 54 #include <asm/pdc.h> /* for iodc_call() proto and friends */ 164 * It is unregistered if the pdc console was not selected as the pdc_console_tty_driver_init() 242 /* register the pdc console */ pdc_console_init_force() 261 * all of the current consoles, reinitializes the pdc console and 279 /* force registering the pdc console */ pdc_console_restart()
|
H A D | pacache.S | 23 * NOTE: fdc,fic, and pdc instructions that use base register modification 1046 1: pdc,m %r23(%r26) 1047 pdc,m %r23(%r26) 1048 pdc,m %r23(%r26) 1049 pdc,m %r23(%r26) 1050 pdc,m %r23(%r26) 1051 pdc,m %r23(%r26) 1052 pdc,m %r23(%r26) 1053 pdc,m %r23(%r26) 1054 pdc,m %r23(%r26) 1055 pdc,m %r23(%r26) 1056 pdc,m %r23(%r26) 1057 pdc,m %r23(%r26) 1058 pdc,m %r23(%r26) 1059 pdc,m %r23(%r26) 1060 pdc,m %r23(%r26) 1062 pdc,m %r23(%r26)
|
H A D | traps.c | 38 #include <asm/pdc.h> 258 /* unlock the pdc lock if necessary */ die_if_kernel() 263 * re-enable the pdc console, so that the user will be able to die_if_kernel() 436 /* unlock the pdc lock if necessary */ parisc_terminate() 439 /* restart pdc console if necessary */ parisc_terminate() 494 pdc_console_restart(); /* switch back to pdc if HPMC */ handle_interruption() 666 fdc,fdce,pdc,"fic,4f",prober,probeir,probew, probeiw handle_interruption()
|
H A D | hpmc.S | 36 * before calling pdc/iodc. 47 #include <asm/pdc.h>
|
H A D | pdc_chassis.c | 43 #include <asm/pdc.h> 69 * @pdc_chassis_old: 1 if old pdc chassis style
|
H A D | firmware.c | 26 * - the name of the pdc wrapper should match one of the macros 34 * - the name of the struct used for pdc return values should equal 68 #include <asm/pdc.h> 190 * pdc_emergency_unlock - Unlock the linux pdc lock 192 * This call unlocks the linux pdc lock in case we need some PDC functions 796 #define IS_SPROCKETS() (strlen(boot_cpu_data.pdc.sys_model_name) == 14 && \ pdc_get_initiator() 797 strncmp(boot_cpu_data.pdc.sys_model_name, "9000/785", 8) == 0) pdc_get_initiator() 998 /* FIXME: Is this pdc used? I could not find type reference to ftc_bitmap
|
H A D | cache.c | 21 #include <asm/pdc.h> 228 if ((boot_cpu_data.pdc.capabilities & PDC_MODEL_NVA_MASK) == parisc_cache_init()
|
H A D | process.c | 57 #include <asm/pdc.h>
|
H A D | real2.S | 11 #include <asm/pdc.h>
|
H A D | time.c | 34 #include <asm/pdc.h>
|
H A D | head.S | 17 #include <asm/pdc.h>
|
H A D | setup.c | 41 #include <asm/pdc.h>
|
H A D | entry.S | 1333 * Non access misses can be caused by fdc,fic,pdc,lpa,probe and 1342 * emulate fdc,fic,pdc,probew,prober instructions whose base 1350 Checks for fdc,fdce,pdc,"fic,4f",prober,probeir,probew, probeiw */ 1352 /* Checks for fdc,fdce,pdc,"fic,4f" only */
|
H A D | asm-offsets.c | 40 #include <asm/pdc.h>
|
H A D | drivers.c | 39 #include <asm/pdc.h>
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
H A D | pdc.c | 39 .name = "pdc",
|
H A D | at32ap700x.c | 713 .name = "pdc", 716 DEV_CLK(hclk, pdc, hsb, 4); 717 DEV_CLK(pclk, pdc, pba, 16);
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpio-tz1090-pdc.c | 190 priv->chip.label = "tz1090-pdc-gpio"; tz1090_pdc_gpio_probe() 216 { .compatible = "img,tz1090-pdc-gpio" }, 222 .name = "tz1090-pdc-gpio",
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | atmel_serial.c | 1324 struct atmel_dma_buffer *pdc = &atmel_port->pdc_tx; atmel_release_tx_pdc() local 1327 pdc->dma_addr, atmel_release_tx_pdc() 1328 pdc->dma_size, atmel_release_tx_pdc() 1339 struct atmel_dma_buffer *pdc = &atmel_port->pdc_tx; atmel_tx_pdc() local 1346 xmit->tail += pdc->ofs; atmel_tx_pdc() 1349 port->icount.tx += pdc->ofs; atmel_tx_pdc() 1350 pdc->ofs = 0; atmel_tx_pdc() 1359 pdc->dma_addr, atmel_tx_pdc() 1360 pdc->dma_size, atmel_tx_pdc() 1364 pdc->ofs = count; atmel_tx_pdc() 1367 pdc->dma_addr + xmit->tail); atmel_tx_pdc() 1389 struct atmel_dma_buffer *pdc = &atmel_port->pdc_tx; atmel_prepare_tx_pdc() local 1392 pdc->buf = xmit->buf; atmel_prepare_tx_pdc() 1393 pdc->dma_addr = dma_map_single(port->dev, atmel_prepare_tx_pdc() 1394 pdc->buf, atmel_prepare_tx_pdc() 1397 pdc->dma_size = UART_XMIT_SIZE; atmel_prepare_tx_pdc() 1398 pdc->ofs = 0; atmel_prepare_tx_pdc() 1477 struct atmel_dma_buffer *pdc = &atmel_port->pdc_rx[i]; atmel_release_rx_pdc() local 1480 pdc->dma_addr, atmel_release_rx_pdc() 1481 pdc->dma_size, atmel_release_rx_pdc() 1483 kfree(pdc->buf); atmel_release_rx_pdc() 1491 struct atmel_dma_buffer *pdc; atmel_rx_from_pdc() local 1501 pdc = &atmel_port->pdc_rx[rx_idx]; atmel_rx_from_pdc() 1502 head = atmel_uart_readl(port, ATMEL_PDC_RPR) - pdc->dma_addr; atmel_rx_from_pdc() 1503 tail = pdc->ofs; atmel_rx_from_pdc() 1515 head = min(head, pdc->dma_size); atmel_rx_from_pdc() 1518 dma_sync_single_for_cpu(port->dev, pdc->dma_addr, atmel_rx_from_pdc() 1519 pdc->dma_size, DMA_FROM_DEVICE); atmel_rx_from_pdc() 1529 tty_insert_flip_string(tport, pdc->buf + pdc->ofs, atmel_rx_from_pdc() 1532 dma_sync_single_for_device(port->dev, pdc->dma_addr, atmel_rx_from_pdc() 1533 pdc->dma_size, DMA_FROM_DEVICE); atmel_rx_from_pdc() 1536 pdc->ofs = head; atmel_rx_from_pdc() 1543 if (head >= pdc->dma_size) { atmel_rx_from_pdc() 1544 pdc->ofs = 0; atmel_rx_from_pdc() 1545 atmel_uart_writel(port, ATMEL_PDC_RNPR, pdc->dma_addr); atmel_rx_from_pdc() 1546 atmel_uart_writel(port, ATMEL_PDC_RNCR, pdc->dma_size); atmel_rx_from_pdc() 1551 } while (head >= pdc->dma_size); atmel_rx_from_pdc() 1571 struct atmel_dma_buffer *pdc = &atmel_port->pdc_rx[i]; atmel_prepare_rx_pdc() local 1573 pdc->buf = kmalloc(PDC_BUFFER_SIZE, GFP_KERNEL); atmel_prepare_rx_pdc() 1574 if (pdc->buf == NULL) { atmel_prepare_rx_pdc() 1585 pdc->dma_addr = dma_map_single(port->dev, atmel_prepare_rx_pdc() 1586 pdc->buf, atmel_prepare_rx_pdc() 1589 pdc->dma_size = PDC_BUFFER_SIZE; atmel_prepare_rx_pdc() 1590 pdc->ofs = 0; atmel_prepare_rx_pdc()
|
/linux-4.4.14/arch/parisc/include/asm/ |
H A D | rtc.h | 17 #include <asm/pdc.h>
|
H A D | page.h | 175 #include <asm/pdc.h>
|
H A D | pdc.h | 4 #include <uapi/asm/pdc.h> 264 /* wrapper-functions from pdc.c */
|
H A D | processor.h | 16 #include <asm/pdc.h> 86 } pdc; member in struct:system_cpuinfo_parisc
|
/linux-4.4.14/arch/parisc/math-emu/ |
H A D | fpu.h | 46 #include <machine/pdc/pdc_rqsts.h>
|
/linux-4.4.14/drivers/irqchip/ |
H A D | irq-imgpdc.c | 65 * struct pdc_intc_priv - private pdc interrupt data. 397 ret = irq_alloc_domain_generic_chips(priv->domain, 8, 2, "pdc", pdc_intc_probe() 483 { .compatible = "img,pdc-intc" }, 489 .name = "pdc-intc",
|
/linux-4.4.14/drivers/dma/ |
H A D | pch_dma.c | 118 #define channel_readl(pdc, name) \ 119 readl((pdc)->membase + PDC_##name) 120 #define channel_writel(pdc, name, val) \ 121 writel((val), (pdc)->membase + PDC_##name)
|
/linux-4.4.14/drivers/acpi/ |
H A D | processor_pdc.c | 76 /* allocate and initialize pdc. It will be used later. */ acpi_processor_alloc_pdc()
|
/linux-4.4.14/drivers/pinctrl/ |
H A D | pinctrl-tz1090-pdc.c | 222 DRV_PG(pdc), 973 { .compatible = "img,tz1090-pdc-pinctrl", }, 979 .name = "tz1090-pdc-pinctrl",
|
/linux-4.4.14/drivers/parisc/ |
H A D | power.c | 46 #include <asm/pdc.h>
|
H A D | led.c | 51 #include <asm/pdc.h> 253 proc_pdc_root = proc_mkdir("pdc", 0); led_create_procfs()
|
H A D | sba_iommu.c | 48 #include <asm/pdc.h> /* for PDC_MODEL_* */ 1131 if ( ((boot_cpu_data.pdc.cpuid >> 5) & 0x7f) != 0x13 sba_alloc_pdir() 1132 || (boot_cpu_data.pdc.versions > 0x202) sba_alloc_pdir() 1133 || (boot_cpu_data.pdc.capabilities & 0x08L) ) sba_alloc_pdir() 1751 ioc_needs_fdc = boot_cpu_data.pdc.capabilities & PDC_MODEL_IOPDIR_FDC; sba_common_init()
|
H A D | iosapic.c | 140 #include <asm/pdc.h> 287 /* Use pat pdc routine to get interrupt routing table size */ iosapic_load_irt()
|
H A D | pdc_stable.c | 69 #include <asm/pdc.h> 98 /* This struct defines what we need to deal with a parisc pdc path entry */
|
H A D | dino.c | 56 #include <asm/pdc.h>
|
H A D | lba_pci.c | 43 #include <asm/pdc.h>
|
/linux-4.4.14/drivers/net/ethernet/i825xx/ |
H A D | lasi_82596.c | 88 #include <asm/pdc.h>
|
/linux-4.4.14/drivers/watchdog/ |
H A D | imgpdc_wdt.c | 329 { .compatible = "img,pdc-wdt" },
|
/linux-4.4.14/drivers/video/fbdev/sis/ |
H A D | sis_main.c | 2951 /* Currently on LCD? If yes, read current pdc */ sisfb_save_pdc_emi() 2988 /* Currently on LCD? If yes, read current pdc */ sisfb_save_pdc_emi() 2989 u8 pdc; sisfb_save_pdc_emi() local 2990 pdc = SiS_GetReg(SISPART1, 0x2D); sisfb_save_pdc_emi() 2991 ivideo->detectedpdc = (pdc & 0x0f) << 1; sisfb_save_pdc_emi() 2992 ivideo->detectedpdca = (pdc & 0xf0) >> 3; sisfb_save_pdc_emi() 2993 pdc = SiS_GetReg(SISPART1, 0x35); sisfb_save_pdc_emi() 2994 ivideo->detectedpdc |= ((pdc >> 7) & 0x01); sisfb_save_pdc_emi() 2995 pdc = SiS_GetReg(SISPART1, 0x20); sisfb_save_pdc_emi() 2996 ivideo->detectedpdca |= ((pdc >> 6) & 0x01); sisfb_save_pdc_emi() 3971 } else if(!strncasecmp(this_opt, "pdc:", 4)) { sisfb_setup() 5893 /* pdc(a), scalelcd, special timing, lvdshl handled below */ sisfb_probe() 6564 static int pdc = -1; variable 6637 if(pdc != -1) sisfb_init_module() 6638 sisfb_pdc = (pdc & 0x7f); sisfb_init_module() 6688 module_param(pdc, int, 0); 6760 MODULE_PARM_DESC(pdc, 6770 "\nThis is same as pdc, but for LCD-via CRT1. Hence, this is for the 315/330/340\n"
|
H A D | init301.c | 10769 * Thus we don't set this if the user selected a custom pdc or if SetOEMLCDDelay() 10770 * we otherwise detected a valid pdc. SetOEMLCDDelay()
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
H A D | sym_nvram.c | 733 static int sym_read_parisc_pdc(struct sym_device *np, struct pdc_initiator *pdc) sym_read_parisc_pdc() argument 737 if (!pdc_get_initiator(&hwpath, pdc)) sym_read_parisc_pdc()
|
/linux-4.4.14/drivers/parport/ |
H A D | parport_gsc.c | 41 #include <asm/pdc.h>
|
/linux-4.4.14/drivers/mmc/host/ |
H A D | atmel-mci.c | 106 * don't have the time to switch pdc buffers so we have to use only 109 * @phys_buf_addr: buffer address needed for pdc. 953 /* Enable pdc mode */ atmci_prepare_data_pdc() 2037 * the second pdc buffer, so we need to reconfigure first and atmci_interrupt() 2064 * the second pdc buffer, so we need to reconfigure first and atmci_interrupt() 2086 * First mci IPs, so mainly the ones having pdc, have some atmci_interrupt()
|
/linux-4.4.14/include/xen/interface/ |
H A D | platform.h | 422 GUEST_HANDLE(uint32_t) pdc; member in union:xenpf_set_processor_pminfo::__anon14748
|
/linux-4.4.14/arch/parisc/mm/ |
H A D | init.c | 323 /* reserve PAGE0 pdc memory, kernel text/data/bss & bootmap */ setup_bootmem()
|
/linux-4.4.14/drivers/video/console/ |
H A D | sticore.c | 27 #include <asm/pdc.h>
|
/linux-4.4.14/arch/x86/xen/ |
H A D | enlighten.c | 416 set_xen_guest_handle(op.u.set_pminfo.pdc, buf); xen_check_mwait()
|