Searched refs:res_id (Results 1 - 25 of 41) sorted by relevance

12

/linux-master/drivers/pmdomain/qcom/
H A Drpmpd.c58 const int res_id; member in struct:rpmpd
78 .res_id = 0,
87 .res_id = 0,
96 .res_id = 1,
105 .res_id = 1,
114 .res_id = 1,
123 .res_id = 1,
132 .res_id = 2,
141 .res_id = 2,
150 .res_id
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dresources.h131 enum mlxsw_res_id res_id)
133 return res->valid[res_id];
140 enum mlxsw_res_id res_id)
142 if (WARN_ON(!res->valid[res_id]))
144 return res->values[res_id];
151 enum mlxsw_res_id res_id, u64 value)
153 res->valid[res_id] = true;
154 res->values[res_id] = value;
130 mlxsw_res_valid(struct mlxsw_res *res, enum mlxsw_res_id res_id) argument
139 mlxsw_res_get(struct mlxsw_res *res, enum mlxsw_res_id res_id) argument
150 mlxsw_res_set(struct mlxsw_res *res, enum mlxsw_res_id res_id, u64 value) argument
H A Dspectrum_cnt.c58 enum mlxsw_res_id res_id; local
64 res_id = sub_pool->entry_size_res_id;
66 if (!mlxsw_core_res_valid(mlxsw_sp->core, res_id))
69 res_id);
H A Dcore.h461 enum mlxsw_res_id res_id);
467 enum mlxsw_res_id res_id);
/linux-master/include/linux/netfilter/
H A Dnfnetlink.h68 __be16 res_id)
75 nfmsg->res_id = res_id;
81 __be16 res_id)
89 nfnl_fill_hdr(nlh, family, version, res_id);
67 nfnl_fill_hdr(struct nlmsghdr *nlh, u8 family, u8 version, __be16 res_id) argument
78 nfnl_msg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int flags, u8 family, u8 version, __be16 res_id) argument
/linux-master/drivers/usb/dwc3/
H A Dgadget.h133 u32 res_id; local
135 res_id = dwc3_readl(dep->regs, DWC3_DEPCMD);
136 dep->resource_index = DWC3_DEPCMD_GET_RSC_IDX(res_id);
/linux-master/include/trace/events/
H A Dscmi.h11 TP_PROTO(u8 protocol_id, u8 msg_id, u32 res_id, u32 val1, u32 val2),
12 TP_ARGS(protocol_id, msg_id, res_id, val1, val2),
17 __field(u32, res_id)
25 __entry->res_id = res_id;
30 TP_printk("pt=%02X msg_id=%02X res_id:%u vals=%u:%u",
32 __entry->res_id, __entry->val1, __entry->val2)
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c74 u64 res_id; member in struct:res_common
235 static void *res_tracker_lookup(struct rb_root *root, u64 res_id) argument
243 if (res_id < res->res_id)
245 else if (res_id > res->res_id)
263 if (res->res_id < this->res_id)
265 else if (res->res_id > this->res_id)
882 find_res(struct mlx4_dev *dev, u64 res_id, enum mlx4_resource type) argument
891 _get_res(struct mlx4_dev *dev, int slave, u64 res_id, enum mlx4_resource type, void *res, const char *func_name) argument
934 mlx4_get_slave_from_resource_id(struct mlx4_dev *dev, enum mlx4_resource type, u64 res_id, int *slave) argument
957 put_res(struct mlx4_dev *dev, int slave, u64 res_id, enum mlx4_resource type) argument
3101 int res_id = (slave << 10) | eqn; local
3308 int res_id = eqn | (slave << 10); local
3346 int res_id; local
3414 int res_id = eqn | (slave << 10); local
[all...]
/linux-master/include/uapi/linux/netfilter/
H A Dnfnetlink.h37 __be16 res_id; /* resource id */ member in struct:nfgenmsg
/linux-master/arch/s390/include/asm/
H A Deadm.h96 unsigned int res_id:8; member in struct:scm_device::__anon4
/linux-master/net/netfilter/
H A Dnfnetlink.c613 u16 res_id; local
634 if (nfgenmsg->res_id == (__force __be16)NFNL_SUBSYS_NFTABLES)
635 res_id = NFNL_SUBSYS_NFTABLES;
637 res_id = ntohs(nfgenmsg->res_id);
639 nfnetlink_rcv_batch(skb, nlh, res_id, gen_id);
/linux-master/tools/testing/selftests/netfilter/
H A Dnf-queue.c137 nfg->res_id = htons(queue_num);
160 nfg->res_id = htons(queue_num);
183 nfg->res_id = htons(queue_num);
H A Dconntrack_dump_flush.c156 nfh->res_id = 0;
190 nfh->res_id = 0;
231 nfh->res_id = 0;
278 nfh->res_id = 0;
/linux-master/drivers/s390/cio/
H A Dscm.c106 scm_attr(res_id); variable
147 scmdev->attrs.res_id = sale->rid;
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev.c3642 const char *qed_hw_get_resc_name(enum qed_resources res_id) argument
3644 switch (res_id) {
3683 enum qed_resources res_id,
3688 rc = qed_mcp_set_resc_max_val(p_hwfn, p_ptt, res_id,
3693 res_id, qed_hw_get_resc_name(res_id));
3700 res_id, qed_hw_get_resc_name(res_id), *p_mcp_resp);
3737 u8 res_id; local
3740 for (res_id
3681 __qed_hw_set_soft_resc_size(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, enum qed_resources res_id, u32 resc_max_val, u32 *p_mcp_resp) argument
3784 qed_hw_get_dflt_resc(struct qed_hwfn *p_hwfn, enum qed_resources res_id, u32 *p_resc_num, u32 *p_resc_start) argument
3868 __qed_hw_set_resc_info(struct qed_hwfn *p_hwfn, enum qed_resources res_id) argument
3932 u8 res_id; local
3978 u8 res_id; local
[all...]
H A Dqed_dev_api.h528 const char *qed_hw_get_resc_name(enum qed_resources res_id);
H A Dqed_mcp.c3513 static enum resource_id_enum qed_mcp_get_mfw_res_id(enum qed_resources res_id) argument
3517 switch (res_id) {
3578 enum qed_resources res_id; member in struct:qed_resc_alloc_in_params
3604 mfw_resc_info.res_id = qed_mcp_get_mfw_res_id(p_in_params->res_id);
3605 if (mfw_resc_info.res_id == RESOURCE_NUM_INVALID) {
3608 p_in_params->res_id,
3609 qed_hw_get_resc_name(p_in_params->res_id));
3635 "Resource message request: cmd 0x%08x, res_id %d [%s], hsi_version %d.%d, val 0x%x\n",
3637 p_in_params->res_id,
3673 qed_mcp_set_resc_max_val(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, enum qed_resources res_id, u32 resc_max_val, u32 *p_mcp_resp) argument
3698 qed_mcp_get_resc_info(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, enum qed_resources res_id, u32 *p_mcp_resp, u32 *p_resc_num, u32 *p_resc_start) argument
[all...]
H A Dqed_mcp.h1111 * @res_id: RES ID.
1120 enum qed_resources res_id,
1129 * @res_id: Res ID.
1139 enum qed_resources res_id,
/linux-master/fs/dlm/
H A Drecover.c315 if (r->res_id) {
323 r->res_id = rv;
338 idr_remove(&ls->ls_recover_idr, r->res_id);
339 r->res_id = 0;
365 r->res_id = 0;
/linux-master/include/linux/
H A Dbtf.h227 u32 id, u32 *res_id);
229 u32 id, u32 *res_id);
231 u32 id, u32 *res_id);
/linux-master/drivers/firmware/arm_scmi/
H A Dprotocols.h264 u8 cmd_id, u32 res_id, u32 *flags, char *name,
H A Ddriver.c1451 * @res_id: The specific resource ID to use.
1460 u8 cmd_id, u32 res_id, u32 *flags,
1468 txlen = !flags ? sizeof(res_id) : sizeof(res_id) + sizeof(*flags);
1473 put_unaligned_le32(res_id, t->tx.buf);
1475 put_unaligned_le32(*flags, t->tx.buf + sizeof(res_id));
1487 res_id, ret, name);
1459 scmi_common_extended_name_get(const struct scmi_protocol_handle *ph, u8 cmd_id, u32 res_id, u32 *flags, char *name, size_t len) argument
/linux-master/drivers/net/netdevsim/
H A Dfib.c137 enum nsim_resource_id res_id, bool max)
141 switch (res_id) {
165 enum nsim_resource_id res_id, u64 val)
169 switch (res_id) {
136 nsim_fib_get_val(struct nsim_fib_data *fib_data, enum nsim_resource_id res_id, bool max) argument
164 nsim_fib_set_max(struct nsim_fib_data *fib_data, enum nsim_resource_id res_id, u64 val) argument
H A Dnetdevsim.h365 enum nsim_resource_id res_id, bool max);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_switch.h358 int ice_share_res(struct ice_hw *hw, u16 type, u8 shared, u16 res_id);

Completed in 431 milliseconds

12