Home
last modified time | relevance | path

Searched refs:make16 (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/net/
Dsun3_82586.c67 #define make16(ptr32) (swab16((unsigned short) ((unsigned long)(ptr32) - (unsigned long) p->memtop … macro
262 p->iscp->scb_offset = make16(p->scb); in alloc586()
444 p->scb->cbl_offset = make16(cfg_cmd); in init586()
470 p->scb->cbl_offset = make16(ias_cmd); in init586()
493 p->scb->cbl_offset = make16(tdr_cmd); in init586()
542 p->scb->cbl_offset = make16(mc_cmd); in init586()
561 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
570 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
595 p->xmit_cmds[i]->cmd_link = make16(p->nop_cmds[(i+1)%NUM_XMIT_BUFFS]); in init586()
598 p->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i])); in init586()
[all …]
Dni52.c136 #define make16(ptr32) ((unsigned short) ((char __iomem *)(ptr32)\ macro
363 writew(make16(p->scb), &p->iscp->scb_offset); in alloc586()
631 writew(make16(cfg_cmd), &p->scb->cbl_offset); in init586()
658 writew(make16(ias_cmd), &p->scb->cbl_offset); in init586()
682 writew(make16(tdr_cmd), &p->scb->cbl_offset); in init586()
729 writew(make16(mc_cmd), &p->scb->cbl_offset); in init586()
748 writew(make16(p->nop_cmds[i]), &p->nop_cmds[i]->cmd_link); in init586()
756 writew(make16(p->nop_cmds[i]), &p->nop_cmds[i]->cmd_link); in init586()
783 writew(make16(p->nop_cmds[(i+1)%NUM_XMIT_BUFFS]), in init586()
787 writew(make16(p->xmit_buffs[i]), &p->xmit_cmds[i]->tbd_offset); in init586()
[all …]
D3c523.c122 #define make16(ptr32) ((unsigned short) ((unsigned long) (ptr32) - (unsigned long) p->memtop )) macro
365 p->iscp->scb_offset = make16(p->scb); in alloc586()
649 p->scb->cbl_offset = make16(cfg_cmd); in init586()
675 p->scb->cbl_offset = make16(ias_cmd); in init586()
701 p->scb->cbl_offset = make16(tdr_cmd); in init586()
749 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
759 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
792 p->scb->cbl_offset = make16(mc_cmd); in init586()
821 p->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i])); in init586()
836 p->scb->cbl_offset = make16(p->nop_cmds[0]); in init586()
[all …]