Home
last modified time | relevance | path

Searched refs:ccfg (Results 1 – 24 of 24) sorted by relevance

/linux-4.4.14/arch/mips/pci/
Dpci-tx4938.c25 (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) ? in tx4938_report_pciclk()
28 u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_report_pciclk() local
29 switch ((unsigned long)ccfg & in tx4938_report_pciclk()
61 __u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_report_pci1clk() local
63 txx9_gbus_clock / ((ccfg & TX4938_CCFG_PCI1DMD) ? 4 : 2); in tx4938_report_pci1clk()
66 (ccfg & TX4938_CCFG_PCI1_66) ? "PCI66 " : "", in tx4938_report_pci1clk()
80 u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_pciclk66_setup() local
81 pcidivmode = (unsigned long)ccfg & in tx4938_pciclk66_setup()
109 (unsigned long)__raw_readq(&tx4938_ccfgptr->ccfg)); in tx4938_pciclk66_setup()
Dpci-tx4927.c25 (__raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_PCI66) ? in tx4927_report_pciclk()
28 u64 ccfg = __raw_readq(&tx4927_ccfgptr->ccfg); in tx4927_report_pciclk() local
29 switch ((unsigned long)ccfg & in tx4927_report_pciclk()
60 u64 ccfg = __raw_readq(&tx4927_ccfgptr->ccfg); in tx4927_pciclk66_setup() local
61 pcidivmode = (unsigned long)ccfg & in tx4927_pciclk66_setup()
78 (unsigned long)__raw_readq(&tx4927_ccfgptr->ccfg)); in tx4927_pciclk66_setup()
Dpci-tx4939.c25 (__raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_PCI66) ? in tx4939_report_pciclk()
29 if (!(__raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_PCI66)) in tx4939_report_pciclk()
/linux-4.4.14/arch/mips/txx9/generic/
Dsetup_tx4927.c31 if (____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDRST) in tx4927_wdr_init()
49 (____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDREXEN) ? in tx4927_machine_restart()
54 while (!(____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDRST)) in tx4927_machine_restart()
57 if (____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDREXEN) { in tx4927_machine_restart()
73 (unsigned long long)____raw_readq(&tx4927_ccfgptr->ccfg), in tx4927_be_handler()
93 u64 ccfg; in tx4927_setup() local
110 ccfg = ____raw_readq(&tx4927_ccfgptr->ccfg); in tx4927_setup()
113 divmode = (__u32)ccfg & TX4927_CCFG_DIVMODE_MASK; in tx4927_setup()
143 divmode = (__u32)ccfg & TX4927_CCFG_DIVMODE_MASK; in tx4927_setup()
183 if (!(____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_PCIARB)) in tx4927_setup()
[all …]
Dsetup_tx3927.c57 tx3927_ccfgptr->ccfg |= TX3927_CCFG_TOE; in tx3927_setup()
60 tx3927_ccfgptr->ccfg &= ~TX3927_CCFG_BEOW; in tx3927_setup()
63 tx3927_ccfgptr->ccfg &= ~TX3927_CCFG_PSNP; in tx3927_setup()
66 tx3927_ccfgptr->ccfg |= TX3927_CCFG_PSNP; in tx3927_setup()
68 tx3927_ccfgptr->ccfg |= TX3927_CCFG_WR; in tx3927_setup()
72 tx3927_ccfgptr->ccfg, tx3927_ccfgptr->pcfg); in tx3927_setup()
Dsetup_tx4938.c33 if (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDRST) in tx4938_wdr_init()
51 (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDREXEN) ? in tx4938_machine_restart()
56 while (!(____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDRST)) in tx4938_machine_restart()
59 if (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDREXEN) { in tx4938_machine_restart()
75 (unsigned long long)____raw_readq(&tx4938_ccfgptr->ccfg), in tx4938_be_handler()
98 u64 ccfg; in tx4938_setup() local
115 ccfg = ____raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_setup()
118 divmode = (__u32)ccfg & TX4938_CCFG_DIVMODE_MASK; in tx4938_setup()
152 divmode = (__u32)ccfg & TX4938_CCFG_DIVMODE_MASK; in tx4938_setup()
196 if (!(____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCIARB)) in tx4938_setup()
[all …]
Dsetup_tx4939.c37 if (____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_WDRST) in tx4939_wdr_init()
55 (____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_WDREXEN) ? in tx4939_machine_restart()
60 while (!(____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_WDRST)) in tx4939_machine_restart()
63 if (____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_WDREXEN) { in tx4939_machine_restart()
80 (unsigned long long)____raw_readq(&tx4939_ccfgptr->ccfg), in tx4939_be_handler()
137 divmode = (__u32)____raw_readq(&tx4939_ccfgptr->ccfg) & in tx4939_setup()
164 divmode = (__u32)____raw_readq(&tx4939_ccfgptr->ccfg) & in tx4939_setup()
187 divmode = (__u32)____raw_readq(&tx4939_ccfgptr->ccfg) & in tx4939_setup()
215 if (!(____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_PCIARB)) in tx4939_setup()
224 (unsigned long long)____raw_readq(&tx4939_ccfgptr->ccfg), in tx4939_setup()
[all …]
/linux-4.4.14/arch/mips/include/asm/txx9/
Dtx4927.h91 u64 ccfg; member
242 ____raw_writeq(____raw_readq(&tx4927_ccfgptr->ccfg) in tx4927_ccfg_clear()
244 &tx4927_ccfgptr->ccfg); in tx4927_ccfg_clear()
248 ____raw_writeq((____raw_readq(&tx4927_ccfgptr->ccfg) in tx4927_ccfg_set()
250 &tx4927_ccfgptr->ccfg); in tx4927_ccfg_set()
254 ____raw_writeq((____raw_readq(&tx4927_ccfgptr->ccfg) in tx4927_ccfg_change()
257 &tx4927_ccfgptr->ccfg); in tx4927_ccfg_change()
Dtx4939.h63 __u64 ccfg; member
512 ((__u32)((__raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_BCFG_MASK) \
Dtx4938.h48 u64 ccfg; member
Dtx3927.h143 volatile unsigned long ccfg; member
/linux-4.4.14/arch/mips/txx9/rbtx4927/
Dsetup.c63 int extarb = !(__raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_PCIARB); in tx4927_pci_setup()
68 if (__raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_PCI66) in tx4927_pci_setup()
110 int extarb = !(__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCIARB); in tx4937_pci_setup()
115 if (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) in tx4937_pci_setup()
229 switch ((unsigned long)__raw_readq(&tx4927_ccfgptr->ccfg) & in rbtx4927_clock_init()
255 switch ((unsigned long)__raw_readq(&tx4938_ccfgptr->ccfg) & in rbtx4937_clock_init()
/linux-4.4.14/drivers/staging/most/hdm-dim2/
Ddim2_hdm.c520 struct most_channel_config *ccfg) in configure_channel() argument
523 bool const is_tx = ccfg->direction == MOST_CH_TX; in configure_channel()
524 u16 const sub_size = ccfg->subbuffer_size; in configure_channel()
525 u16 const buf_size = ccfg->buffer_size; in configure_channel()
537 switch (ccfg->data_type) { in configure_channel()
544 ccfg->buffer_size = new_size; in configure_channel()
558 ccfg->buffer_size = new_size; in configure_channel()
572 ccfg->buffer_size = new_size; in configure_channel()
586 ccfg->buffer_size = new_size; in configure_channel()
595 hdm_ch->name, ccfg->data_type); in configure_channel()
[all …]
/linux-4.4.14/arch/c6x/platforms/
Dcache.c293 unsigned int ccfg = imcr_get(IMCR_CCFG); in L2_cache_set_mode() local
296 ccfg &= ~7; in L2_cache_set_mode()
297 ccfg |= (mode & 7); in L2_cache_set_mode()
298 imcr_set(IMCR_CCFG, ccfg); in L2_cache_set_mode()
299 ccfg = imcr_get(IMCR_CCFG); in L2_cache_set_mode()
/linux-4.4.14/drivers/dma/
Dk3dma.c77 u32 ccfg; member
326 c->ccfg = 0; in k3_dma_free_chan_resources()
402 dma_addr_t src, size_t len, u32 num, u32 ccfg) in k3_dma_fill_desc() argument
411 ds->desc_hw[num].config = ccfg; in k3_dma_fill_desc()
437 if (!c->ccfg) { in k3_dma_prep_memcpy()
439 c->ccfg = CX_CFG_SRCINCR | CX_CFG_DSTINCR | CX_CFG_EN; in k3_dma_prep_memcpy()
440 c->ccfg |= (0xf << 20) | (0xf << 24); /* burst = 16 */ in k3_dma_prep_memcpy()
441 c->ccfg |= (0x3 << 12) | (0x3 << 16); /* width = 64 bit */ in k3_dma_prep_memcpy()
446 k3_dma_fill_desc(ds, dst, src, copy, num++, c->ccfg); in k3_dma_prep_memcpy()
508 k3_dma_fill_desc(ds, dst, src, len, num++, c->ccfg); in k3_dma_prep_slave_sg()
[all …]
Dzx296702_dma.c103 u32 ccfg; member
331 c->ccfg = 0; in zx_dma_free_chan_resources()
409 dma_addr_t src, size_t len, u32 num, u32 ccfg) in zx_dma_fill_desc() argument
417 ds->desc_hw[num].ctr = ccfg; in zx_dma_fill_desc()
471 c->ccfg = ZX_CH_ENABLE | ZX_SOFT_REQ in zx_pre_config()
487 c->ccfg = ZX_DST_FIFO_MODE | ZX_CH_ENABLE in zx_pre_config()
498 c->ccfg = ZX_SRC_FIFO_MODE | ZX_CH_ENABLE in zx_pre_config()
535 zx_dma_fill_desc(ds, dst, src, copy, num++, c->ccfg); in zx_dma_prep_memcpy()
593 zx_dma_fill_desc(ds, dst, src, len, num++, c->ccfg); in zx_dma_prep_slave_sg()
639 c->ccfg | ZX_IRQ_ENABLE_ALL); in zx_dma_prep_dma_cyclic()
Damba-pl08x.c196 u32 ccfg; member
362 struct pl08x_phy_chan *phychan, const u32 *lli, u32 ccfg) in pl08x_write_lli() argument
370 lli[PL080S_LLI_CCTL2], ccfg); in pl08x_write_lli()
376 lli[PL080_LLI_LLI], lli[PL080_LLI_CCTL], ccfg); in pl08x_write_lli()
387 writel(ccfg, phychan->reg_config); in pl08x_write_lli()
412 pl08x_write_lli(pl08x, phychan, &txd->llis_va[0], txd->ccfg); in pl08x_start_next_txd()
1006 u32 fc = (txd->ccfg & PL080_CONFIG_FLOW_CONTROL_MASK) >> in pl08x_fill_llis_for_desc()
1413 txd->ccfg = PL080_CONFIG_ERR_IRQ_MASK | in pl08x_get_txd()
1453 txd->ccfg |= PL080_FLOW_MEM2MEM << PL080_CONFIG_FLOW_CONTROL_SHIFT; in pl08x_prep_dma_memcpy()
1535 txd->ccfg |= tmp << PL080_CONFIG_FLOW_CONTROL_SHIFT; in pl08x_init_txd()
[all …]
/linux-4.4.14/arch/mips/txx9/rbtx4938/
Dsetup.c42 int extarb = !(__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCIARB); in rbtx4938_pci_setup()
47 if (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) in rbtx4938_pci_setup()
90 if (!(__raw_readq(&tx4938_ccfgptr->ccfg) in rbtx4938_pci_setup()
/linux-4.4.14/drivers/net/wireless/
Dat76c50x-usb.c1356 struct at76_card_config *ccfg = &priv->card_config; in at76_startup_device() local
1384 memset(ccfg, 0, sizeof(struct at76_card_config)); in at76_startup_device()
1385 ccfg->promiscuous_mode = 0; in at76_startup_device()
1386 ccfg->short_retry_limit = priv->short_retry_limit; in at76_startup_device()
1390 ccfg->encryption_type = 2; in at76_startup_device()
1392 ccfg->encryption_type = 1; in at76_startup_device()
1395 ccfg->exclude_unencrypted = 1; in at76_startup_device()
1397 ccfg->exclude_unencrypted = 0; in at76_startup_device()
1398 ccfg->encryption_type = 0; in at76_startup_device()
1401 ccfg->rts_threshold = cpu_to_le16(priv->rts_threshold); in at76_startup_device()
[all …]
/linux-4.4.14/arch/mips/txx9/jmr3927/
Dprom.c47 if ((tx3927_ccfgptr->ccfg & TX3927_CCFG_TLBOFF) == 0) in jmr3927_prom_init()
Dsetup.c103 int extarb = !(tx3927_ccfgptr->ccfg & TX3927_CCFG_PCIXARB); in jmr3927_pci_setup()
/linux-4.4.14/arch/mips/txx9/rbtx4939/
Dsetup.c60 int extarb = !(__raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_PCIARB); in rbtx4939_pci_setup()
114 __u64 ccfg = ____raw_readq(&tx4939_ccfgptr->ccfg); in rbtx4939_update_ioc_pen() local
136 if (ccfg & TX4939_CCFG_PTSEL) in rbtx4939_update_ioc_pen()
/linux-4.4.14/drivers/staging/most/aim-v4l2/
Dvideo.c482 struct most_channel_config *ccfg, in aim_probe_channel() argument
495 if (ccfg->direction != MOST_CH_RX) { in aim_probe_channel()
500 if (ccfg->data_type != MOST_CH_SYNC && in aim_probe_channel()
501 ccfg->data_type != MOST_CH_ISOC_AVP) { in aim_probe_channel()
/linux-4.4.14/drivers/staging/most/aim-network/
Dnetworking.c314 struct most_channel_config *ccfg, in aim_probe_channel() argument
323 if (ccfg->data_type != MOST_CH_ASYNC) in aim_probe_channel()
340 ch = ccfg->direction == MOST_CH_TX ? &nd->tx : &nd->rx; in aim_probe_channel()