Home
last modified time | relevance | path

Searched refs:pcfg (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/soc/fsl/qbman/
H A Dqman_portal.c45 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_paging_domain_alloc(dev); in portal_set_cpu()
52 if (IS_ERR(pcfg->iommu_domain)) { in portal_set_cpu()
54 pcfg->iommu_domain = NULL; in portal_set_cpu()
57 ret = fsl_pamu_configure_l1_stash(pcfg->iommu_domain, cpu); in portal_set_cpu()
63 ret = iommu_attach_device(pcfg->iommu_domain, dev); in portal_set_cpu()
72 qman_set_sdest(pcfg->channel, cpu); in portal_set_cpu()
78 iommu_domain_free(pcfg->iommu_domain); in portal_set_cpu()
79 pcfg in portal_set_cpu()
83 init_pcfg(struct qm_portal_config * pcfg) init_pcfg() argument
127 qman_portal_update_sdest(const struct qm_portal_config * pcfg,unsigned int cpu) qman_portal_update_sdest() argument
145 const struct qm_portal_config *pcfg; qman_offline_cpu() local
163 const struct qm_portal_config *pcfg; qman_online_cpu() local
186 struct qm_portal_config *pcfg; qman_portal_probe() local
[all...]
H A Dbman_portal.c39 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 Dqman_test_stash.c193 static const struct qm_portal_config *pcfg; variable
220 pcfg = qman_get_qm_portal_config(qman_dma_portal); in allocate_frame_data()
232 frame_dma = dma_map_single(pcfg->dev, frame_ptr, 4 * HP_NUM_WORDS, in allocate_frame_data()
234 if (dma_mapping_error(pcfg->dev, frame_dma)) { in allocate_frame_data()
245 dma_unmap_single(pcfg->dev, frame_dma, 4 * HP_NUM_WORDS, in deallocate_frame_data()
/linux/arch/arm64/boot/dts/rockchip/
H A Drockchip-pinconf.dtsi8 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
[all...]
H A Drk3308.dtsi941 pcfg_pull_up: pcfg-pull-up {
945 pcfg_pull_down: pcfg-pull-down {
949 pcfg_pull_none: pcfg-pull-none {
953 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
958 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
963 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
968 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
973 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
978 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
983 pcfg_pull_up_8ma: pcfg
[all...]
H A Drk3328.dtsi1159 pcfg_pull_up: pcfg-pull-up {
1163 pcfg_pull_down: pcfg-pull-down {
1167 pcfg_pull_none: pcfg-pull-none {
1171 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
1176 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
1181 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
1186 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
1191 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
1196 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
1201 pcfg_pull_up_8ma: pcfg
[all...]
H A Drk3368-evb.dtsi149 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
154 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
H A Drk3399-base.dtsi2269 pcfg_pull_up: pcfg-pull-up {
2273 pcfg_pull_down: pcfg-pull-down {
2277 pcfg_pull_none: pcfg-pull-none {
2281 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
2286 pcfg_pull_none_13ma: pcfg-pull-none-13ma {
2291 pcfg_pull_none_18ma: pcfg-pull-none-18ma {
2296 pcfg_pull_none_20ma: pcfg-pull-none-20ma {
2301 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
2306 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
2311 pcfg_pull_up_18ma: pcfg
[all...]
/linux/arch/mips/txx9/generic/
H A Dsetup_tx4938.c193 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 Dsetup_tx4927.c180 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...]
/linux/sound/soc/qcom/qdsp6/
H A Dq6afe.c1334 union afe_port_config *pcfg = &port->port_cfg; in q6afe_slim_port_prepare() local
1336 pcfg->slim_cfg.sb_cfg_minor_version = AFE_API_VERSION_SLIMBUS_CONFIG; in q6afe_slim_port_prepare()
1337 pcfg->slim_cfg.sample_rate = cfg->sample_rate; in q6afe_slim_port_prepare()
1338 pcfg->slim_cfg.bit_width = cfg->bit_width; in q6afe_slim_port_prepare()
1339 pcfg->slim_cfg.num_channels = cfg->num_channels; in q6afe_slim_port_prepare()
1340 pcfg->slim_cfg.data_format = cfg->data_format; in q6afe_slim_port_prepare()
1341 pcfg->slim_cfg.shared_ch_mapping[0] = cfg->ch_mapping[0]; in q6afe_slim_port_prepare()
1342 pcfg->slim_cfg.shared_ch_mapping[1] = cfg->ch_mapping[1]; in q6afe_slim_port_prepare()
1343 pcfg->slim_cfg.shared_ch_mapping[2] = cfg->ch_mapping[2]; in q6afe_slim_port_prepare()
1344 pcfg in q6afe_slim_port_prepare()
1359 union afe_port_config *pcfg = &port->port_cfg; q6afe_tdm_port_prepare() local
1421 union afe_port_config *pcfg = &port->port_cfg; afe_port_send_usb_params() local
1467 union afe_port_config *pcfg = &port->port_cfg; q6afe_usb_port_prepare() local
1488 union afe_port_config *pcfg = &port->port_cfg; q6afe_hdmi_port_prepare() local
1508 union afe_port_config *pcfg = &port->port_cfg; q6afe_i2s_port_prepare() local
1652 union afe_port_config *pcfg = &port->port_cfg; q6afe_cdc_dma_port_prepare() local
[all...]
H A Dq6afe-dai.c455 struct q6afe_port_config *pcfg = &dai_data->port_config[dai->id]; in q6slim_set_channel_map() local
466 pcfg->slim.ch_mapping[i] = tx_slot[i]; in q6slim_set_channel_map()
468 pcfg->slim.num_channels = tx_num; in q6slim_set_channel_map()
478 pcfg->slim.ch_mapping[i] = rx_slot[i]; in q6slim_set_channel_map()
480 pcfg->slim.num_channels = rx_num; in q6slim_set_channel_map()
/linux/drivers/dma/
H A Dpl330.c314 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()
3008 struct pl330_config *pcfg; pl330_probe() local
[all...]
/linux/arch/mips/pci/
H A Dpci-tx4938.c27 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 Dpci-tx4927.c27 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/drivers/soundwire/
H A Dqcom.c983 struct qcom_swrm_port_config *pcfg; in qcom_swrm_transport_params() local
988 pcfg = &ctrl->pconfig[params->port_num]; in qcom_swrm_transport_params()
990 value = pcfg->off1 << SWRM_DP_PORT_CTRL_OFFSET1_SHFT; in qcom_swrm_transport_params()
991 value |= pcfg->off2 << SWRM_DP_PORT_CTRL_OFFSET2_SHFT; in qcom_swrm_transport_params()
992 value |= pcfg->si & 0xff; in qcom_swrm_transport_params()
998 if (pcfg->si > 0xff) { in qcom_swrm_transport_params()
999 value = (pcfg->si >> 8) & 0xff; in qcom_swrm_transport_params()
1006 if (pcfg->lane_control != SWR_INVALID_PARAM) { in qcom_swrm_transport_params()
1008 value = pcfg->lane_control; in qcom_swrm_transport_params()
1014 if (pcfg in qcom_swrm_transport_params()
1081 struct qcom_swrm_port_config *pcfg; qcom_swrm_compute_params() local
[all...]
/linux/drivers/pci/switch/
H A Dswitchtec.c1123 struct part_cfg_regs __iomem *pcfg; in ioctl_pff_to_port() local
1131 pcfg = &stdev->mmio_part_cfg_all[part]; in ioctl_pff_to_port()
1134 reg = ioread32(&pcfg->usp_pff_inst_id); in ioctl_pff_to_port()
1140 reg = ioread32(&pcfg->vep_pff_inst_id) & 0xFF; in ioctl_pff_to_port()
1146 for (i = 0; i < ARRAY_SIZE(pcfg->dsp_pff_inst_id); i++) { in ioctl_pff_to_port()
1147 reg = ioread32(&pcfg->dsp_pff_inst_id[i]); in ioctl_pff_to_port()
1169 struct part_cfg_regs __iomem *pcfg; in ioctl_port_to_pff() local
1175 pcfg = stdev->mmio_part_cfg; in ioctl_port_to_pff()
1177 pcfg = &stdev->mmio_part_cfg_all[p.partition]; in ioctl_port_to_pff()
1183 p.pff = ioread32(&pcfg in ioctl_port_to_pff()
1540 struct part_cfg_regs __iomem *pcfg = stdev->mmio_part_cfg; init_pff() local
[all...]
/linux/arch/arm/boot/dts/rockchip/
H A Drv1108.dtsi641 pcfg_pull_up: pcfg-pull-up {
645 pcfg_pull_down: pcfg-pull-down {
649 pcfg_pull_none: pcfg-pull-none {
653 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
657 pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma {
661 pcfg_pull_none_smt: pcfg-pull-none-smt {
666 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
671 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma {
675 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma {
680 pcfg_output_high: pcfg
[all...]
H A Drk3288-firefly-reload-core.dtsi212 pcfg_output_high: pcfg-output-high {
216 pcfg_output_low: pcfg-output-low {
220 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma {
H A Drk3288-miqi.dts300 pcfg_output_high: pcfg-output-high {
304 pcfg_output_low: pcfg-output-low {
308 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma {
H A Drk3288-veyron.dtsi459 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
464 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
469 pcfg_output_high: pcfg-output-high {
473 pcfg_output_low: pcfg-output-low {
H A Drk3288-firefly.dtsi379 pcfg_output_high: pcfg-output-high {
383 pcfg_output_low: pcfg-output-low {
387 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma {
/linux/drivers/pinctrl/
H A Dpinctrl-tb10x.c495 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()
/linux/drivers/scsi/bfa/
H A Dbfa_fcs.c936 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()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_e610.c2059 struct ixgbe_aci_cmd_set_phy_cfg_data pcfg; in ixgbe_setup_phy_link_e610() local
2086 ixgbe_copy_phy_caps_to_cfg(&pcaps, &pcfg); in ixgbe_setup_phy_link_e610()
2130 pcfg.phy_type_low = cpu_to_le64(phy_type_low); in ixgbe_setup_phy_link_e610()
2132 pcfg.phy_type_high = cpu_to_le64(phy_type_high); in ixgbe_setup_phy_link_e610()
2134 if (pcfg.phy_type_high != pcaps.phy_type_high || in ixgbe_setup_phy_link_e610()
2135 pcfg.phy_type_low != pcaps.phy_type_low || in ixgbe_setup_phy_link_e610()
2136 pcfg.caps != pcaps.caps) { in ixgbe_setup_phy_link_e610()
2137 pcfg.caps |= IXGBE_ACI_PHY_ENA_LINK; in ixgbe_setup_phy_link_e610()
2138 pcfg.caps |= IXGBE_ACI_PHY_ENA_AUTO_LINK_UPDT; in ixgbe_setup_phy_link_e610()
2140 err = ixgbe_aci_set_phy_cfg(hw, &pcfg); in ixgbe_setup_phy_link_e610()
[all...]

123