/kernel/linux/linux-6.6/drivers/soc/fsl/qbman/ |
H A 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 126 qman_portal_update_sdest(const struct qm_portal_config *pcfg, unsigned int cpu) qman_portal_update_sdest() argument 144 const struct qm_portal_config *pcfg; qman_offline_cpu() local 162 const struct qm_portal_config *pcfg; qman_online_cpu() local 185 struct qm_portal_config *pcfg; qman_portal_probe() local [all...] |
H A 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() 78 const struct bm_portal_config *pcfg; bman_online_cpu() local 101 struct bm_portal_config *pcfg; bman_portal_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/soc/fsl/qbman/ |
H A 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 in portal_set_cpu() 124 init_pcfg(struct qm_portal_config *pcfg) init_pcfg() argument 168 qman_portal_update_sdest(const struct qm_portal_config *pcfg, unsigned int cpu) qman_portal_update_sdest() argument 193 const struct qm_portal_config *pcfg; qman_offline_cpu() local 211 const struct qm_portal_config *pcfg; qman_online_cpu() local 234 struct qm_portal_config *pcfg; qman_portal_probe() local [all...] |
H A 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() 78 const struct bm_portal_config *pcfg; bman_online_cpu() local 101 struct bm_portal_config *pcfg; bman_portal_probe() local [all...] |
H A 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/ |
H A 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 in tx4939_sio_init() local 343 u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); tx4939_ethaddr_init() local 405 __u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); tx4939_ata_init() local 470 u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); tx4939_aclc_init() local 502 __u64 pcfg, rst = 0, ckd = 0; tx4939_stop_unused_modules() local [all...] |
H A 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 in tx4938_ethaddr_init() local 416 u64 pcfg = __raw_readq(&tx4938_ccfgptr->pcfg); tx4938_aclc_init() local 433 __u64 pcfg, rst = 0, ckd = 0; tx4938_stop_unused_modules() local [all...] |
H A 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 in tx4927_stop_unused_modules() [all...] |
/kernel/linux/linux-6.6/arch/mips/txx9/generic/ |
H A 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 in tx4938_ethaddr_init() local 416 u64 pcfg = __raw_readq(&tx4938_ccfgptr->pcfg); tx4938_aclc_init() local 433 __u64 pcfg, rst = 0, ckd = 0; tx4938_stop_unused_modules() local [all...] |
H A 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 in tx4927_stop_unused_modules() [all...] |
/kernel/linux/linux-5.10/arch/mips/txx9/rbtx4938/ |
H A 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() [all...] |
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/ |
H A 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 in q6afe_slim_port_prepare() 1261 union afe_port_config *pcfg = &port->port_cfg; q6afe_tdm_port_prepare() local 1297 union afe_port_config *pcfg = &port->port_cfg; q6afe_hdmi_port_prepare() local 1317 union afe_port_config *pcfg = &port->port_cfg; q6afe_i2s_port_prepare() local 1461 union afe_port_config *pcfg = &port->port_cfg; q6afe_cdc_dma_port_prepare() local [all...] |
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
H A 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 in q6afe_slim_port_prepare() 1266 union afe_port_config *pcfg = &port->port_cfg; q6afe_tdm_port_prepare() local 1302 union afe_port_config *pcfg = &port->port_cfg; q6afe_hdmi_port_prepare() local 1322 union afe_port_config *pcfg = &port->port_cfg; q6afe_i2s_port_prepare() local 1466 union afe_port_config *pcfg = &port->port_cfg; q6afe_cdc_dma_port_prepare() local [all...] |
/kernel/linux/linux-5.10/arch/mips/txx9/rbtx4939/ |
H A 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 in rbtx4939_update_ioc_pen() [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | pl330.c | 314 struct pl330_config *pcfg; member 479 struct pl330_config pcfg; member 572 return (thrd->dmac->pcfg.mode & DMAC_MODE_NS) ? true : false; in _manager_ns() 1099 struct pl330_config *pcfg = pxs->desc->rqcfg.pcfg; in _ldst_memtomem() local 1102 if (get_revision(pcfg->periph_id) >= PERIPH_REV_R1P0) { in _ldst_memtomem() 1507 desc->peri >= pl330->pcfg.num_peri) { in pl330_submit_req() 1602 pl330->dmac_tbd.reset_chan = (1 << pl330->pcfg.num_chan) - 1; in pl330_dotask() 1607 for (i = 0; i < pl330->pcfg.num_chan; i++) { in pl330_dotask() 1659 val = readl(regs + FSC) & ((1 << pl330->pcfg in pl330_update() 3013 struct pl330_config *pcfg; pl330_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | pl330.c | 314 struct pl330_config *pcfg; member 479 struct pl330_config pcfg; member 572 return (thrd->dmac->pcfg.mode & DMAC_MODE_NS) ? true : false; in _manager_ns() 1099 struct pl330_config *pcfg = pxs->desc->rqcfg.pcfg; in _ldst_memtomem() local 1102 if (get_revision(pcfg->periph_id) >= PERIPH_REV_R1P0) { in _ldst_memtomem() 1507 desc->peri >= pl330->pcfg.num_peri) { in pl330_submit_req() 1600 pl330->dmac_tbd.reset_chan = (1 << pl330->pcfg.num_chan) - 1; in pl330_dotask() 1605 for (i = 0; i < pl330->pcfg.num_chan; i++) { in pl330_dotask() 1657 val = readl(regs + FSC) & ((1 << pl330->pcfg in pl330_update() 3007 struct pl330_config *pcfg; pl330_probe() local [all...] |
/kernel/linux/linux-5.10/arch/mips/pci/ |
H A 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()
|
H A 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()
|
H A 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-6.6/arch/mips/pci/ |
H A 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()
|
H A 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-6.6/drivers/soundwire/ |
H A D | qcom.c | 960 struct qcom_swrm_port_config *pcfg; in qcom_swrm_transport_params() local 965 pcfg = &ctrl->pconfig[params->port_num]; in qcom_swrm_transport_params() 967 value = pcfg->off1 << SWRM_DP_PORT_CTRL_OFFSET1_SHFT; in qcom_swrm_transport_params() 968 value |= pcfg->off2 << SWRM_DP_PORT_CTRL_OFFSET2_SHFT; in qcom_swrm_transport_params() 969 value |= pcfg->si & 0xff; in qcom_swrm_transport_params() 975 if (pcfg->si > 0xff) { in qcom_swrm_transport_params() 976 value = (pcfg->si >> 8) & 0xff; in qcom_swrm_transport_params() 983 if (pcfg->lane_control != SWR_INVALID_PARAM) { in qcom_swrm_transport_params() 985 value = pcfg->lane_control; in qcom_swrm_transport_params() 991 if (pcfg in qcom_swrm_transport_params() 1057 struct qcom_swrm_port_config *pcfg; qcom_swrm_compute_params() local [all...] |
/kernel/linux/linux-5.10/drivers/soundwire/ |
H A 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 in qcom_swrm_compute_params() [all...] |
/kernel/linux/linux-5.10/drivers/pci/switch/ |
H A 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 in ioctl_port_to_pff() 1481 struct part_cfg_regs __iomem *pcfg = stdev->mmio_part_cfg; init_pff() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/switch/ |
H A D | switchtec.c | 1121 struct part_cfg_regs __iomem *pcfg; in ioctl_pff_to_port() local 1129 pcfg = &stdev->mmio_part_cfg_all[part]; in ioctl_pff_to_port() 1132 reg = ioread32(&pcfg->usp_pff_inst_id); in ioctl_pff_to_port() 1138 reg = ioread32(&pcfg->vep_pff_inst_id) & 0xFF; in ioctl_pff_to_port() 1144 for (i = 0; i < ARRAY_SIZE(pcfg->dsp_pff_inst_id); i++) { in ioctl_pff_to_port() 1145 reg = ioread32(&pcfg->dsp_pff_inst_id[i]); in ioctl_pff_to_port() 1167 struct part_cfg_regs __iomem *pcfg; in ioctl_port_to_pff() local 1173 pcfg = stdev->mmio_part_cfg; in ioctl_port_to_pff() 1175 pcfg = &stdev->mmio_part_cfg_all[p.partition]; in ioctl_port_to_pff() 1181 p.pff = ioread32(&pcfg in ioctl_port_to_pff() 1538 struct part_cfg_regs __iomem *pcfg = stdev->mmio_part_cfg; init_pff() local [all...] |