/linux/drivers/net/ethernet/xilinx/ |
A D | ll_temac_main.c | 319 lp->rx_bd_v, lp->rx_bd_p); in temac_dma_bd_release() 323 lp->tx_bd_v, lp->tx_bd_p); in temac_dma_bd_release() 382 lp->dma_out(lp, TX_CHNL_CTRL, in temac_dma_bd_init() 387 lp->dma_out(lp, RX_CHNL_CTRL, in temac_dma_bd_init() 401 lp->dma_out(lp, RX_CURDESC_PTR, lp->rx_bd_p); in temac_dma_bd_init() 402 lp->dma_out(lp, RX_TAILDESC_PTR, in temac_dma_bd_init() 403 lp->rx_bd_p + (sizeof(*lp->rx_bd_v) * lp->rx_bd_tail)); in temac_dma_bd_init() 406 lp->dma_out(lp, TX_CURDESC_PTR, lp->tx_bd_p); in temac_dma_bd_init() 934 tail_p = lp->tx_bd_p + sizeof(*lp->tx_bd_v) * lp->tx_bd_tail; in temac_start_xmit() 955 if (!lp->rx_skb[lp->rx_bd_ci]) in ll_temac_recv_buffers_available() [all …]
|
A D | xilinx_axienet_main.c | 554 if (lp->max_frm_size <= lp->rxmem) in axienet_device_reset() 669 if (lp->tx_bd_ci >= lp->tx_bd_num) in axienet_start_xmit_done() 670 lp->tx_bd_ci -= lp->tx_bd_num; in axienet_start_xmit_done() 698 cur_p = &lp->tx_bd_v[(lp->tx_bd_tail + num_frag) % lp->tx_bd_num]; in axienet_check_tx_bd_space() 731 cur_p = &lp->tx_bd_v[lp->tx_bd_tail]; in axienet_start_xmit() 801 tail_p = lp->tx_bd_p + sizeof(*lp->tx_bd_v) * lp->tx_bd_tail; in axienet_start_xmit() 830 cur_p = &lp->rx_bd_v[lp->rx_bd_ci]; in axienet_recv() 835 tail_p = lp->rx_bd_p + sizeof(*lp->rx_bd_v) * lp->rx_bd_ci; in axienet_recv() 891 cur_p = &lp->rx_bd_v[lp->rx_bd_ci]; in axienet_recv() 930 (lp->tx_bd_v[lp->tx_bd_ci]).phys); in axienet_tx_irq() [all …]
|
A D | xilinx_axienet_mdio.c | 68 axienet_mdio_mdc_enable(lp); in axienet_mdio_read() 160 lp->mii_clk_div = 0; in axienet_mdio_enable() 162 if (lp->axi_clk) { in axienet_mdio_enable() 218 lp->mii_clk_div++; in axienet_mdio_enable() 220 netdev_dbg(lp->ndev, in axienet_mdio_enable() 224 axienet_iow(lp, XAE_MDIO_MC_OFFSET, lp->mii_clk_div | XAE_MDIO_MC_MDIOEN_MASK); in axienet_mdio_enable() 267 bus->priv = lp; in axienet_mdio_setup() 271 bus->parent = lp->dev; in axienet_mdio_setup() 272 lp->mii_bus = bus; in axienet_mdio_setup() 279 lp->mii_bus = NULL; in axienet_mdio_setup() [all …]
|
/linux/drivers/net/ethernet/smsc/ |
A D | smc911x.h | 181 #define SMC_inl(lp, r) ((readw((lp)->base + (r)) & 0xFFFF) + (readw((lp)->base + (r) + 2) << 16)) argument 191 #define SMC_inl(lp, r) readl((lp)->base + (r)) argument 192 #define SMC_outl(v, lp, r) writel(v, (lp)->base + (r)) argument 215 smc_pxa_dma_insl(lp, lp->physaddr, r, lp->rxdma, p, l) 247 smc_pxa_dma_outsl(lp, lp->physaddr, r, lp->txdma, p, l) 704 #define SMC_GET_IRQ_CFG(lp) SMC_inl( lp, INT_CFG ) argument 706 #define SMC_GET_INT(lp) SMC_inl( lp, INT_STS ) argument 708 #define SMC_GET_INT_EN(lp) SMC_inl( lp, INT_EN ) argument 750 #define SMC_GET_RX_CFG(lp) SMC_inl( lp, RX_CFG ) argument 752 #define SMC_GET_TX_CFG(lp) SMC_inl( lp, TX_CFG ) argument [all …]
|
A D | smc91x.c | 342 SMC_SET_TCR(lp, lp->tcr_cur_mode); in smc_enable() 343 SMC_SET_RCR(lp, lp->rcr_cur_mode); in smc_enable() 754 SMC_SET_TCR(lp, lp->tcr_cur_mode); in smc_tx() 932 SMC_SET_RPC(lp, lp->rpc_cur_mode); in smc_phy_fixed() 1018 SMC_SET_TCR(lp, lp->tcr_cur_mode); in smc_phy_check_media() 1067 SMC_SET_RPC(lp, lp->rpc_cur_mode); in smc_phy_configure() 1446 SMC_SET_RCR(lp, lp->rcr_cur_mode); in smc_set_multicast_list() 2265 memcpy(&lp->cfg, pd, sizeof(lp->cfg)); in smc_drv_probe() 2266 lp->io_shift = SMC91X_IO_SHIFT(lp->cfg.flags); in smc_drv_probe() 2268 if (!SMC_8BIT(lp) && !SMC_16BIT(lp)) { in smc_drv_probe() [all …]
|
A D | smc91x.h | 604 #define GP_REG(lp) SMC_REG(lp, 0x000A, 1) argument 636 #define PN_REG(lp) SMC_REG(lp, 0x0002, 2) argument 641 #define AR_REG(lp) SMC_REG(lp, 0x0003, 2) argument 939 #define SMC_SET_BASE(lp, x) SMC_outw(lp, x, ioaddr, BASE_REG(lp)) argument 943 #define SMC_SET_CONFIG(lp, x) SMC_outw(lp, x, ioaddr, CONFIG_REG(lp)) argument 949 #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) argument 963 #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) argument 967 #define SMC_SET_MIR(lp, x) SMC_outw(lp, x, ioaddr, MIR_REG(lp)) argument 971 #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) argument 989 #define SMC_SET_RCR(lp, x) SMC_outw(lp, x, ioaddr, RCR_REG(lp)) argument [all …]
|
A D | smc911x.c | 228 SMC_SET_HW_CFG(lp, (lp->tx_fifo_kb & 0xF) << 16); in smc911x_reset() 231 SMC_SET_AFC_CFG(lp, lp->afc_cfg); in smc911x_reset() 850 if (mii_check_media(&lp->mii, netif_msg_link(lp), init)) { in smc911x_phy_check_media() 1467 SMC_GET_PHY_SPECIAL(lp, lp->mii.phy_id, status); in smc911x_ethtool_get_link_ksettings() 1572 SMC_GET_MII(lp, i, lp->mii.phy_id, reg); in smc911x_ethtool_getregs() 1843 lp->tx_fifo_size=(lp->tx_fifo_kb<<10) - 512; in smc911x_probe() 1891 lp->tx_fifo_size, lp->rx_fifo_size, lp->afc_cfg); in smc911x_probe() 2001 if (lp->rxdma) in smc911x_probe() 2004 if (lp->txdma) in smc911x_probe() 2028 if (lp->rxdma) in smc911x_probe() [all …]
|
/linux/arch/sparc/kernel/ |
A D | ldc.c | 526 lp->id, lp->tx_ra, lp->tx_num_entries, hv_err); in ldc_abort() 541 lp->id, lp->rx_ra, lp->rx_num_entries, hv_err); in ldc_abort() 1235 lp->rx_irq_name, lp); in ldc_alloc() 1240 lp->tx_irq_name, lp); in ldc_alloc() 1346 lp->tx_acked = lp->tx_head; in ldc_bind() 1492 caller, lp->id, lp->flags, state_to_str(lp->state), in __ldc_print() 1494 lp->rx_head, lp->rx_tail, lp->rx_num_entries, in __ldc_print() 1495 lp->tx_head, lp->tx_tail, lp->tx_num_entries, in __ldc_print() 1496 lp->rcv_nxt, lp->snd_nxt); in __ldc_print() 1914 int err = read_nonraw(lp, lp->mssbuf, lp->cfg.mtu); in read_stream() [all …]
|
/linux/drivers/net/ethernet/dec/tulip/ |
A D | de4x5.c | 890 lp->tx_old+lp->txRingSize-lp->tx_new-1:\ 1449 lp->tx_new = (lp->tx_new + 1) % lp->txRingSize; in de4x5_sw_reset() 1507 lp->tx_new = (lp->tx_new + 1) % lp->txRingSize; in de4x5_queue_pkt() 1661 for (;lp->rx_old!=entry;lp->rx_old=(lp->rx_old + 1)%lp->rxRingSize) { in de4x5_rx() 1672 lp->rx_new = (lp->rx_new + 1) % lp->rxRingSize; in de4x5_rx() 1730 lp->tx_old = (lp->tx_old + 1) % lp->txRingSize; in de4x5_tx() 1806 lp->rx_new = (lp->rx_new + 1) % lp->rxRingSize; in de4x5_rx_ovfc() 3410 if (lp->phy[lp->active].id || lp->useSROM) { in test_for_100Mb() 3543 if (lp->phy[lp->active].id && (!lp->useSROM || lp->useMII)) { in is_anc_capable() 3568 lp->tx_new = (lp->tx_new + 1) % lp->txRingSize; in ping_media() [all …]
|
/linux/drivers/net/ieee802154/ |
A D | mcr20a.c | 457 ret = spi_async(lp->spi, &lp->reg_msg); in mcr20a_write_tx_buf_complete() 868 lp->tx_len[0] = lp->tx_skb->len + 2; in mcr20a_handle_tx() 1020 lp->tx_buf_msg.context = lp; in mcr20a_setup_tx_spi_messages() 1027 lp->tx_xfer_len.tx_buf = lp->tx_len; in mcr20a_setup_tx_spi_messages() 1038 lp->reg_msg.context = lp; in mcr20a_setup_rx_spi_messages() 1041 lp->reg_xfer_cmd.tx_buf = lp->reg_cmd; in mcr20a_setup_rx_spi_messages() 1042 lp->reg_xfer_cmd.rx_buf = lp->reg_cmd; in mcr20a_setup_rx_spi_messages() 1051 lp->rx_buf_msg.context = lp; in mcr20a_setup_rx_spi_messages() 1057 lp->rx_xfer_buf.rx_buf = lp->rx_buf; in mcr20a_setup_rx_spi_messages() 1060 lp->rx_xfer_lqi.rx_buf = lp->rx_lqi; in mcr20a_setup_rx_spi_messages() [all …]
|
A D | adf7242.c | 308 status = spi_sync(lp->spi, &lp->stat_msg); in adf7242_status() 478 status = spi_write(lp->spi, lp->buf_reg_tx, 3); in adf7242_write_reg() 498 status = spi_write(lp->spi, &lp->buf_cmd, 1); in adf7242_cmd() 1052 adf7242_set_promiscuous_mode(lp->hw, lp->promiscuous); in adf7242_soft_reset() 1053 adf7242_set_csma_params(lp->hw, lp->min_be, lp->max_be, in adf7242_soft_reset() 1205 lp = hw->priv; in adf7242_probe() 1206 lp->hw = hw; in adf7242_probe() 1207 lp->spi = spi; in adf7242_probe() 1254 lp->stat_xfer.tx_buf = &lp->buf_stat_tx; in adf7242_probe() 1255 lp->stat_xfer.rx_buf = &lp->buf_stat_rx; in adf7242_probe() [all …]
|
A D | at86rf230.c | 341 struct at86rf230_local *lp = ctx->lp; in at86rf230_async_error_recover_complete() local 353 struct at86rf230_local *lp = ctx->lp; in at86rf230_async_error_recover() local 406 struct at86rf230_local *lp = ctx->lp; in at86rf230_async_state_assert() local 465 struct at86rf230_local *lp = ctx->lp; in at86rf230_async_state_timer() local 478 struct at86rf230_local *lp = ctx->lp; in at86rf230_async_state_delay() local 569 struct at86rf230_local *lp = ctx->lp; in at86rf230_async_state_change_start() local 614 struct at86rf230_local *lp = ctx->lp; in at86rf230_sync_state_change_complete() local 645 struct at86rf230_local *lp = ctx->lp; in at86rf230_tx_complete() local 655 struct at86rf230_local *lp = ctx->lp; in at86rf230_tx_on() local 665 struct at86rf230_local *lp = ctx->lp; in at86rf230_tx_trac_check() local [all …]
|
/linux/drivers/net/ethernet/amd/ |
A D | pcnet32.c | 506 lp->tx_ring, lp->tx_ring_dma_addr); in pcnet32_realloc_tx_ring() 509 lp->tx_mod_mask = lp->tx_ring_size - 1; in pcnet32_realloc_tx_ring() 610 lp->rx_ring, lp->rx_ring_dma_addr); in pcnet32_realloc_rx_ring() 613 lp->rx_mod_mask = lp->rx_ring_size - 1; in pcnet32_realloc_rx_ring() 821 if (!lp->autoneg && lp->port_tp) in pcnet32_get_link() 911 lp->napi.weight = lp->rx_ring_size / 2; in pcnet32_set_ringparam() 1363 delta = (lp->cur_tx - dirty_tx) & (lp->tx_mod_mask + lp->tx_ring_size); in pcnet32_tx() 2358 lp->cur_rx = lp->cur_tx = 0; in pcnet32_init_ring() 2359 lp->dirty_rx = lp->dirty_tx = 0; in pcnet32_init_ring() 2461 lp->dirty_tx, lp->cur_tx, lp->tx_full ? " (full)" : "", in pcnet32_tx_timeout() [all …]
|
A D | amd8111e.c | 283 lp->rx_idx = lp->tx_idx = 0; in amd8111e_init_ring() 294 lp->tx_ring = dma_alloc_coherent(&lp->pci_dev->dev, in amd8111e_init_ring() 300 lp->rx_ring = dma_alloc_coherent(&lp->pci_dev->dev, in amd8111e_init_ring() 324 lp->rx_dma_addr[i] = dma_map_single(&lp->pci_dev->dev, in amd8111e_init_ring() 348 lp->rx_ring, lp->rx_ring_dma_addr); in amd8111e_init_ring() 354 lp->tx_ring, lp->tx_ring_dma_addr); in amd8111e_init_ring() 622 lp->rx_ring, lp->rx_ring_dma_addr); in amd8111e_free_ring() 629 lp->tx_ring, lp->tx_ring_dma_addr); in amd8111e_free_ring() 646 while (lp->tx_complete_idx != lp->tx_idx) { in amd8111e_tx() 1843 lp->mii_if.phy_id = lp->ext_phy_addr; in amd8111e_probe_one() [all …]
|
A D | 7990.c | 47 #define READRDP(lp) in_be16(lp->base + LANCE_RDP) argument 59 #define WRITERAP(lp, x) (lp->writerap(lp, x)) argument 60 #define WRITERDP(lp, x) (lp->writerdp(lp, x)) argument 61 #define READRDP(lp) (lp->readrdp(lp)) argument 147 lp->rx_new = lp->tx_new = 0; in lance_init_ring() 148 lp->rx_old = lp->tx_old = 0; in lance_init_ring() 329 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx() 347 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx() 387 lp->tpe = 1 - lp->tpe; in lance_tx() 579 lp->tx_new = (lp->tx_new + 1) & lp->tx_ring_mod_mask; in lance_start_xmit() [all …]
|
A D | sunlance.c | 267 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\ 268 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\ 269 lp->tx_old - lp->tx_new-1) 309 sbus_writew(lp->busmaster_regval, lp->lregs + RDP); in load_csrs() 326 lp->rx_new = lp->tx_new = 0; in lance_init_ring_dvma() 327 lp->rx_old = lp->tx_old = 0; in lance_init_ring_dvma() 382 lp->rx_new = lp->tx_new = 0; in lance_init_ring_pio() 383 lp->rx_old = lp->tx_old = 0; in lance_init_ring_pio() 589 lp->tpe = 1 - lp->tpe; in lance_tx_dvma() 757 lp->tpe = 1 - lp->tpe; in lance_tx_pio() [all …]
|
/linux/net/ipv4/ |
A D | tcp_lp.c | 99 struct lp *lp = inet_csk_ca(sk); in tcp_lp_init() local 123 struct lp *lp = inet_csk_ca(sk); in tcp_lp_cong_avoid() local 140 struct lp *lp = inet_csk_ca(sk); in tcp_lp_remote_hz_estimator() local 194 struct lp *lp = inet_csk_ca(sk); in tcp_lp_owd_calculator() local 229 struct lp *lp = inet_csk_ca(sk); in tcp_lp_rtt_sample() local 274 struct lp *lp = inet_csk_ca(sk); in tcp_lp_pkts_acked() local 287 if (lp->last_drop && (now - lp->last_drop < lp->inference)) in tcp_lp_pkts_acked() 294 lp->owd_min + 15 * (lp->owd_max - lp->owd_min) / 100) in tcp_lp_pkts_acked() 300 tp->snd_cwnd, lp->remote_hz, lp->owd_min, lp->owd_max, in tcp_lp_pkts_acked() 309 lp->owd_min = lp->sowd >> 3; in tcp_lp_pkts_acked() [all …]
|
/linux/drivers/net/ethernet/ |
A D | korina.c | 605 skb = lp->rx_skb[lp->rx_next_done]; in korina_rx() 650 dma_unmap_single(lp->dmadev, lp->rx_skb_dma[lp->rx_next_done], in korina_rx() 677 lp->rd_ring[(lp->rx_next_done - 1) & in korina_rx() 682 rd = &lp->rd_ring[lp->rx_next_done]; in korina_rx() 791 lp->tx_skb[lp->tx_next_done]->len; in korina_tx() 818 if (lp->tx_skb[lp->tx_next_done]) { in korina_tx() 820 lp->tx_skb_dma[lp->tx_next_done], in korina_tx() 835 td = &lp->td_ring[lp->tx_next_done]; in korina_tx() 1000 lp->tx_next_done = lp->tx_chain_head = lp->tx_chain_tail = in korina_alloc_ring() 1001 lp->tx_full = lp->tx_count = 0; in korina_alloc_ring() [all …]
|
/linux/drivers/net/arcnet/ |
A D | arcnet.c | 324 buf = lp->buf_queue[lp->next_buf++]; in get_arcbuf() 564 lp->next_buf = lp->first_free_buf = 0; in arcnet_open() 569 lp->cur_tx = lp->next_tx = -1; in arcnet_open() 599 lp->hw.intmask(dev, lp->intmask); in arcnet_open() 773 lp->hw.intmask(dev, lp->intmask); in arcnet_send_packet() 792 lp->hw.status(dev), lp->intmask, lp->next_tx, lp->cur_tx); in go_tx() 800 lp->cur_tx = lp->next_tx; in go_tx() 837 lp->hw.intmask(dev, lp->intmask); in arcnet_timeout() 888 lp->hw.status(dev), lp->intmask); in arcnet_interrupt() 1084 lp->first_recon = lp->last_recon; in arcnet_interrupt() [all …]
|
/linux/drivers/net/ethernet/natsemi/ |
A D | sonic.c | 61 lp->descriptors = in sonic_alloc_descriptors() 70 lp->cda = lp->descriptors; in sonic_alloc_descriptors() 71 lp->tda = lp->cda + SIZEOF_SONIC_CDA * in sonic_alloc_descriptors() 73 lp->rda = lp->tda + SIZEOF_SONIC_TD * SONIC_NUM_TDS * in sonic_alloc_descriptors() 75 lp->rra = lp->rda + SIZEOF_SONIC_RD * SONIC_NUM_RDS * in sonic_alloc_descriptors() 78 lp->cda_laddr = lp->descriptors_laddr; in sonic_alloc_descriptors() 79 lp->tda_laddr = lp->cda_laddr + SIZEOF_SONIC_CDA * in sonic_alloc_descriptors() 81 lp->rda_laddr = lp->tda_laddr + SIZEOF_SONIC_TD * SONIC_NUM_TDS * in sonic_alloc_descriptors() 199 dma_unmap_single(lp->device, lp->tx_laddr[i], lp->tx_len[i], DMA_TO_DEVICE); in sonic_close() 240 dma_unmap_single(lp->device, lp->tx_laddr[i], lp->tx_len[i], DMA_TO_DEVICE); in sonic_tx_timeout() [all …]
|
/linux/drivers/video/backlight/ |
A D | arcxcnn_bl.c | 170 lp->bl = devm_backlight_device_register(lp->dev, name, lp->dev, lp, in arcxcnn_backlight_register() 246 struct arcxcnn *lp; in arcxcnn_probe() local 252 lp = devm_kzalloc(&cl->dev, sizeof(*lp), GFP_KERNEL); in arcxcnn_probe() 253 if (!lp) in arcxcnn_probe() 256 lp->client = cl; in arcxcnn_probe() 266 if (!lp->pdata) { in arcxcnn_probe() 267 lp->pdata = devm_kzalloc(lp->dev, in arcxcnn_probe() 269 if (!lp->pdata) in arcxcnn_probe() 308 ret = arcxcnn_set_brightness(lp, lp->pdata->initial_brightness); in arcxcnn_probe() 356 dev_err(lp->dev, in arcxcnn_probe() [all …]
|
A D | lp855x_bl.c | 190 ret = lp->cfg->pre_init_device(lp); in lp855x_configure() 198 ret = lp855x_write_byte(lp, lp->cfg->reg_brightness, val); in lp855x_configure() 203 ret = lp855x_write_byte(lp, lp->cfg->reg_devicectrl, val); in lp855x_configure() 221 ret = lp->cfg->post_init_device(lp); in lp855x_configure() 241 if (!lp->pwm) { in lp855x_pwm_ctrl() 242 pwm = devm_pwm_get(lp->dev, lp->chipname); in lp855x_pwm_ctrl() 246 lp->pwm = pwm; in lp855x_pwm_ctrl() 299 bl = devm_backlight_device_register(lp->dev, name, lp->dev, lp, in lp855x_backlight_register() 304 lp->bl = bl; in lp855x_backlight_register() 407 if (!lp) in lp855x_probe() [all …]
|
/linux/drivers/net/ethernet/toshiba/ |
A D | tc35815.c | 899 lp->fd_buf, lp->fd_buf_dma); in tc35815_init_queues() 919 lp->rfd_cur = lp->rfd_base; in tc35815_init_queues() 947 lp->rx_skbs[lp->fbl_count].skb = in tc35815_init_queues() 970 dev->name, lp->tfd_base, lp->rfd_base, lp->fbl_ptr); in tc35815_init_queues() 1053 lp->fd_buf, lp->fd_buf_dma); in tc35815_free_queues() 1120 lp->tfd_base, lp->tfd_start, lp->tfd_end); in panic_queues() 1122 lp->rfd_base, lp->rfd_limit, lp->rfd_cur); in panic_queues() 1312 if (lp->tfd_start == lp->tfd_end) { in tc35815_send_packet() 1610 if (lp->rfd_cur > lp->rfd_limit) in tc35815_rx() 1611 lp->rfd_cur = lp->rfd_base; in tc35815_rx() [all …]
|
/linux/arch/xtensa/platforms/iss/ |
A D | network.c | 281 if (lp->tp.poll(lp) == 0) in iss_net_rx() 298 pkt_len = lp->tp.read(lp, &skb); in iss_net_rx() 352 struct iss_net_private *lp = from_timer(lp, t, timer); in iss_net_timer() local 356 mod_timer(&lp->timer, jiffies + lp->timer_val); in iss_net_timer() 368 err = lp->tp.open(lp); in iss_net_open() 389 mod_timer(&lp->timer, jiffies + lp->timer_val); in iss_net_open() 408 lp->tp.close(lp); in iss_net_close() 422 len = lp->tp.write(lp, &skb); in iss_net_start_xmit() 452 return &lp->stats; in iss_net_get_stats() 560 lp->pdev.id = index; in iss_net_configure() [all …]
|
/linux/drivers/net/ethernet/cirrus/ |
A D | cs89x0.c | 341 if (lp->dma) { in get_dma_channel() 885 if (lp->use_dma && (lp->isa_config & ANY_ISA_DMA)) { in net_open() 900 lp->dma_buff + lp->dmasize * 1024 - 1)) { in net_open() 904 memset(lp->dma_buff, 0, lp->dmasize * 1024); /* Why? */ in net_open() 911 lp->rx_dma_ptr = lp->dma_buff; in net_open() 912 lp->end_dma_buff = lp->dma_buff + lp->dmasize * 1024; in net_open() 1103 if (lp->use_dma && lp->dma) { in net_close() 1161 iowrite16(lp->send_cmd, lp->virt_addr + TX_CMD_PORT); in net_send_packet() 1322 memset(lp, 0, sizeof(*lp)); in cs89x0_probe1() 1503 dev->name, lp->force, lp->adapter_cnf); in cs89x0_probe1() [all …]
|