Home
last modified time | relevance | path

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

123

/linux-6.15/drivers/soc/fsl/qbman/
H A Dqman_portal.c92 portal_set_cpu(pcfg, pcfg->cpu); in init_pcfg()
122 dev_info(pcfg->dev, "Portal initialised, cpu %d\n", pcfg->cpu); in init_pcfg()
133 dev_err(pcfg->dev, in qman_portal_update_sdest()
150 if (pcfg) { in qman_offline_cpu()
168 if (pcfg) { in qman_online_cpu()
199 pcfg = devm_kmalloc(dev, sizeof(*pcfg), GFP_KERNEL); in qman_portal_probe()
200 if (!pcfg) { in qman_portal_probe()
205 pcfg->dev = dev; in qman_portal_probe()
228 pcfg->cpu = -1; in qman_portal_probe()
232 pcfg->irq = irq; in qman_portal_probe()
[all …]
H A Dbman_portal.c45 __func__, pcfg->cpu); in init_pcfg()
52 dev_info(pcfg->dev, "Portal initialised, cpu %d\n", pcfg->cpu); in init_pcfg()
66 if (!pcfg) in bman_offline_cpu()
84 if (!pcfg) in bman_online_cpu()
113 pcfg = devm_kmalloc(dev, sizeof(*pcfg), GFP_KERNEL); in bman_portal_probe()
114 if (!pcfg) { in bman_portal_probe()
119 pcfg->dev = dev; in bman_portal_probe()
135 pcfg->cpu = -1; in bman_portal_probe()
140 pcfg->irq = irq; in bman_portal_probe()
168 pcfg->cpu = cpu; in bman_portal_probe()
[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-6.15/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 {
119 pcfg_pull_up_drv_level_0: pcfg-pull-up-drv-level-0 {
311 pcfg_pull_up_smt: pcfg-pull-up-smt {
317 pcfg_pull_down_smt: pcfg-pull-down-smt {
323 pcfg_pull_none_smt: pcfg-pull-none-smt {
336 pcfg_output_high: pcfg-output-high {
[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 {
958 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
963 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
983 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
993 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
1003 pcfg_output_high: pcfg-output-high {
1007 pcfg_output_low: pcfg-output-low {
1011 pcfg_input_high: pcfg-input-high {
[all …]
H A Drk3328.dtsi1163 pcfg_pull_up: pcfg-pull-up {
1167 pcfg_pull_down: pcfg-pull-down {
1171 pcfg_pull_none: pcfg-pull-none {
1180 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
1185 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
1205 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
1215 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
1220 pcfg_output_high: pcfg-output-high {
1224 pcfg_output_low: pcfg-output-low {
1228 pcfg_input_high: pcfg-input-high {
[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 Dpx30.dtsi1441 pcfg_pull_up: pcfg-pull-up {
1445 pcfg_pull_down: pcfg-pull-down {
1449 pcfg_pull_none: pcfg-pull-none {
1458 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
1463 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
1483 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
1493 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
1503 pcfg_output_high: pcfg-output-high {
1507 pcfg_output_low: pcfg-output-low {
1511 pcfg_input_high: pcfg-input-high {
[all …]
H A Drk3399-base.dtsi2273 pcfg_pull_up: pcfg-pull-up {
2277 pcfg_pull_down: pcfg-pull-down {
2281 pcfg_pull_none: pcfg-pull-none {
2305 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
2310 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
2315 pcfg_pull_up_18ma: pcfg-pull-up-18ma {
2320 pcfg_pull_up_20ma: pcfg-pull-up-20ma {
2325 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
2350 pcfg_output_high: pcfg-output-high {
2354 pcfg_output_low: pcfg-output-low {
[all …]
/linux-6.15/arch/mips/txx9/generic/
H A Dsetup_tx4938.c246 __u64 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_setup() local
312 u64 pcfg = __raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_ethaddr_init() local
416 u64 pcfg = __raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_aclc_init() local
418 if ((pcfg & TX4938_PCFG_SEL2) && in tx4938_aclc_init()
419 !(pcfg & TX4938_PCFG_ETH0_SEL)) in tx4938_aclc_init()
433 __u64 pcfg, rst = 0, ckd = 0; in tx4938_stop_unused_modules() local
438 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_stop_unused_modules()
441 if (!(pcfg & TX4938_PCFG_SEL2)) { in tx4938_stop_unused_modules()
448 if (!(pcfg & TX4938_PCFG_SEL2) || in tx4938_stop_unused_modules()
449 (pcfg & TX4938_PCFG_ETH0_SEL)) { in tx4938_stop_unused_modules()
[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 = ____raw_readq(&tx4927_ccfgptr->pcfg); in tx4927_stop_unused_modules()
316 if (!(pcfg & TX4927_PCFG_SEL2)) { in tx4927_stop_unused_modules()
/linux-6.15/sound/soc/qcom/qdsp6/
H A Dq6afe.c1246 pcfg->slim_cfg.bit_width = cfg->bit_width; in q6afe_slim_port_prepare()
1271 pcfg->tdm_cfg.sample_rate = cfg->sample_rate; in q6afe_tdm_port_prepare()
1272 pcfg->tdm_cfg.bit_width = cfg->bit_width; in q6afe_tdm_port_prepare()
1273 pcfg->tdm_cfg.data_format = cfg->data_format; in q6afe_tdm_port_prepare()
1274 pcfg->tdm_cfg.sync_mode = cfg->sync_mode; in q6afe_tdm_port_prepare()
1275 pcfg->tdm_cfg.sync_src = cfg->sync_src; in q6afe_tdm_port_prepare()
1278 pcfg->tdm_cfg.slot_width = cfg->slot_width; in q6afe_tdm_port_prepare()
1279 pcfg->tdm_cfg.slot_mask = cfg->slot_mask; in q6afe_tdm_port_prepare()
1305 pcfg->hdmi_multi_ch.hdmi_cfg_minor_version = in q6afe_hdmi_port_prepare()
1329 pcfg->i2s_cfg.bit_width = cfg->bit_width; in q6afe_i2s_port_prepare()
[all …]
H A Dq6afe-dai.c418 struct q6afe_port_config *pcfg = &dai_data->port_config[dai->id]; in q6slim_set_channel_map() local
429 pcfg->slim.ch_mapping[i] = tx_slot[i]; in q6slim_set_channel_map()
431 pcfg->slim.num_channels = tx_num; in q6slim_set_channel_map()
441 pcfg->slim.ch_mapping[i] = rx_slot[i]; in q6slim_set_channel_map()
443 pcfg->slim.num_channels = rx_num; in q6slim_set_channel_map()
/linux-6.15/drivers/dma/
H A Dpl330.c314 struct pl330_config *pcfg; member
479 struct pl330_config pcfg; member
1099 struct pl330_config *pcfg = pxs->desc->rqcfg.pcfg; in _ldst_memtomem() local
1954 pl330->pcfg.periph_id); in pl330_add()
2623 desc->rqcfg.pcfg = &pch->dmac->pcfg; in pl330_get_desc()
2673 burst_len *= pl330->pcfg.data_buf_dep / pl330->pcfg.num_chan; in get_burst_len()
3079 pcfg = &pl330->pcfg; in pl330_probe()
3097 num_chan = max_t(int, pcfg->num_peri, pcfg->num_chan); in pl330_probe()
3125 if (pcfg->num_peri) { in pl330_probe()
3173 pcfg->data_buf_dep, pcfg->data_bus_width / 8, pcfg->num_chan, in pl330_probe()
[all …]
/linux-6.15/drivers/soundwire/
H A Dqcom.c993 value |= pcfg->si & 0xff; in qcom_swrm_transport_params()
999 if (pcfg->si > 0xff) { in qcom_swrm_transport_params()
1000 value = (pcfg->si >> 8) & 0xff; in qcom_swrm_transport_params()
1009 value = pcfg->lane_control; in qcom_swrm_transport_params()
1017 value = pcfg->blk_group_count; in qcom_swrm_transport_params()
1026 value = (pcfg->hstop << 4) | pcfg->hstart; in qcom_swrm_transport_params()
1057 if (pcfg->ch_mask != SWR_INVALID_PARAM && pcfg->ch_mask != 0) in qcom_swrm_port_enable()
1110 pcfg = &ctrl->pconfig[m_port]; in qcom_swrm_compute_params()
1112 pcfg = &ctrl->pconfig[i]; in qcom_swrm_compute_params()
1115 pcfg->si + 1; in qcom_swrm_compute_params()
[all …]
/linux-6.15/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-6.15/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()
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()
1183 p.pff = ioread32(&pcfg->usp_pff_inst_id); in ioctl_port_to_pff()
1192 ARRAY_SIZE(pcfg->dsp_pff_inst_id) + 1); in ioctl_port_to_pff()
1550 reg = ioread32(&pcfg->usp_pff_inst_id); in init_pff()
1554 reg = ioread32(&pcfg->vep_pff_inst_id) & 0xFF; in init_pff()
[all …]
/linux-6.15/arch/arm/boot/dts/rockchip/
H A Drv1108.dtsi642 pcfg_pull_up: pcfg-pull-up {
646 pcfg_pull_down: pcfg-pull-down {
650 pcfg_pull_none: pcfg-pull-none {
654 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
662 pcfg_pull_none_smt: pcfg-pull-none-smt {
667 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
672 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma {
676 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma {
681 pcfg_output_high: pcfg-output-high {
685 pcfg_output_low: pcfg-output-low {
[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 {
/linux-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_e610.c1922 struct ixgbe_aci_cmd_set_phy_cfg_data pcfg; in ixgbe_setup_phy_link_e610() local
1949 ixgbe_copy_phy_caps_to_cfg(&pcaps, &pcfg); in ixgbe_setup_phy_link_e610()
1993 pcfg.phy_type_low = cpu_to_le64(phy_type_low); in ixgbe_setup_phy_link_e610()
1995 pcfg.phy_type_high = cpu_to_le64(phy_type_high); in ixgbe_setup_phy_link_e610()
1997 if (pcfg.phy_type_high != pcaps.phy_type_high || in ixgbe_setup_phy_link_e610()
1998 pcfg.phy_type_low != pcaps.phy_type_low || in ixgbe_setup_phy_link_e610()
1999 pcfg.caps != pcaps.caps) { in ixgbe_setup_phy_link_e610()
2000 pcfg.caps |= IXGBE_ACI_PHY_ENA_LINK; in ixgbe_setup_phy_link_e610()
2001 pcfg.caps |= IXGBE_ACI_PHY_ENA_AUTO_LINK_UPDT; in ixgbe_setup_phy_link_e610()
2003 err = ixgbe_aci_set_phy_cfg(hw, &pcfg); in ixgbe_setup_phy_link_e610()
/linux-6.15/Documentation/devicetree/bindings/pinctrl/
H A Drockchip,pinctrl.yaml92 "pcfg-[a-z0-9-]+$":
172 pcfg_pull_default: pcfg-pull-default {
/linux-6.15/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()

123