Home
last modified time | relevance | path

Searched refs:param_item (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/net/devlink/
Dparam.c127 struct devlink_param_item *param_item; in devlink_param_find_by_name() local
130 xa_for_each(params, param_id, param_item) { in devlink_param_find_by_name()
131 if (!strcmp(param_item->param->name, param_name)) in devlink_param_find_by_name()
132 return param_item; in devlink_param_find_by_name()
239 struct devlink_param_item *param_item, in devlink_nl_param_fill() argument
245 const struct devlink_param *param = param_item->param; in devlink_nl_param_fill()
259 if (param_item->driverinit_value_new_valid) in devlink_nl_param_fill()
260 param_value[i] = param_item->driverinit_value_new; in devlink_nl_param_fill()
261 else if (param_item->driverinit_value_valid) in devlink_nl_param_fill()
262 param_value[i] = param_item->driverinit_value; in devlink_nl_param_fill()
[all …]
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-syscfg-configfs.c282 struct cscfg_fs_param *param_item = container_of(to_config_group(item), in cscfg_param_value_show() local
284 u64 value = param_item->feat_desc->params_desc[param_item->param_idx].value; in cscfg_param_value_show()
292 struct cscfg_fs_param *param_item = container_of(to_config_group(item), in cscfg_param_value_store() local
294 struct cscfg_feature_desc *feat_desc = param_item->feat_desc; in cscfg_param_value_store()
295 int param_idx = param_item->param_idx; in cscfg_param_value_store()
326 struct cscfg_fs_param *param_item; in cscfg_create_params_group_items() local
331 param_item = devm_kzalloc(dev, sizeof(struct cscfg_fs_param), GFP_KERNEL); in cscfg_create_params_group_items()
332 if (!param_item) in cscfg_create_params_group_items()
334 param_item->feat_desc = feat_desc; in cscfg_create_params_group_items()
335 param_item->param_idx = i; in cscfg_create_params_group_items()
[all …]