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

12

/linux-master/arch/s390/include/asm/
H A Deadm.h96 unsigned int res_id:8; member in struct:scm_device::__anon4
/linux-master/drivers/firmware/arm_scmi/
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
H A Dprotocols.h264 u8 cmd_id, u32 res_id, u32 *flags, char *name,
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c1737 * @res_id: Pointer to the user-space resource handle in the command stream.
1750 *converter, uint32_t *res_id, uint32_t *buf_id,
1757 VMW_RES_DIRTY_NONE, converter, res_id, &res);
1746 vmw_cmd_switch_backup(struct vmw_private *dev_priv, struct vmw_sw_context *sw_context, enum vmw_res_type res_type, const struct vmw_user_resource_conv *converter, uint32_t *res_id, uint32_t *buf_id, unsigned long backup_offset) argument
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_adminq_cmd.h58 __le16 res_id; member in struct:ice_aqc_req_res
H A Dice_common.c1624 if (le16_to_cpu(cmd->res_id) == ICE_AQC_RES_ID_GLBL_LOCK)
1773 cmd_resp->res_id = cpu_to_le16(res);
1840 cmd->res_id = cpu_to_le16(res);
H A Dice_switch.c4477 * @res_id: resource id (descriptor)
4479 int ice_share_res(struct ice_hw *hw, u16 type, u8 shared, u16 res_id) argument
4492 buf->elem[0].e.sw_resp = cpu_to_le16(res_id);
4497 type, res_id, shared ? "SHARED" : "DEDICATED");
H A Dice_switch.h358 int ice_share_res(struct ice_hw *hw, u16 type, u8 shared, u16 res_id);
/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/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.c3041 enum mlxsw_res_id res_id)
3043 return mlxsw_res_valid(&mlxsw_core->res, res_id);
3048 enum mlxsw_res_id res_id)
3050 return mlxsw_res_get(&mlxsw_core->res, res_id);
3040 mlxsw_core_res_valid(struct mlxsw_core *mlxsw_core, enum mlxsw_res_id res_id) argument
3047 mlxsw_core_res_get(struct mlxsw_core *mlxsw_core, enum mlxsw_res_id res_id) argument
H A Dcore.h461 enum mlxsw_res_id res_id);
467 enum mlxsw_res_id res_id);
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);
/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,
H A Dqed_mfw_hsi.h983 enum resource_id_enum res_id; member in struct:resource_info
/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/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/s390/cio/
H A Dscm.c106 scm_attr(res_id); variable
147 scmdev->attrs.res_id = sale->rid;
/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/fs/dlm/
H A Ddlm_internal.h299 int res_id; /* for ls_recover_idr */ member in struct:dlm_rsb
H A Drcom.c373 rc->rc_id = cpu_to_le64(r->res_id);

Completed in 730 milliseconds

12