Lines Matching refs:make16
137 #define make16(ptr32) ((unsigned short) ((unsigned long)(ptr32) - (unsigned long) p->memtop )) macro
341 p->iscp->scb_offset = make16(p->scb); in alloc586()
579 p->scb->cbl_offset = make16(cfg_cmd); in init586()
605 p->scb->cbl_offset = make16(ias_cmd); in init586()
628 p->scb->cbl_offset = make16(tdr_cmd); in init586()
675 p->scb->cbl_offset = make16(mc_cmd); in init586()
694 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
703 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
728 p->xmit_cmds[i]->cmd_link = make16(p->nop_cmds[(i+1)%NUM_XMIT_BUFFS]); in init586()
731 p->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i])); in init586()
746 p->scb->cbl_offset = make16(p->nop_cmds[0]); in init586()
751 p->xmit_cmds[0]->cmd_link = make16(p->xmit_cmds[0]); in init586()
783 rfd[i].next = make16(rfd + (i+1) % (p->num_recv_buffs+rfdadd) ); in alloc_rfa()
798 rbd[i].next = make16((rbd + (i+1) % p->num_recv_buffs)); in alloc_rfa()
807 p->scb->rfa_offset = make16(p->rfd_first); in alloc_rfa()
808 p->rfd_first->rbd_offset = make16(rbd); in alloc_rfa()
962 p->scb->rfa_offset = make16(p->rfd_top); in ni52_rcv_int()
1097 p->scb->rfa_offset = make16(p->rfd_first); in startrecv586()
1117 p->scb->cbl_offset = make16(p->nop_cmds[p->nop_point]); in ni52_timeout()
1193 p->scb->cbl_offset = make16(p->xmit_cmds[0]); in ni52_send_packet()
1214 = make16((p->nop_cmds[next_nop])); in ni52_send_packet()
1217 p->nop_cmds[p->nop_point]->cmd_link = make16((p->xmit_cmds[0])); in ni52_send_packet()
1229 p->nop_cmds[next_nop]->cmd_link = make16((p->nop_cmds[next_nop])); in ni52_send_packet()
1232 p->nop_cmds[p->xmit_count]->cmd_link = make16((p->xmit_cmds[p->xmit_count])); in ni52_send_packet()
1352 dump_cmd->dump_offset = make16((dump_cmd + 1));
1355 p->scb->cbl_offset = make16(dump_cmd);