Home
last modified time | relevance | path

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

/net/ceph/
Dceph_fs.c89 int caps = CEPH_CAP_PIN; in ceph_caps_for_mode() local
92 caps |= CEPH_CAP_FILE_SHARED | in ceph_caps_for_mode()
95 caps |= CEPH_CAP_FILE_EXCL | in ceph_caps_for_mode()
100 caps |= CEPH_CAP_FILE_LAZYIO; in ceph_caps_for_mode()
102 return caps; in ceph_caps_for_mode()
/net/ieee802154/
Dnl802154.c355 const struct wpan_phy_supported *caps = &rdev->wpan_phy.supported; in nl802154_put_capabilities() local
368 if (caps->channels[i]) { in nl802154_put_capabilities()
369 if (nl802154_put_flags(msg, i, caps->channels[i])) in nl802154_put_capabilities()
384 for (i = 0; i < caps->cca_ed_levels_size; i++) { in nl802154_put_capabilities()
385 if (nla_put_s32(msg, i, caps->cca_ed_levels[i])) in nl802154_put_capabilities()
400 for (i = 0; i < caps->tx_powers_size; i++) { in nl802154_put_capabilities()
401 if (nla_put_s32(msg, i, caps->tx_powers[i])) in nl802154_put_capabilities()
410 caps->cca_modes) || in nl802154_put_capabilities()
412 caps->cca_opts)) in nl802154_put_capabilities()
416 if (nla_put_u8(msg, NL802154_CAP_ATTR_MIN_MINBE, caps->min_minbe) || in nl802154_put_capabilities()
[all …]
/net/tipc/
Ddiscover.c198 u16 caps = msg_node_capabilities(hdr); in tipc_disc_rcv() local
219 if (caps & TIPC_NODE_ID128) in tipc_disc_rcv()
249 tipc_node_check_dest(net, src, peer_id, b, caps, signature, pnet_hash, in tipc_disc_rcv()
Dnode.c238 u16 caps; in tipc_node_get_capabilities() local
243 caps = n->capabilities; in tipc_node_get_capabilities()
245 return caps; in tipc_node_get_capabilities()
/net/ncsi/
Dncsi-rsp.c808 nc->caps[NCSI_CAP_GENERIC].cap = ntohl(rsp->cap) & in ncsi_rsp_handler_gc()
810 nc->caps[NCSI_CAP_BC].cap = ntohl(rsp->bc_cap) & in ncsi_rsp_handler_gc()
812 nc->caps[NCSI_CAP_MC].cap = ntohl(rsp->mc_cap) & in ncsi_rsp_handler_gc()
814 nc->caps[NCSI_CAP_BUFFER].cap = ntohl(rsp->buf_cap); in ncsi_rsp_handler_gc()
815 nc->caps[NCSI_CAP_AEN].cap = ntohl(rsp->aen_cap) & in ncsi_rsp_handler_gc()
817 nc->caps[NCSI_CAP_VLAN].cap = rsp->vlan_mode & in ncsi_rsp_handler_gc()
Dncsi-manage.c224 nc->caps[index].index = index; in ncsi_add_channel()
1035 nca.dwords[0] = nc->caps[NCSI_CAP_BC].cap; in ncsi_configure_channel()
1040 if (nc->caps[NCSI_CAP_GENERIC].cap & in ncsi_configure_channel()
1065 if (!(nc->caps[NCSI_CAP_AEN].cap & NCSI_CAP_AEN_MASK)) in ncsi_configure_channel()
1070 nca.dwords[1] = nc->caps[NCSI_CAP_AEN].cap; in ncsi_configure_channel()
1248 cap = nc->caps[NCSI_CAP_GENERIC].cap; in ncsi_check_hwa()
Dinternal.h202 struct ncsi_channel_cap caps[NCSI_CAP_MAX]; member
/net/wireless/
Dnl80211.c1898 struct nlattr *pmsr, *caps; in nl80211_send_pmsr_capa() local
1923 caps = nla_nest_start_noflag(msg, NL80211_PMSR_ATTR_TYPE_CAPA); in nl80211_send_pmsr_capa()
1924 if (!caps) in nl80211_send_pmsr_capa()
1930 nla_nest_end(msg, caps); in nl80211_send_pmsr_capa()