Home
last modified time | relevance | path

Searched refs:tx_cfg (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/drivers/hsi/
Dhsi.c75 kfree(cl->tx_cfg.channels); in hsi_client_release()
90 cl->tx_cfg = info->tx_cfg; in hsi_new_client()
91 if (cl->tx_cfg.channels) { in hsi_new_client()
92 size = cl->tx_cfg.num_channels * sizeof(*cl->tx_cfg.channels); in hsi_new_client()
93 cl->tx_cfg.channels = kzalloc(size , GFP_KERNEL); in hsi_new_client()
94 if (!cl->tx_cfg.channels) in hsi_new_client()
96 memcpy(cl->tx_cfg.channels, info->tx_cfg.channels, size); in hsi_new_client()
122 kfree(cl->tx_cfg.channels); in hsi_new_client()
236 &cl->tx_cfg.mode); in hsi_add_client_from_dt()
241 cl->tx_cfg.mode = mode; in hsi_add_client_from_dt()
[all …]
/linux-4.4.14/drivers/hsi/clients/
Dhsi_char.c403 tmp = cl->tx_cfg; in hsc_tx_set()
404 cl->tx_cfg.mode = txc->mode; in hsc_tx_set()
405 cl->tx_cfg.num_hw_channels = txc->channels; in hsc_tx_set()
406 cl->tx_cfg.speed = txc->speed; in hsc_tx_set()
407 cl->tx_cfg.arb_mode = txc->arb_mode; in hsc_tx_set()
410 cl->tx_cfg = tmp; in hsc_tx_set()
419 txc->mode = cl->tx_cfg.mode; in hsc_tx_get()
420 txc->channels = cl->tx_cfg.num_hw_channels; in hsc_tx_get()
421 txc->speed = cl->tx_cfg.speed; in hsc_tx_get()
422 txc->arb_mode = cl->tx_cfg.arb_mode; in hsc_tx_get()
[all …]
Dnokia-modem.c194 ssip.tx_cfg = cl->tx_cfg; in nokia_modem_probe()
217 cmtspeech.tx_cfg = cl->tx_cfg; in nokia_modem_probe()
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_core.c158 u32 tx_cfg = readl(ioaddr + SXGBE_CORE_TX_CONFIG_REG); in sxgbe_core_set_speed() local
161 tx_cfg &= ~0x60000000; in sxgbe_core_set_speed()
162 tx_cfg |= (speed << SXGBE_SPEED_LSHIFT); in sxgbe_core_set_speed()
165 writel(tx_cfg, ioaddr + SXGBE_CORE_TX_CONFIG_REG); in sxgbe_core_set_speed()
/linux-4.4.14/include/linux/hsi/
Dhsi.h116 struct hsi_config tx_cfg; member
144 struct hsi_config tx_cfg; member
239 struct hsi_config tx_cfg; member
/linux-4.4.14/drivers/hsi/controllers/
Domap_ssi_port.c453 if (cl->tx_cfg.speed) in ssi_setup()
454 omap_ssi->max_speed = cl->tx_cfg.speed; in ssi_setup()
458 cl->tx_cfg.speed, div); in ssi_setup()
470 writel_relaxed(cl->tx_cfg.num_hw_channels, sst + SSI_SST_CHANNELS_REG); in ssi_setup()
471 writel_relaxed(cl->tx_cfg.arb_mode, sst + SSI_SST_ARBMODE_REG); in ssi_setup()
472 writel_relaxed(cl->tx_cfg.mode, sst + SSI_SST_MODE_REG); in ssi_setup()
483 cl->tx_cfg.num_hw_channels); in ssi_setup()
488 omap_port->sst.channels = cl->tx_cfg.num_hw_channels; in ssi_setup()
489 omap_port->sst.arb_mode = cl->tx_cfg.arb_mode; in ssi_setup()
490 omap_port->sst.mode = cl->tx_cfg.mode; in ssi_setup()
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.c589 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
591 size += tx_cfg->fifo_len; in init_shared_mem()
602 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
604 size = tx_cfg->fifo_len; in init_shared_mem()
621 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
622 int fifo_len = tx_cfg->fifo_len; in init_shared_mem()
633 int page_num = TXD_MEM_PAGE_CNT(config->tx_cfg[i].fifo_len, in init_shared_mem()
636 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
639 fifo->tx_curr_put_info.fifo_len = tx_cfg->fifo_len - 1; in init_shared_mem()
641 fifo->tx_curr_get_info.fifo_len = tx_cfg->fifo_len - 1; in init_shared_mem()
[all …]
Ds2io.h435 struct tx_fifo_config tx_cfg[MAX_TX_FIFOS]; /*Per-Tx FIFO config */ member
/linux-4.4.14/drivers/net/ethernet/micrel/
Dksz884x.c1281 u32 tx_cfg; member
3215 u32 tx_cfg; in set_flow_ctrl() local
3218 tx_cfg = hw->tx_cfg; in set_flow_ctrl()
3224 hw->tx_cfg |= DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
3226 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
3230 if (tx_cfg != hw->tx_cfg) in set_flow_ctrl()
3231 writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL); in set_flow_ctrl()
3268 u32 cfg = hw->tx_cfg; in port_cfg_change()
3272 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in port_cfg_change()
3273 if (hw->enabled && cfg != hw->tx_cfg) in port_cfg_change()
[all …]
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c3132 cfg_req->tx_cfg.vlan_mode = BFI_ENET_TX_VLAN_WI; in bna_bfi_tx_enet_start()
3133 cfg_req->tx_cfg.vlan_id = htons((u16)tx->txf_vlan_id); in bna_bfi_tx_enet_start()
3134 cfg_req->tx_cfg.admit_tagged_frame = BNA_STATUS_T_ENABLED; in bna_bfi_tx_enet_start()
3135 cfg_req->tx_cfg.apply_vlan_filter = BNA_STATUS_T_DISABLED; in bna_bfi_tx_enet_start()
3372 struct bna_tx_config *tx_cfg, in bna_tx_create() argument
3391 if ((intr_info->num != 1) && (intr_info->num != tx_cfg->num_txq)) in bna_tx_create()
3396 tx = bna_tx_get(tx_mod, tx_cfg->tx_type); in bna_tx_create()
3405 for (i = 0; i < tx_cfg->num_txq; i++) { in bna_tx_create()
3429 tx->num_txq = tx_cfg->num_txq; in bna_tx_create()
3468 txq->ib.coalescing_timeo = tx_cfg->coalescing_timeo; in bna_tx_create()
[all …]
Dbna.h317 struct bna_tx_config *tx_cfg,
Dbfi_enet.h436 struct bfi_enet_tx_cfg tx_cfg; member
/linux-4.4.14/drivers/usb/gadget/udc/
Dbcm63xx_udc.c479 const struct iudma_ch_cfg *tx_cfg = &iudma_defaults[i + 1]; in bcm63xx_fifo_setup() local
493 ((tx_fifo_slot + tx_cfg->n_fifo_slots - 1) << in bcm63xx_fifo_setup()
495 tx_fifo_slot += tx_cfg->n_fifo_slots; in bcm63xx_fifo_setup()
498 is_hs ? tx_cfg->max_pkt_hs : tx_cfg->max_pkt_fs, in bcm63xx_fifo_setup()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dfarch.c2030 efx_oword_t tx_cfg; in efx_farch_filter_push_tx_limits() local
2032 efx_reado(efx, &tx_cfg, FR_AZ_TX_CFG); in efx_farch_filter_push_tx_limits()
2037 tx_cfg, FRF_CZ_TX_ETH_FILTER_FULL_SEARCH_RANGE, in efx_farch_filter_push_tx_limits()
2041 tx_cfg, FRF_CZ_TX_ETH_FILTER_WILD_SEARCH_RANGE, in efx_farch_filter_push_tx_limits()
2046 efx_writeo(efx, &tx_cfg, FR_AZ_TX_CFG); in efx_farch_filter_push_tx_limits()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dsta_cmd.c2112 struct mwifiex_ds_11n_tx_cfg tx_cfg; in mwifiex_sta_init_cmd() local
2271 tx_cfg.tx_htcap = MWIFIEX_FW_DEF_HTTXCFG; in mwifiex_sta_init_cmd()
2273 HostCmd_ACT_GEN_SET, 0, &tx_cfg, true); in mwifiex_sta_init_cmd()
/linux-4.4.14/drivers/net/ethernet/sun/
Dniu.c392 u32 tx_cfg, rx_cfg; in serdes_init_niu_10g_fiber() local
395 tx_cfg = (PLL_TX_CFG_ENTX | PLL_TX_CFG_SWING_1375MV); in serdes_init_niu_10g_fiber()
406 tx_cfg |= PLL_TX_CFG_ENTEST; in serdes_init_niu_10g_fiber()
412 int err = esr2_set_tx_cfg(np, i, tx_cfg); in serdes_init_niu_10g_fiber()
432 u32 tx_cfg, rx_cfg; in serdes_init_niu_1g_serdes() local
436 tx_cfg = (PLL_TX_CFG_ENTX | PLL_TX_CFG_SWING_1375MV | in serdes_init_niu_1g_serdes()
451 tx_cfg |= PLL_TX_CFG_ENTEST; in serdes_init_niu_1g_serdes()
480 err = esr2_set_tx_cfg(np, i, tx_cfg); in serdes_init_niu_1g_serdes()
526 u32 tx_cfg, rx_cfg, pll_cfg, pll_sts; in serdes_init_niu_10g_serdes() local
532 tx_cfg = (PLL_TX_CFG_ENTX | PLL_TX_CFG_SWING_1375MV); in serdes_init_niu_10g_serdes()
[all …]