Searched refs:ring_offset (Results 1 - 25 of 80) sorted by relevance

1234

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/
H A Dsmc-ultra32.c72 struct sk_buff *skb, int ring_offset);
389 int ring_offset)
391 void __iomem *xfer_start = ei_status.mem + (ring_offset & 0x1fff);
394 if ((ring_offset & ~0x1fff) != ((ring_offset + count - 1) & ~0x1fff)) {
395 int semi_count = 8192 - (ring_offset & 0x1FFF);
398 if (ring_offset < 96*256) {
400 ring_offset += semi_count;
401 outb(ei_status.reg0 | ((ring_offset & 0x6000) >> 13), RamReg);
386 ultra32_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dac3200.c85 struct sk_buff *skb, int ring_offset);
317 int ring_offset)
319 void __iomem *start = ei_status.mem + ring_offset - AC_START_PG*256;
321 if (ring_offset + count > AC_STOP_PG*256) {
323 int semi_count = AC_STOP_PG*256 - ring_offset;
316 ac_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Des3210.c70 static void es_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset);
354 int ring_offset)
356 void __iomem *xfer_start = ei_status.mem + ring_offset - ES_START_PG*256;
358 if (ring_offset + count > ES_STOP_PG*256) {
360 int semi_count = ES_STOP_PG*256 - ring_offset;
353 es_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dlne390.c59 static void lne390_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset);
330 int ring_offset)
332 void __iomem *xfer_start = ei_status.mem + ring_offset - (LNE390_START_PG<<8);
334 if (ring_offset + count > (LNE390_STOP_PG<<8)) {
336 int semi_count = (LNE390_STOP_PG<<8) - ring_offset;
329 lne390_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dne3210.c51 static void ne3210_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset);
290 int ring_offset)
292 void __iomem *start = ei_status.mem + ring_offset - NE3210_START_PG*256;
294 if (ring_offset + count > NE3210_STOP_PG*256) {
296 int semi_count = NE3210_STOP_PG*256 - ring_offset;
289 ne3210_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dmac8390.c139 struct sk_buff *skb, int ring_offset);
153 struct sk_buff *skb, int ring_offset);
166 struct sk_buff *skb, int ring_offset);
743 struct sk_buff *skb, int ring_offset)
745 unsigned long xfer_base = ring_offset - (WD_START_PG<<8);
781 struct sk_buff *skb, int ring_offset)
783 unsigned long xfer_base = ring_offset - (WD_START_PG<<8);
823 struct sk_buff *skb, int ring_offset)
825 unsigned long xfer_base = ring_offset - (WD_START_PG<<8);
742 sane_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
780 dayna_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
822 slow_sane_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dsmc-ultra.c92 struct sk_buff *skb, int ring_offset);
98 struct sk_buff *skb, int ring_offset);
451 ultra_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
453 void __iomem *xfer_start = ei_status.mem + ring_offset - (START_PG<<8);
458 if (ring_offset + count > ei_status.stop_page*256) {
460 int semi_count = ei_status.stop_page*256 - ring_offset;
503 struct sk_buff *skb, int ring_offset)
509 outb(ring_offset, ioaddr + IOPA); /* Set the address, LSB first. */
510 outb(ring_offset >> 8, ioaddr + IOPA);
502 ultra_pio_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dhp-plus.c103 struct sk_buff *skb, int ring_offset);
109 struct sk_buff *skb, int ring_offset);
371 hpp_io_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
376 outw(ring_offset, ioaddr + HPP_IN_ADDR);
398 hpp_mem_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
403 outw(ring_offset, ioaddr + HPP_IN_ADDR);
H A Dhp.c66 struct sk_buff *skb , int ring_offset);
273 hp_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
284 outb_p(ring_offset & 0xff, nic_base + EN0_RSARLO);
285 outb_p(ring_offset >> 8, nic_base + EN0_RSARHI);
300 if (((ring_offset + xfer_count) & 0xff) != (addr & 0xff))
302 dev->name, ring_offset + xfer_count, addr);
H A D3c503.c79 int ring_offset);
621 el2_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
630 ring_offset -= (EL2_MB1_START_PG<<8);
631 if (ring_offset + count > EL2_MEMSIZE) {
633 int semi_count = EL2_MEMSIZE - ring_offset;
634 memcpy_fromio(skb->data, base + ring_offset, semi_count);
638 memcpy_fromio(skb->data, base + ring_offset, count);
646 word = (unsigned short) ring_offset;
H A Dhydra.c65 struct sk_buff *skb, int ring_offset);
219 struct sk_buff *skb, int ring_offset)
223 unsigned long xfer_start = mem_base + ring_offset - (NESM_START_PG<<8);
218 hydra_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dsmc-mca.c62 int ring_offset);
483 static void ultramca_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
485 void __iomem *xfer_start = ei_status.mem + ring_offset - START_PG * 256;
487 if (ring_offset + count > ei_status.stop_page * 256) {
489 int semi_count = ei_status.stop_page * 256 - ring_offset;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/
H A Dsmc-ultra32.c72 struct sk_buff *skb, int ring_offset);
389 int ring_offset)
391 void __iomem *xfer_start = ei_status.mem + (ring_offset & 0x1fff);
394 if ((ring_offset & ~0x1fff) != ((ring_offset + count - 1) & ~0x1fff)) {
395 int semi_count = 8192 - (ring_offset & 0x1FFF);
398 if (ring_offset < 96*256) {
400 ring_offset += semi_count;
401 outb(ei_status.reg0 | ((ring_offset & 0x6000) >> 13), RamReg);
386 ultra32_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Des3210.c70 static void es_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset);
354 int ring_offset)
356 void __iomem *xfer_start = ei_status.mem + ring_offset - ES_START_PG*256;
358 if (ring_offset + count > ES_STOP_PG*256) {
360 int semi_count = ES_STOP_PG*256 - ring_offset;
353 es_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dac3200.c85 struct sk_buff *skb, int ring_offset);
317 int ring_offset)
319 void __iomem *start = ei_status.mem + ring_offset - AC_START_PG*256;
321 if (ring_offset + count > AC_STOP_PG*256) {
323 int semi_count = AC_STOP_PG*256 - ring_offset;
316 ac_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dlne390.c59 static void lne390_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset);
330 int ring_offset)
332 void __iomem *xfer_start = ei_status.mem + ring_offset - (LNE390_START_PG<<8);
334 if (ring_offset + count > (LNE390_STOP_PG<<8)) {
336 int semi_count = (LNE390_STOP_PG<<8) - ring_offset;
329 lne390_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dne3210.c51 static void ne3210_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset);
290 int ring_offset)
292 void __iomem *start = ei_status.mem + ring_offset - NE3210_START_PG*256;
294 if (ring_offset + count > NE3210_STOP_PG*256) {
296 int semi_count = NE3210_STOP_PG*256 - ring_offset;
289 ne3210_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dmac8390.c139 struct sk_buff *skb, int ring_offset);
153 struct sk_buff *skb, int ring_offset);
166 struct sk_buff *skb, int ring_offset);
743 struct sk_buff *skb, int ring_offset)
745 unsigned long xfer_base = ring_offset - (WD_START_PG<<8);
781 struct sk_buff *skb, int ring_offset)
783 unsigned long xfer_base = ring_offset - (WD_START_PG<<8);
823 struct sk_buff *skb, int ring_offset)
825 unsigned long xfer_base = ring_offset - (WD_START_PG<<8);
742 sane_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
780 dayna_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
822 slow_sane_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dsmc-ultra.c92 struct sk_buff *skb, int ring_offset);
98 struct sk_buff *skb, int ring_offset);
451 ultra_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
453 void __iomem *xfer_start = ei_status.mem + ring_offset - (START_PG<<8);
458 if (ring_offset + count > ei_status.stop_page*256) {
460 int semi_count = ei_status.stop_page*256 - ring_offset;
503 struct sk_buff *skb, int ring_offset)
509 outb(ring_offset, ioaddr + IOPA); /* Set the address, LSB first. */
510 outb(ring_offset >> 8, ioaddr + IOPA);
502 ultra_pio_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
H A Dhp-plus.c103 struct sk_buff *skb, int ring_offset);
109 struct sk_buff *skb, int ring_offset);
371 hpp_io_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
376 outw(ring_offset, ioaddr + HPP_IN_ADDR);
398 hpp_mem_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
403 outw(ring_offset, ioaddr + HPP_IN_ADDR);
H A Dhp.c66 struct sk_buff *skb , int ring_offset);
273 hp_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
284 outb_p(ring_offset & 0xff, nic_base + EN0_RSARLO);
285 outb_p(ring_offset >> 8, nic_base + EN0_RSARHI);
300 if (((ring_offset + xfer_count) & 0xff) != (addr & 0xff))
302 dev->name, ring_offset + xfer_count, addr);
H A D3c503.c79 int ring_offset);
621 el2_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
630 ring_offset -= (EL2_MB1_START_PG<<8);
631 if (ring_offset + count > EL2_MEMSIZE) {
633 int semi_count = EL2_MEMSIZE - ring_offset;
634 memcpy_fromio(skb->data, base + ring_offset, semi_count);
638 memcpy_fromio(skb->data, base + ring_offset, count);
646 word = (unsigned short) ring_offset;
H A Dhydra.c65 struct sk_buff *skb, int ring_offset);
219 struct sk_buff *skb, int ring_offset)
223 unsigned long xfer_start = mem_base + ring_offset - (NESM_START_PG<<8);
218 hydra_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/gpu/drm/r128/
H A Dr128_ioc32.c56 unsigned int ring_offset; member in struct:drm_r128_init32
91 || __put_user(init32.ring_offset, &init->ring_offset)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/gpu/drm/r128/
H A Dr128_ioc32.c56 unsigned int ring_offset; member in struct:drm_r128_init32
91 || __put_user(init32.ring_offset, &init->ring_offset)

Completed in 296 milliseconds

1234