/Linux-v5.4/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()
|
/Linux-v5.4/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()
|
/Linux-v5.4/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-v5.4/sound/soc/qcom/qdsp6/ |
D | q6afe.c | 1076 union afe_port_config *pcfg = &port->port_cfg; in q6afe_slim_port_prepare() local 1078 pcfg->slim_cfg.sb_cfg_minor_version = AFE_API_VERSION_SLIMBUS_CONFIG; in q6afe_slim_port_prepare() 1079 pcfg->slim_cfg.sample_rate = cfg->sample_rate; in q6afe_slim_port_prepare() 1080 pcfg->slim_cfg.bit_width = cfg->bit_width; in q6afe_slim_port_prepare() 1081 pcfg->slim_cfg.num_channels = cfg->num_channels; in q6afe_slim_port_prepare() 1082 pcfg->slim_cfg.data_format = cfg->data_format; in q6afe_slim_port_prepare() 1083 pcfg->slim_cfg.shared_ch_mapping[0] = cfg->ch_mapping[0]; in q6afe_slim_port_prepare() 1084 pcfg->slim_cfg.shared_ch_mapping[1] = cfg->ch_mapping[1]; in q6afe_slim_port_prepare() 1085 pcfg->slim_cfg.shared_ch_mapping[2] = cfg->ch_mapping[2]; in q6afe_slim_port_prepare() 1086 pcfg->slim_cfg.shared_ch_mapping[3] = cfg->ch_mapping[3]; in q6afe_slim_port_prepare() [all …]
|
/Linux-v5.4/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-v5.4/drivers/dma/ |
D | pl330.c | 313 struct pl330_config *pcfg; member 475 struct pl330_config pcfg; member 564 return (thrd->dmac->pcfg.mode & DMAC_MODE_NS) ? true : false; in _manager_ns() 1091 struct pl330_config *pcfg = pxs->desc->rqcfg.pcfg; in _ldst_memtomem() local 1094 if (get_revision(pcfg->periph_id) >= PERIPH_REV_R1P0) { in _ldst_memtomem() 1493 desc->peri >= pl330->pcfg.num_peri) { in pl330_submit_req() 1588 pl330->dmac_tbd.reset_chan = (1 << pl330->pcfg.num_chan) - 1; in pl330_dotask() 1593 for (i = 0; i < pl330->pcfg.num_chan; i++) { in pl330_dotask() 1645 val = readl(regs + FSC) & ((1 << pl330->pcfg.num_chan) - 1); in pl330_update() 1649 while (i < pl330->pcfg.num_chan) { in pl330_update() [all …]
|
/Linux-v5.4/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-v5.4/drivers/pci/switch/ |
D | switchtec.c | 895 struct part_cfg_regs *pcfg; in ioctl_pff_to_port() local 903 pcfg = &stdev->mmio_part_cfg_all[part]; in ioctl_pff_to_port() 906 reg = ioread32(&pcfg->usp_pff_inst_id); in ioctl_pff_to_port() 912 reg = ioread32(&pcfg->vep_pff_inst_id); in ioctl_pff_to_port() 918 for (i = 0; i < ARRAY_SIZE(pcfg->dsp_pff_inst_id); i++) { in ioctl_pff_to_port() 919 reg = ioread32(&pcfg->dsp_pff_inst_id[i]); in ioctl_pff_to_port() 941 struct part_cfg_regs *pcfg; in ioctl_port_to_pff() local 947 pcfg = stdev->mmio_part_cfg; in ioctl_port_to_pff() 949 pcfg = &stdev->mmio_part_cfg_all[p.partition]; in ioctl_port_to_pff() 955 p.pff = ioread32(&pcfg->usp_pff_inst_id); in ioctl_port_to_pff() [all …]
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | rv1108.dtsi | 631 pcfg_pull_up: pcfg-pull-up { 635 pcfg_pull_down: pcfg-pull-down { 639 pcfg_pull_none: pcfg-pull-none { 643 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 647 pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma { 651 pcfg_pull_none_smt: pcfg-pull-none-smt { 656 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { 661 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma { 665 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma { 670 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 | 284 pcfg_output_high: pcfg-output-high { 288 pcfg_output_low: pcfg-output-low { 292 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma {
|
D | rk3288-veyron.dtsi | 504 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 509 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { 514 pcfg_output_high: pcfg-output-high { 518 pcfg_output_low: pcfg-output-low {
|
/Linux-v5.4/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-v5.4/arch/arm64/boot/dts/rockchip/ |
D | rk3328.dtsi | 1011 pcfg_pull_up: pcfg-pull-up { 1015 pcfg_pull_down: pcfg-pull-down { 1019 pcfg_pull_none: pcfg-pull-none { 1023 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 1028 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 1033 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 1038 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 1043 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 1048 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 1053 pcfg_pull_up_8ma: pcfg-pull-up-8ma { [all …]
|
D | px30.dtsi | 1028 pcfg_pull_up: pcfg-pull-up { 1032 pcfg_pull_down: pcfg-pull-down { 1036 pcfg_pull_none: pcfg-pull-none { 1040 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 1045 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 1050 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 1055 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 1060 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 1065 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 1070 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 | 1966 pcfg_pull_up: pcfg-pull-up { 1970 pcfg_pull_down: pcfg-pull-down { 1974 pcfg_pull_none: pcfg-pull-none { 1978 pcfg_pull_none_12ma: pcfg-pull-none-12ma { 1983 pcfg_pull_none_13ma: pcfg-pull-none-13ma { 1988 pcfg_pull_none_18ma: pcfg-pull-none-18ma { 1993 pcfg_pull_none_20ma: pcfg-pull-none-20ma { 1998 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 2003 pcfg_pull_up_8ma: pcfg-pull-up-8ma { 2008 pcfg_pull_up_18ma: pcfg-pull-up-18ma { [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/drivers/pinctrl/ |
D | pinctrl-tb10x.c | 495 u32 pcfg; in tb10x_pinctrl_set_config() local 502 pcfg = ioread32(state->base) & ~(PCFG_PORT_MASK(port)); in tb10x_pinctrl_set_config() 503 pcfg |= (mode << (PCFG_PORT_BITWIDTH * port)) & PCFG_PORT_MASK(port); in tb10x_pinctrl_set_config() 504 iowrite32(pcfg, state->base); in tb10x_pinctrl_set_config()
|