/drivers/net/ethernet/mellanox/mlxsw/ |
D | resources.h | 127 enum mlxsw_res_id res_id) in mlxsw_res_valid() argument 129 return res->valid[res_id]; in mlxsw_res_valid() 136 enum mlxsw_res_id res_id) in mlxsw_res_get() argument 138 if (WARN_ON(!res->valid[res_id])) in mlxsw_res_get() 140 return res->values[res_id]; in mlxsw_res_get() 147 enum mlxsw_res_id res_id, u64 value) in mlxsw_res_set() argument 149 res->valid[res_id] = true; in mlxsw_res_set() 150 res->values[res_id] = value; in mlxsw_res_set()
|
D | spectrum_cnt.c | 58 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()
|
D | core.h | 455 enum mlxsw_res_id res_id); 461 enum mlxsw_res_id res_id);
|
D | core.c | 3055 enum mlxsw_res_id res_id) in mlxsw_core_res_valid() argument 3057 return mlxsw_res_valid(&mlxsw_core->res, res_id); in mlxsw_core_res_valid() 3062 enum mlxsw_res_id res_id) in mlxsw_core_res_get() argument 3064 return mlxsw_res_get(&mlxsw_core->res, res_id); in mlxsw_core_res_get()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 74 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 …]
|
/drivers/usb/dwc3/ |
D | gadget.h | 132 u32 res_id; in dwc3_gadget_ep_get_transfer_index() local 134 res_id = dwc3_readl(dep->regs, DWC3_DEPCMD); in dwc3_gadget_ep_get_transfer_index() 135 dep->resource_index = DWC3_DEPCMD_GET_RSC_IDX(res_id); in dwc3_gadget_ep_get_transfer_index()
|
/drivers/soc/qcom/ |
D | rpmpd.c | 50 .res_id = r_id, \ 58 .res_id = r_id, \ 66 .res_id = r_id, \ 74 .res_id = r_id, \ 82 .res_id = r_id, \ 90 .res_id = r_id, \ 107 const int res_id; member 504 pd->res_type, pd->res_id, &req, sizeof(req)); in rpmpd_send_enable() 515 return qcom_rpm_smd_write(pd->rpm, state, pd->res_type, pd->res_id, in rpmpd_send_corner()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev.c | 3642 const char *qed_hw_get_resc_name(enum qed_resources res_id) in qed_hw_get_resc_name() argument 3644 switch (res_id) { in qed_hw_get_resc_name() 3683 enum qed_resources res_id, in __qed_hw_set_soft_resc_size() argument 3688 rc = qed_mcp_set_resc_max_val(p_hwfn, p_ptt, res_id, in __qed_hw_set_soft_resc_size() 3693 res_id, qed_hw_get_resc_name(res_id)); in __qed_hw_set_soft_resc_size() 3700 res_id, qed_hw_get_resc_name(res_id), *p_mcp_resp); in __qed_hw_set_soft_resc_size() 3737 u8 res_id; in qed_hw_set_soft_resc_size() local 3740 for (res_id = 0; res_id < QED_MAX_RESC; res_id++) { in qed_hw_set_soft_resc_size() 3741 switch (res_id) { in qed_hw_set_soft_resc_size() 3765 rc = __qed_hw_set_soft_resc_size(p_hwfn, p_ptt, res_id, in qed_hw_set_soft_resc_size() [all …]
|
D | qed_mcp.c | 3513 static enum resource_id_enum qed_mcp_get_mfw_res_id(enum qed_resources res_id) in qed_mcp_get_mfw_res_id() argument 3517 switch (res_id) { in qed_mcp_get_mfw_res_id() 3578 enum qed_resources res_id; member 3604 mfw_resc_info.res_id = qed_mcp_get_mfw_res_id(p_in_params->res_id); in qed_mcp_resc_allocation_msg() 3605 if (mfw_resc_info.res_id == RESOURCE_NUM_INVALID) { in qed_mcp_resc_allocation_msg() 3608 p_in_params->res_id, in qed_mcp_resc_allocation_msg() 3609 qed_hw_get_resc_name(p_in_params->res_id)); in qed_mcp_resc_allocation_msg() 3637 p_in_params->res_id, in qed_mcp_resc_allocation_msg() 3638 qed_hw_get_resc_name(p_in_params->res_id), in qed_mcp_resc_allocation_msg() 3675 enum qed_resources res_id, in qed_mcp_set_resc_max_val() argument [all …]
|
D | qed_dev_api.h | 528 const char *qed_hw_get_resc_name(enum qed_resources res_id);
|
D | qed_mcp.h | 1120 enum qed_resources res_id, 1139 enum qed_resources res_id,
|
D | qed_mfw_hsi.h | 983 enum resource_id_enum res_id; member
|
/drivers/s390/cio/ |
D | scm.c | 106 scm_attr(res_id); 147 scmdev->attrs.res_id = sale->rid; in scmdev_setup()
|
/drivers/firmware/arm_scmi/ |
D | protocols.h | 252 u8 cmd_id, u32 res_id, char *name, size_t len);
|
D | driver.c | 1152 u8 cmd_id, u32 res_id, char *name, in scmi_common_extended_name_get() argument 1159 ret = ph->xops->xfer_get_init(ph, cmd_id, sizeof(res_id), in scmi_common_extended_name_get() 1164 put_unaligned_le32(res_id, t->tx.buf); in scmi_common_extended_name_get() 1176 res_id, ret, name); in scmi_common_extended_name_get()
|
/drivers/net/netdevsim/ |
D | fib.c | 137 enum nsim_resource_id res_id, bool max) in nsim_fib_get_val() argument 141 switch (res_id) { in nsim_fib_get_val() 165 enum nsim_resource_id res_id, u64 val) in nsim_fib_set_max() argument 169 switch (res_id) { in nsim_fib_set_max()
|
D | netdevsim.h | 339 enum nsim_resource_id res_id, bool max);
|
/drivers/net/ethernet/intel/ice/ |
D | ice_common.c | 1680 if (le16_to_cpu(cmd->res_id) == ICE_AQC_RES_ID_GLBL_LOCK) in ice_aq_send_cmd() 1829 cmd_resp->res_id = cpu_to_le16(res); in ice_aq_req_res() 1896 cmd->res_id = cpu_to_le16(res); in ice_aq_release_res()
|
D | ice_adminq_cmd.h | 58 __le16 res_id; member
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_execbuf.c | 1741 *converter, uint32_t *res_id, uint32_t *buf_id, in vmw_cmd_switch_backup() argument 1748 VMW_RES_DIRTY_NONE, converter, res_id, &res); in vmw_cmd_switch_backup()
|