Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/
H A Docelot_vsc7514.c21 #define IFH_EXTRACT_BITFIELD64(x, o, w) (((x) >> (o)) & GENMASK_ULL((w) - 1, 0)) macro
544 wlen = IFH_EXTRACT_BITFIELD64(ifh[0], 7, 8); in ocelot_parse_ifh()
545 llen = IFH_EXTRACT_BITFIELD64(ifh[0], 15, 6); in ocelot_parse_ifh()
549 info->timestamp = IFH_EXTRACT_BITFIELD64(ifh[0], 21, 32); in ocelot_parse_ifh()
551 info->port = IFH_EXTRACT_BITFIELD64(ifh[1], 43, 4); in ocelot_parse_ifh()
553 info->tag_type = IFH_EXTRACT_BITFIELD64(ifh[1], 16, 1); in ocelot_parse_ifh()
554 info->vid = IFH_EXTRACT_BITFIELD64(ifh[1], 0, 12); in ocelot_parse_ifh()