Lines Matching refs:pcfg
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()
958 p.pff = ioread32(&pcfg->vep_pff_inst_id); in ioctl_port_to_pff()
961 if (p.port > ARRAY_SIZE(pcfg->dsp_pff_inst_id)) in ioctl_port_to_pff()
964 ARRAY_SIZE(pcfg->dsp_pff_inst_id) + 1); in ioctl_port_to_pff()
965 p.pff = ioread32(&pcfg->dsp_pff_inst_id[p.port - 1]); in ioctl_port_to_pff()
1316 struct part_cfg_regs *pcfg = stdev->mmio_part_cfg; in init_pff() local
1326 reg = ioread32(&pcfg->usp_pff_inst_id); in init_pff()
1330 reg = ioread32(&pcfg->vep_pff_inst_id); in init_pff()
1334 for (i = 0; i < ARRAY_SIZE(pcfg->dsp_pff_inst_id); i++) { in init_pff()
1335 reg = ioread32(&pcfg->dsp_pff_inst_id[i]); in init_pff()