/Linux-v4.19/drivers/soc/fsl/qbman/ |
D | qman_portal.c | 44 static void portal_set_cpu(struct qm_portal_config *pcfg, int cpu) in portal_set_cpu() argument 47 struct device *dev = pcfg->dev; in portal_set_cpu() 53 pcfg->iommu_domain = iommu_domain_alloc(&platform_bus_type); in portal_set_cpu() 54 if (!pcfg->iommu_domain) { in portal_set_cpu() 62 ret = iommu_domain_set_attr(pcfg->iommu_domain, DOMAIN_ATTR_GEOMETRY, in portal_set_cpu() 69 ret = iommu_domain_set_attr(pcfg->iommu_domain, DOMAIN_ATTR_WINDOWS, in portal_set_cpu() 78 ret = iommu_domain_set_attr(pcfg->iommu_domain, in portal_set_cpu() 86 ret = iommu_domain_window_enable(pcfg->iommu_domain, 0, 0, 1ULL << 36, in portal_set_cpu() 93 ret = iommu_attach_device(pcfg->iommu_domain, dev); in portal_set_cpu() 99 ret = iommu_domain_set_attr(pcfg->iommu_domain, in portal_set_cpu() [all …]
|
D | bman_portal.c | 38 static struct bman_portal *init_pcfg(struct bm_portal_config *pcfg) in init_pcfg() argument 40 struct bman_portal *p = bman_create_affine_portal(pcfg); in init_pcfg() 43 dev_crit(pcfg->dev, "%s: Portal failure on cpu %d\n", in init_pcfg() 44 __func__, pcfg->cpu); in init_pcfg() 49 affine_bportals[pcfg->cpu] = p; in init_pcfg() 51 dev_info(pcfg->dev, "Portal initialised, cpu %d\n", pcfg->cpu); in init_pcfg() 59 const struct bm_portal_config *pcfg; in bman_offline_cpu() local 64 pcfg = bman_get_bm_portal_config(p); in bman_offline_cpu() 65 if (!pcfg) in bman_offline_cpu() 68 irq_set_affinity(pcfg->irq, cpumask_of(0)); 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()
|
/Linux-v4.19/arch/mips/txx9/generic/ |
D | setup_tx4939.c | 117 __u64 pcfg; in tx4939_setup() local 212 txx9_clear64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_DMASEL_ALL); in tx4939_setup() 216 txx9_clear64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_PCICLKEN_ALL); in tx4939_setup() 225 ____raw_readq(&tx4939_ccfgptr->pcfg)); in tx4939_setup() 265 pcfg = ____raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_setup() 266 if (pcfg & (TX4939_PCFG_ET0MODE | TX4939_PCFG_ET1MODE)) { in tx4939_setup() 275 if (!(pcfg & TX4939_PCFG_ET0MODE)) { in tx4939_setup() 280 if (!(pcfg & TX4939_PCFG_ET1MODE)) { in tx4939_setup() 302 __u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_sio_init() local 305 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()
|
D | setup_tx3927.c | 72 tx3927_ccfgptr->pcfg); in tx3927_setup()
|
/Linux-v4.19/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 …]
|
/Linux-v4.19/sound/soc/qcom/qdsp6/ |
D | q6afe.c | 1073 union afe_port_config *pcfg = &port->port_cfg; in q6afe_slim_port_prepare() local 1075 pcfg->slim_cfg.sb_cfg_minor_version = AFE_API_VERSION_SLIMBUS_CONFIG; in q6afe_slim_port_prepare() 1076 pcfg->slim_cfg.sample_rate = cfg->sample_rate; in q6afe_slim_port_prepare() 1077 pcfg->slim_cfg.bit_width = cfg->bit_width; in q6afe_slim_port_prepare() 1078 pcfg->slim_cfg.num_channels = cfg->num_channels; in q6afe_slim_port_prepare() 1079 pcfg->slim_cfg.data_format = cfg->data_format; in q6afe_slim_port_prepare() 1080 pcfg->slim_cfg.shared_ch_mapping[0] = cfg->ch_mapping[0]; in q6afe_slim_port_prepare() 1081 pcfg->slim_cfg.shared_ch_mapping[1] = cfg->ch_mapping[1]; in q6afe_slim_port_prepare() 1082 pcfg->slim_cfg.shared_ch_mapping[2] = cfg->ch_mapping[2]; in q6afe_slim_port_prepare() 1083 pcfg->slim_cfg.shared_ch_mapping[3] = cfg->ch_mapping[3]; in q6afe_slim_port_prepare() [all …]
|
/Linux-v4.19/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 …]
|
/Linux-v4.19/drivers/dma/ |
D | pl330.c | 315 struct pl330_config *pcfg; member 476 struct pl330_config pcfg; member 558 return (thrd->dmac->pcfg.mode & DMAC_MODE_NS) ? true : false; in _manager_ns() 1081 struct pl330_config *pcfg = pxs->desc->rqcfg.pcfg; in _ldst_memtomem() local 1084 if (get_revision(pcfg->periph_id) >= PERIPH_REV_R1P0) { in _ldst_memtomem() 1483 desc->peri >= pl330->pcfg.num_peri) { in pl330_submit_req() 1578 pl330->dmac_tbd.reset_chan = (1 << pl330->pcfg.num_chan) - 1; in pl330_dotask() 1583 for (i = 0; i < pl330->pcfg.num_chan; i++) { in pl330_dotask() 1635 val = readl(regs + FSC) & ((1 << pl330->pcfg.num_chan) - 1); in pl330_update() 1639 while (i < pl330->pcfg.num_chan) { in pl330_update() [all …]
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/pci/switch/ |
D | switchtec.c | 846 struct part_cfg_regs *pcfg; in ioctl_pff_to_port() local 854 pcfg = &stdev->mmio_part_cfg_all[part]; in ioctl_pff_to_port() 857 reg = ioread32(&pcfg->usp_pff_inst_id); in ioctl_pff_to_port() 863 reg = ioread32(&pcfg->vep_pff_inst_id); in ioctl_pff_to_port() 869 for (i = 0; i < ARRAY_SIZE(pcfg->dsp_pff_inst_id); i++) { in ioctl_pff_to_port() 870 reg = ioread32(&pcfg->dsp_pff_inst_id[i]); in ioctl_pff_to_port() 892 struct part_cfg_regs *pcfg; in ioctl_port_to_pff() local 898 pcfg = stdev->mmio_part_cfg; in ioctl_port_to_pff() 900 pcfg = &stdev->mmio_part_cfg_all[p.partition]; in ioctl_port_to_pff() 906 p.pff = ioread32(&pcfg->usp_pff_inst_id); in ioctl_port_to_pff() [all …]
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | rv1108.dtsi | 592 pcfg_pull_up: pcfg-pull-up { 596 pcfg_pull_down: pcfg-pull-down { 600 pcfg_pull_none: pcfg-pull-none { 604 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 608 pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma { 612 pcfg_pull_none_smt: pcfg-pull-none-smt { 617 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { 622 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma { 626 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma { 631 pcfg_output_high: pcfg-output-high { [all …]
|
D | rk3288-fennec.dts | 263 pcfg_output_high: pcfg-output-high { 267 pcfg_output_low: pcfg-output-low { 271 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 275 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
|
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-veyron.dtsi | 435 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 440 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { 445 pcfg_output_high: pcfg-output-high { 449 pcfg_output_low: pcfg-output-low {
|
D | rk3288-miqi.dts | 285 pcfg_output_high: pcfg-output-high { 289 pcfg_output_low: pcfg-output-low { 293 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma {
|
/Linux-v4.19/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()
|
/Linux-v4.19/arch/arm64/boot/dts/rockchip/ |
D | rk3328.dtsi | 903 pcfg_pull_up: pcfg-pull-up { 907 pcfg_pull_down: pcfg-pull-down { 911 pcfg_pull_none: pcfg-pull-none { 915 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 920 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 925 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 930 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 935 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 940 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 945 pcfg_pull_up_8ma: pcfg-pull-up-8ma { [all …]
|
D | rk3368-evb.dtsi | 146 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 151 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
|
D | rk3399.dtsi | 1901 pcfg_pull_up: pcfg-pull-up { 1905 pcfg_pull_down: pcfg-pull-down { 1909 pcfg_pull_none: pcfg-pull-none { 1913 pcfg_pull_none_12ma: pcfg-pull-none-12ma { 1918 pcfg_pull_none_13ma: pcfg-pull-none-13ma { 1923 pcfg_pull_none_18ma: pcfg-pull-none-18ma { 1928 pcfg_pull_none_20ma: pcfg-pull-none-20ma { 1933 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 1938 pcfg_pull_up_8ma: pcfg-pull-up-8ma { 1943 pcfg_pull_up_18ma: pcfg-pull-up-18ma { [all …]
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | cyttsp4_core.c | 349 p = krealloc(si->si_ptrs.pcfg, si->si_ofs.pcfg_size, GFP_KERNEL); in cyttsp4_si_get_pcfg_data() 355 si->si_ptrs.pcfg = p; in cyttsp4_si_get_pcfg_data() 358 si->si_ptrs.pcfg); in cyttsp4_si_get_pcfg_data() 365 si->si_ofs.max_x = merge_bytes((si->si_ptrs.pcfg->res_xh in cyttsp4_si_get_pcfg_data() 366 & CY_PCFG_RESOLUTION_X_MASK), si->si_ptrs.pcfg->res_xl); in cyttsp4_si_get_pcfg_data() 367 si->si_ofs.x_origin = !!(si->si_ptrs.pcfg->res_xh in cyttsp4_si_get_pcfg_data() 369 si->si_ofs.max_y = merge_bytes((si->si_ptrs.pcfg->res_yh in cyttsp4_si_get_pcfg_data() 370 & CY_PCFG_RESOLUTION_Y_MASK), si->si_ptrs.pcfg->res_yl); in cyttsp4_si_get_pcfg_data() 371 si->si_ofs.y_origin = !!(si->si_ptrs.pcfg->res_yh in cyttsp4_si_get_pcfg_data() 373 si->si_ofs.max_p = merge_bytes(si->si_ptrs.pcfg->max_zh, in cyttsp4_si_get_pcfg_data() [all …]
|