/drivers/hsi/ |
D | hsi_core.c | 76 kfree(cl->rx_cfg.channels); in hsi_client_release() 99 cl->rx_cfg = info->rx_cfg; in hsi_new_client() 100 if (cl->rx_cfg.channels) { in hsi_new_client() 101 size = cl->rx_cfg.num_channels * sizeof(*cl->rx_cfg.channels); in hsi_new_client() 102 cl->rx_cfg.channels = kmemdup(info->rx_cfg.channels, size, in hsi_new_client() 104 if (!cl->rx_cfg.channels) in hsi_new_client() 231 &cl->rx_cfg.mode); in hsi_add_client_from_dt() 240 cl->rx_cfg.mode = mode; in hsi_add_client_from_dt() 248 cl->rx_cfg.speed = cl->tx_cfg.speed; in hsi_add_client_from_dt() 251 &cl->rx_cfg.flow); in hsi_add_client_from_dt() [all …]
|
/drivers/net/ethernet/apple/ |
D | bmac.c | 905 unsigned short rx_cfg; in bmac_rx_off() local 907 rx_cfg = bmread(dev, RXCFG); in bmac_rx_off() 908 rx_cfg &= ~RxMACEnable; in bmac_rx_off() 909 bmwrite(dev, RXCFG, rx_cfg); in bmac_rx_off() 911 rx_cfg = bmread(dev, RXCFG); in bmac_rx_off() 912 } while (rx_cfg & RxMACEnable); in bmac_rx_off() 918 unsigned short rx_cfg; in bmac_rx_on() local 920 rx_cfg = bmread(dev, RXCFG); in bmac_rx_on() 921 rx_cfg |= RxMACEnable; in bmac_rx_on() 922 if (hash_enable) rx_cfg |= RxHashFilterEnable; in bmac_rx_on() [all …]
|
/drivers/hsi/clients/ |
D | hsi_char.c | 368 tmp = cl->rx_cfg; in hsc_rx_set() 369 cl->rx_cfg.mode = rxc->mode; in hsc_rx_set() 370 cl->rx_cfg.num_hw_channels = rxc->channels; in hsc_rx_set() 371 cl->rx_cfg.flow = rxc->flow; in hsc_rx_set() 374 cl->rx_cfg = tmp; in hsc_rx_set() 385 rxc->mode = cl->rx_cfg.mode; in hsc_rx_get() 386 rxc->channels = cl->rx_cfg.num_hw_channels; in hsc_rx_get() 387 rxc->flow = cl->rx_cfg.flow; in hsc_rx_get() 438 if (channel->ch >= channel->cl->rx_cfg.num_hw_channels) in hsc_read()
|
D | nokia-modem.c | 195 ssip.rx_cfg = cl->rx_cfg; in nokia_modem_probe() 218 cmtspeech.rx_cfg = cl->rx_cfg; in nokia_modem_probe()
|
/drivers/net/ethernet/brocade/bna/ |
D | bna_tx_rx.c | 1633 cfg_req->rx_cfg.frame_size = bna_enet_mtu_get(&rx->bna->enet); in bna_bfi_rx_enet_start() 1659 cfg_req->rx_cfg.multi_buffer = in bna_bfi_rx_enet_start() 1698 cfg_req->rx_cfg.rxq_type = BFI_ENET_RXQ_LARGE_SMALL; in bna_bfi_rx_enet_start() 1702 cfg_req->rx_cfg.rxq_type = BFI_ENET_RXQ_HDS; in bna_bfi_rx_enet_start() 1703 cfg_req->rx_cfg.hds.type = rx->hds_cfg.hdr_type; in bna_bfi_rx_enet_start() 1704 cfg_req->rx_cfg.hds.force_offset = rx->hds_cfg.forced_offset; in bna_bfi_rx_enet_start() 1705 cfg_req->rx_cfg.hds.max_header_size = rx->hds_cfg.forced_offset; in bna_bfi_rx_enet_start() 1709 cfg_req->rx_cfg.rxq_type = BFI_ENET_RXQ_SINGLE; in bna_bfi_rx_enet_start() 1715 cfg_req->rx_cfg.strip_vlan = rx->rxf.vlan_strip_status; in bna_bfi_rx_enet_start() 1749 bna_rx_res_check(struct bna_rx_mod *rx_mod, struct bna_rx_config *rx_cfg) in bna_rx_res_check() argument [all …]
|
D | bna.h | 354 struct bna_rx_config *rx_cfg,
|
D | bfi_enet.h | 509 struct bfi_enet_rx_cfg rx_cfg; member
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1282 u32 rx_cfg; member 3214 u32 rx_cfg; in set_flow_ctrl() local 3217 rx_cfg = hw->rx_cfg; in set_flow_ctrl() 3220 hw->rx_cfg |= DMA_RX_FLOW_ENABLE; in set_flow_ctrl() 3222 hw->rx_cfg &= ~DMA_RX_FLOW_ENABLE; in set_flow_ctrl() 3228 if (rx_cfg != hw->rx_cfg) in set_flow_ctrl() 3229 writel(hw->rx_cfg, hw->io + KS_DMA_RX_CTRL); in set_flow_ctrl() 3787 hw->rx_cfg = (DMA_RX_BROADCAST | DMA_RX_UNICAST | in hw_setup() 3789 hw->rx_cfg |= KS884X_DMA_RX_MULTICAST; in hw_setup() 3792 hw->rx_cfg |= (DMA_RX_CSUM_TCP | DMA_RX_CSUM_IP); in hw_setup() [all …]
|
/drivers/net/ethernet/neterion/ |
D | s2io.c | 705 struct rx_ring_config *rx_cfg = &config->rx_cfg[i]; in init_shared_mem() local 708 if (rx_cfg->num_rxd % (rxd_count[nic->rxd_mode] + 1)) { in init_shared_mem() 714 size += rx_cfg->num_rxd; in init_shared_mem() 715 ring->block_count = rx_cfg->num_rxd / in init_shared_mem() 717 ring->pkt_cnt = rx_cfg->num_rxd - ring->block_count; in init_shared_mem() 725 struct rx_ring_config *rx_cfg = &config->rx_cfg[i]; in init_shared_mem() local 730 ring->rx_curr_get_info.ring_len = rx_cfg->num_rxd - 1; in init_shared_mem() 733 ring->rx_curr_put_info.ring_len = rx_cfg->num_rxd - 1; in init_shared_mem() 737 blk_cnt = rx_cfg->num_rxd / (rxd_count[nic->rxd_mode] + 1); in init_shared_mem() 798 struct rx_ring_config *rx_cfg = &config->rx_cfg[i]; in init_shared_mem() local [all …]
|
D | s2io.h | 449 struct rx_ring_config rx_cfg[MAX_RX_RINGS]; /*Per-Rx Ring config */ member
|
/drivers/hsi/controllers/ |
D | omap_ssi_port.c | 512 writel_relaxed(cl->rx_cfg.num_hw_channels, ssr + SSI_SSR_CHANNELS_REG); in ssi_setup() 516 (cl->rx_cfg.mode != SSI_MODE_FRAME)) in ssi_setup() 518 writel_relaxed(cl->rx_cfg.mode, ssr + SSI_SSR_MODE_REG); in ssi_setup() 519 omap_port->channels = max(cl->rx_cfg.num_hw_channels, in ssi_setup() 531 omap_port->ssr.channels = cl->rx_cfg.num_hw_channels; in ssi_setup() 532 omap_port->ssr.mode = cl->rx_cfg.mode; in ssi_setup()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 1198 static void t3_gate_rx_traffic(struct cmac *mac, u32 *rx_cfg, in t3_gate_rx_traffic() argument 1205 *rx_cfg = t3_read_reg(mac->adapter, A_XGM_RX_CFG); in t3_gate_rx_traffic() 1220 static void t3_open_rx_traffic(struct cmac *mac, u32 rx_cfg, in t3_open_rx_traffic() argument 1226 rx_cfg); in t3_open_rx_traffic() 1251 u32 rx_cfg, rx_hash_high, rx_hash_low; in t3_link_changed() local 1255 t3_gate_rx_traffic(mac, &rx_cfg, &rx_hash_high, &rx_hash_low); in t3_link_changed() 1264 t3_open_rx_traffic(mac, rx_cfg, rx_hash_high, rx_hash_low); in t3_link_changed() 1304 u32 rx_cfg, rx_hash_high, rx_hash_low; in t3_link_fault() local 1306 t3_gate_rx_traffic(mac, &rx_cfg, &rx_hash_high, &rx_hash_low); in t3_link_fault() 1314 t3_open_rx_traffic(mac, rx_cfg, rx_hash_high, rx_hash_low); in t3_link_fault()
|
/drivers/usb/gadget/udc/ |
D | bcm63xx_udc.c | 477 const struct iudma_ch_cfg *rx_cfg = &iudma_defaults[i]; in bcm63xx_fifo_setup() local 483 ((rx_fifo_slot + rx_cfg->n_fifo_slots - 1) << in bcm63xx_fifo_setup() 485 rx_fifo_slot += rx_cfg->n_fifo_slots; in bcm63xx_fifo_setup() 488 is_hs ? rx_cfg->max_pkt_hs : rx_cfg->max_pkt_fs, in bcm63xx_fifo_setup()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 392 u32 tx_cfg, rx_cfg; in serdes_init_niu_10g_fiber() local 396 rx_cfg = (PLL_RX_CFG_ENRX | PLL_RX_CFG_TERM_0P8VDDT | in serdes_init_niu_10g_fiber() 407 rx_cfg |= PLL_RX_CFG_ENTEST; in serdes_init_niu_10g_fiber() 418 int err = esr2_set_rx_cfg(np, i, rx_cfg); in serdes_init_niu_10g_fiber() 432 u32 tx_cfg, rx_cfg; in serdes_init_niu_1g_serdes() local 438 rx_cfg = (PLL_RX_CFG_ENRX | PLL_RX_CFG_TERM_0P8VDDT | in serdes_init_niu_1g_serdes() 443 rx_cfg |= PLL_RX_CFG_EQ_LP_ADAPTIVE; in serdes_init_niu_1g_serdes() 452 rx_cfg |= PLL_RX_CFG_ENTEST; in serdes_init_niu_1g_serdes() 486 err = esr2_set_rx_cfg(np, i, rx_cfg); in serdes_init_niu_1g_serdes() 526 u32 tx_cfg, rx_cfg, pll_cfg, pll_sts; in serdes_init_niu_10g_serdes() local [all …]
|