| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rockchip-pinconf.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /omit-if-no-ref/ 8 pcfg_pull_up: pcfg-pull-up { 9 bias-pull-up; 12 /omit-if-no-ref/ 13 pcfg_pull_down: pcfg-pull-down { 14 bias-pull-down; 17 /omit-if-no-ref/ 18 pcfg_pull_none: pcfg-pull-none { 19 bias-disable; [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/fsl/qbman/ |
| D | qman_portal.c | 1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc. 45 static void portal_set_cpu(struct qm_portal_config *pcfg, int cpu) in portal_set_cpu() argument 48 struct device *dev = pcfg->dev; in portal_set_cpu() 54 pcfg->iommu_domain = iommu_domain_alloc(&platform_bus_type); in portal_set_cpu() 55 if (!pcfg->iommu_domain) { in portal_set_cpu() 61 ((dma_addr_t)1 << min(8 * sizeof(dma_addr_t), (size_t)36)) - 1; in portal_set_cpu() 63 ret = iommu_domain_set_attr(pcfg->iommu_domain, DOMAIN_ATTR_GEOMETRY, in portal_set_cpu() 70 ret = iommu_domain_set_attr(pcfg->iommu_domain, DOMAIN_ATTR_WINDOWS, in portal_set_cpu() 79 ret = iommu_domain_set_attr(pcfg->iommu_domain, in portal_set_cpu() 87 ret = iommu_domain_window_enable(pcfg->iommu_domain, 0, 0, 1ULL << 36, in portal_set_cpu() [all …]
|
| D | bman_portal.c | 1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc. 39 static struct bman_portal *init_pcfg(struct bm_portal_config *pcfg) in init_pcfg() argument 41 struct bman_portal *p = bman_create_affine_portal(pcfg); in init_pcfg() 44 dev_crit(pcfg->dev, "%s: Portal failure on cpu %d\n", in init_pcfg() 45 __func__, pcfg->cpu); in init_pcfg() 50 affine_bportals[pcfg->cpu] = p; in init_pcfg() 52 dev_info(pcfg->dev, "Portal initialised, cpu %d\n", pcfg->cpu); in init_pcfg() 60 const struct bm_portal_config *pcfg; in bman_offline_cpu() local 65 pcfg = bman_get_bm_portal_config(p); in bman_offline_cpu() 66 if (!pcfg) in bman_offline_cpu() [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/fsl/qbman/ |
| D | qman_portal.c | 1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc. 45 static void portal_set_cpu(struct qm_portal_config *pcfg, int cpu) in portal_set_cpu() argument 48 struct device *dev = pcfg->dev; in portal_set_cpu() 51 pcfg->iommu_domain = iommu_domain_alloc(&platform_bus_type); in portal_set_cpu() 52 if (!pcfg->iommu_domain) { in portal_set_cpu() 56 ret = fsl_pamu_configure_l1_stash(pcfg->iommu_domain, cpu); in portal_set_cpu() 62 ret = iommu_attach_device(pcfg->iommu_domain, dev); in portal_set_cpu() 71 qman_set_sdest(pcfg->channel, cpu); in portal_set_cpu() 77 iommu_domain_free(pcfg->iommu_domain); in portal_set_cpu() 78 pcfg->iommu_domain = NULL; in portal_set_cpu() [all …]
|
| D | bman_portal.c | 1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc. 39 static struct bman_portal *init_pcfg(struct bm_portal_config *pcfg) in init_pcfg() argument 41 struct bman_portal *p = bman_create_affine_portal(pcfg); in init_pcfg() 44 dev_crit(pcfg->dev, "%s: Portal failure on cpu %d\n", in init_pcfg() 45 __func__, pcfg->cpu); in init_pcfg() 50 affine_bportals[pcfg->cpu] = p; in init_pcfg() 52 dev_info(pcfg->dev, "Portal initialised, cpu %d\n", pcfg->cpu); in init_pcfg() 60 const struct bm_portal_config *pcfg; in bman_offline_cpu() local 65 pcfg = bman_get_bm_portal_config(p); in bman_offline_cpu() 66 if (!pcfg) in bman_offline_cpu() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/txx9/generic/ |
| D | setup_tx4939.c | 6 * 2003-2005 (c) MontaVista Software, Inc. 7 * (C) Copyright TOSHIBA CORPORATION 2000-2001, 2004-2007 36 if (____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_WDRST) in tx4939_wdr_init() 54 (____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_WDREXEN) ? in tx4939_machine_restart() 59 while (!(____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_WDRST)) in tx4939_machine_restart() 62 if (____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_WDREXEN) { in tx4939_machine_restart() 74 int data = regs->cp0_cause & 4; in tx4939_be_handler() 77 data ? 'D' : 'I', regs->cp0_epc); in tx4939_be_handler() 79 (unsigned long long)____raw_readq(&tx4939_ccfgptr->ccfg), in tx4939_be_handler() 80 (unsigned long long)____raw_readq(&tx4939_ccfgptr->toea)); in tx4939_be_handler() [all …]
|
| D | setup_tx4938.c | 6 * 2003-2005 (c) MontaVista Software, Inc. 7 * (C) Copyright TOSHIBA CORPORATION 2000-2001, 2004-2007 33 if (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDRST) in tx4938_wdr_init() 51 (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDREXEN) ? in tx4938_machine_restart() 56 while (!(____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDRST)) in tx4938_machine_restart() 59 if (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDREXEN) { in tx4938_machine_restart() 71 int data = regs->cp0_cause & 4; in tx4938_be_handler() 73 pr_err("%cBE exception at %#lx\n", data ? 'D' : 'I', regs->cp0_epc); in tx4938_be_handler() 75 (unsigned long long)____raw_readq(&tx4938_ccfgptr->ccfg), in tx4938_be_handler() 76 (unsigned long long)____raw_readq(&tx4938_ccfgptr->toea)); in tx4938_be_handler() [all …]
|
| D | setup_tx4927.c | 6 * 2003-2005 (c) MontaVista Software, Inc. 7 * (C) Copyright TOSHIBA CORPORATION 2000-2001, 2004-2007 31 if (____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDRST) in tx4927_wdr_init() 49 (____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDREXEN) ? in tx4927_machine_restart() 54 while (!(____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDRST)) in tx4927_machine_restart() 57 if (____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDREXEN) { in tx4927_machine_restart() 69 int data = regs->cp0_cause & 4; in tx4927_be_handler() 71 pr_err("%cBE exception at %#lx\n", data ? 'D' : 'I', regs->cp0_epc); in tx4927_be_handler() 73 (unsigned long long)____raw_readq(&tx4927_ccfgptr->ccfg), in tx4927_be_handler() 74 (unsigned long long)____raw_readq(&tx4927_ccfgptr->toea)); in tx4927_be_handler() [all …]
|
| /kernel/linux/linux-6.6/arch/mips/txx9/generic/ |
| D | setup_tx4938.c | 6 * 2003-2005 (c) MontaVista Software, Inc. 7 * (C) Copyright TOSHIBA CORPORATION 2000-2001, 2004-2007 33 if (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDRST) in tx4938_wdr_init() 51 (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDREXEN) ? in tx4938_machine_restart() 56 while (!(____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDRST)) in tx4938_machine_restart() 59 if (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDREXEN) { in tx4938_machine_restart() 71 int data = regs->cp0_cause & 4; in tx4938_be_handler() 73 pr_err("%cBE exception at %#lx\n", data ? 'D' : 'I', regs->cp0_epc); in tx4938_be_handler() 75 (unsigned long long)____raw_readq(&tx4938_ccfgptr->ccfg), in tx4938_be_handler() 76 (unsigned long long)____raw_readq(&tx4938_ccfgptr->toea)); in tx4938_be_handler() [all …]
|
| D | setup_tx4927.c | 6 * 2003-2005 (c) MontaVista Software, Inc. 7 * (C) Copyright TOSHIBA CORPORATION 2000-2001, 2004-2007 31 if (____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDRST) in tx4927_wdr_init() 49 (____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDREXEN) ? in tx4927_machine_restart() 54 while (!(____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDRST)) in tx4927_machine_restart() 57 if (____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDREXEN) { in tx4927_machine_restart() 69 int data = regs->cp0_cause & 4; in tx4927_be_handler() 71 pr_err("%cBE exception at %#lx\n", data ? 'D' : 'I', regs->cp0_epc); in tx4927_be_handler() 73 (unsigned long long)____raw_readq(&tx4927_ccfgptr->ccfg), in tx4927_be_handler() 74 (unsigned long long)____raw_readq(&tx4927_ccfgptr->toea)); in tx4927_be_handler() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/txx9/rbtx4938/ |
| D | setup.c | 2 * Setup pointers to hardware-dependent routines. 3 * Copyright (C) 2000-2001 Toshiba Corporation 5 * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the 10 * Support for TX4938 in 2.6 - Manish Lachwani (mlachwani@mvista.com) 43 int extarb = !(__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCIARB); in rbtx4938_pci_setup() 48 if (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) in rbtx4938_pci_setup() 56 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup() 62 txx9_clear64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup() 74 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup() 78 txx9_clear64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/ |
| D | q6afe.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved. 19 #include <sound/soc-dai.h> 22 #include "q6dsp-errno.h" 129 (AFE_PORT_ID_TDM_PORT_RANGE_START+0x50-1) 133 (AFE_PORT_ID_TDM_PORT_RANGE_END - \ 383 /* Reserved for 32-bit alignment. This field must be set to 0.*/ 427 * Supported values: - #AFE_SLIMBUS_DEVICE_1 - #AFE_SLIMBUS_DEVICE_2 452 * - #AFE_PORT_SAMPLE_RATE_8K 453 * - #AFE_PORT_SAMPLE_RATE_16K [all …]
|
| /kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
| D | q6afe.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved. 19 #include <sound/soc-dai.h> 22 #include "q6dsp-errno.h" 131 (AFE_PORT_ID_TDM_PORT_RANGE_START+0x50-1) 135 (AFE_PORT_ID_TDM_PORT_RANGE_END - \ 385 /* Reserved for 32-bit alignment. This field must be set to 0.*/ 429 * Supported values: - #AFE_SLIMBUS_DEVICE_1 - #AFE_SLIMBUS_DEVICE_2 454 * - #AFE_PORT_SAMPLE_RATE_8K 455 * - #AFE_PORT_SAMPLE_RATE_16K [all …]
|
| /kernel/linux/linux-5.10/arch/mips/txx9/rbtx4939/ |
| D | setup.c | 6 * Copyright (C) 2000-2001,2005-2007 Toshiba Corporation 7 * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the 46 ((((unsigned long)(addr) - IO_BASE) & 0xfff00000) == TXX9_CE(1)) 60 int extarb = !(__raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_PCIARB); in rbtx4939_pci_setup() 67 if (!(__raw_readq(&tx4939_ccfgptr->pcfg) & TX4939_PCFG_ATA1MODE) && in rbtx4939_pci_setup() 68 (__raw_readq(&tx4939_ccfgptr->pcfg) & in rbtx4939_pci_setup() 94 /* use user-configured speed */ in rbtx4939_ebusc_setup() 103 &tx4939_ebuscptr->cr[i]); in rbtx4939_ebusc_setup() 105 ____raw_writeq(____raw_readq(&tx4939_ebuscptr->cr[i]) in rbtx4939_ebusc_setup() 107 &tx4939_ebuscptr->cr[i]); in rbtx4939_ebusc_setup() [all …]
|
| /kernel/linux/linux-6.6/drivers/soundwire/ |
| D | qcom.c | 1 // SPDX-License-Identifier: GPL-2.0 101 #define SWRM_DP_PORT_CTRL_BANK(n, m) (0x1124 + 0x100 * (n - 1) + 0x40 * m) 102 #define SWRM_DP_PORT_CTRL_2_BANK(n, m) (0x1128 + 0x100 * (n - 1) + 0x40 * m) 103 #define SWRM_DP_BLOCK_CTRL_1(n) (0x112C + 0x100 * (n - 1)) 104 #define SWRM_DP_BLOCK_CTRL2_BANK(n, m) (0x1130 + 0x100 * (n - 1) + 0x40 * m) 105 #define SWRM_DP_PORT_HCTRL_BANK(n, m) (0x1134 + 0x100 * (n - 1) + 0x40 * m) 106 #define SWRM_DP_BLOCK_CTRL3_BANK(n, m) (0x1138 + 0x100 * (n - 1) + 0x40 * m) 107 #define SWRM_DP_SAMPLECTRL2_BANK(n, m) (0x113C + 0x100 * (n - 1) + 0x40 * m) 108 #define SWRM_DIN_DPn_PCM_PORT_CTRL(n) (0x1054 + 0x100 * (n - 1)) 204 /* Port numbers are 1 - 14 */ [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/ |
| D | pl330.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include <linux/dma-mapping.h> 46 CCTRL6, /* Cacheable write-through, allocate on writes only */ 47 CCTRL7, /* Cacheable write-back, allocate on writes only */ 245 * at 1byte/burst for P<->M and M<->M respectively. 247 * should be enough for P<->M and M<->M respectively. 314 struct pl330_config *pcfg; member 382 /* Index of the last submitted request or -1 if the DMA is stopped */ 423 /* DMA-Engine Channel */ 449 /* For D-to-M and M-to-D channels */ [all …]
|
| /kernel/linux/linux-6.6/drivers/dma/ |
| D | pl330.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include <linux/dma-mapping.h> 46 CCTRL6, /* Cacheable write-through, allocate on writes only */ 47 CCTRL7, /* Cacheable write-back, allocate on writes only */ 245 * at 1byte/burst for P<->M and M<->M respectively. 247 * should be enough for P<->M and M<->M respectively. 314 struct pl330_config *pcfg; member 382 /* Index of the last submitted request or -1 if the DMA is stopped */ 423 /* DMA-Engine Channel */ 449 /* For D-to-M and M-to-D channels */ [all …]
|
| /kernel/uniproton/src/fs/littlefs/ |
| D | lfs_adapter.c | 2 * Copyright (c) 2022-2022 Huawei Technologies Co., Ltd. All rights reserved. 9 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, 12 * Create: 2022-09-21 34 for (device = OsGetDeviceList(); device != NULL; device = device->dNext) { in OsLfsGetStartAddr() 35 if (strcmp(device->dFsType, "littlefs") == 0) { in OsLfsGetStartAddr() 42 if ((g_lfsDevice == NULL) || (partition >= g_lfsDevice->dPartNum)) { in OsLfsGetStartAddr() 46 return g_lfsDevice->dAddrArray[partition]; in OsLfsGetStartAddr() 52 uintptr_t startAddr = OsLfsGetStartAddr((S32)c->context); in OsLfsBlockRead() 54 return -1; in OsLfsBlockRead() 56 startAddr += (c->block_size * block + off); in OsLfsBlockRead() [all …]
|
| /kernel/liteos_m/components/fs/littlefs/ |
| D | lfs_adapter.c | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved. 50 for (device = getDeviceList(); device != NULL; device = device->dNext) { in LfsGetStartAddr() 51 if (strcmp(device->dFsType, "littlefs") == 0) { in LfsGetStartAddr() 58 if ((g_lfsDevice == NULL) || (partition >= g_lfsDevice->dPartNum)) { in LfsGetStartAddr() 62 return (uint32_t)g_lfsDevice->dAddrArray[partition]; in LfsGetStartAddr() 68 UINT32 addr = c->block_size * block + off; in littlefs_block_read() 69 UINT32 startaddr = LfsGetStartAddr((int)c->context); in littlefs_block_read() 71 return -1; in littlefs_block_read() 75 return (g_partitionCfg.readFunc)((int)c->context, &addr, dst, size); in littlefs_block_read() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/pci/ |
| D | pci-tx4938.c | 5 * Copyright 2001, 2003-2005 MontaVista Software Inc. 6 * Copyright (C) 2004 by Ralf Baechle (ralf@linux-mips.org) 7 * (C) Copyright TOSHIBA CORPORATION 2000-2001, 2004-2007 24 pr_info("PCIC --%s PCICLK:", in tx4938_report_pciclk() 25 (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) ? in tx4938_report_pciclk() 27 if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_PCICLKEN_ALL) { in tx4938_report_pciclk() 28 u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_report_pciclk() 53 pciclk = -1; in tx4938_report_pciclk() 61 __u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_report_pci1clk() 65 pr_info("PCIC1 -- %sPCICLK:%u.%uMHz\n", in tx4938_report_pci1clk() [all …]
|
| D | pci-tx4939.c | 5 * Copyright 2001, 2003-2005 MontaVista Software Inc. 6 * Copyright (C) 2004 by Ralf Baechle (ralf@linux-mips.org) 7 * (C) Copyright TOSHIBA CORPORATION 2000-2001, 2004-2007 24 pr_info("PCIC --%s PCICLK:", in tx4939_report_pciclk() 25 (__raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_PCI66) ? in tx4939_report_pciclk() 27 if (__raw_readq(&tx4939_ccfgptr->pcfg) & TX4939_PCFG_PCICLKEN_ALL) { in tx4939_report_pciclk() 29 if (!(__raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_PCI66)) in tx4939_report_pciclk() 36 pciclk = -1; in tx4939_report_pciclk() 46 pr_info("PCIC1 -- PCICLK:%u.%uMHz\n", in tx4939_report_pci1clk() 53 if (get_tx4927_pcicptr(dev->bus->sysdata) == tx4939_pcic1ptr) { in tx4939_pcic1_map_irq() [all …]
|
| /kernel/linux/linux-6.6/arch/mips/pci/ |
| D | pci-tx4938.c | 5 * Copyright 2001, 2003-2005 MontaVista Software Inc. 6 * Copyright (C) 2004 by Ralf Baechle (ralf@linux-mips.org) 7 * (C) Copyright TOSHIBA CORPORATION 2000-2001, 2004-2007 24 pr_info("PCIC --%s PCICLK:", in tx4938_report_pciclk() 25 (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) ? in tx4938_report_pciclk() 27 if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_PCICLKEN_ALL) { in tx4938_report_pciclk() 28 u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_report_pciclk() 53 pciclk = -1; in tx4938_report_pciclk() 61 __u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_report_pci1clk() 65 pr_info("PCIC1 -- %sPCICLK:%u.%uMHz\n", in tx4938_report_pci1clk() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/ |
| D | rv1108.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/clock/rv1108-cru.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/thermal/thermal.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 15 interrupt-parent = <&gic>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | rv1108.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/clock/rv1108-cru.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/thermal/thermal.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 15 interrupt-parent = <&gic>; [all …]
|
| /kernel/linux/linux-5.10/drivers/soundwire/ |
| D | qcom.c | 1 // SPDX-License-Identifier: GPL-2.0 56 #define SWRM_DP_PORT_CTRL_BANK(n, m) (0x1124 + 0x100 * (n - 1) + 0x40 * m) 57 #define SWRM_DP_BLOCK_CTRL3_BANK(n, m) (0x1138 + 0x100 * (n - 1) + 0x40 * m) 133 struct regmap *wcd_regmap = ctrl->regmap; in qcom_swrm_ahb_reg_read() 153 struct regmap *wcd_regmap = ctrl->regmap; in qcom_swrm_ahb_reg_write() 173 *val = readl(ctrl->mmio + reg); in qcom_swrm_cpu_reg_read() 180 writel(val, ctrl->mmio + reg); in qcom_swrm_cpu_reg_write() 192 spin_lock_irqsave(&ctrl->comp_lock, flags); in qcom_swrm_cmd_fifo_wr_cmd() 193 ctrl->comp = ∁ in qcom_swrm_cmd_fifo_wr_cmd() 194 spin_unlock_irqrestore(&ctrl->comp_lock, flags); in qcom_swrm_cmd_fifo_wr_cmd() [all …]
|