• Home
  • Raw
  • Download

Lines Matching refs:words

193 			    eni_dev->tx[i].send,eni_dev->tx[i].words*4);  in dump()
199 ENI_VCC(eni_dev->rx_map[i])->words*4); in dump()
330 eni_vcc->rxing,eni_vcc->words); in rx_ident_err()
373 here = (eni_vcc->descr+skip) & (eni_vcc->words-1); in do_rx_dma()
378 here = (eni_vcc->descr+size+skip) & (eni_vcc->words-1); in do_rx_dma()
381 unsigned long words; in do_rx_dma() local
388 words = eff; in do_rx_dma()
393 if (init > words) init = words; in do_rx_dma()
398 words -= init; in do_rx_dma()
401 if (words & ~15) { in do_rx_dma()
402 dma[j++] = MID_DT_16W | ((words >> 4) << in do_rx_dma()
406 paddr += (words & ~15) << 2; in do_rx_dma()
407 words &= 15; in do_rx_dma()
411 if (words & ~7) { in do_rx_dma()
412 dma[j++] = MID_DT_8W | ((words >> 3) << in do_rx_dma()
416 paddr += (words & ~7) << 2; in do_rx_dma()
417 words &= 7; in do_rx_dma()
421 if (words & ~3) { in do_rx_dma()
422 dma[j++] = MID_DT_4W | ((words >> 2) << in do_rx_dma()
426 paddr += (words & ~3) << 2; in do_rx_dma()
427 words &= 3; in do_rx_dma()
431 if (words & ~1) { in do_rx_dma()
432 dma[j++] = MID_DT_2W | ((words >> 1) << in do_rx_dma()
436 paddr += (words & ~1) << 2; in do_rx_dma()
437 words &= 1; in do_rx_dma()
440 if (words) { in do_rx_dma()
441 dma[j++] = MID_DT_WORD | (words << MID_DMA_COUNT_SHIFT) in do_rx_dma()
501 else eni_vcc->rx_pos = (eni_vcc->rx_pos+size+1) & (eni_vcc->words-1); in discard()
589 (eni_vcc->words-1)))*4) & 0xffff; in rx_aal5()
754 eni_vcc->words)) { in dequeue_rx()
760 eni_vcc->rx_pos = ENI_PRV_POS(skb) & (eni_vcc->words-1); in dequeue_rx()
796 eni_vcc->words = size >> 2; in open_rx_first()
823 size = eni_vcc->words >> 8; in open_rx_second()
898 eni_free_mem(eni_dev,eni_vcc->recv,eni_vcc->words << 2); in close_rx()
935 u32 init,words; in put_dma() local
956 words = size >> 2; in put_dma()
958 if (words && (paddr & 31)) { in put_dma()
960 if (init > words) init = words; in put_dma()
962 (unsigned long) paddr,init,words); in put_dma()
967 words -= init; in put_dma()
970 if (words & ~15) { in put_dma()
972 (unsigned long) paddr,words >> 4,words); in put_dma()
973 dma[(*j)++] = MID_DT_16W | ((words >> 4) << MID_DMA_COUNT_SHIFT) in put_dma()
976 paddr += (words & ~15) << 2; in put_dma()
977 words &= 15; in put_dma()
981 if (words & ~7) { in put_dma()
983 (unsigned long) paddr,words >> 3,words); in put_dma()
984 dma[(*j)++] = MID_DT_8W | ((words >> 3) << MID_DMA_COUNT_SHIFT) in put_dma()
987 paddr += (words & ~7) << 2; in put_dma()
988 words &= 7; in put_dma()
992 if (words & ~3) { in put_dma()
994 (unsigned long) paddr,words >> 2,words); in put_dma()
995 dma[(*j)++] = MID_DT_4W | ((words >> 2) << MID_DMA_COUNT_SHIFT) in put_dma()
998 paddr += (words & ~3) << 2; in put_dma()
999 words &= 3; in put_dma()
1003 if (words & ~1) { in put_dma()
1005 (unsigned long) paddr,words >> 1,words); in put_dma()
1006 dma[(*j)++] = MID_DT_2W | ((words >> 1) << MID_DMA_COUNT_SHIFT) in put_dma()
1009 paddr += (words & ~1) << 2; in put_dma()
1010 words &= 1; in put_dma()
1013 if (words) { in put_dma()
1015 words); in put_dma()
1016 dma[(*j)++] = MID_DT_WORD | (words << MID_DMA_COUNT_SHIFT) | in put_dma()
1019 paddr += words << 2; in put_dma()
1091 eni_in(MID_TX_RDPTR(tx->index)),tx->words)) { in do_tx()
1120 eni_dev->dma[j++] = (((tx->tx_pos+TX_DESCR_SIZE) & (tx->words-1)) << in do_tx()
1142 eni_dev->dma[j++] = (((tx->tx_pos+size) & (tx->words-1)) << in do_tx()
1156 tx->send+((tx->tx_pos+1) & (tx->words-1))*4); in do_tx()
1160 ((tx->tx_pos+size-AAL5_TRAILER) & (tx->words-1))*4); in do_tx()
1170 tx->tx_pos = (tx->tx_pos+size) & (tx->words-1); in do_tx()
1220 if (ENI_VCC(vcc)->txing < tx->words && ENI_PRV_POS(skb) == in dequeue_tx()
1328 tx->words = size >> 2; in reserve_or_set_tx()
1422 eni_free_mem(eni_dev,eni_vcc->tx->send,eni_vcc->tx->words << 2); in close_tx()
2157 tx->send-eni_dev->ram+tx->words*4-1,tx->words*4, in eni_proc_read()
2183 eni_vcc->recv-eni_dev->ram+eni_vcc->words*4-1, in eni_proc_read()
2184 eni_vcc->words*4); in eni_proc_read()