Lines Matching refs:value
256 u8 value; in dcbnl_getpfccfg() local
285 &value); in dcbnl_getpfccfg()
286 ret = nla_put_u8(skb, i, value); in dcbnl_getpfccfg()
315 u8 value; in dcbnl_getcap() local
343 if (!netdev->dcbnl_ops->getcap(netdev, i, &value)) { in dcbnl_getcap()
344 ret = nla_put_u8(skb, i, value); in dcbnl_getcap()
360 u8 value; in dcbnl_getnumtcs() local
388 ret = netdev->dcbnl_ops->getnumtcs(netdev, i, &value); in dcbnl_getnumtcs()
390 ret = nla_put_u8(skb, i, value); in dcbnl_getnumtcs()
408 u8 value; in dcbnl_setnumtcs() local
427 value = nla_get_u8(data[i]); in dcbnl_setnumtcs()
429 ret = netdev->dcbnl_ops->setnumtcs(netdev, i, value); in dcbnl_setnumtcs()
450 u8 value; in dcbnl_setpfcstate() local
458 value = nla_get_u8(tb[DCB_ATTR_PFC_STATE]); in dcbnl_setpfcstate()
460 netdev->dcbnl_ops->setpfcstate(netdev, value); in dcbnl_setpfcstate()
736 u8 value; in dcbnl_setstate() local
744 value = nla_get_u8(tb[DCB_ATTR_STATE]); in dcbnl_setstate()
747 netdev->dcbnl_ops->setstate(netdev, value)); in dcbnl_setstate()
756 u8 value; in dcbnl_setpfccfg() local
773 value = nla_get_u8(data[i]); in dcbnl_setpfccfg()
775 data[i]->nla_type - DCB_PFC_UP_ATTR_0, value); in dcbnl_setpfccfg()
1369 u8 value; in dcbnl_cee_fill() local
1399 ops->getpfccfg(netdev, i - DCB_PFC_UP_ATTR_0, &value); in dcbnl_cee_fill()
1400 if (nla_put_u8(skb, i, value)) in dcbnl_cee_fill()
1455 if (!ops->getfeatcfg(netdev, i, &value) && in dcbnl_cee_fill()
1456 nla_put_u8(skb, i, value)) in dcbnl_cee_fill()
1763 u8 value; in dcbnl_setdcbx() local
1771 value = nla_get_u8(tb[DCB_ATTR_DCBX]); in dcbnl_setdcbx()
1774 netdev->dcbnl_ops->setdcbx(netdev, value)); in dcbnl_setdcbx()
1781 u8 value; in dcbnl_getfeatcfg() local
1808 ret = netdev->dcbnl_ops->getfeatcfg(netdev, i, &value); in dcbnl_getfeatcfg()
1810 ret = nla_put_u8(skb, i, value); in dcbnl_getfeatcfg()
1828 u8 value; in dcbnl_setfeatcfg() local
1847 value = nla_get_u8(data[i]); in dcbnl_setfeatcfg()
1849 ret = netdev->dcbnl_ops->setfeatcfg(netdev, i, value); in dcbnl_setfeatcfg()