Home
last modified time | relevance | path

Searched refs:vCAMmask (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-velocity.c514 memset(vptr->vCAMmask, 0, sizeof(u8) * 8); in velocity_init_cam_filter()
516 mac_set_vlan_cam_mask(regs, vptr->vCAMmask); in velocity_init_cam_filter()
522 vptr->vCAMmask[i / 8] |= 0x1 << (i % 8); in velocity_init_cam_filter()
526 mac_set_vlan_cam_mask(regs, vptr->vCAMmask); in velocity_init_cam_filter()
H A Dvia-rhine.c1513 u32 vCAMmask = 0; /* 32 vCAMs (6105M and better) */ in rhine_update_vcam() local
1518 vCAMmask |= 1 << i; in rhine_update_vcam()
1522 rhine_set_vlan_cam_mask(ioaddr, vCAMmask); in rhine_update_vcam()
H A Dvia-velocity.h1430 u8 vCAMmask[(VCAM_SIZE / 8)]; member