Home
last modified time | relevance | path

Searched refs:cf_cmd (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/i825xx/
H A Dlib82596.c230 struct cf_cmd { struct
304 struct cf_cmd cf_cmd __attribute__((aligned(32))); member
630 memcpy(dma->cf_cmd.i596_config, init_setup, 14); in init_i596_mem()
631 dma->cf_cmd.cmd.command = SWAP16(CmdConfigure); in init_i596_mem()
632 dma_sync_dev(dev, &(dma->cf_cmd), sizeof(struct cf_cmd)); in init_i596_mem()
633 i596_add_cmd(dev, &dma->cf_cmd.cmd); in init_i596_mem()
1362 !(dma->cf_cmd.i596_config[8] & 0x01)) { in set_multicast_list()
1363 dma->cf_cmd.i596_config[8] |= 0x01; in set_multicast_list()
1367 (dma->cf_cmd.i596_config[8] & 0x01)) { in set_multicast_list()
1368 dma->cf_cmd.i596_config[8] &= ~0x01; in set_multicast_list()
[all …]
H A D82596.c257 struct cf_cmd { struct
320 struct cf_cmd cf_cmd; member
708 memcpy(lp->cf_cmd.i596_config, init_setup, 14); in init_i596_mem()
709 lp->cf_cmd.cmd.command = CmdConfigure; in init_i596_mem()
710 i596_add_cmd(dev, &lp->cf_cmd.cmd); in init_i596_mem()
1451 if (wait_cfg(dev, &lp->cf_cmd.cmd, 1000, "config change request timed out")) in set_multicast_list()
1454 if ((dev->flags & IFF_PROMISC) && !(lp->cf_cmd.i596_config[8] & 0x01)) { in set_multicast_list()
1455 lp->cf_cmd.i596_config[8] |= 0x01; in set_multicast_list()
1458 if (!(dev->flags & IFF_PROMISC) && (lp->cf_cmd.i596_config[8] & 0x01)) { in set_multicast_list()
1459 lp->cf_cmd.i596_config[8] &= ~0x01; in set_multicast_list()
[all …]