Searched refs:xmit_cmds (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/net/ |
D | 3c523.c | 213 volatile struct transmit_cmd_struct *xmit_cmds[2]; member 216 volatile struct transmit_cmd_struct *xmit_cmds[NUM_XMIT_BUFFS]; member 752 p->xmit_cmds[0] = (struct transmit_cmd_struct *) ptr; /* transmit cmd/buff 0 */ in init586() 761 p->xmit_cmds[i] = (struct transmit_cmd_struct *) ptr; /*transmit cmd/buff 0 */ in init586() 817 memset((char *) (p->xmit_cmds[i]), 0, sizeof(struct transmit_cmd_struct)); in init586() 819 p->xmit_cmds[i]->cmd_status = STAT_COMPL; in init586() 820 p->xmit_cmds[i]->cmd_cmd = CMD_XMIT | CMD_INT; in init586() 821 p->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i])); in init586() 841 p->xmit_cmds[0]->cmd_link = 0xffff; in init586() 842 p->xmit_cmds[0]->cmd_cmd = CMD_XMIT | CMD_LAST | CMD_INT; in init586() [all …]
|
D | sun3_82586.c | 154 volatile struct transmit_cmd_struct *xmit_cmds[NUM_XMIT_BUFFS]; member 582 p->xmit_cmds[i] = (struct transmit_cmd_struct *)ptr; /*transmit cmd/buff 0*/ in init586() 593 memset((char *)(p->xmit_cmds[i]) ,0, sizeof(struct transmit_cmd_struct)); in init586() 595 p->xmit_cmds[i]->cmd_link = make16(p->nop_cmds[(i+1)%NUM_XMIT_BUFFS]); in init586() 596 p->xmit_cmds[i]->cmd_status = swab16(STAT_COMPL); in init586() 597 p->xmit_cmds[i]->cmd_cmd = swab16(CMD_XMIT | CMD_INT); in init586() 598 p->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i])); in init586() 618 p->xmit_cmds[0]->cmd_link = make16(p->xmit_cmds[0]); in init586() 619 p->xmit_cmds[0]->cmd_cmd = swab16(CMD_XMIT | CMD_SUSPEND | CMD_INT); in init586() 914 status = swab16(p->xmit_cmds[p->xmit_last]->cmd_status); in sun3_82586_xmt_int() [all …]
|
D | ni52.c | 199 struct transmit_cmd_struct __iomem *xmit_cmds[2]; member 202 struct transmit_cmd_struct __iomem *xmit_cmds[NUM_XMIT_BUFFS]; member 768 p->xmit_cmds[i] = ptr; in init586() 779 memset_io(p->xmit_cmds[i], 0, in init586() 784 &p->xmit_cmds[i]->cmd_link); in init586() 785 writew(STAT_COMPL, &p->xmit_cmds[i]->cmd_status); in init586() 786 writew(CMD_XMIT|CMD_INT, &p->xmit_cmds[i]->cmd_cmd); in init586() 787 writew(make16(p->xmit_buffs[i]), &p->xmit_cmds[i]->tbd_offset); in init586() 807 writew(make16(p->xmit_cmds[0]), &p->xmit_cmds[0]->cmd_link); in init586() 808 writew(CMD_XMIT | CMD_SUSPEND | CMD_INT, &p->xmit_cmds[0]->cmd_cmd); in init586() [all …]
|