Home
last modified time | relevance | path

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

/linux-4.4.14/arch/mips/txx9/generic/
Dsetup_tx4939.c117 __u64 pcfg; in tx4939_setup() local
212 txx9_clear64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_DMASEL_ALL); in tx4939_setup()
216 txx9_clear64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_PCICLKEN_ALL); in tx4939_setup()
225 (unsigned long long)____raw_readq(&tx4939_ccfgptr->pcfg)); in tx4939_setup()
265 pcfg = ____raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_setup()
266 if (pcfg & (TX4939_PCFG_ET0MODE | TX4939_PCFG_ET1MODE)) { in tx4939_setup()
275 if (!(pcfg & TX4939_PCFG_ET0MODE)) { in tx4939_setup()
280 if (!(pcfg & TX4939_PCFG_ET1MODE)) { in tx4939_setup()
302 __u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_sio_init() local
305 if ((pcfg & TX4939_PCFG_SIO2MODE_MASK) != TX4939_PCFG_SIO2MODE_SIO0) in tx4939_sio_init()
[all …]
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()
205 (unsigned long long)____raw_readq(&tx4938_ccfgptr->pcfg)); in tx4938_setup()
249 __u64 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_setup() local
252 if (pcfg & (TX4938_PCFG_ETH0_SEL | TX4938_PCFG_ETH1_SEL)) { in tx4938_setup()
263 if (!(pcfg & TX4938_PCFG_ETH0_SEL)) { in tx4938_setup()
270 if (!(pcfg & TX4938_PCFG_ETH1_SEL)) { in tx4938_setup()
296 if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_ETH0_SEL) in tx4938_sio_init()
315 u64 pcfg = __raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_ethaddr_init() local
317 if (addr0 && (pcfg & TX4938_PCFG_ETH0_SEL)) in tx4938_ethaddr_init()
[all …]
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()
192 (unsigned long long)____raw_readq(&tx4927_ccfgptr->pcfg)); in tx4927_setup()
271 u64 pcfg = __raw_readq(&tx4927_ccfgptr->pcfg); in tx4927_aclc_init() local
275 if (!(pcfg & TX4927_PCFG_SEL2)) in tx4927_aclc_init()
303 txx9_clear64(&tx4927_ccfgptr->pcfg, dmasel_mask); in tx4927_aclc_init()
304 txx9_set64(&tx4927_ccfgptr->pcfg, dmasel); in tx4927_aclc_init()
313 __u64 pcfg, rst = 0, ckd = 0; in tx4927_stop_unused_modules() local
318 pcfg = ____raw_readq(&tx4927_ccfgptr->pcfg); in tx4927_stop_unused_modules()
319 if (!(pcfg & TX4927_PCFG_SEL2)) { in tx4927_stop_unused_modules()
Dsetup_tx3927.c72 tx3927_ccfgptr->ccfg, tx3927_ccfgptr->pcfg); in tx3927_setup()
/linux-4.4.14/arch/mips/txx9/rbtx4938/
Dsetup.c85 if (__raw_readq(&tx4938_ccfgptr->pcfg) & in rbtx4938_pci_setup()
143 txx9_set64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_SPI_SEL); in rbtx4938_spi_setup()
155 unsigned long long pcfg; in rbtx4938_mem_setup() local
173 txx9_clear64(&tx4938_ccfgptr->pcfg, in rbtx4938_mem_setup()
179 txx9_set64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_NDF_SEL); in rbtx4938_mem_setup()
180 txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_ATA_SEL); in rbtx4938_mem_setup()
185 txx9_set64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_ATA_SEL); in rbtx4938_mem_setup()
186 txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_NDF_SEL); in rbtx4938_mem_setup()
190 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); in rbtx4938_mem_setup()
192 (pcfg & TX4938_PCFG_NDF_SEL) ? "enabled" : "disabled", in rbtx4938_mem_setup()
[all …]
/linux-4.4.14/arch/mips/txx9/rbtx4939/
Dsetup.c67 if (!(__raw_readq(&tx4939_ccfgptr->pcfg) & TX4939_PCFG_ATA1MODE) && in rbtx4939_pci_setup()
68 (__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()
[all …]
/linux-4.4.14/drivers/dma/
Dpl330.c312 struct pl330_config *pcfg; member
467 struct pl330_config pcfg; member
543 return (thrd->dmac->pcfg.mode & DMAC_MODE_NS) ? true : false; in _manager_ns()
1120 struct pl330_config *pcfg = pxs->desc->rqcfg.pcfg; in _ldst_memtomem() local
1123 if (get_revision(pcfg->periph_id) >= PERIPH_REV_R1P0) { in _ldst_memtomem()
1397 desc->peri >= pl330->pcfg.num_peri) { in pl330_submit_req()
1492 pl330->dmac_tbd.reset_chan = (1 << pl330->pcfg.num_chan) - 1; in pl330_dotask()
1497 for (i = 0; i < pl330->pcfg.num_chan; i++) { in pl330_dotask()
1549 val = readl(regs + FSC) & ((1 << pl330->pcfg.num_chan) - 1); in pl330_update()
1553 while (i < pl330->pcfg.num_chan) { in pl330_update()
[all …]
/linux-4.4.14/arch/mips/pci/
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()
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()
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-4.4.14/arch/mips/txx9/jmr3927/
Dsetup.c136 tx3927_ccfgptr->pcfg &= ~TX3927_PCFG_SELALL; in jmr3927_board_init()
137 tx3927_ccfgptr->pcfg |= in jmr3927_board_init()
/linux-4.4.14/drivers/input/touchscreen/
Dcyttsp4_core.c326 p = krealloc(si->si_ptrs.pcfg, si->si_ofs.pcfg_size, GFP_KERNEL); in cyttsp4_si_get_pcfg_data()
333 si->si_ptrs.pcfg = p; in cyttsp4_si_get_pcfg_data()
336 si->si_ptrs.pcfg); in cyttsp4_si_get_pcfg_data()
343 si->si_ofs.max_x = merge_bytes((si->si_ptrs.pcfg->res_xh in cyttsp4_si_get_pcfg_data()
344 & CY_PCFG_RESOLUTION_X_MASK), si->si_ptrs.pcfg->res_xl); in cyttsp4_si_get_pcfg_data()
345 si->si_ofs.x_origin = !!(si->si_ptrs.pcfg->res_xh in cyttsp4_si_get_pcfg_data()
347 si->si_ofs.max_y = merge_bytes((si->si_ptrs.pcfg->res_yh in cyttsp4_si_get_pcfg_data()
348 & CY_PCFG_RESOLUTION_Y_MASK), si->si_ptrs.pcfg->res_yl); in cyttsp4_si_get_pcfg_data()
349 si->si_ofs.y_origin = !!(si->si_ptrs.pcfg->res_yh in cyttsp4_si_get_pcfg_data()
351 si->si_ofs.max_p = merge_bytes(si->si_ptrs.pcfg->max_zh, in cyttsp4_si_get_pcfg_data()
[all …]
Dcyttsp4_core.h207 struct cyttsp4_pcfg *pcfg; member
/linux-4.4.14/arch/arm/boot/dts/
Drk3288-veyron.dtsi446 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
451 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
456 pcfg_output_high: pcfg-output-high {
460 pcfg_output_low: pcfg-output-low {
Drk3288-evb.dtsi237 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
241 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
Drk3288-r89.dts289 pcfg_output_high: pcfg-output-high {
293 pcfg_output_low: pcfg-output-low {
Drk3288-firefly.dtsi403 pcfg_output_high: pcfg-output-high {
407 pcfg_output_low: pcfg-output-low {
Drk3288.dtsi1050 pcfg_pull_up: pcfg-pull-up {
1054 pcfg_pull_down: pcfg-pull-down {
1058 pcfg_pull_none: pcfg-pull-none {
1062 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
Drk3288-rock2-som.dtsi236 pcfg_output_high: pcfg-output-high {
Drk3188-radxarock.dts325 pcfg_output_low: pcfg-output-low {
Drk3066a-rayeager.dts351 pcfg_output_high: pcfg-output-high {
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-tb10x.c507 u32 pcfg; in tb10x_pinctrl_set_config() local
514 pcfg = ioread32(state->base) & ~(PCFG_PORT_MASK(port)); in tb10x_pinctrl_set_config()
515 pcfg |= (mode << (PCFG_PORT_BITWIDTH * port)) & PCFG_PORT_MASK(port); in tb10x_pinctrl_set_config()
516 iowrite32(pcfg, state->base); in tb10x_pinctrl_set_config()
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_fcs.c1006 struct bfa_lport_cfg_s *pcfg = &fabric->bport.port_cfg; in bfa_fcs_fabric_login() local
1011 pcfg->pwwn, pcfg->nwwn, fabric->auth_reqd); in bfa_fcs_fabric_login()
1448 struct bfa_lport_cfg_s *pcfg = &fabric->bport.port_cfg; in bfa_fcs_fabric_send_flogi_acc() local
1464 n2n_port->reply_oxid, pcfg->pwwn, in bfa_fcs_fabric_send_flogi_acc()
1465 pcfg->nwwn, in bfa_fcs_fabric_send_flogi_acc()
Dbfa_fcs_lport.c1221 struct bfa_lport_cfg_s *pcfg = &port->port_cfg; in bfa_fcs_lport_n2n_online() local
1224 bfa_trc(port->fcs, pcfg->pwwn); in bfa_fcs_lport_n2n_online()
1235 ((void *)&pcfg->pwwn, (void *)&n2n_port->rem_port_wwn, in bfa_fcs_lport_n2n_online()
/linux-4.4.14/arch/mips/include/asm/txx9/
Dtx4927.h93 u64 pcfg; member
Dtx4938.h50 u64 pcfg; member
Dtx3927.h145 volatile unsigned long pcfg; member
Dtx4939.h65 __u64 pcfg; member
/linux-4.4.14/arch/arm64/boot/dts/rockchip/
Drk3368-r88.dts260 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
265 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
Drk3368.dtsi587 pcfg_pull_up: pcfg-pull-up {
591 pcfg_pull_down: pcfg-pull-down {
595 pcfg_pull_none: pcfg-pull-none {
599 pcfg_pull_none_12ma: pcfg-pull-none-12ma {