/openbmc/linux/sound/soc/fsl/ |
H A D | imx-audmux.c | 63 u32 pdcr, ptcr; in audmux_read_file() local 69 ptcr = readl(audmux_base + IMX_AUDMUX_V2_PTCR(port)); in audmux_read_file() 78 ret = sysfs_emit(buf, "PDCR: %08x\nPTCR: %08x\n", pdcr, ptcr); in audmux_read_file() 80 if (ptcr & IMX_AUDMUX_V2_PTCR_TFSDIR) in audmux_read_file() 83 audmux_port_string((ptcr >> 27) & 0x7)); in audmux_read_file() 88 if (ptcr & IMX_AUDMUX_V2_PTCR_TCLKDIR) in audmux_read_file() 91 audmux_port_string((ptcr >> 22) & 0x7)); in audmux_read_file() 98 if (ptcr & IMX_AUDMUX_V2_PTCR_SYN) { in audmux_read_file() 102 if (ptcr & IMX_AUDMUX_V2_PTCR_RFSDIR) in audmux_read_file() 105 audmux_port_string((ptcr >> 17) & 0x7)); in audmux_read_file() [all …]
|
H A D | imx-audmux.h | 9 int imx_audmux_v2_configure_port(unsigned int port, unsigned int ptcr,
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | powernv.h | 10 extern void powernv_set_nmmu_ptcr(unsigned long ptcr); 16 static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { } in powernv_set_nmmu_ptcr() argument
|
H A D | ultravisor.h | 19 * In ultravisor enabled systems, PTCR becomes ultravisor privileged only for
|
/openbmc/linux/arch/sh/kernel/cpu/sh3/ |
H A D | serial-sh7720.c | 15 /* Clear PTCR bit 9-2; enable all scif pins but sck */ in sh7720_sci_init_pins() 25 /* Clear PTCR bit 5-2; enable only tx and rx */ in sh7720_sci_init_pins()
|
/openbmc/linux/sound/atmel/ |
H A D | ac97c.c | 353 unsigned long camr, ptcr = 0; in atmel_ac97c_playback_trigger() local 361 ptcr = ATMEL_PDC_TXTEN; in atmel_ac97c_playback_trigger() 367 ptcr |= ATMEL_PDC_TXTDIS; in atmel_ac97c_playback_trigger() 376 writel(ptcr, chip->regs + ATMEL_PDC_PTCR); in atmel_ac97c_playback_trigger() 384 unsigned long camr, ptcr = 0; in atmel_ac97c_capture_trigger() local 387 ptcr = readl(chip->regs + ATMEL_PDC_PTSR); in atmel_ac97c_capture_trigger() 393 ptcr = ATMEL_PDC_RXTEN; in atmel_ac97c_capture_trigger() 399 ptcr |= ATMEL_PDC_RXTDIS; in atmel_ac97c_capture_trigger() 408 writel(ptcr, chip->regs + ATMEL_PDC_PTCR); in atmel_ac97c_capture_trigger()
|
/openbmc/u-boot/arch/arm/mach-at91/include/mach/ |
H A D | at91_pdc.h | 18 u32 ptcr; /* 0x120 Transfer Control Register */ member
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | pgtable.c | 297 unsigned long ptcr; in mmu_partition_table_init() local 305 ptcr = __pa(partition_tb) | (PATB_SIZE_SHIFT - 12); in mmu_partition_table_init() 306 set_ptcr_when_no_uv(ptcr); in mmu_partition_table_init() 307 powernv_set_nmmu_ptcr(ptcr); in mmu_partition_table_init()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_nested.c | 440 unsigned long ptcr; in kvmhv_nested_init() local 460 ptcr = __pa(pseries_partition_tb) | (ptb_order - 12); in kvmhv_nested_init() 461 rc = plpar_hcall_norets(H_SET_PARTITION_TABLE, ptcr); in kvmhv_nested_init() 534 * (formatted as for the PTCR). 539 unsigned long ptcr = kvmppc_get_gpr(vcpu, 4); in kvmhv_set_partition_table() local 545 if ((ptcr & PRTS_MASK) + 12 - 4 > KVM_MAX_NESTED_GUESTS_SHIFT || in kvmhv_set_partition_table() 546 !kvm_is_visible_gfn(vcpu->kvm, (ptcr & PRTB_MASK) >> PAGE_SHIFT)) in kvmhv_set_partition_table() 550 kvm->arch.l1_ptcr = ptcr; in kvmhv_set_partition_table()
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | imx-audmux.yaml | 55 For imx31-audmux and above, it is a list of tuples ptcr pdcr.
|
/openbmc/linux/sound/soc/atmel/ |
H A D | atmel-pcm.h | 36 unsigned int ptcr; /* PDC transfer control */ member
|
/openbmc/u-boot/board/renesas/ap325rxa/ |
H A D | ap325rxa.c | 113 outw(PTCR_D, PTCR); in board_init()
|
/openbmc/u-boot/arch/sh/include/asm/ |
H A D | cpu_sh7723.h | 138 #define PTCR 0xA4050140 macro
|
H A D | cpu_sh7752.h | 120 unsigned short ptcr; member
|
H A D | cpu_sh7753.h | 120 unsigned short ptcr; member
|
H A D | cpu_sh7724.h | 159 #define PTCR 0xA4050140 macro
|
H A D | cpu_sh7720.h | 175 #define PTCR (PFC_BASE + 0x1E) macro
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_nested.c | 42 patb = spapr->nested.ptcr & PTCR_PATB; in spapr_get_pate_nested_hv() 43 pats = spapr->nested.ptcr & PTCR_PATS; in spapr_get_pate_nested_hv() 95 target_ulong ptcr = args[0]; in h_set_ptbl() local 101 if ((ptcr & PRTS_MASK) + 12 - 4 > 12) { in h_set_ptbl() 105 spapr->nested.ptcr = ptcr; /* Save new partition table */ in h_set_ptbl() 343 if (spapr->nested.ptcr == 0) { in h_enter_nested()
|
/openbmc/qemu/target/ppc/ |
H A D | misc_helper.c | 186 error_report("Invalid bits 0x"TARGET_FMT_lx" set in PTCR", in helper_store_ptcr() 193 " stored in PTCR", patbsize); in helper_store_ptcr()
|
/openbmc/u-boot/drivers/serial/ |
H A D | atmel_usart.h | 209 /* Bitfields in PTCR */
|
/openbmc/linux/drivers/spi/ |
H A D | spi-atmel.c | 173 /* Bitfields in PTCR */ 935 spi_writel(as, PTCR, SPI_BIT(RXTDIS) | SPI_BIT(TXTDIS)); in atmel_spi_pdc_next_xfer() 986 spi_writel(as, PTCR, SPI_BIT(TXTEN) | SPI_BIT(RXTEN)); in atmel_spi_pdc_next_xfer() 1041 spi_writel(as, PTCR, SPI_BIT(RXTDIS) | SPI_BIT(TXTDIS)); in atmel_spi_disable_pdc_transfer() 1515 spi_writel(as, PTCR, SPI_BIT(RXTDIS) | SPI_BIT(TXTDIS)); in atmel_spi_init()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal.c | 1224 void powernv_set_nmmu_ptcr(unsigned long ptcr) in powernv_set_nmmu_ptcr() argument 1229 rc = opal_nmmu_set_ptcr(-1UL, ptcr); in powernv_set_nmmu_ptcr() 1231 pr_warn("%s: Unable to set nest mmu ptcr\n", __func__); in powernv_set_nmmu_ptcr()
|
H A D | idle.c | 581 u64 ptcr; member 678 sprs.ptcr = mfspr(SPRN_PTCR); in power9_idle_stop() 759 mtspr(SPRN_PTCR, sprs.ptcr); in power9_idle_stop()
|
/openbmc/u-boot/board/mpr2/ |
H A D | mpr2.c | 126 __raw_writew(0x0001, PTCR); /* 00 00 00 00 00 00 00 01 */ in board_init()
|
/openbmc/u-boot/board/renesas/sh7753evb/ |
H A D | sh7753evb.c | 46 writew(0x0000, &gpio->ptcr); /* STATUS */ in init_gpio()
|