/linux/sound/soc/fsl/ |
H A D | imx-audmux.c | 62 u32 pdcr, ptcr; in audmux_read_file() local 68 ptcr = readl(audmux_base + IMX_AUDMUX_V2_PTCR(port)); in audmux_read_file() 77 ret = sysfs_emit(buf, "PDCR: %08x\nPTCR: %08x\n", pdcr, ptcr); in audmux_read_file() 79 if (ptcr & IMX_AUDMUX_V2_PTCR_TFSDIR) in audmux_read_file() 82 audmux_port_string((ptcr >> 27) & 0x7)); in audmux_read_file() 87 if (ptcr & IMX_AUDMUX_V2_PTCR_TCLKDIR) in audmux_read_file() 90 audmux_port_string((ptcr >> 22) & 0x7)); in audmux_read_file() 97 if (ptcr & IMX_AUDMUX_V2_PTCR_SYN) { in audmux_read_file() 101 if (ptcr & IMX_AUDMUX_V2_PTCR_RFSDIR) in audmux_read_file() 104 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,
|
/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
|
H A D | opal.h | 237 int64_t opal_nmmu_set_ptcr(uint64_t chip_id, uint64_t ptcr);
|
/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()
|
/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()
|
/linux/arch/powerpc/mm/book3s64/ |
H A D | pgtable.c | 317 unsigned long ptcr; in mmu_partition_table_init() local 325 ptcr = __pa(partition_tb) | (PATB_SIZE_SHIFT - 12); in mmu_partition_table_init() 326 set_ptcr_when_no_uv(ptcr); in mmu_partition_table_init() 327 powernv_set_nmmu_ptcr(ptcr); in mmu_partition_table_init()
|
/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_nested.c | 436 unsigned long ptcr, host_capabilities; in kvmhv_nested_init() local 479 ptcr = __pa(pseries_partition_tb) | (ptb_order - 12); in kvmhv_nested_init() 480 rc = plpar_hcall_norets(H_SET_PARTITION_TABLE, ptcr); in kvmhv_nested_init() 558 * (formatted as for the PTCR). 563 unsigned long ptcr = kvmppc_get_gpr(vcpu, 4); in kvmhv_set_partition_table() local 569 if ((ptcr & PRTS_MASK) + 12 - 4 > KVM_MAX_NESTED_GUESTS_SHIFT || in kvmhv_set_partition_table() 570 !kvm_is_visible_gfn(vcpu->kvm, (ptcr & PRTB_MASK) >> PAGE_SHIFT)) in kvmhv_set_partition_table() 574 kvm->arch.l1_ptcr = ptcr; in kvmhv_set_partition_table()
|
H A D | book3s_64_mmu_radix.c | 236 * the PTCR register.
|
/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.
|
/linux/sound/soc/atmel/ |
H A D | atmel-pcm.h | 36 unsigned int ptcr; /* PDC transfer control */ member
|
/linux/drivers/spi/ |
H A D | spi-atmel.c | 173 /* Bitfields in PTCR */ 932 spi_writel(as, PTCR, SPI_BIT(RXTDIS) | SPI_BIT(TXTDIS)); in atmel_spi_pdc_next_xfer() 983 spi_writel(as, PTCR, SPI_BIT(TXTEN) | SPI_BIT(RXTEN)); in atmel_spi_pdc_next_xfer() 1036 spi_writel(as, PTCR, SPI_BIT(RXTDIS) | SPI_BIT(TXTDIS)); in atmel_spi_disable_pdc_transfer() 1508 spi_writel(as, PTCR, SPI_BIT(RXTDIS) | SPI_BIT(TXTDIS)); in atmel_spi_init()
|
/linux/arch/powerpc/platforms/powernv/ |
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()
|
/linux/Documentation/arch/powerpc/ |
H A D | ultravisor.rst | 135 * PTCR and partition table entries (partition table is in secure 136 memory). An attempt to write to PTCR will cause a Hypervisor
|
/linux/drivers/memory/tegra/ |
H A D | tegra186.c | 171 .name = "ptcr",
|
H A D | tegra114.c | 16 .name = "ptcr",
|
H A D | tegra194.c | 15 .name = "ptcr",
|
H A D | tegra210.c | 13 .name = "ptcr",
|
H A D | tegra124.c | 17 .name = "ptcr",
|
H A D | tegra30.c | 38 .name = "ptcr",
|
/linux/drivers/pinctrl/renesas/ |
H A D | pfc-sh7720.c | 1076 { PINMUX_CFG_REG_VAR("PTCR", 0xa405011e, 16,
|
H A D | pfc-sh7722.c | 1401 { PINMUX_CFG_REG_VAR("PTCR", 0xa4050140, 16,
|
H A D | pfc-sh7724.c | 1902 { PINMUX_CFG_REG("PTCR", 0xa4050140, 16, 2, GROUP(
|
H A D | pfc-sh7723.c | 1672 { PINMUX_CFG_REG_VAR("PTCR", 0xa4050140, 16,
|