Home
last modified time | relevance | path

Searched refs:rxd (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dmyri_sbus.c255 struct myri_rxd *rxd = &rq->myri_rxd[i]; in myri_clean_rings() local
258 dma_addr = sbus_readl(&rxd->myri_scatters[0].addr); in myri_clean_rings()
285 struct myri_rxd *rxd = &rq->myri_rxd[0]; in myri_init_rings() local
305 sbus_writel(dma_addr, &rxd[i].myri_scatters[0].addr); in myri_init_rings()
306 sbus_writel(RX_ALLOC_SIZE, &rxd[i].myri_scatters[0].len); in myri_init_rings()
307 sbus_writel(i, &rxd[i].ctx); in myri_init_rings()
308 sbus_writel(1, &rxd[i].num_sg); in myri_init_rings()
437 struct myri_rxd *rxd = &rq->myri_rxd[rq->tail]; in myri_rx() local
444 DRX(("rxd[%d]: %p len[%d] csum[%08x] ", entry, rxd, len, csum)); in myri_rx()
446 sbus_readl(&rxd->myri_scatters[0].addr), in myri_rx()
[all …]
Dsungem.c354 struct gem_rxd *rxd = &gp->init_block->rxd[i]; in gem_rxmac_reset() local
362 rxd->status_word = cpu_to_le64(RXDCTRL_FRESH(gp)); in gem_rxmac_reset()
660 struct gem_rxd *rxd = in gem_post_rxds() local
661 &gp->init_block->rxd[cluster_start]; in gem_post_rxds()
663 rxd->status_word = cpu_to_le64(RXDCTRL_FRESH(gp)); in gem_post_rxds()
664 rxd++; in gem_post_rxds()
692 struct gem_rxd *rxd = &gp->init_block->rxd[entry]; in gem_rx() local
694 u64 status = cpu_to_le64(rxd->status_word); in gem_rx()
730 dma_addr = cpu_to_le64(rxd->buffer); in gem_rx()
745 rxd->buffer = cpu_to_le64(pci_map_page(gp->pdev, in gem_rx()
[all …]
Dtg3.c3548 struct tg3_rx_buffer_desc *rxd; in tg3_init_rings() local
3550 rxd = &tp->rx_std[i]; in tg3_init_rings()
3551 rxd->idx_len = (RX_PKT_BUF_SZ - tp->rx_offset - 64) in tg3_init_rings()
3553 rxd->type_flags = (RXD_FLAG_END << RXD_FLAGS_SHIFT); in tg3_init_rings()
3554 rxd->opaque = (RXD_OPAQUE_RING_STD | in tg3_init_rings()
3560 struct tg3_rx_buffer_desc *rxd; in tg3_init_rings() local
3562 rxd = &tp->rx_jumbo[i]; in tg3_init_rings()
3563 rxd->idx_len = (RX_JUMBO_PKT_BUF_SZ - tp->rx_offset - 64) in tg3_init_rings()
3565 rxd->type_flags = (RXD_FLAG_END << RXD_FLAGS_SHIFT) | in tg3_init_rings()
3567 rxd->opaque = (RXD_OPAQUE_RING_JUMBO | in tg3_init_rings()
[all …]
Dsunhme.c217 static void sbus_hme_write_rxd(struct happy_meal_rxd *rxd, u32 flags, u32 addr) in sbus_hme_write_rxd() argument
219 rxd->rx_addr = addr; in sbus_hme_write_rxd()
221 rxd->rx_flags = flags; in sbus_hme_write_rxd()
246 static void pci_hme_write_rxd(struct happy_meal_rxd *rxd, u32 flags, u32 addr) in pci_hme_write_rxd() argument
248 rxd->rx_addr = cpu_to_le32(addr); in pci_hme_write_rxd()
250 rxd->rx_flags = cpu_to_le32(flags); in pci_hme_write_rxd()
1233 struct happy_meal_rxd *rxd; in happy_meal_clean_rings() local
1236 rxd = &hp->happy_block->happy_meal_rxd[i]; in happy_meal_clean_rings()
1237 dma_addr = hme_read_desc32(hp, &rxd->rx_addr); in happy_meal_clean_rings()
Dsungem.h929 struct gem_rxd rxd[INIT_BLOCK_RX_RING_SIZE]; member
/linux-2.4.37.9/drivers/net/skfp/
Dskfddi.c145 void mac_drv_rx_complete(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
147 void mac_drv_requeue_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
150 void mac_drv_clear_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
1881 void mac_drv_rx_complete(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd, in mac_drv_rx_complete() argument
1897 skb = rxd->rxd_os.skb; in mac_drv_rx_complete()
1964 rxd->rxd_os.skb = NULL; in mac_drv_rx_complete()
1977 mac_drv_requeue_rxd(smc, rxd, frag_count); in mac_drv_rx_complete()
2002 void mac_drv_requeue_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd, in mac_drv_requeue_rxd() argument
2017 src_rxd = rxd; in mac_drv_requeue_rxd()
2020 rxd = HWM_GET_CURR_RXD(smc); in mac_drv_requeue_rxd()
[all …]
Dhwmtm.c1050 struct s_smt_fp_rxd volatile *rxd ; /* first rxd of rx frame */ local
1158 rxd = queue->rx_curr_get ;
1166 rxd->rxd_rbctrl &= AIX_REVERSE(~BMU_STF) ;
1168 for (r=rxd, i=frag_count ; i ; r=r->rxd_next, i--){
1227 virt = (u_char far *) rxd->rxd_virt ;
1265 mac_drv_rx_complete(smc,rxd,frag_count,len) ;
1279 hwm_cpy_rxd2mb(rxd,data,len) ;
1281 for (r=rxd, i=used_frags ; i ; r=r->rxd_next, i--){
1303 mac_drv_rx_complete(smc, rxd,
1308 mac_drv_requeue_rxd(smc,rxd,frag_count);
[all …]
/linux-2.4.37.9/drivers/net/skfp/h/
Dhwmtm.h303 #define HWM_GET_RX_FRAG_LEN(rxd) ((int)AIX_REVERSE((rxd)->rxd_rbctrl)& \ argument
320 #define HWM_GET_RX_PHYS(rxd) (u_long)AIX_REVERSE((rxd)->rxd_rbadr) argument
/linux-2.4.37.9/drivers/net/tokenring/
D3c359.c185 struct xl_rx_desc *rxd ; in print_rx_state() local
193 rxd = &(xl_priv->xl_rx_ring[i]) ; in print_rx_state()
194 printk("%d, %08lx, %08x, %08x, %08x, %08x \n", i, virt_to_bus(rxd), in print_rx_state()
195 rxd->framestatus, rxd->upnextptr, rxd->upfragaddr, rxd->upfraglen ) ; in print_rx_state()
/linux-2.4.37.9/arch/cris/drivers/
Dserial.c668 #define SER_RXD_MASK IO_MASK(R_SERIAL0_STATUS, rxd)
2919 if (data_read & IO_MASK(R_SERIAL0_READ, rxd)) { in handle_ser_rx_interrupt_no_dma()