Lines Matching refs:make16
123 #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()
860 rfd[i].next = make16(rfd + (i + 1) % p->num_recv_buffs); in alloc_rfa()
873 rbd[i].next = make16((rbd + (i + 1) % p->num_recv_buffs)); in alloc_rfa()
882 p->scb->rfa_offset = make16(p->rfd_first); in alloc_rfa()
883 p->rfd_first->rbd_offset = make16(rbd); in alloc_rfa()
1082 p->scb->rfa_offset = make16(p->rfd_first); in startrecv586()
1104 p->scb->cbl_offset = make16(p->nop_cmds[p->nop_point]); in elmc_timeout()
1144 p->scb->cbl_offset = make16(p->xmit_cmds[0]); in elmc_send_packet()
1168 = make16((p->nop_cmds[next_nop])); in elmc_send_packet()
1171 p->nop_cmds[p->nop_point]->cmd_link = make16((p->xmit_cmds[0])); in elmc_send_packet()
1183 = make16((p->nop_cmds[next_nop])); in elmc_send_packet()
1185 p->nop_cmds[p->xmit_count]->cmd_link = make16((p->xmit_cmds[p->xmit_count])); in elmc_send_packet()