Home
last modified time | relevance | path

Searched refs:mc_cmd (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dsun3_82586.c394 volatile struct mcsetup_cmd_struct *mc_cmd; in init586() local
515 mc_cmd = (struct mcsetup_cmd_struct *) ptr; in init586()
516 mc_cmd->cmd_status = 0; in init586()
517 mc_cmd->cmd_cmd = swab16(CMD_MCSETUP | CMD_LAST); in init586()
518 mc_cmd->cmd_link = 0xffff; in init586()
519 mc_cmd->mc_cnt = swab16(num_addrs * 6); in init586()
522 memcpy((char *) mc_cmd->mc_list[i], dmi->dmi_addr,6); in init586()
524 p->scb->cbl_offset = make16(mc_cmd); in init586()
528 WAIT_4_STAT_COMPL(mc_cmd); in init586()
530 if( (swab16(mc_cmd->cmd_status) & (STAT_COMPL|STAT_OK)) != (STAT_COMPL|STAT_OK) ) in init586()
Dni52.c545 volatile struct mcsetup_cmd_struct *mc_cmd; in init586() local
666 mc_cmd = (struct mcsetup_cmd_struct *) ptr; in init586()
667 mc_cmd->cmd_status = 0; in init586()
668 mc_cmd->cmd_cmd = CMD_MCSETUP | CMD_LAST; in init586()
669 mc_cmd->cmd_link = 0xffff; in init586()
670 mc_cmd->mc_cnt = num_addrs * 6; in init586()
673 memcpy((char *) mc_cmd->mc_list[i], dmi->dmi_addr,6); in init586()
675 p->scb->cbl_offset = make16(mc_cmd); in init586()
679 WAIT_4_STAT_COMPL(mc_cmd); in init586()
681 if( (mc_cmd->cmd_status & (STAT_COMPL|STAT_OK)) != (STAT_COMPL|STAT_OK) ) in init586()
D3c523.c608 volatile struct mcsetup_cmd_struct *mc_cmd; in init586() local
767 mc_cmd = (struct mcsetup_cmd_struct *) ptr; in init586()
768 mc_cmd->cmd_status = 0; in init586()
769 mc_cmd->cmd_cmd = CMD_MCSETUP | CMD_LAST; in init586()
770 mc_cmd->cmd_link = 0xffff; in init586()
771 mc_cmd->mc_cnt = num_addrs * 6; in init586()
773 memcpy((char *) mc_cmd->mc_list[i], dmi->dmi_addr, 6); in init586()
776 p->scb->cbl_offset = make16(mc_cmd); in init586()
780 while (!(mc_cmd->cmd_status & STAT_COMPL)) { in init586()
784 if (!(mc_cmd->cmd_status & STAT_COMPL)) { in init586()
Dlasi_82596.c285 struct mc_cmd { struct
372 struct mc_cmd mc_cmd __attribute__((aligned(32))); member
1503 struct mc_cmd *cmd; in set_multicast_list()
1505 cmd = &lp->mc_cmd; in set_multicast_list()
1515 CHECK_WBACK_INV(&lp->mc_cmd, sizeof(struct mc_cmd)); in set_multicast_list()
D82596.c246 struct mc_cmd { struct
322 struct mc_cmd mc_cmd; member
1519 struct mc_cmd *cmd; in set_multicast_list()
1521 if (wait_cfg(dev, &lp->mc_cmd.cmd, 1000, "multicast list change request timed out")) in set_multicast_list()
1523 cmd = &lp->mc_cmd; in set_multicast_list()