pcfg 145 arch/mips/include/asm/txx9/tx3927.h volatile unsigned long pcfg; pcfg 93 arch/mips/include/asm/txx9/tx4927.h u64 pcfg; pcfg 50 arch/mips/include/asm/txx9/tx4938.h u64 pcfg; pcfg 65 arch/mips/include/asm/txx9/tx4939.h __u64 pcfg; pcfg 27 arch/mips/pci/pci-tx4927.c if (__raw_readq(&tx4927_ccfgptr->pcfg) & TX4927_PCFG_PCICLKEN_ALL) { pcfg 58 arch/mips/pci/pci-tx4927.c if (__raw_readq(&tx4927_ccfgptr->pcfg) & TX4927_PCFG_PCICLKEN_ALL) { pcfg 27 arch/mips/pci/pci-tx4938.c if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_PCICLKEN_ALL) { pcfg 78 arch/mips/pci/pci-tx4938.c if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_PCICLKEN_ALL) { pcfg 120 arch/mips/pci/pci-tx4938.c if (__raw_readq(&tx4938_ccfgptr->pcfg) & pcfg 125 arch/mips/pci/pci-tx4938.c if (__raw_readq(&tx4938_ccfgptr->pcfg) & pcfg 27 arch/mips/pci/pci-tx4939.c if (__raw_readq(&tx4939_ccfgptr->pcfg) & TX4939_PCFG_PCICLKEN_ALL) { pcfg 56 arch/mips/pci/pci-tx4939.c if (__raw_readq(&tx4939_ccfgptr->pcfg) & pcfg 61 arch/mips/pci/pci-tx4939.c if (__raw_readq(&tx4939_ccfgptr->pcfg) & pcfg 72 arch/mips/txx9/generic/setup_tx3927.c tx3927_ccfgptr->pcfg); pcfg 180 arch/mips/txx9/generic/setup_tx4927.c txx9_clear64(&tx4927_ccfgptr->pcfg, TX4927_PCFG_DMASEL_ALL); pcfg 184 arch/mips/txx9/generic/setup_tx4927.c txx9_clear64(&tx4927_ccfgptr->pcfg, TX4927_PCFG_PCICLKEN_ALL); pcfg 191 arch/mips/txx9/generic/setup_tx4927.c ____raw_readq(&tx4927_ccfgptr->pcfg)); pcfg 268 arch/mips/txx9/generic/setup_tx4927.c u64 pcfg = __raw_readq(&tx4927_ccfgptr->pcfg); pcfg 272 arch/mips/txx9/generic/setup_tx4927.c if (!(pcfg & TX4927_PCFG_SEL2)) pcfg 300 arch/mips/txx9/generic/setup_tx4927.c txx9_clear64(&tx4927_ccfgptr->pcfg, dmasel_mask); pcfg 301 arch/mips/txx9/generic/setup_tx4927.c txx9_set64(&tx4927_ccfgptr->pcfg, dmasel); pcfg 310 arch/mips/txx9/generic/setup_tx4927.c __u64 pcfg, rst = 0, ckd = 0; pcfg 315 arch/mips/txx9/generic/setup_tx4927.c pcfg = ____raw_readq(&tx4927_ccfgptr->pcfg); pcfg 316 arch/mips/txx9/generic/setup_tx4927.c if (!(pcfg & TX4927_PCFG_SEL2)) { pcfg 193 arch/mips/txx9/generic/setup_tx4938.c txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_DMASEL_ALL); pcfg 197 arch/mips/txx9/generic/setup_tx4938.c txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_PCICLKEN_ALL); pcfg 204 arch/mips/txx9/generic/setup_tx4938.c ____raw_readq(&tx4938_ccfgptr->pcfg)); pcfg 246 arch/mips/txx9/generic/setup_tx4938.c __u64 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); pcfg 249 arch/mips/txx9/generic/setup_tx4938.c if (pcfg & (TX4938_PCFG_ETH0_SEL | TX4938_PCFG_ETH1_SEL)) { pcfg 260 arch/mips/txx9/generic/setup_tx4938.c if (!(pcfg & TX4938_PCFG_ETH0_SEL)) { pcfg 267 arch/mips/txx9/generic/setup_tx4938.c if (!(pcfg & TX4938_PCFG_ETH1_SEL)) { pcfg 293 arch/mips/txx9/generic/setup_tx4938.c if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_ETH0_SEL) pcfg 312 arch/mips/txx9/generic/setup_tx4938.c u64 pcfg = __raw_readq(&tx4938_ccfgptr->pcfg); pcfg 314 arch/mips/txx9/generic/setup_tx4938.c if (addr0 && (pcfg & TX4938_PCFG_ETH0_SEL)) pcfg 316 arch/mips/txx9/generic/setup_tx4938.c if (addr1 && (pcfg & TX4938_PCFG_ETH1_SEL)) pcfg 356 arch/mips/txx9/generic/setup_tx4938.c if ((__raw_readq(&tx4938_ccfgptr->pcfg) & pcfg 393 arch/mips/txx9/generic/setup_tx4938.c if ((__raw_readq(&tx4938_ccfgptr->pcfg) & pcfg 416 arch/mips/txx9/generic/setup_tx4938.c u64 pcfg = __raw_readq(&tx4938_ccfgptr->pcfg); pcfg 418 arch/mips/txx9/generic/setup_tx4938.c if ((pcfg & TX4938_PCFG_SEL2) && pcfg 419 arch/mips/txx9/generic/setup_tx4938.c !(pcfg & TX4938_PCFG_ETH0_SEL)) pcfg 433 arch/mips/txx9/generic/setup_tx4938.c __u64 pcfg, rst = 0, ckd = 0; pcfg 438 arch/mips/txx9/generic/setup_tx4938.c pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); pcfg 441 arch/mips/txx9/generic/setup_tx4938.c if (!(pcfg & TX4938_PCFG_SEL2)) { pcfg 448 arch/mips/txx9/generic/setup_tx4938.c if (!(pcfg & TX4938_PCFG_SEL2) || pcfg 449 arch/mips/txx9/generic/setup_tx4938.c (pcfg & TX4938_PCFG_ETH0_SEL)) { pcfg 454 arch/mips/txx9/generic/setup_tx4938.c if ((pcfg & pcfg 462 arch/mips/txx9/generic/setup_tx4938.c if (!(pcfg & TX4938_PCFG_SPI_SEL)) { pcfg 117 arch/mips/txx9/generic/setup_tx4939.c __u64 pcfg; pcfg 212 arch/mips/txx9/generic/setup_tx4939.c txx9_clear64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_DMASEL_ALL); pcfg 216 arch/mips/txx9/generic/setup_tx4939.c txx9_clear64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_PCICLKEN_ALL); pcfg 225 arch/mips/txx9/generic/setup_tx4939.c ____raw_readq(&tx4939_ccfgptr->pcfg)); pcfg 265 arch/mips/txx9/generic/setup_tx4939.c pcfg = ____raw_readq(&tx4939_ccfgptr->pcfg); pcfg 266 arch/mips/txx9/generic/setup_tx4939.c if (pcfg & (TX4939_PCFG_ET0MODE | TX4939_PCFG_ET1MODE)) { pcfg 275 arch/mips/txx9/generic/setup_tx4939.c if (!(pcfg & TX4939_PCFG_ET0MODE)) { pcfg 280 arch/mips/txx9/generic/setup_tx4939.c if (!(pcfg & TX4939_PCFG_ET1MODE)) { pcfg 302 arch/mips/txx9/generic/setup_tx4939.c __u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); pcfg 305 arch/mips/txx9/generic/setup_tx4939.c if ((pcfg & TX4939_PCFG_SIO2MODE_MASK) != TX4939_PCFG_SIO2MODE_SIO0) pcfg 307 arch/mips/txx9/generic/setup_tx4939.c if ((pcfg & TX4939_PCFG_SIO2MODE_MASK) != TX4939_PCFG_SIO2MODE_SIO2) pcfg 309 arch/mips/txx9/generic/setup_tx4939.c if (pcfg & TX4939_PCFG_SIO3MODE) pcfg 345 arch/mips/txx9/generic/setup_tx4939.c txx9_set64(&tx4939_ccfgptr->pcfg, bit); pcfg 347 arch/mips/txx9/generic/setup_tx4939.c txx9_clear64(&tx4939_ccfgptr->pcfg, bit); pcfg 360 arch/mips/txx9/generic/setup_tx4939.c u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); pcfg 362 arch/mips/txx9/generic/setup_tx4939.c if (addr0 && (pcfg & TX4939_PCFG_ET0MODE)) pcfg 364 arch/mips/txx9/generic/setup_tx4939.c if (addr1 && (pcfg & TX4939_PCFG_ET1MODE)) pcfg 422 arch/mips/txx9/generic/setup_tx4939.c __u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); pcfg 424 arch/mips/txx9/generic/setup_tx4939.c if (pcfg & TX4939_PCFG_ATA0MODE) pcfg 426 arch/mips/txx9/generic/setup_tx4939.c if ((pcfg & (TX4939_PCFG_ATA1MODE | pcfg 487 arch/mips/txx9/generic/setup_tx4939.c u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); pcfg 489 arch/mips/txx9/generic/setup_tx4939.c if ((pcfg & TX4939_PCFG_I2SMODE_MASK) == TX4939_PCFG_I2SMODE_ACLC) pcfg 519 arch/mips/txx9/generic/setup_tx4939.c __u64 pcfg, rst = 0, ckd = 0; pcfg 524 arch/mips/txx9/generic/setup_tx4939.c pcfg = ____raw_readq(&tx4939_ccfgptr->pcfg); pcfg 525 arch/mips/txx9/generic/setup_tx4939.c if ((pcfg & TX4939_PCFG_I2SMODE_MASK) != pcfg 531 arch/mips/txx9/generic/setup_tx4939.c if ((pcfg & TX4939_PCFG_I2SMODE_MASK) != pcfg 533 arch/mips/txx9/generic/setup_tx4939.c (pcfg & TX4939_PCFG_I2SMODE_MASK) != pcfg 539 arch/mips/txx9/generic/setup_tx4939.c if (!(pcfg & TX4939_PCFG_ATA0MODE)) { pcfg 544 arch/mips/txx9/generic/setup_tx4939.c if (!(pcfg & TX4939_PCFG_ATA1MODE)) { pcfg 549 arch/mips/txx9/generic/setup_tx4939.c if (pcfg & TX4939_PCFG_SPIMODE) { pcfg 554 arch/mips/txx9/generic/setup_tx4939.c if (!(pcfg & (TX4939_PCFG_VSSMODE | TX4939_PCFG_VPSMODE))) { pcfg 559 arch/mips/txx9/generic/setup_tx4939.c if ((pcfg & TX4939_PCFG_SIO2MODE_MASK) != TX4939_PCFG_SIO2MODE_SIO2) { pcfg 564 arch/mips/txx9/generic/setup_tx4939.c if (pcfg & TX4939_PCFG_SIO3MODE) { pcfg 136 arch/mips/txx9/jmr3927/setup.c tx3927_ccfgptr->pcfg &= ~TX3927_PCFG_SELALL; pcfg 137 arch/mips/txx9/jmr3927/setup.c tx3927_ccfgptr->pcfg |= pcfg 86 arch/mips/txx9/rbtx4938/setup.c if (__raw_readq(&tx4938_ccfgptr->pcfg) & pcfg 144 arch/mips/txx9/rbtx4938/setup.c txx9_set64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_SPI_SEL); pcfg 156 arch/mips/txx9/rbtx4938/setup.c unsigned long long pcfg; pcfg 174 arch/mips/txx9/rbtx4938/setup.c txx9_clear64(&tx4938_ccfgptr->pcfg, pcfg 180 arch/mips/txx9/rbtx4938/setup.c txx9_set64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_NDF_SEL); pcfg 181 arch/mips/txx9/rbtx4938/setup.c txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_ATA_SEL); pcfg 186 arch/mips/txx9/rbtx4938/setup.c txx9_set64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_ATA_SEL); pcfg 187 arch/mips/txx9/rbtx4938/setup.c txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_NDF_SEL); pcfg 191 arch/mips/txx9/rbtx4938/setup.c pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); pcfg 193 arch/mips/txx9/rbtx4938/setup.c (pcfg & TX4938_PCFG_NDF_SEL) ? "enabled" : "disabled", pcfg 194 arch/mips/txx9/rbtx4938/setup.c (pcfg & TX4938_PCFG_ATA_SEL) ? "enabled" : "disabled"); pcfg 198 arch/mips/txx9/rbtx4938/setup.c pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); /* updated */ pcfg 200 arch/mips/txx9/rbtx4938/setup.c if ((pcfg & (TX4938_PCFG_ATA_SEL | TX4938_PCFG_NDF_SEL)) == pcfg 204 arch/mips/txx9/rbtx4938/setup.c else if ((pcfg & (TX4938_PCFG_ATA_SEL | TX4938_PCFG_NDF_SEL)) == pcfg 67 arch/mips/txx9/rbtx4939/setup.c if (!(__raw_readq(&tx4939_ccfgptr->pcfg) & TX4939_PCFG_ATA1MODE) && pcfg 68 arch/mips/txx9/rbtx4939/setup.c (__raw_readq(&tx4939_ccfgptr->pcfg) & pcfg 113 arch/mips/txx9/rbtx4939/setup.c __u64 pcfg = ____raw_readq(&tx4939_ccfgptr->pcfg); pcfg 118 arch/mips/txx9/rbtx4939/setup.c if (pcfg & TX4939_PCFG_ATA0MODE) pcfg 122 arch/mips/txx9/rbtx4939/setup.c if (pcfg & TX4939_PCFG_ATA1MODE) { pcfg 127 arch/mips/txx9/rbtx4939/setup.c if (pcfg & TX4939_PCFG_ET0MODE) pcfg 131 arch/mips/txx9/rbtx4939/setup.c if (pcfg & TX4939_PCFG_ET1MODE) pcfg 140 arch/mips/txx9/rbtx4939/setup.c __u64 vmode = pcfg & pcfg 156 arch/mips/txx9/rbtx4939/setup.c if (pcfg & TX4939_PCFG_SPIMODE) { pcfg 157 arch/mips/txx9/rbtx4939/setup.c if (pcfg & TX4939_PCFG_SIO2MODE_GPIO) pcfg 160 arch/mips/txx9/rbtx4939/setup.c if (pcfg & TX4939_PCFG_SIO2MODE_SIO2) { pcfg 168 arch/mips/txx9/rbtx4939/setup.c if (pcfg & TX4939_PCFG_SIO3MODE) pcfg 178 arch/mips/txx9/rbtx4939/setup.c if ((pcfg & TX4939_PCFG_I2SMODE_MASK) == TX4939_PCFG_I2SMODE_GPIO) pcfg 514 arch/mips/txx9/rbtx4939/setup.c txx9_set64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_ATA0MODE); pcfg 313 drivers/dma/pl330.c struct pl330_config *pcfg; pcfg 475 drivers/dma/pl330.c struct pl330_config pcfg; pcfg 564 drivers/dma/pl330.c return (thrd->dmac->pcfg.mode & DMAC_MODE_NS) ? true : false; pcfg 1091 drivers/dma/pl330.c struct pl330_config *pcfg = pxs->desc->rqcfg.pcfg; pcfg 1094 drivers/dma/pl330.c if (get_revision(pcfg->periph_id) >= PERIPH_REV_R1P0) { pcfg 1493 drivers/dma/pl330.c desc->peri >= pl330->pcfg.num_peri) { pcfg 1588 drivers/dma/pl330.c pl330->dmac_tbd.reset_chan = (1 << pl330->pcfg.num_chan) - 1; pcfg 1593 drivers/dma/pl330.c for (i = 0; i < pl330->pcfg.num_chan; i++) { pcfg 1645 drivers/dma/pl330.c val = readl(regs + FSC) & ((1 << pl330->pcfg.num_chan) - 1); pcfg 1649 drivers/dma/pl330.c while (i < pl330->pcfg.num_chan) { pcfg 1663 drivers/dma/pl330.c if (pl330->pcfg.num_events < 32 pcfg 1664 drivers/dma/pl330.c && val & ~((1 << pl330->pcfg.num_events) - 1)) { pcfg 1672 drivers/dma/pl330.c for (ev = 0; ev < pl330->pcfg.num_events; ev++) { pcfg 1735 drivers/dma/pl330.c for (ev = 0; ev < pl330->pcfg.num_events; ev++) pcfg 1746 drivers/dma/pl330.c return pl330->pcfg.irq_ns & (1 << i); pcfg 1760 drivers/dma/pl330.c chans = pl330->pcfg.num_chan; pcfg 1788 drivers/dma/pl330.c if (ev >= 0 && ev < pl330->pcfg.num_events pcfg 1817 drivers/dma/pl330.c pl330->pcfg.data_bus_width = 8 * (1 << val); pcfg 1821 drivers/dma/pl330.c pl330->pcfg.data_buf_dep = val + 1; pcfg 1826 drivers/dma/pl330.c pl330->pcfg.num_chan = val; pcfg 1832 drivers/dma/pl330.c pl330->pcfg.num_peri = val; pcfg 1833 drivers/dma/pl330.c pl330->pcfg.peri_ns = readl(regs + CR4); pcfg 1835 drivers/dma/pl330.c pl330->pcfg.num_peri = 0; pcfg 1840 drivers/dma/pl330.c pl330->pcfg.mode |= DMAC_MODE_NS; pcfg 1842 drivers/dma/pl330.c pl330->pcfg.mode &= ~DMAC_MODE_NS; pcfg 1847 drivers/dma/pl330.c pl330->pcfg.num_events = val; pcfg 1849 drivers/dma/pl330.c pl330->pcfg.irq_ns = readl(regs + CR3); pcfg 1873 drivers/dma/pl330.c int chans = pl330->pcfg.num_chan; pcfg 1904 drivers/dma/pl330.c int chans = pl330->pcfg.num_chan; pcfg 1940 drivers/dma/pl330.c if ((pl330->pcfg.periph_id & 0xfffff) != PERIPH_ID_VAL) { pcfg 1942 drivers/dma/pl330.c pl330->pcfg.periph_id); pcfg 1949 drivers/dma/pl330.c if (pl330->pcfg.num_events == 0) { pcfg 1964 drivers/dma/pl330.c for (i = 0; i < pl330->pcfg.num_events; i++) pcfg 1987 drivers/dma/pl330.c for (i = 0; i < pl330->pcfg.num_chan; i++) { pcfg 2008 drivers/dma/pl330.c pl330->pcfg.num_chan * pl330->mcbufsz, pl330->mcode_cpu, pcfg 2604 drivers/dma/pl330.c desc->rqcfg.pcfg = &pch->dmac->pcfg; pcfg 2653 drivers/dma/pl330.c burst_len = pl330->pcfg.data_bus_width / 8; pcfg 2654 drivers/dma/pl330.c burst_len *= pl330->pcfg.data_buf_dep / pl330->pcfg.num_chan; pcfg 2777 drivers/dma/pl330.c burst = pl330->pcfg.data_bus_width / 8; pcfg 2795 drivers/dma/pl330.c if (desc->rqcfg.brst_size * 8 < pl330->pcfg.data_bus_width) pcfg 2911 drivers/dma/pl330.c chans = pl330->pcfg.num_chan; pcfg 2997 drivers/dma/pl330.c struct pl330_config *pcfg; pcfg 3071 drivers/dma/pl330.c pcfg = &pl330->pcfg; pcfg 3073 drivers/dma/pl330.c pcfg->periph_id = adev->periphid; pcfg 3089 drivers/dma/pl330.c num_chan = max_t(int, pcfg->num_peri, pcfg->num_chan); pcfg 3117 drivers/dma/pl330.c if (pcfg->num_peri) { pcfg 3171 drivers/dma/pl330.c pcfg->data_buf_dep, pcfg->data_bus_width / 8, pcfg->num_chan, pcfg 3172 drivers/dma/pl330.c pcfg->num_peri, pcfg->num_events); pcfg 339 drivers/input/touchscreen/cyttsp4_core.c p = krealloc(si->si_ptrs.pcfg, si->si_ofs.pcfg_size, GFP_KERNEL); pcfg 345 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.pcfg = p; pcfg 348 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.pcfg); pcfg 355 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.max_x = merge_bytes((si->si_ptrs.pcfg->res_xh pcfg 356 drivers/input/touchscreen/cyttsp4_core.c & CY_PCFG_RESOLUTION_X_MASK), si->si_ptrs.pcfg->res_xl); pcfg 357 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.x_origin = !!(si->si_ptrs.pcfg->res_xh pcfg 359 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.max_y = merge_bytes((si->si_ptrs.pcfg->res_yh pcfg 360 drivers/input/touchscreen/cyttsp4_core.c & CY_PCFG_RESOLUTION_Y_MASK), si->si_ptrs.pcfg->res_yl); pcfg 361 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.y_origin = !!(si->si_ptrs.pcfg->res_yh pcfg 363 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.max_p = merge_bytes(si->si_ptrs.pcfg->max_zh, pcfg 364 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.pcfg->max_zl); pcfg 367 drivers/input/touchscreen/cyttsp4_core.c (u8 *)si->si_ptrs.pcfg, pcfg 1724 drivers/input/touchscreen/cyttsp4_core.c kfree(si->si_ptrs.pcfg); pcfg 197 drivers/input/touchscreen/cyttsp4_core.h struct cyttsp4_pcfg *pcfg; pcfg 895 drivers/pci/switch/switchtec.c struct part_cfg_regs *pcfg; pcfg 903 drivers/pci/switch/switchtec.c pcfg = &stdev->mmio_part_cfg_all[part]; pcfg 906 drivers/pci/switch/switchtec.c reg = ioread32(&pcfg->usp_pff_inst_id); pcfg 912 drivers/pci/switch/switchtec.c reg = ioread32(&pcfg->vep_pff_inst_id); pcfg 918 drivers/pci/switch/switchtec.c for (i = 0; i < ARRAY_SIZE(pcfg->dsp_pff_inst_id); i++) { pcfg 919 drivers/pci/switch/switchtec.c reg = ioread32(&pcfg->dsp_pff_inst_id[i]); pcfg 941 drivers/pci/switch/switchtec.c struct part_cfg_regs *pcfg; pcfg 947 drivers/pci/switch/switchtec.c pcfg = stdev->mmio_part_cfg; pcfg 949 drivers/pci/switch/switchtec.c pcfg = &stdev->mmio_part_cfg_all[p.partition]; pcfg 955 drivers/pci/switch/switchtec.c p.pff = ioread32(&pcfg->usp_pff_inst_id); pcfg 958 drivers/pci/switch/switchtec.c p.pff = ioread32(&pcfg->vep_pff_inst_id); pcfg 961 drivers/pci/switch/switchtec.c if (p.port > ARRAY_SIZE(pcfg->dsp_pff_inst_id)) pcfg 964 drivers/pci/switch/switchtec.c ARRAY_SIZE(pcfg->dsp_pff_inst_id) + 1); pcfg 965 drivers/pci/switch/switchtec.c p.pff = ioread32(&pcfg->dsp_pff_inst_id[p.port - 1]); pcfg 1316 drivers/pci/switch/switchtec.c struct part_cfg_regs *pcfg = stdev->mmio_part_cfg; pcfg 1326 drivers/pci/switch/switchtec.c reg = ioread32(&pcfg->usp_pff_inst_id); pcfg 1330 drivers/pci/switch/switchtec.c reg = ioread32(&pcfg->vep_pff_inst_id); pcfg 1334 drivers/pci/switch/switchtec.c for (i = 0; i < ARRAY_SIZE(pcfg->dsp_pff_inst_id); i++) { pcfg 1335 drivers/pci/switch/switchtec.c reg = ioread32(&pcfg->dsp_pff_inst_id[i]); pcfg 495 drivers/pinctrl/pinctrl-tb10x.c u32 pcfg; pcfg 502 drivers/pinctrl/pinctrl-tb10x.c pcfg = ioread32(state->base) & ~(PCFG_PORT_MASK(port)); pcfg 503 drivers/pinctrl/pinctrl-tb10x.c pcfg |= (mode << (PCFG_PORT_BITWIDTH * port)) & PCFG_PORT_MASK(port); pcfg 504 drivers/pinctrl/pinctrl-tb10x.c iowrite32(pcfg, state->base); pcfg 936 drivers/scsi/bfa/bfa_fcs.c struct bfa_lport_cfg_s *pcfg = &fabric->bport.port_cfg; pcfg 941 drivers/scsi/bfa/bfa_fcs.c pcfg->pwwn, pcfg->nwwn, fabric->auth_reqd); pcfg 1322 drivers/scsi/bfa/bfa_fcs.c struct bfa_lport_cfg_s *pcfg = &fabric->bport.port_cfg; pcfg 1338 drivers/scsi/bfa/bfa_fcs.c n2n_port->reply_oxid, pcfg->pwwn, pcfg 1339 drivers/scsi/bfa/bfa_fcs.c pcfg->nwwn, pcfg 1225 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_lport_cfg_s *pcfg = &port->port_cfg; pcfg 1228 drivers/scsi/bfa/bfa_fcs_lport.c bfa_trc(port->fcs, pcfg->pwwn); pcfg 1239 drivers/scsi/bfa/bfa_fcs_lport.c ((void *)&pcfg->pwwn, (void *)&n2n_port->rem_port_wwn, pcfg 39 drivers/soc/fsl/qbman/bman_portal.c static struct bman_portal *init_pcfg(struct bm_portal_config *pcfg) pcfg 41 drivers/soc/fsl/qbman/bman_portal.c struct bman_portal *p = bman_create_affine_portal(pcfg); pcfg 44 drivers/soc/fsl/qbman/bman_portal.c dev_crit(pcfg->dev, "%s: Portal failure on cpu %d\n", pcfg 45 drivers/soc/fsl/qbman/bman_portal.c __func__, pcfg->cpu); pcfg 50 drivers/soc/fsl/qbman/bman_portal.c affine_bportals[pcfg->cpu] = p; pcfg 52 drivers/soc/fsl/qbman/bman_portal.c dev_info(pcfg->dev, "Portal initialised, cpu %d\n", pcfg->cpu); pcfg 60 drivers/soc/fsl/qbman/bman_portal.c const struct bm_portal_config *pcfg; pcfg 65 drivers/soc/fsl/qbman/bman_portal.c pcfg = bman_get_bm_portal_config(p); pcfg 66 drivers/soc/fsl/qbman/bman_portal.c if (!pcfg) pcfg 71 drivers/soc/fsl/qbman/bman_portal.c irq_set_affinity(pcfg->irq, cpumask_of(cpu)); pcfg 78 drivers/soc/fsl/qbman/bman_portal.c const struct bm_portal_config *pcfg; pcfg 83 drivers/soc/fsl/qbman/bman_portal.c pcfg = bman_get_bm_portal_config(p); pcfg 84 drivers/soc/fsl/qbman/bman_portal.c if (!pcfg) pcfg 87 drivers/soc/fsl/qbman/bman_portal.c irq_set_affinity(pcfg->irq, cpumask_of(cpu)); pcfg 101 drivers/soc/fsl/qbman/bman_portal.c struct bm_portal_config *pcfg; pcfg 113 drivers/soc/fsl/qbman/bman_portal.c pcfg = devm_kmalloc(dev, sizeof(*pcfg), GFP_KERNEL); pcfg 114 drivers/soc/fsl/qbman/bman_portal.c if (!pcfg) { pcfg 119 drivers/soc/fsl/qbman/bman_portal.c pcfg->dev = dev; pcfg 135 drivers/soc/fsl/qbman/bman_portal.c pcfg->cpu = -1; pcfg 140 drivers/soc/fsl/qbman/bman_portal.c pcfg->irq = irq; pcfg 142 drivers/soc/fsl/qbman/bman_portal.c pcfg->addr_virt_ce = memremap(addr_phys[0]->start, pcfg 145 drivers/soc/fsl/qbman/bman_portal.c if (!pcfg->addr_virt_ce) { pcfg 150 drivers/soc/fsl/qbman/bman_portal.c pcfg->addr_virt_ci = ioremap(addr_phys[1]->start, pcfg 152 drivers/soc/fsl/qbman/bman_portal.c if (!pcfg->addr_virt_ci) { pcfg 168 drivers/soc/fsl/qbman/bman_portal.c pcfg->cpu = cpu; pcfg 170 drivers/soc/fsl/qbman/bman_portal.c if (!init_pcfg(pcfg)) { pcfg 198 drivers/soc/fsl/qbman/bman_portal.c iounmap(pcfg->addr_virt_ci); pcfg 200 drivers/soc/fsl/qbman/bman_portal.c memunmap(pcfg->addr_virt_ce); pcfg 1382 drivers/soc/fsl/qbman/qman.c const struct qm_portal_config *pcfg; pcfg 1398 drivers/soc/fsl/qbman/qman.c pcfg = qm->config; pcfg 1400 drivers/soc/fsl/qbman/qman.c free_irq(pcfg->irq, qm); pcfg 1414 drivers/soc/fsl/qbman/qman.c const struct qm_portal_config *pcfg; pcfg 1417 drivers/soc/fsl/qbman/qman.c pcfg = qm->config; pcfg 1418 drivers/soc/fsl/qbman/qman.c cpu = pcfg->cpu; pcfg 1426 drivers/soc/fsl/qbman/qman.c return pcfg; pcfg 45 drivers/soc/fsl/qbman/qman_portal.c static void portal_set_cpu(struct qm_portal_config *pcfg, int cpu) pcfg 48 drivers/soc/fsl/qbman/qman_portal.c struct device *dev = pcfg->dev; pcfg 54 drivers/soc/fsl/qbman/qman_portal.c pcfg->iommu_domain = iommu_domain_alloc(&platform_bus_type); pcfg 55 drivers/soc/fsl/qbman/qman_portal.c if (!pcfg->iommu_domain) { pcfg 63 drivers/soc/fsl/qbman/qman_portal.c ret = iommu_domain_set_attr(pcfg->iommu_domain, DOMAIN_ATTR_GEOMETRY, pcfg 70 drivers/soc/fsl/qbman/qman_portal.c ret = iommu_domain_set_attr(pcfg->iommu_domain, DOMAIN_ATTR_WINDOWS, pcfg 79 drivers/soc/fsl/qbman/qman_portal.c ret = iommu_domain_set_attr(pcfg->iommu_domain, pcfg 87 drivers/soc/fsl/qbman/qman_portal.c ret = iommu_domain_window_enable(pcfg->iommu_domain, 0, 0, 1ULL << 36, pcfg 94 drivers/soc/fsl/qbman/qman_portal.c ret = iommu_attach_device(pcfg->iommu_domain, dev); pcfg 100 drivers/soc/fsl/qbman/qman_portal.c ret = iommu_domain_set_attr(pcfg->iommu_domain, pcfg 111 drivers/soc/fsl/qbman/qman_portal.c qman_set_sdest(pcfg->channel, cpu); pcfg 117 drivers/soc/fsl/qbman/qman_portal.c iommu_detach_device(pcfg->iommu_domain, NULL); pcfg 119 drivers/soc/fsl/qbman/qman_portal.c iommu_domain_free(pcfg->iommu_domain); pcfg 120 drivers/soc/fsl/qbman/qman_portal.c pcfg->iommu_domain = NULL; pcfg 124 drivers/soc/fsl/qbman/qman_portal.c static struct qman_portal *init_pcfg(struct qm_portal_config *pcfg) pcfg 130 drivers/soc/fsl/qbman/qman_portal.c qman_liodn_fixup(pcfg->channel); pcfg 132 drivers/soc/fsl/qbman/qman_portal.c pcfg->iommu_domain = NULL; pcfg 133 drivers/soc/fsl/qbman/qman_portal.c portal_set_cpu(pcfg, pcfg->cpu); pcfg 135 drivers/soc/fsl/qbman/qman_portal.c p = qman_create_affine_portal(pcfg, NULL); pcfg 137 drivers/soc/fsl/qbman/qman_portal.c dev_crit(pcfg->dev, "%s: Portal failure on cpu %d\n", pcfg 138 drivers/soc/fsl/qbman/qman_portal.c __func__, pcfg->cpu); pcfg 163 drivers/soc/fsl/qbman/qman_portal.c dev_info(pcfg->dev, "Portal initialised, cpu %d\n", pcfg->cpu); pcfg 168 drivers/soc/fsl/qbman/qman_portal.c static void qman_portal_update_sdest(const struct qm_portal_config *pcfg, pcfg 175 drivers/soc/fsl/qbman/qman_portal.c if (pcfg->iommu_domain) { pcfg 178 drivers/soc/fsl/qbman/qman_portal.c ret = iommu_domain_set_attr(pcfg->iommu_domain, pcfg 181 drivers/soc/fsl/qbman/qman_portal.c dev_err(pcfg->dev, pcfg 187 drivers/soc/fsl/qbman/qman_portal.c qman_set_sdest(pcfg->channel, cpu); pcfg 193 drivers/soc/fsl/qbman/qman_portal.c const struct qm_portal_config *pcfg; pcfg 197 drivers/soc/fsl/qbman/qman_portal.c pcfg = qman_get_qm_portal_config(p); pcfg 198 drivers/soc/fsl/qbman/qman_portal.c if (pcfg) { pcfg 201 drivers/soc/fsl/qbman/qman_portal.c irq_set_affinity(pcfg->irq, cpumask_of(cpu)); pcfg 202 drivers/soc/fsl/qbman/qman_portal.c qman_portal_update_sdest(pcfg, cpu); pcfg 211 drivers/soc/fsl/qbman/qman_portal.c const struct qm_portal_config *pcfg; pcfg 215 drivers/soc/fsl/qbman/qman_portal.c pcfg = qman_get_qm_portal_config(p); pcfg 216 drivers/soc/fsl/qbman/qman_portal.c if (pcfg) { pcfg 217 drivers/soc/fsl/qbman/qman_portal.c irq_set_affinity(pcfg->irq, cpumask_of(cpu)); pcfg 218 drivers/soc/fsl/qbman/qman_portal.c qman_portal_update_sdest(pcfg, cpu); pcfg 234 drivers/soc/fsl/qbman/qman_portal.c struct qm_portal_config *pcfg; pcfg 247 drivers/soc/fsl/qbman/qman_portal.c pcfg = devm_kmalloc(dev, sizeof(*pcfg), GFP_KERNEL); pcfg 248 drivers/soc/fsl/qbman/qman_portal.c if (!pcfg) { pcfg 253 drivers/soc/fsl/qbman/qman_portal.c pcfg->dev = dev; pcfg 275 drivers/soc/fsl/qbman/qman_portal.c pcfg->channel = val; pcfg 276 drivers/soc/fsl/qbman/qman_portal.c pcfg->cpu = -1; pcfg 280 drivers/soc/fsl/qbman/qman_portal.c pcfg->irq = irq; pcfg 282 drivers/soc/fsl/qbman/qman_portal.c pcfg->addr_virt_ce = memremap(addr_phys[0]->start, pcfg 285 drivers/soc/fsl/qbman/qman_portal.c if (!pcfg->addr_virt_ce) { pcfg 290 drivers/soc/fsl/qbman/qman_portal.c pcfg->addr_virt_ci = ioremap(addr_phys[1]->start, pcfg 292 drivers/soc/fsl/qbman/qman_portal.c if (!pcfg->addr_virt_ci) { pcfg 297 drivers/soc/fsl/qbman/qman_portal.c pcfg->pools = qm_get_pools_sdqcr(); pcfg 310 drivers/soc/fsl/qbman/qman_portal.c pcfg->cpu = cpu; pcfg 317 drivers/soc/fsl/qbman/qman_portal.c if (!init_pcfg(pcfg)) { pcfg 345 drivers/soc/fsl/qbman/qman_portal.c iounmap(pcfg->addr_virt_ci); pcfg 347 drivers/soc/fsl/qbman/qman_portal.c memunmap(pcfg->addr_virt_ce); pcfg 195 drivers/soc/fsl/qbman/qman_test_stash.c static const struct qm_portal_config *pcfg; pcfg 222 drivers/soc/fsl/qbman/qman_test_stash.c pcfg = qman_get_qm_portal_config(qman_dma_portal); pcfg 234 drivers/soc/fsl/qbman/qman_test_stash.c frame_dma = dma_map_single(pcfg->dev, frame_ptr, 4 * HP_NUM_WORDS, pcfg 236 drivers/soc/fsl/qbman/qman_test_stash.c if (dma_mapping_error(pcfg->dev, frame_dma)) { pcfg 247 drivers/soc/fsl/qbman/qman_test_stash.c dma_unmap_single(pcfg->dev, frame_dma, 4 * HP_NUM_WORDS, pcfg 384 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_port_config *pcfg = &dai_data->port_config[dai->id]; pcfg 395 sound/soc/qcom/qdsp6/q6afe-dai.c pcfg->slim.ch_mapping[i] = tx_slot[i]; pcfg 397 sound/soc/qcom/qdsp6/q6afe-dai.c pcfg->slim.num_channels = tx_num; pcfg 407 sound/soc/qcom/qdsp6/q6afe-dai.c pcfg->slim.ch_mapping[i] = rx_slot[i]; pcfg 409 sound/soc/qcom/qdsp6/q6afe-dai.c pcfg->slim.num_channels = rx_num; pcfg 1076 sound/soc/qcom/qdsp6/q6afe.c union afe_port_config *pcfg = &port->port_cfg; pcfg 1078 sound/soc/qcom/qdsp6/q6afe.c pcfg->slim_cfg.sb_cfg_minor_version = AFE_API_VERSION_SLIMBUS_CONFIG; pcfg 1079 sound/soc/qcom/qdsp6/q6afe.c pcfg->slim_cfg.sample_rate = cfg->sample_rate; pcfg 1080 sound/soc/qcom/qdsp6/q6afe.c pcfg->slim_cfg.bit_width = cfg->bit_width; pcfg 1081 sound/soc/qcom/qdsp6/q6afe.c pcfg->slim_cfg.num_channels = cfg->num_channels; pcfg 1082 sound/soc/qcom/qdsp6/q6afe.c pcfg->slim_cfg.data_format = cfg->data_format; pcfg 1083 sound/soc/qcom/qdsp6/q6afe.c pcfg->slim_cfg.shared_ch_mapping[0] = cfg->ch_mapping[0]; pcfg 1084 sound/soc/qcom/qdsp6/q6afe.c pcfg->slim_cfg.shared_ch_mapping[1] = cfg->ch_mapping[1]; pcfg 1085 sound/soc/qcom/qdsp6/q6afe.c pcfg->slim_cfg.shared_ch_mapping[2] = cfg->ch_mapping[2]; pcfg 1086 sound/soc/qcom/qdsp6/q6afe.c pcfg->slim_cfg.shared_ch_mapping[3] = cfg->ch_mapping[3]; pcfg 1101 sound/soc/qcom/qdsp6/q6afe.c union afe_port_config *pcfg = &port->port_cfg; pcfg 1103 sound/soc/qcom/qdsp6/q6afe.c pcfg->tdm_cfg.tdm_cfg_minor_version = AFE_API_VERSION_TDM_CONFIG; pcfg 1104 sound/soc/qcom/qdsp6/q6afe.c pcfg->tdm_cfg.num_channels = cfg->num_channels; pcfg 1105 sound/soc/qcom/qdsp6/q6afe.c pcfg->tdm_cfg.sample_rate = cfg->sample_rate; pcfg 1106 sound/soc/qcom/qdsp6/q6afe.c pcfg->tdm_cfg.bit_width = cfg->bit_width; pcfg 1107 sound/soc/qcom/qdsp6/q6afe.c pcfg->tdm_cfg.data_format = cfg->data_format; pcfg 1108 sound/soc/qcom/qdsp6/q6afe.c pcfg->tdm_cfg.sync_mode = cfg->sync_mode; pcfg 1109 sound/soc/qcom/qdsp6/q6afe.c pcfg->tdm_cfg.sync_src = cfg->sync_src; pcfg 1110 sound/soc/qcom/qdsp6/q6afe.c pcfg->tdm_cfg.nslots_per_frame = cfg->nslots_per_frame; pcfg 1112 sound/soc/qcom/qdsp6/q6afe.c pcfg->tdm_cfg.slot_width = cfg->slot_width; pcfg 1113 sound/soc/qcom/qdsp6/q6afe.c pcfg->tdm_cfg.slot_mask = cfg->slot_mask; pcfg 1137 sound/soc/qcom/qdsp6/q6afe.c union afe_port_config *pcfg = &port->port_cfg; pcfg 1139 sound/soc/qcom/qdsp6/q6afe.c pcfg->hdmi_multi_ch.hdmi_cfg_minor_version = pcfg 1141 sound/soc/qcom/qdsp6/q6afe.c pcfg->hdmi_multi_ch.datatype = cfg->datatype; pcfg 1142 sound/soc/qcom/qdsp6/q6afe.c pcfg->hdmi_multi_ch.channel_allocation = cfg->channel_allocation; pcfg 1143 sound/soc/qcom/qdsp6/q6afe.c pcfg->hdmi_multi_ch.sample_rate = cfg->sample_rate; pcfg 1144 sound/soc/qcom/qdsp6/q6afe.c pcfg->hdmi_multi_ch.bit_width = cfg->bit_width; pcfg 1157 sound/soc/qcom/qdsp6/q6afe.c union afe_port_config *pcfg = &port->port_cfg; pcfg 1161 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.i2s_cfg_minor_version = AFE_API_VERSION_I2S_CONFIG; pcfg 1162 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.sample_rate = cfg->sample_rate; pcfg 1163 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.bit_width = cfg->bit_width; pcfg 1164 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.data_format = AFE_LINEAR_PCM_DATA; pcfg 1168 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.ws_src = AFE_PORT_CONFIG_I2S_WS_SRC_INTERNAL; pcfg 1172 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.ws_src = AFE_PORT_CONFIG_I2S_WS_SRC_EXTERNAL; pcfg 1187 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.channel_mode = AFE_PORT_I2S_SD0; pcfg 1190 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.channel_mode = AFE_PORT_I2S_SD1; pcfg 1193 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.channel_mode = AFE_PORT_I2S_SD2; pcfg 1196 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.channel_mode = AFE_PORT_I2S_SD3; pcfg 1206 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.channel_mode = AFE_PORT_I2S_QUAD01; pcfg 1209 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.channel_mode = AFE_PORT_I2S_QUAD23; pcfg 1219 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.channel_mode = AFE_PORT_I2S_6CHS; pcfg 1229 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.channel_mode = AFE_PORT_I2S_8CHS; pcfg 1245 sound/soc/qcom/qdsp6/q6afe.c switch (pcfg->i2s_cfg.channel_mode) { pcfg 1249 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.channel_mode = AFE_PORT_I2S_SD0; pcfg 1252 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.channel_mode = AFE_PORT_I2S_SD2; pcfg 1257 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.mono_stereo = AFE_PORT_I2S_STEREO; pcfg 1259 sound/soc/qcom/qdsp6/q6afe.c pcfg->i2s_cfg.mono_stereo = AFE_PORT_I2S_MONO; pcfg 1264 sound/soc/qcom/qdsp6/q6afe.c if (pcfg->i2s_cfg.channel_mode < AFE_PORT_I2S_QUAD01) { pcfg 1271 sound/soc/qcom/qdsp6/q6afe.c if (pcfg->i2s_cfg.channel_mode < AFE_PORT_I2S_6CHS) { pcfg 1278 sound/soc/qcom/qdsp6/q6afe.c if (pcfg->i2s_cfg.channel_mode < AFE_PORT_I2S_8CHS) {