Lines Matching refs:value
232 u8 value; in dcbnl_getpfccfg() local
260 &value); in dcbnl_getpfccfg()
261 ret = nla_put_u8(skb, i, value); in dcbnl_getpfccfg()
290 u8 value; in dcbnl_getcap() local
317 if (!netdev->dcbnl_ops->getcap(netdev, i, &value)) { in dcbnl_getcap()
318 ret = nla_put_u8(skb, i, value); in dcbnl_getcap()
334 u8 value; in dcbnl_getnumtcs() local
361 ret = netdev->dcbnl_ops->getnumtcs(netdev, i, &value); in dcbnl_getnumtcs()
363 ret = nla_put_u8(skb, i, value); in dcbnl_getnumtcs()
381 u8 value; in dcbnl_setnumtcs() local
399 value = nla_get_u8(data[i]); in dcbnl_setnumtcs()
401 ret = netdev->dcbnl_ops->setnumtcs(netdev, i, value); in dcbnl_setnumtcs()
422 u8 value; in dcbnl_setpfcstate() local
430 value = nla_get_u8(tb[DCB_ATTR_PFC_STATE]); in dcbnl_setpfcstate()
432 netdev->dcbnl_ops->setpfcstate(netdev, value); in dcbnl_setpfcstate()
704 u8 value; in dcbnl_setstate() local
712 value = nla_get_u8(tb[DCB_ATTR_STATE]); in dcbnl_setstate()
715 netdev->dcbnl_ops->setstate(netdev, value)); in dcbnl_setstate()
724 u8 value; in dcbnl_setpfccfg() local
740 value = nla_get_u8(data[i]); in dcbnl_setpfccfg()
742 data[i]->nla_type - DCB_PFC_UP_ATTR_0, value); in dcbnl_setpfccfg()
1218 u8 value; in dcbnl_cee_fill() local
1247 ops->getpfccfg(netdev, i - DCB_PFC_UP_ATTR_0, &value); in dcbnl_cee_fill()
1248 if (nla_put_u8(skb, i, value)) in dcbnl_cee_fill()
1302 if (!ops->getfeatcfg(netdev, i, &value) && in dcbnl_cee_fill()
1303 nla_put_u8(skb, i, value)) in dcbnl_cee_fill()
1556 u8 value; in dcbnl_setdcbx() local
1564 value = nla_get_u8(tb[DCB_ATTR_DCBX]); in dcbnl_setdcbx()
1567 netdev->dcbnl_ops->setdcbx(netdev, value)); in dcbnl_setdcbx()
1574 u8 value; in dcbnl_getfeatcfg() local
1600 ret = netdev->dcbnl_ops->getfeatcfg(netdev, i, &value); in dcbnl_getfeatcfg()
1602 ret = nla_put_u8(skb, i, value); in dcbnl_getfeatcfg()
1620 u8 value; in dcbnl_setfeatcfg() local
1638 value = nla_get_u8(data[i]); in dcbnl_setfeatcfg()
1640 ret = netdev->dcbnl_ops->setfeatcfg(netdev, i, value); in dcbnl_setfeatcfg()