/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()
|
D | qman.c | 1377 const struct qm_portal_config *pcfg; in qman_destroy_portal() local 1393 pcfg = qm->config; in qman_destroy_portal() 1395 free_irq(pcfg->irq, qm); in qman_destroy_portal() 1409 const struct qm_portal_config *pcfg; in qman_destroy_affine_portal() local 1412 pcfg = qm->config; in qman_destroy_affine_portal() 1413 cpu = pcfg->cpu; in qman_destroy_affine_portal() 1421 return pcfg; in qman_destroy_affine_portal()
|
/drivers/soundwire/ |
D | qcom.c | 736 struct qcom_swrm_port_config *pcfg; in qcom_swrm_transport_params() local 741 pcfg = &ctrl->pconfig[params->port_num]; in qcom_swrm_transport_params() 743 value = pcfg->off1 << SWRM_DP_PORT_CTRL_OFFSET1_SHFT; in qcom_swrm_transport_params() 744 value |= pcfg->off2 << SWRM_DP_PORT_CTRL_OFFSET2_SHFT; in qcom_swrm_transport_params() 745 value |= pcfg->si; in qcom_swrm_transport_params() 751 if (pcfg->lane_control != SWR_INVALID_PARAM) { in qcom_swrm_transport_params() 753 value = pcfg->lane_control; in qcom_swrm_transport_params() 759 if (pcfg->blk_group_count != SWR_INVALID_PARAM) { in qcom_swrm_transport_params() 761 value = pcfg->blk_group_count; in qcom_swrm_transport_params() 767 if (pcfg->hstart != SWR_INVALID_PARAM in qcom_swrm_transport_params() [all …]
|
/drivers/dma/ |
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.num_chan) - 1); in pl330_update() 1661 while (i < pl330->pcfg.num_chan) { in pl330_update() [all …]
|
/drivers/pci/switch/ |
D | switchtec.c | 1063 struct part_cfg_regs __iomem *pcfg; in ioctl_pff_to_port() local 1071 pcfg = &stdev->mmio_part_cfg_all[part]; in ioctl_pff_to_port() 1074 reg = ioread32(&pcfg->usp_pff_inst_id); in ioctl_pff_to_port() 1080 reg = ioread32(&pcfg->vep_pff_inst_id); in ioctl_pff_to_port() 1086 for (i = 0; i < ARRAY_SIZE(pcfg->dsp_pff_inst_id); i++) { in ioctl_pff_to_port() 1087 reg = ioread32(&pcfg->dsp_pff_inst_id[i]); in ioctl_pff_to_port() 1109 struct part_cfg_regs __iomem *pcfg; in ioctl_port_to_pff() local 1115 pcfg = stdev->mmio_part_cfg; in ioctl_port_to_pff() 1117 pcfg = &stdev->mmio_part_cfg_all[p.partition]; in ioctl_port_to_pff() 1123 p.pff = ioread32(&pcfg->usp_pff_inst_id); in ioctl_port_to_pff() [all …]
|
/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 …]
|
D | cyttsp4_core.h | 197 struct cyttsp4_pcfg *pcfg; member
|
/drivers/scsi/bfa/ |
D | bfa_fcs.c | 936 struct bfa_lport_cfg_s *pcfg = &fabric->bport.port_cfg; in bfa_fcs_fabric_login() local 941 pcfg->pwwn, pcfg->nwwn, fabric->auth_reqd); in bfa_fcs_fabric_login() 1322 struct bfa_lport_cfg_s *pcfg = &fabric->bport.port_cfg; in bfa_fcs_fabric_send_flogi_acc() local 1338 n2n_port->reply_oxid, pcfg->pwwn, in bfa_fcs_fabric_send_flogi_acc() 1339 pcfg->nwwn, in bfa_fcs_fabric_send_flogi_acc()
|
D | bfa_fcs_lport.c | 1225 struct bfa_lport_cfg_s *pcfg = &port->port_cfg; in bfa_fcs_lport_n2n_online() local 1228 bfa_trc(port->fcs, pcfg->pwwn); in bfa_fcs_lport_n2n_online() 1239 ((void *)&pcfg->pwwn, (void *)&n2n_port->rem_port_wwn, in bfa_fcs_lport_n2n_online()
|
/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()
|