Home
last modified time | relevance | path

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

/drivers/staging/most/dim2/
Ddim2.c449 struct most_channel_config *ccfg) in configure_channel() argument
452 bool const is_tx = ccfg->direction == MOST_CH_TX; in configure_channel()
453 u16 const sub_size = ccfg->subbuffer_size; in configure_channel()
454 u16 const buf_size = ccfg->buffer_size; in configure_channel()
467 hdm_ch->reset_dbr_size = ccfg->dbr_size ? NULL : &ccfg->dbr_size; in configure_channel()
470 hdm_ch->ch.dbr_size = ccfg->dbr_size; in configure_channel()
472 switch (ccfg->data_type) { in configure_channel()
479 ccfg->buffer_size = new_size; in configure_channel()
493 ccfg->buffer_size = new_size; in configure_channel()
508 ccfg->buffer_size = new_size; in configure_channel()
[all …]
/drivers/dma/
Dk3dma.c81 u32 ccfg; member
372 c->ccfg = 0; in k3_dma_free_chan_resources()
449 dma_addr_t src, size_t len, u32 num, u32 ccfg) in k3_dma_fill_desc() argument
459 ds->desc_hw[num].config = ccfg; in k3_dma_fill_desc()
512 if (!c->ccfg) { in k3_dma_prep_memcpy()
514 c->ccfg = CX_CFG_SRCINCR | CX_CFG_DSTINCR | CX_CFG_EN; in k3_dma_prep_memcpy()
515 c->ccfg |= (0xf << 20) | (0xf << 24); /* burst = 16 */ in k3_dma_prep_memcpy()
516 c->ccfg |= (0x3 << 12) | (0x3 << 16); /* width = 64 bit */ in k3_dma_prep_memcpy()
521 k3_dma_fill_desc(ds, dst, src, copy, num++, c->ccfg); in k3_dma_prep_memcpy()
576 k3_dma_fill_desc(ds, dst, src, len, num++, c->ccfg); in k3_dma_prep_slave_sg()
[all …]
Dzx_dma.c100 u32 ccfg; member
326 c->ccfg = 0; in zx_dma_free_chan_resources()
405 dma_addr_t src, size_t len, u32 num, u32 ccfg) in zx_dma_fill_desc() argument
413 ds->desc_hw[num].ctr = ccfg; in zx_dma_fill_desc()
466 c->ccfg = ZX_CH_ENABLE | ZX_SOFT_REQ in zx_pre_config()
482 c->ccfg = ZX_DST_FIFO_MODE | ZX_CH_ENABLE in zx_pre_config()
493 c->ccfg = ZX_SRC_FIFO_MODE | ZX_CH_ENABLE in zx_pre_config()
530 zx_dma_fill_desc(ds, dst, src, copy, num++, c->ccfg); in zx_dma_prep_memcpy()
588 zx_dma_fill_desc(ds, dst, src, len, num++, c->ccfg); in zx_dma_prep_slave_sg()
634 c->ccfg | ZX_IRQ_ENABLE_ALL); in zx_dma_prep_dma_cyclic()
Damba-pl08x.c209 u32 ccfg; member
392 struct pl08x_phy_chan *phychan, const u32 *lli, u32 ccfg) in pl08x_write_lli() argument
400 lli[PL080S_LLI_CCTL2], ccfg); in pl08x_write_lli()
406 lli[PL080_LLI_LLI], lli[PL080_LLI_CCTL], ccfg); in pl08x_write_lli()
518 writel(ccfg, phychan->reg_config); in pl08x_write_lli()
543 pl08x_write_lli(pl08x, phychan, &txd->llis_va[0], txd->ccfg); in pl08x_start_next_txd()
1337 fc = (txd->ccfg & PL080_CONFIG_FLOW_CONTROL_MASK) >> in pl08x_fill_llis_for_desc()
1918 txd->ccfg = 0; in pl08x_prep_dma_memcpy()
1921 txd->ccfg = PL080_CONFIG_ERR_IRQ_MASK | in pl08x_prep_dma_memcpy()
1998 txd->ccfg = PL080_CONFIG_ERR_IRQ_MASK | in pl08x_init_txd()
[all …]
/drivers/net/wireless/atmel/
Dat76c50x-usb.c1350 struct at76_card_config *ccfg = &priv->card_config; in at76_startup_device() local
1378 memset(ccfg, 0, sizeof(struct at76_card_config)); in at76_startup_device()
1379 ccfg->promiscuous_mode = 0; in at76_startup_device()
1380 ccfg->short_retry_limit = priv->short_retry_limit; in at76_startup_device()
1384 ccfg->encryption_type = 2; in at76_startup_device()
1386 ccfg->encryption_type = 1; in at76_startup_device()
1389 ccfg->exclude_unencrypted = 1; in at76_startup_device()
1391 ccfg->exclude_unencrypted = 0; in at76_startup_device()
1392 ccfg->encryption_type = 0; in at76_startup_device()
1395 ccfg->rts_threshold = cpu_to_le16(priv->rts_threshold); in at76_startup_device()
[all …]
/drivers/staging/most/video/
Dvideo.c451 struct most_channel_config *ccfg, char *name, in comp_probe_channel() argument
462 if (ccfg->direction != MOST_CH_RX) { in comp_probe_channel()
467 if (ccfg->data_type != MOST_CH_SYNC && in comp_probe_channel()
468 ccfg->data_type != MOST_CH_ISOC) { in comp_probe_channel()
/drivers/staging/most/net/
Dnet.c306 struct most_channel_config *ccfg, char *name, in comp_probe_channel() argument
318 if (ccfg->data_type != MOST_CH_ASYNC) in comp_probe_channel()
339 ch = ccfg->direction == MOST_CH_TX ? &nd->tx : &nd->rx; in comp_probe_channel()
341 ch = ccfg->direction == MOST_CH_TX ? &nd->tx : &nd->rx; in comp_probe_channel()