Home
last modified time | relevance | path

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

/drivers/net/
Dsun3_82586.c68 #define make16(ptr32) (swab16((unsigned short) ((unsigned long)(ptr32) - (unsigned long) p->memtop … macro
264 p->iscp->scb_offset = make16(p->scb); in alloc586()
439 p->scb->cbl_offset = make16(cfg_cmd); in init586()
465 p->scb->cbl_offset = make16(ias_cmd); in init586()
488 p->scb->cbl_offset = make16(tdr_cmd); in init586()
535 p->scb->cbl_offset = make16(mc_cmd); in init586()
554 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
563 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
588 p->xmit_cmds[i]->cmd_link = make16(p->nop_cmds[(i+1)%NUM_XMIT_BUFFS]); in init586()
591 p->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i])); in init586()
[all …]
Dni52.c137 #define make16(ptr32) ((unsigned short) ((char __iomem *)(ptr32)\ macro
365 writew(make16(p->scb), &p->iscp->scb_offset); in alloc586()
628 writew(make16(cfg_cmd), &p->scb->cbl_offset); in init586()
655 writew(make16(ias_cmd), &p->scb->cbl_offset); in init586()
679 writew(make16(tdr_cmd), &p->scb->cbl_offset); in init586()
726 writew(make16(mc_cmd), &p->scb->cbl_offset); in init586()
745 writew(make16(p->nop_cmds[i]), &p->nop_cmds[i]->cmd_link); in init586()
753 writew(make16(p->nop_cmds[i]), &p->nop_cmds[i]->cmd_link); in init586()
780 writew(make16(p->nop_cmds[(i+1)%NUM_XMIT_BUFFS]), in init586()
784 writew(make16(p->xmit_buffs[i]), &p->xmit_cmds[i]->tbd_offset); in init586()
[all …]
D3c523.c123 #define make16(ptr32) ((unsigned short) ((unsigned long) (ptr32) - (unsigned long) p->memtop )) macro
366 p->iscp->scb_offset = make16(p->scb); in alloc586()
646 p->scb->cbl_offset = make16(cfg_cmd); in init586()
672 p->scb->cbl_offset = make16(ias_cmd); in init586()
697 p->scb->cbl_offset = make16(tdr_cmd); in init586()
745 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
755 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
788 p->scb->cbl_offset = make16(mc_cmd); in init586()
817 p->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i])); in init586()
832 p->scb->cbl_offset = make16(p->nop_cmds[0]); in init586()
[all …]