Home
last modified time | relevance | path

Searched refs:res_id (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dresources.h125 enum mlxsw_res_id res_id) in mlxsw_res_valid() argument
127 return res->valid[res_id]; in mlxsw_res_valid()
134 enum mlxsw_res_id res_id) in mlxsw_res_get() argument
136 if (WARN_ON(!res->valid[res_id])) in mlxsw_res_get()
138 return res->values[res_id]; in mlxsw_res_get()
145 enum mlxsw_res_id res_id, u64 value) in mlxsw_res_set() argument
147 res->valid[res_id] = true; in mlxsw_res_set()
148 res->values[res_id] = value; in mlxsw_res_set()
Dspectrum_cnt.c58 enum mlxsw_res_id res_id; in mlxsw_sp_counter_sub_pools_init() local
64 res_id = sub_pool->entry_size_res_id; in mlxsw_sp_counter_sub_pools_init()
66 if (!mlxsw_core_res_valid(mlxsw_sp->core, res_id)) in mlxsw_sp_counter_sub_pools_init()
69 res_id); in mlxsw_sp_counter_sub_pools_init()
Dcore.h392 enum mlxsw_res_id res_id);
398 enum mlxsw_res_id res_id);
/kernel/linux/linux-5.10/include/linux/netfilter/
Dnfnetlink.h60 __be16 res_id) in nfnl_fill_hdr() argument
67 nfmsg->res_id = res_id; in nfnl_fill_hdr()
73 __be16 res_id) in nfnl_msg_put() argument
81 nfnl_fill_hdr(nlh, family, version, res_id); in nfnl_msg_put()
/kernel/linux/linux-5.10/drivers/soc/qcom/
Drpmpd.c47 .res_id = r_id, \
55 .res_id = r_id, \
63 .res_id = r_id, \
71 .res_id = r_id, \
79 .res_id = r_id, \
87 .res_id = r_id, \
105 const int res_id; member
241 pd->res_type, pd->res_id, &req, sizeof(req)); in rpmpd_send_enable()
252 return qcom_rpm_smd_write(pd->rpm, state, pd->res_type, pd->res_id, in rpmpd_send_corner()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c74 u64 res_id; member
235 static void *res_tracker_lookup(struct rb_root *root, u64 res_id) in res_tracker_lookup() argument
243 if (res_id < res->res_id) in res_tracker_lookup()
245 else if (res_id > res->res_id) in res_tracker_lookup()
263 if (res->res_id < this->res_id) in res_tracker_insert()
265 else if (res->res_id > this->res_id) in res_tracker_insert()
882 static void *find_res(struct mlx4_dev *dev, u64 res_id, in find_res() argument
888 res_id); in find_res()
891 static int _get_res(struct mlx4_dev *dev, int slave, u64 res_id, in _get_res() argument
899 r = find_res(dev, res_id, type); in _get_res()
[all …]
/kernel/linux/linux-5.10/drivers/usb/dwc3/
Dgadget.h127 u32 res_id; in dwc3_gadget_ep_get_transfer_index() local
129 res_id = dwc3_readl(dep->regs, DWC3_DEPCMD); in dwc3_gadget_ep_get_transfer_index()
130 dep->resource_index = DWC3_DEPCMD_GET_RSC_IDX(res_id); in dwc3_gadget_ep_get_transfer_index()
/kernel/linux/linux-5.10/include/linux/
Dbtf.h99 u32 id, u32 *res_id);
101 u32 id, u32 *res_id);
103 u32 id, u32 *res_id);
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c3549 const char *qed_hw_get_resc_name(enum qed_resources res_id) in qed_hw_get_resc_name() argument
3551 switch (res_id) { in qed_hw_get_resc_name()
3590 enum qed_resources res_id, in __qed_hw_set_soft_resc_size() argument
3595 rc = qed_mcp_set_resc_max_val(p_hwfn, p_ptt, res_id, in __qed_hw_set_soft_resc_size()
3600 res_id, qed_hw_get_resc_name(res_id)); in __qed_hw_set_soft_resc_size()
3607 res_id, qed_hw_get_resc_name(res_id), *p_mcp_resp); in __qed_hw_set_soft_resc_size()
3643 u8 res_id; in qed_hw_set_soft_resc_size() local
3645 for (res_id = 0; res_id < QED_MAX_RESC; res_id++) { in qed_hw_set_soft_resc_size()
3646 switch (res_id) { in qed_hw_set_soft_resc_size()
3670 rc = __qed_hw_set_soft_resc_size(p_hwfn, p_ptt, res_id, in qed_hw_set_soft_resc_size()
[all …]
Dqed_mcp.c3461 static enum resource_id_enum qed_mcp_get_mfw_res_id(enum qed_resources res_id) in qed_mcp_get_mfw_res_id() argument
3465 switch (res_id) { in qed_mcp_get_mfw_res_id()
3526 enum qed_resources res_id; member
3552 mfw_resc_info.res_id = qed_mcp_get_mfw_res_id(p_in_params->res_id); in qed_mcp_resc_allocation_msg()
3553 if (mfw_resc_info.res_id == RESOURCE_NUM_INVALID) { in qed_mcp_resc_allocation_msg()
3556 p_in_params->res_id, in qed_mcp_resc_allocation_msg()
3557 qed_hw_get_resc_name(p_in_params->res_id)); in qed_mcp_resc_allocation_msg()
3585 p_in_params->res_id, in qed_mcp_resc_allocation_msg()
3586 qed_hw_get_resc_name(p_in_params->res_id), in qed_mcp_resc_allocation_msg()
3623 enum qed_resources res_id, in qed_mcp_set_resc_max_val() argument
[all …]
Dqed_dev_api.h487 const char *qed_hw_get_resc_name(enum qed_resources res_id);
Dqed_mcp.h1068 enum qed_resources res_id,
1086 enum qed_resources res_id,
/kernel/linux/linux-5.10/net/netfilter/
Dnfnetlink.c552 u16 res_id; in nfnetlink_rcv_skb_batch() local
573 if (nfgenmsg->res_id == NFNL_SUBSYS_NFTABLES) in nfnetlink_rcv_skb_batch()
574 res_id = NFNL_SUBSYS_NFTABLES; in nfnetlink_rcv_skb_batch()
576 res_id = ntohs(nfgenmsg->res_id); in nfnetlink_rcv_skb_batch()
578 nfnetlink_rcv_batch(skb, nlh, res_id, gen_id); in nfnetlink_rcv_skb_batch()
Dnfnetlink_queue.c1071 u16 queue_num = ntohs(nfmsg->res_id); in nfqnl_recv_verdict_batch()
1174 u_int16_t queue_num = ntohs(nfmsg->res_id); in nfqnl_recv_verdict()
1260 u_int16_t queue_num = ntohs(nfmsg->res_id); in nfqnl_recv_config()
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
Dnf-queue.c137 nfg->res_id = htons(queue_num); in nfq_build_cfg_request()
160 nfg->res_id = htons(queue_num); in nfq_build_cfg_params()
183 nfg->res_id = htons(queue_num); in nfq_build_verdict()
/kernel/linux/linux-5.10/fs/dlm/
Drecover.c314 if (r->res_id) { in recover_idr_add()
322 r->res_id = rv; in recover_idr_add()
337 idr_remove(&ls->ls_recover_idr, r->res_id); in recover_idr_del()
338 r->res_id = 0; in recover_idr_del()
364 r->res_id = 0; in recover_idr_clear()
Ddlm_internal.h300 int res_id; /* for ls_recover_idr */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
Dnfnetlink.h50 __be16 res_id; member
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
Dnfnetlink.h37 __be16 res_id; /* resource id */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/
Dnfnetlink.h37 __be16 res_id; member
/kernel/linux/linux-5.10/drivers/s390/cio/
Dscm.c105 scm_attr(res_id);
146 scmdev->attrs.res_id = sale->rid; in scmdev_setup()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Deadm.h95 unsigned int res_id:8; member
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dfib.c90 enum nsim_resource_id res_id, bool max) in nsim_fib_get_val() argument
94 switch (res_id) { in nsim_fib_get_val()
115 enum nsim_resource_id res_id, u64 val) in nsim_fib_set_max() argument
119 switch (res_id) { in nsim_fib_set_max()
Dnetdevsim.h244 enum nsim_resource_id res_id, bool max);
/kernel/linux/linux-5.10/kernel/bpf/
Dbtf.c473 u32 id, u32 *res_id) in btf_type_skip_modifiers() argument
482 if (res_id) in btf_type_skip_modifiers()
483 *res_id = id; in btf_type_skip_modifiers()
489 u32 id, u32 *res_id) in btf_type_resolve_ptr() argument
497 return btf_type_skip_modifiers(btf, t->type, res_id); in btf_type_resolve_ptr()
501 u32 id, u32 *res_id) in btf_type_resolve_func_ptr() argument
505 ptype = btf_type_resolve_ptr(btf, id, res_id); in btf_type_resolve_func_ptr()

12