/kernel/linux/linux-5.10/drivers/soc/fsl/qbman/ |
D | qman_portal.c | 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() 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() 94 ret = iommu_attach_device(pcfg->iommu_domain, dev); in portal_set_cpu() 100 ret = iommu_domain_set_attr(pcfg->iommu_domain, in portal_set_cpu() [all …]
|
D | bman_portal.c | 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() 71 irq_set_affinity(pcfg->irq, cpumask_of(cpu)); in bman_offline_cpu() [all …]
|
D | qman_test_stash.c | 195 static const struct qm_portal_config *pcfg; variable 222 pcfg = qman_get_qm_portal_config(qman_dma_portal); in allocate_frame_data() 234 frame_dma = dma_map_single(pcfg->dev, frame_ptr, 4 * HP_NUM_WORDS, in allocate_frame_data() 236 if (dma_mapping_error(pcfg->dev, frame_dma)) { in allocate_frame_data() 247 dma_unmap_single(pcfg->dev, frame_dma, 4 * HP_NUM_WORDS, in deallocate_frame_data()
|
/kernel/linux/linux-5.10/arch/mips/txx9/generic/ |
D | setup_tx4939.c | 100 __u64 pcfg; in tx4939_setup() local 195 txx9_clear64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_DMASEL_ALL); in tx4939_setup() 199 txx9_clear64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_PCICLKEN_ALL); in tx4939_setup() 208 ____raw_readq(&tx4939_ccfgptr->pcfg)); in tx4939_setup() 248 pcfg = ____raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_setup() 249 if (pcfg & (TX4939_PCFG_ET0MODE | TX4939_PCFG_ET1MODE)) { in tx4939_setup() 258 if (!(pcfg & TX4939_PCFG_ET0MODE)) { in tx4939_setup() 263 if (!(pcfg & TX4939_PCFG_ET1MODE)) { in tx4939_setup() 285 __u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_sio_init() local 288 if ((pcfg & TX4939_PCFG_SIO2MODE_MASK) != TX4939_PCFG_SIO2MODE_SIO0) in tx4939_sio_init() [all …]
|
D | setup_tx4938.c | 193 txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_DMASEL_ALL); in tx4938_setup() 197 txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_PCICLKEN_ALL); in tx4938_setup() 204 ____raw_readq(&tx4938_ccfgptr->pcfg)); in tx4938_setup() 246 __u64 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_setup() local 249 if (pcfg & (TX4938_PCFG_ETH0_SEL | TX4938_PCFG_ETH1_SEL)) { in tx4938_setup() 260 if (!(pcfg & TX4938_PCFG_ETH0_SEL)) { in tx4938_setup() 267 if (!(pcfg & TX4938_PCFG_ETH1_SEL)) { in tx4938_setup() 293 if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_ETH0_SEL) in tx4938_sio_init() 312 u64 pcfg = __raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_ethaddr_init() local 314 if (addr0 && (pcfg & TX4938_PCFG_ETH0_SEL)) in tx4938_ethaddr_init() [all …]
|
D | setup_tx4927.c | 180 txx9_clear64(&tx4927_ccfgptr->pcfg, TX4927_PCFG_DMASEL_ALL); in tx4927_setup() 184 txx9_clear64(&tx4927_ccfgptr->pcfg, TX4927_PCFG_PCICLKEN_ALL); in tx4927_setup() 191 ____raw_readq(&tx4927_ccfgptr->pcfg)); in tx4927_setup() 268 u64 pcfg = __raw_readq(&tx4927_ccfgptr->pcfg); in tx4927_aclc_init() local 272 if (!(pcfg & TX4927_PCFG_SEL2)) in tx4927_aclc_init() 300 txx9_clear64(&tx4927_ccfgptr->pcfg, dmasel_mask); in tx4927_aclc_init() 301 txx9_set64(&tx4927_ccfgptr->pcfg, dmasel); in tx4927_aclc_init() 310 __u64 pcfg, rst = 0, ckd = 0; in tx4927_stop_unused_modules() local 315 pcfg = ____raw_readq(&tx4927_ccfgptr->pcfg); in tx4927_stop_unused_modules() 316 if (!(pcfg & TX4927_PCFG_SEL2)) { in tx4927_stop_unused_modules()
|
/kernel/linux/linux-5.10/arch/mips/txx9/rbtx4938/ |
D | setup.c | 86 if (__raw_readq(&tx4938_ccfgptr->pcfg) & in rbtx4938_pci_setup() 144 txx9_set64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_SPI_SEL); in rbtx4938_spi_setup() 156 unsigned long long pcfg; in rbtx4938_mem_setup() local 174 txx9_clear64(&tx4938_ccfgptr->pcfg, in rbtx4938_mem_setup() 180 txx9_set64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_NDF_SEL); in rbtx4938_mem_setup() 181 txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_ATA_SEL); in rbtx4938_mem_setup() 186 txx9_set64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_ATA_SEL); in rbtx4938_mem_setup() 187 txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_NDF_SEL); in rbtx4938_mem_setup() 191 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); in rbtx4938_mem_setup() 193 (pcfg & TX4938_PCFG_NDF_SEL) ? "enabled" : "disabled", in rbtx4938_mem_setup() [all …]
|
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/ |
D | q6afe.c | 1236 union afe_port_config *pcfg = &port->port_cfg; in q6afe_slim_port_prepare() local 1238 pcfg->slim_cfg.sb_cfg_minor_version = AFE_API_VERSION_SLIMBUS_CONFIG; in q6afe_slim_port_prepare() 1239 pcfg->slim_cfg.sample_rate = cfg->sample_rate; in q6afe_slim_port_prepare() 1240 pcfg->slim_cfg.bit_width = cfg->bit_width; in q6afe_slim_port_prepare() 1241 pcfg->slim_cfg.num_channels = cfg->num_channels; in q6afe_slim_port_prepare() 1242 pcfg->slim_cfg.data_format = cfg->data_format; in q6afe_slim_port_prepare() 1243 pcfg->slim_cfg.shared_ch_mapping[0] = cfg->ch_mapping[0]; in q6afe_slim_port_prepare() 1244 pcfg->slim_cfg.shared_ch_mapping[1] = cfg->ch_mapping[1]; in q6afe_slim_port_prepare() 1245 pcfg->slim_cfg.shared_ch_mapping[2] = cfg->ch_mapping[2]; in q6afe_slim_port_prepare() 1246 pcfg->slim_cfg.shared_ch_mapping[3] = cfg->ch_mapping[3]; in q6afe_slim_port_prepare() [all …]
|
/kernel/linux/linux-5.10/arch/mips/txx9/rbtx4939/ |
D | setup.c | 67 if (!(__raw_readq(&tx4939_ccfgptr->pcfg) & TX4939_PCFG_ATA1MODE) && in rbtx4939_pci_setup() 68 (__raw_readq(&tx4939_ccfgptr->pcfg) & in rbtx4939_pci_setup() 113 __u64 pcfg = ____raw_readq(&tx4939_ccfgptr->pcfg); in rbtx4939_update_ioc_pen() local 118 if (pcfg & TX4939_PCFG_ATA0MODE) in rbtx4939_update_ioc_pen() 122 if (pcfg & TX4939_PCFG_ATA1MODE) { in rbtx4939_update_ioc_pen() 127 if (pcfg & TX4939_PCFG_ET0MODE) in rbtx4939_update_ioc_pen() 131 if (pcfg & TX4939_PCFG_ET1MODE) in rbtx4939_update_ioc_pen() 140 __u64 vmode = pcfg & in rbtx4939_update_ioc_pen() 156 if (pcfg & TX4939_PCFG_SPIMODE) { in rbtx4939_update_ioc_pen() 157 if (pcfg & TX4939_PCFG_SIO2MODE_GPIO) in rbtx4939_update_ioc_pen() [all …]
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | pl330.c | 314 struct pl330_config *pcfg; member 473 struct pl330_config pcfg; member 566 return (thrd->dmac->pcfg.mode & DMAC_MODE_NS) ? true : false; in _manager_ns() 1093 struct pl330_config *pcfg = pxs->desc->rqcfg.pcfg; in _ldst_memtomem() local 1096 if (get_revision(pcfg->periph_id) >= PERIPH_REV_R1P0) { in _ldst_memtomem() 1501 desc->peri >= pl330->pcfg.num_peri) { in pl330_submit_req() 1596 pl330->dmac_tbd.reset_chan = (1 << pl330->pcfg.num_chan) - 1; in pl330_dotask() 1601 for (i = 0; i < pl330->pcfg.num_chan; i++) { in pl330_dotask() 1653 val = readl(regs + FSC) & ((1 << pl330->pcfg.num_chan) - 1); in pl330_update() 1657 while (i < pl330->pcfg.num_chan) { in pl330_update() [all …]
|
/kernel/linux/linux-5.10/arch/mips/pci/ |
D | pci-tx4938.c | 27 if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_PCICLKEN_ALL) { in tx4938_report_pciclk() 78 if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_PCICLKEN_ALL) { in tx4938_pciclk66_setup() 120 if (__raw_readq(&tx4938_ccfgptr->pcfg) & in tx4938_pcic1_map_irq() 125 if (__raw_readq(&tx4938_ccfgptr->pcfg) & in tx4938_pcic1_map_irq()
|
D | pci-tx4939.c | 27 if (__raw_readq(&tx4939_ccfgptr->pcfg) & TX4939_PCFG_PCICLKEN_ALL) { in tx4939_report_pciclk() 56 if (__raw_readq(&tx4939_ccfgptr->pcfg) & in tx4939_pcic1_map_irq() 61 if (__raw_readq(&tx4939_ccfgptr->pcfg) & in tx4939_pcic1_map_irq()
|
D | pci-tx4927.c | 27 if (__raw_readq(&tx4927_ccfgptr->pcfg) & TX4927_PCFG_PCICLKEN_ALL) { in tx4927_report_pciclk() 58 if (__raw_readq(&tx4927_ccfgptr->pcfg) & TX4927_PCFG_PCICLKEN_ALL) { in tx4927_pciclk66_setup()
|
/kernel/linux/linux-5.10/drivers/soundwire/ |
D | qcom.c | 462 struct qcom_swrm_port_config *pcfg; in qcom_swrm_compute_params() local 467 pcfg = &ctrl->pconfig[p_rt->num - 1]; in qcom_swrm_compute_params() 469 p_rt->transport_params.sample_interval = pcfg->si + 1; in qcom_swrm_compute_params() 470 p_rt->transport_params.offset1 = pcfg->off1; in qcom_swrm_compute_params() 471 p_rt->transport_params.offset2 = pcfg->off2; in qcom_swrm_compute_params() 472 p_rt->transport_params.blk_pkg_mode = pcfg->bp_mode; in qcom_swrm_compute_params() 477 pcfg = &ctrl->pconfig[i]; in qcom_swrm_compute_params() 480 pcfg->si + 1; in qcom_swrm_compute_params() 481 p_rt->transport_params.offset1 = pcfg->off1; in qcom_swrm_compute_params() 482 p_rt->transport_params.offset2 = pcfg->off2; in qcom_swrm_compute_params() [all …]
|
/kernel/linux/linux-5.10/drivers/pci/switch/ |
D | switchtec.c | 1064 struct part_cfg_regs __iomem *pcfg; in ioctl_pff_to_port() local 1072 pcfg = &stdev->mmio_part_cfg_all[part]; in ioctl_pff_to_port() 1075 reg = ioread32(&pcfg->usp_pff_inst_id); in ioctl_pff_to_port() 1081 reg = ioread32(&pcfg->vep_pff_inst_id); in ioctl_pff_to_port() 1087 for (i = 0; i < ARRAY_SIZE(pcfg->dsp_pff_inst_id); i++) { in ioctl_pff_to_port() 1088 reg = ioread32(&pcfg->dsp_pff_inst_id[i]); in ioctl_pff_to_port() 1110 struct part_cfg_regs __iomem *pcfg; in ioctl_port_to_pff() local 1116 pcfg = stdev->mmio_part_cfg; in ioctl_port_to_pff() 1118 pcfg = &stdev->mmio_part_cfg_all[p.partition]; in ioctl_port_to_pff() 1124 p.pff = ioread32(&pcfg->usp_pff_inst_id); in ioctl_port_to_pff() [all …]
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | rv1108.dtsi | 624 pcfg_pull_up: pcfg-pull-up { 628 pcfg_pull_down: pcfg-pull-down { 632 pcfg_pull_none: pcfg-pull-none { 636 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 640 pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma { 644 pcfg_pull_none_smt: pcfg-pull-none-smt { 649 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { 654 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma { 658 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma { 663 pcfg_output_high: pcfg-output-high { [all …]
|
D | rk3288-firefly-reload-core.dtsi | 212 pcfg_output_high: pcfg-output-high { 216 pcfg_output_low: pcfg-output-low { 220 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma {
|
D | rk3288-miqi.dts | 296 pcfg_output_high: pcfg-output-high { 300 pcfg_output_low: pcfg-output-low { 304 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma {
|
/kernel/linux/linux-5.10/arch/mips/txx9/jmr3927/ |
D | setup.c | 136 tx3927_ccfgptr->pcfg &= ~TX3927_PCFG_SELALL; in jmr3927_board_init() 137 tx3927_ccfgptr->pcfg |= in jmr3927_board_init()
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
D | rk3308.dtsi | 735 pcfg_pull_up: pcfg-pull-up { 739 pcfg_pull_down: pcfg-pull-down { 743 pcfg_pull_none: pcfg-pull-none { 747 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 752 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 757 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 762 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 767 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 772 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 777 pcfg_pull_up_8ma: pcfg-pull-up-8ma { [all …]
|
D | rk3328.dtsi | 1078 pcfg_pull_up: pcfg-pull-up { 1082 pcfg_pull_down: pcfg-pull-down { 1086 pcfg_pull_none: pcfg-pull-none { 1090 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 1095 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 1100 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 1105 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 1110 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 1115 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 1120 pcfg_pull_up_8ma: pcfg-pull-up-8ma { [all …]
|
D | px30.dtsi | 1265 pcfg_pull_up: pcfg-pull-up { 1269 pcfg_pull_down: pcfg-pull-down { 1273 pcfg_pull_none: pcfg-pull-none { 1277 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 1282 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 1287 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 1292 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 1297 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 1302 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 1307 pcfg_pull_up_8ma: pcfg-pull-up-8ma { [all …]
|
D | rk3368-evb.dtsi | 145 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 150 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
|
D | rk3399.dtsi | 1994 pcfg_pull_up: pcfg-pull-up { 1998 pcfg_pull_down: pcfg-pull-down { 2002 pcfg_pull_none: pcfg-pull-none { 2006 pcfg_pull_none_12ma: pcfg-pull-none-12ma { 2011 pcfg_pull_none_13ma: pcfg-pull-none-13ma { 2016 pcfg_pull_none_18ma: pcfg-pull-none-18ma { 2021 pcfg_pull_none_20ma: pcfg-pull-none-20ma { 2026 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 2031 pcfg_pull_up_8ma: pcfg-pull-up-8ma { 2036 pcfg_pull_up_18ma: pcfg-pull-up-18ma { [all …]
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | cyttsp4_core.c | 339 p = krealloc(si->si_ptrs.pcfg, si->si_ofs.pcfg_size, GFP_KERNEL); in cyttsp4_si_get_pcfg_data() 345 si->si_ptrs.pcfg = p; in cyttsp4_si_get_pcfg_data() 348 si->si_ptrs.pcfg); in cyttsp4_si_get_pcfg_data() 355 si->si_ofs.max_x = merge_bytes((si->si_ptrs.pcfg->res_xh in cyttsp4_si_get_pcfg_data() 356 & CY_PCFG_RESOLUTION_X_MASK), si->si_ptrs.pcfg->res_xl); in cyttsp4_si_get_pcfg_data() 357 si->si_ofs.x_origin = !!(si->si_ptrs.pcfg->res_xh in cyttsp4_si_get_pcfg_data() 359 si->si_ofs.max_y = merge_bytes((si->si_ptrs.pcfg->res_yh in cyttsp4_si_get_pcfg_data() 360 & CY_PCFG_RESOLUTION_Y_MASK), si->si_ptrs.pcfg->res_yl); in cyttsp4_si_get_pcfg_data() 361 si->si_ofs.y_origin = !!(si->si_ptrs.pcfg->res_yh in cyttsp4_si_get_pcfg_data() 363 si->si_ofs.max_p = merge_bytes(si->si_ptrs.pcfg->max_zh, in cyttsp4_si_get_pcfg_data() [all …]
|