Home
last modified time | relevance | path

Searched full:ptcr (Results 1 – 25 of 27) sorted by relevance

12

/linux/sound/soc/fsl/
H A Dimx-audmux.c62 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 Dimx-audmux.h9 int imx_audmux_v2_configure_port(unsigned int port, unsigned int ptcr,
/linux/arch/powerpc/include/asm/
H A Dpowernv.h10 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 Dultravisor.h19 * In ultravisor enabled systems, PTCR becomes ultravisor privileged only for
H A Dopal.h237 int64_t opal_nmmu_set_ptcr(uint64_t chip_id, uint64_t ptcr);
/linux/sound/atmel/
H A Dac97c.c353 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 Dserial-sh7720.c15 /* 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 Dpgtable.c317 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 Dbook3s_hv_nested.c436 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 Dbook3s_64_mmu_radix.c236 * the PTCR register.
/linux/Documentation/devicetree/bindings/sound/
H A Dimx-audmux.yaml55 For imx31-audmux and above, it is a list of tuples ptcr pdcr.
/linux/sound/soc/atmel/
H A Datmel-pcm.h36 unsigned int ptcr; /* PDC transfer control */ member
/linux/drivers/spi/
H A Dspi-atmel.c173 /* 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 Didle.c581 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 Dultravisor.rst135 * 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 Dtegra186.c171 .name = "ptcr",
H A Dtegra114.c16 .name = "ptcr",
H A Dtegra194.c15 .name = "ptcr",
H A Dtegra210.c13 .name = "ptcr",
H A Dtegra124.c17 .name = "ptcr",
H A Dtegra30.c38 .name = "ptcr",
/linux/drivers/pinctrl/renesas/
H A Dpfc-sh7720.c1076 { PINMUX_CFG_REG_VAR("PTCR", 0xa405011e, 16,
H A Dpfc-sh7722.c1401 { PINMUX_CFG_REG_VAR("PTCR", 0xa4050140, 16,
H A Dpfc-sh7724.c1902 { PINMUX_CFG_REG("PTCR", 0xa4050140, 16, 2, GROUP(
H A Dpfc-sh7723.c1672 { PINMUX_CFG_REG_VAR("PTCR", 0xa4050140, 16,

12