Home
last modified time | relevance | path

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

123

/linux/drivers/soc/fsl/qbman/
A Dqman_portal.c91 portal_set_cpu(pcfg, pcfg->cpu); in init_pcfg()
121 dev_info(pcfg->dev, "Portal initialised, cpu %d\n", pcfg->cpu); in init_pcfg()
132 dev_err(pcfg->dev, in qman_portal_update_sdest()
149 if (pcfg) { in qman_offline_cpu()
167 if (pcfg) { in qman_online_cpu()
198 pcfg = devm_kmalloc(dev, sizeof(*pcfg), GFP_KERNEL); in qman_portal_probe()
199 if (!pcfg) { in qman_portal_probe()
204 pcfg->dev = dev; in qman_portal_probe()
227 pcfg->cpu = -1; in qman_portal_probe()
231 pcfg->irq = irq; in qman_portal_probe()
[all …]
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 …]
A Dqman_test_stash.c195 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()
/linux/arch/arm64/boot/dts/rockchip/
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 …]
A Drk3308.dtsi848 pcfg_pull_up: pcfg-pull-up {
852 pcfg_pull_down: pcfg-pull-down {
856 pcfg_pull_none: pcfg-pull-none {
865 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
870 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
890 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
900 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
910 pcfg_output_high: pcfg-output-high {
914 pcfg_output_low: pcfg-output-low {
918 pcfg_input_high: pcfg-input-high {
[all …]
A Drk3328.dtsi1069 pcfg_pull_up: pcfg-pull-up {
1073 pcfg_pull_down: pcfg-pull-down {
1077 pcfg_pull_none: pcfg-pull-none {
1086 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
1091 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
1111 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
1121 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
1126 pcfg_output_high: pcfg-output-high {
1130 pcfg_output_low: pcfg-output-low {
1134 pcfg_input_high: pcfg-input-high {
[all …]
A Dpx30.dtsi1389 pcfg_pull_up: pcfg-pull-up {
1393 pcfg_pull_down: pcfg-pull-down {
1397 pcfg_pull_none: pcfg-pull-none {
1406 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
1411 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
1431 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
1441 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
1451 pcfg_output_high: pcfg-output-high {
1455 pcfg_output_low: pcfg-output-low {
1459 pcfg_input_high: pcfg-input-high {
[all …]
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 {
A Drk3399.dtsi2106 pcfg_pull_up: pcfg-pull-up {
2110 pcfg_pull_down: pcfg-pull-down {
2114 pcfg_pull_none: pcfg-pull-none {
2138 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
2143 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
2148 pcfg_pull_up_18ma: pcfg-pull-up-18ma {
2153 pcfg_pull_up_20ma: pcfg-pull-up-20ma {
2158 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
2163 pcfg_pull_down_8ma: pcfg-pull-down-8ma {
2183 pcfg_output_high: pcfg-output-high {
[all …]
/linux/arch/mips/txx9/generic/
A Dsetup_tx4939.c100 __u64 pcfg; in tx4939_setup() local
248 pcfg = ____raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_setup()
285 __u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_sio_init() local
292 if (pcfg & TX4939_PCFG_SIO3MODE) in tx4939_sio_init()
343 u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_ethaddr_init() local
405 __u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_ata_init() local
407 if (pcfg & TX4939_PCFG_ATA0MODE) in tx4939_ata_init()
470 u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_aclc_init() local
502 __u64 pcfg, rst = 0, ckd = 0; in tx4939_stop_unused_modules() local
507 pcfg = ____raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_stop_unused_modules()
[all …]
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 …]
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/arch/mips/txx9/rbtx4938/
A Dsetup.c86 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()
191 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); in rbtx4938_mem_setup()
193 (pcfg & TX4938_PCFG_NDF_SEL) ? "enabled" : "disabled", in rbtx4938_mem_setup()
194 (pcfg & TX4938_PCFG_ATA_SEL) ? "enabled" : "disabled"); in rbtx4938_mem_setup()
[all …]
/linux/sound/soc/qcom/qdsp6/
A Dq6afe.c1245 pcfg->slim_cfg.bit_width = cfg->bit_width; in q6afe_slim_port_prepare()
1270 pcfg->tdm_cfg.sample_rate = cfg->sample_rate; in q6afe_tdm_port_prepare()
1271 pcfg->tdm_cfg.bit_width = cfg->bit_width; in q6afe_tdm_port_prepare()
1272 pcfg->tdm_cfg.data_format = cfg->data_format; in q6afe_tdm_port_prepare()
1273 pcfg->tdm_cfg.sync_mode = cfg->sync_mode; in q6afe_tdm_port_prepare()
1274 pcfg->tdm_cfg.sync_src = cfg->sync_src; in q6afe_tdm_port_prepare()
1277 pcfg->tdm_cfg.slot_width = cfg->slot_width; in q6afe_tdm_port_prepare()
1278 pcfg->tdm_cfg.slot_mask = cfg->slot_mask; in q6afe_tdm_port_prepare()
1304 pcfg->hdmi_multi_ch.hdmi_cfg_minor_version = in q6afe_hdmi_port_prepare()
1328 pcfg->i2s_cfg.bit_width = cfg->bit_width; in q6afe_i2s_port_prepare()
[all …]
/linux/arch/mips/txx9/rbtx4939/
A Dsetup.c68 (__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 & TX4939_PCFG_SPIMODE) { in rbtx4939_update_ioc_pen()
157 if (pcfg & TX4939_PCFG_SIO2MODE_GPIO) in rbtx4939_update_ioc_pen()
160 if (pcfg & TX4939_PCFG_SIO2MODE_SIO2) { in rbtx4939_update_ioc_pen()
[all …]
/linux/drivers/soundwire/
A Dqcom.c727 struct qcom_swrm_port_config *pcfg; in qcom_swrm_transport_params() local
736 value |= pcfg->si; in qcom_swrm_transport_params()
744 value = pcfg->lane_control; in qcom_swrm_transport_params()
752 value = pcfg->blk_group_count; in qcom_swrm_transport_params()
761 value = (pcfg->hstop << 4) | pcfg->hstart; in qcom_swrm_transport_params()
816 struct qcom_swrm_port_config *pcfg; in qcom_swrm_compute_params() local
823 pcfg = &ctrl->pconfig[p_rt->num]; in qcom_swrm_compute_params()
840 pcfg = &ctrl->pconfig[m_port]; in qcom_swrm_compute_params()
842 pcfg = &ctrl->pconfig[i]; in qcom_swrm_compute_params()
845 pcfg->si + 1; in qcom_swrm_compute_params()
[all …]
/linux/drivers/dma/
A Dpl330.c314 struct pl330_config *pcfg; member
473 struct pl330_config pcfg; member
1093 struct pl330_config *pcfg = pxs->desc->rqcfg.pcfg; in _ldst_memtomem() local
1948 pl330->pcfg.periph_id); in pl330_add()
2608 desc->rqcfg.pcfg = &pch->dmac->pcfg; in pl330_get_desc()
2658 burst_len *= pl330->pcfg.data_buf_dep / pl330->pcfg.num_chan; in get_burst_len()
3068 pcfg = &pl330->pcfg; in pl330_probe()
3086 num_chan = max_t(int, pcfg->num_peri, pcfg->num_chan); in pl330_probe()
3114 if (pcfg->num_peri) { in pl330_probe()
3165 pcfg->data_buf_dep, pcfg->data_bus_width / 8, pcfg->num_chan, in pl330_probe()
[all …]
/linux/arch/mips/pci/
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()
A Dpci-tx4939.c27 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()
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/pci/switch/
A Dswitchtec.c1122 struct part_cfg_regs __iomem *pcfg; in ioctl_pff_to_port() local
1130 pcfg = &stdev->mmio_part_cfg_all[part]; in ioctl_pff_to_port()
1133 reg = ioread32(&pcfg->usp_pff_inst_id); in ioctl_pff_to_port()
1146 reg = ioread32(&pcfg->dsp_pff_inst_id[i]); in ioctl_pff_to_port()
1168 struct part_cfg_regs __iomem *pcfg; in ioctl_port_to_pff() local
1174 pcfg = stdev->mmio_part_cfg; in ioctl_port_to_pff()
1182 p.pff = ioread32(&pcfg->usp_pff_inst_id); in ioctl_port_to_pff()
1191 ARRAY_SIZE(pcfg->dsp_pff_inst_id) + 1); in ioctl_port_to_pff()
1558 reg = ioread32(&pcfg->usp_pff_inst_id); in init_pff()
1562 reg = ioread32(&pcfg->vep_pff_inst_id) & 0xFF; in init_pff()
[all …]
/linux/arch/arm/boot/dts/
A Drv1108.dtsi655 pcfg_pull_up: pcfg-pull-up {
659 pcfg_pull_down: pcfg-pull-down {
663 pcfg_pull_none: pcfg-pull-none {
667 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
675 pcfg_pull_none_smt: pcfg-pull-none-smt {
680 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
685 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma {
689 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma {
694 pcfg_output_high: pcfg-output-high {
698 pcfg_output_low: pcfg-output-low {
[all …]
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 {
/linux/arch/mips/txx9/jmr3927/
A Dsetup.c136 tx3927_ccfgptr->pcfg &= ~TX3927_PCFG_SELALL; in jmr3927_board_init()
137 tx3927_ccfgptr->pcfg |= in jmr3927_board_init()
/linux/drivers/input/touchscreen/
A Dcyttsp4_core.c359 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()
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()
378 si->si_ptrs.pcfg->max_zl); in cyttsp4_si_get_pcfg_data()
381 (u8 *)si->si_ptrs.pcfg, in cyttsp4_si_get_pcfg_data()
[all …]

Completed in 63 milliseconds

123