| /Linux-v5.15/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() 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() 82 static struct qman_portal *init_pcfg(struct qm_portal_config *pcfg) in init_pcfg() argument [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.15/arch/arm64/boot/dts/rockchip/ |
| D | rockchip-pinconf.dtsi | 8 pcfg_pull_up: pcfg-pull-up { 13 pcfg_pull_down: pcfg-pull-down { 18 pcfg_pull_none: pcfg-pull-none { 23 pcfg_pull_none_drv_level_0: pcfg-pull-none-drv-level-0 { 29 pcfg_pull_none_drv_level_1: pcfg-pull-none-drv-level-1 { 35 pcfg_pull_none_drv_level_2: pcfg-pull-none-drv-level-2 { 41 pcfg_pull_none_drv_level_3: pcfg-pull-none-drv-level-3 { 47 pcfg_pull_none_drv_level_4: pcfg-pull-none-drv-level-4 { 53 pcfg_pull_none_drv_level_5: pcfg-pull-none-drv-level-5 { 59 pcfg_pull_none_drv_level_6: pcfg-pull-none-drv-level-6 { [all …]
|
| D | rk3308.dtsi | 837 pcfg_pull_up: pcfg-pull-up { 841 pcfg_pull_down: pcfg-pull-down { 845 pcfg_pull_none: pcfg-pull-none { 849 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 854 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 859 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 864 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 869 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 874 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 879 pcfg_pull_up_8ma: pcfg-pull-up-8ma { [all …]
|
| D | rk3328.dtsi | 1074 pcfg_pull_up: pcfg-pull-up { 1078 pcfg_pull_down: pcfg-pull-down { 1082 pcfg_pull_none: pcfg-pull-none { 1086 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 1091 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 1096 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 1101 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 1106 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 1111 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 1116 pcfg_pull_up_8ma: pcfg-pull-up-8ma { [all …]
|
| D | px30.dtsi | 1301 pcfg_pull_up: pcfg-pull-up { 1305 pcfg_pull_down: pcfg-pull-down { 1309 pcfg_pull_none: pcfg-pull-none { 1313 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 1318 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 1323 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 1328 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 1333 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 1338 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 1343 pcfg_pull_up_8ma: pcfg-pull-up-8ma { [all …]
|
| D | rk3368-evb.dtsi | 149 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 154 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
|
| D | rk3399.dtsi | 2026 pcfg_pull_up: pcfg-pull-up { 2030 pcfg_pull_down: pcfg-pull-down { 2034 pcfg_pull_none: pcfg-pull-none { 2038 pcfg_pull_none_12ma: pcfg-pull-none-12ma { 2043 pcfg_pull_none_13ma: pcfg-pull-none-13ma { 2048 pcfg_pull_none_18ma: pcfg-pull-none-18ma { 2053 pcfg_pull_none_20ma: pcfg-pull-none-20ma { 2058 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 2063 pcfg_pull_up_8ma: pcfg-pull-up-8ma { 2068 pcfg_pull_up_18ma: pcfg-pull-up-18ma { [all …]
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/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.15/sound/soc/qcom/qdsp6/ |
| D | q6afe.c | 1241 union afe_port_config *pcfg = &port->port_cfg; in q6afe_slim_port_prepare() local 1243 pcfg->slim_cfg.sb_cfg_minor_version = AFE_API_VERSION_SLIMBUS_CONFIG; in q6afe_slim_port_prepare() 1244 pcfg->slim_cfg.sample_rate = cfg->sample_rate; in q6afe_slim_port_prepare() 1245 pcfg->slim_cfg.bit_width = cfg->bit_width; in q6afe_slim_port_prepare() 1246 pcfg->slim_cfg.num_channels = cfg->num_channels; in q6afe_slim_port_prepare() 1247 pcfg->slim_cfg.data_format = cfg->data_format; in q6afe_slim_port_prepare() 1248 pcfg->slim_cfg.shared_ch_mapping[0] = cfg->ch_mapping[0]; in q6afe_slim_port_prepare() 1249 pcfg->slim_cfg.shared_ch_mapping[1] = cfg->ch_mapping[1]; in q6afe_slim_port_prepare() 1250 pcfg->slim_cfg.shared_ch_mapping[2] = cfg->ch_mapping[2]; in q6afe_slim_port_prepare() 1251 pcfg->slim_cfg.shared_ch_mapping[3] = cfg->ch_mapping[3]; in q6afe_slim_port_prepare() [all …]
|
| /Linux-v5.15/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.15/drivers/soundwire/ |
| D | qcom.c | 722 struct qcom_swrm_port_config *pcfg; in qcom_swrm_transport_params() local 727 pcfg = &ctrl->pconfig[params->port_num]; in qcom_swrm_transport_params() 729 value = pcfg->off1 << SWRM_DP_PORT_CTRL_OFFSET1_SHFT; in qcom_swrm_transport_params() 730 value |= pcfg->off2 << SWRM_DP_PORT_CTRL_OFFSET2_SHFT; in qcom_swrm_transport_params() 731 value |= pcfg->si; in qcom_swrm_transport_params() 737 if (pcfg->lane_control != SWR_INVALID_PARAM) { in qcom_swrm_transport_params() 739 value = pcfg->lane_control; in qcom_swrm_transport_params() 745 if (pcfg->blk_group_count != SWR_INVALID_PARAM) { in qcom_swrm_transport_params() 747 value = pcfg->blk_group_count; in qcom_swrm_transport_params() 753 if (pcfg->hstart != SWR_INVALID_PARAM in qcom_swrm_transport_params() [all …]
|
| /Linux-v5.15/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() 1594 pl330->dmac_tbd.reset_chan = (1 << pl330->pcfg.num_chan) - 1; in pl330_dotask() 1599 for (i = 0; i < pl330->pcfg.num_chan; i++) { in pl330_dotask() 1651 val = readl(regs + FSC) & ((1 << pl330->pcfg.num_chan) - 1); in pl330_update() 1655 while (i < pl330->pcfg.num_chan) { in pl330_update() [all …]
|
| /Linux-v5.15/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.15/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 …]
|
| /Linux-v5.15/arch/arm/boot/dts/ |
| D | rv1108.dtsi | 655 pcfg_pull_up: pcfg-pull-up { 659 pcfg_pull_down: pcfg-pull-down { 663 pcfg_pull_none: pcfg-pull-none { 667 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 671 pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma { 675 pcfg_pull_none_smt: pcfg-pull-none-smt { 680 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { 685 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma { 689 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma { 694 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 {
|
| /Linux-v5.15/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.15/drivers/input/touchscreen/ |
| D | cyttsp4_core.c | 353 p = krealloc(si->si_ptrs.pcfg, si->si_ofs.pcfg_size, GFP_KERNEL); in cyttsp4_si_get_pcfg_data() 359 si->si_ptrs.pcfg = p; in cyttsp4_si_get_pcfg_data() 362 si->si_ptrs.pcfg); in cyttsp4_si_get_pcfg_data() 369 si->si_ofs.max_x = merge_bytes((si->si_ptrs.pcfg->res_xh in cyttsp4_si_get_pcfg_data() 370 & CY_PCFG_RESOLUTION_X_MASK), si->si_ptrs.pcfg->res_xl); in cyttsp4_si_get_pcfg_data() 371 si->si_ofs.x_origin = !!(si->si_ptrs.pcfg->res_xh in cyttsp4_si_get_pcfg_data() 373 si->si_ofs.max_y = merge_bytes((si->si_ptrs.pcfg->res_yh in cyttsp4_si_get_pcfg_data() 374 & CY_PCFG_RESOLUTION_Y_MASK), si->si_ptrs.pcfg->res_yl); in cyttsp4_si_get_pcfg_data() 375 si->si_ofs.y_origin = !!(si->si_ptrs.pcfg->res_yh in cyttsp4_si_get_pcfg_data() 377 si->si_ofs.max_p = merge_bytes(si->si_ptrs.pcfg->max_zh, in cyttsp4_si_get_pcfg_data() [all …]
|