Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/
Dsun3_82586.c67 #define make16(ptr32) (swab16((unsigned short) ((unsigned long)(ptr32) - (unsigned long) p->memtop … macro
263 p->iscp->scb_offset = make16(p->scb); in alloc586()
428 p->scb->cbl_offset = make16(cfg_cmd); in init586()
454 p->scb->cbl_offset = make16(ias_cmd); in init586()
477 p->scb->cbl_offset = make16(tdr_cmd); in init586()
524 p->scb->cbl_offset = make16(mc_cmd); in init586()
543 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
552 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
577 p->xmit_cmds[i]->cmd_link = make16(p->nop_cmds[(i+1)%NUM_XMIT_BUFFS]); in init586()
580 p->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i])); in init586()
[all …]
Dni52.c137 #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()
[all …]
D3c523.c124 #define make16(ptr32) ((unsigned short) ((unsigned long) (ptr32) - (unsigned long) p->memtop )) macro
368 p->iscp->scb_offset = make16(p->scb); in alloc586()
634 p->scb->cbl_offset = make16(cfg_cmd); in init586()
660 p->scb->cbl_offset = make16(ias_cmd); in init586()
685 p->scb->cbl_offset = make16(tdr_cmd); in init586()
733 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
743 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
776 p->scb->cbl_offset = make16(mc_cmd); in init586()
805 p->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i])); in init586()
820 p->scb->cbl_offset = make16(p->nop_cmds[0]); in init586()
[all …]
/linux-2.4.37.9/drivers/cdrom/
Dsbpcd.c924 static INLINE u_int make16(u_char rh, u_char rl) in make16() function
1759 D_S[d].frmsiz=make16(infobuf[2],infobuf[3]); in cc_prep_mode_T()
2459 D_S[d].SubQ_run_tot=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */ in cc_ReadSubQ()
2464 D_S[d].SubQ_run_trk=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */ in cc_ReadSubQ()
2508 D_S[d].frame_size=make16(infobuf[i],infobuf[i+1]); in cc_ModeSense()
2738 …if (fam1_drive) D_S[d].CDsize_frm=msf2blk(make32(make16(0,infobuf[0]),make16(infobuf[1],infobuf[2]… in cc_ReadCapacity()
2739 else if (fam0_drive) D_S[d].CDsize_frm=make32(make16(0,infobuf[0]),make16(infobuf[1],infobuf[2])); in cc_ReadCapacity()
2741 …else if (fam2_drive) D_S[d].CDsize_frm=make32(make16(infobuf[0],infobuf[1]),make16(infobuf[2],info… in cc_ReadCapacity()
2804 D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[5]),make16(infobuf[6],infobuf[7]))); in cc_ReadTocDescr()
2822 D_S[d].msf_multi_n[count]=make32(make16(0,infobuf[5]),make16(infobuf[6],infobuf[7])); in cc_ReadTocDescr()
[all …]