param_item 2920 net/core/devlink.c struct devlink_param_item *param_item; param_item 2922 net/core/devlink.c list_for_each_entry(param_item, param_list, list) param_item 2923 net/core/devlink.c if (!strcmp(param_item->param->name, param_name)) param_item 2924 net/core/devlink.c return param_item; param_item 2931 net/core/devlink.c struct devlink_param_item *param_item; param_item 2933 net/core/devlink.c list_for_each_entry(param_item, param_list, list) param_item 2934 net/core/devlink.c if (param_item->param->id == param_id) param_item 2935 net/core/devlink.c return param_item; param_item 3035 net/core/devlink.c struct devlink_param_item *param_item, param_item 3041 net/core/devlink.c const struct devlink_param *param = param_item->param; param_item 3055 net/core/devlink.c if (!param_item->driverinit_value_valid) param_item 3057 net/core/devlink.c param_value[i] = param_item->driverinit_value; param_item 3059 net/core/devlink.c if (!param_item->published) param_item 3127 net/core/devlink.c struct devlink_param_item *param_item, param_item 3140 net/core/devlink.c err = devlink_nl_param_fill(msg, devlink, port_index, param_item, cmd, param_item 3154 net/core/devlink.c struct devlink_param_item *param_item; param_item 3165 net/core/devlink.c list_for_each_entry(param_item, &devlink->param_list, list) { param_item 3170 net/core/devlink.c err = devlink_nl_param_fill(msg, devlink, 0, param_item, param_item 3282 net/core/devlink.c struct devlink_param_item *param_item; param_item 3286 net/core/devlink.c param_item = devlink_param_get_from_info(&devlink->param_list, info); param_item 3287 net/core/devlink.c if (!param_item) param_item 3294 net/core/devlink.c err = devlink_nl_param_fill(msg, devlink, 0, param_item, param_item 3314 net/core/devlink.c struct devlink_param_item *param_item; param_item 3319 net/core/devlink.c param_item = devlink_param_get_from_info(param_list, info); param_item 3320 net/core/devlink.c if (!param_item) param_item 3322 net/core/devlink.c param = param_item->param; param_item 3345 net/core/devlink.c strcpy(param_item->driverinit_value.vstr, value.vstr); param_item 3347 net/core/devlink.c param_item->driverinit_value = value; param_item 3348 net/core/devlink.c param_item->driverinit_value_valid = true; param_item 3359 net/core/devlink.c devlink_param_notify(devlink, port_index, param_item, cmd); param_item 3378 net/core/devlink.c struct devlink_param_item *param_item; param_item 3388 net/core/devlink.c param_item = kzalloc(sizeof(*param_item), GFP_KERNEL); param_item 3389 net/core/devlink.c if (!param_item) param_item 3391 net/core/devlink.c param_item->param = param; param_item 3393 net/core/devlink.c list_add_tail(¶m_item->list, param_list); param_item 3394 net/core/devlink.c devlink_param_notify(devlink, port_index, param_item, cmd); param_item 3404 net/core/devlink.c struct devlink_param_item *param_item; param_item 3406 net/core/devlink.c param_item = devlink_param_find_by_name(param_list, param->name); param_item 3407 net/core/devlink.c WARN_ON(!param_item); param_item 3408 net/core/devlink.c devlink_param_notify(devlink, port_index, param_item, cmd); param_item 3409 net/core/devlink.c list_del(¶m_item->list); param_item 3410 net/core/devlink.c kfree(param_item); param_item 3416 net/core/devlink.c struct devlink_param_item *param_item; param_item 3429 net/core/devlink.c list_for_each_entry(param_item, param_item 3437 net/core/devlink.c devlink_port->index, param_item, param_item 3462 net/core/devlink.c struct devlink_param_item *param_item; param_item 3466 net/core/devlink.c param_item = devlink_param_get_from_info(&devlink_port->param_list, param_item 3468 net/core/devlink.c if (!param_item) param_item 3476 net/core/devlink.c devlink_port->index, param_item, param_item 7104 net/core/devlink.c struct devlink_param_item *param_item; param_item 7106 net/core/devlink.c list_for_each_entry(param_item, &devlink->param_list, list) { param_item 7107 net/core/devlink.c if (param_item->published) param_item 7109 net/core/devlink.c param_item->published = true; param_item 7110 net/core/devlink.c devlink_param_notify(devlink, 0, param_item, param_item 7125 net/core/devlink.c struct devlink_param_item *param_item; param_item 7127 net/core/devlink.c list_for_each_entry(param_item, &devlink->param_list, list) { param_item 7128 net/core/devlink.c if (!param_item->published) param_item 7130 net/core/devlink.c param_item->published = false; param_item 7131 net/core/devlink.c devlink_param_notify(devlink, 0, param_item, param_item 7183 net/core/devlink.c struct devlink_param_item *param_item; param_item 7185 net/core/devlink.c param_item = devlink_param_find_by_id(param_list, param_id); param_item 7186 net/core/devlink.c if (!param_item) param_item 7189 net/core/devlink.c if (!param_item->driverinit_value_valid || param_item 7190 net/core/devlink.c !devlink_param_cmode_is_supported(param_item->param, param_item 7194 net/core/devlink.c if (param_item->param->type == DEVLINK_PARAM_TYPE_STRING) param_item 7195 net/core/devlink.c strcpy(init_val->vstr, param_item->driverinit_value.vstr); param_item 7197 net/core/devlink.c *init_val = param_item->driverinit_value; param_item 7209 net/core/devlink.c struct devlink_param_item *param_item; param_item 7211 net/core/devlink.c param_item = devlink_param_find_by_id(param_list, param_id); param_item 7212 net/core/devlink.c if (!param_item) param_item 7215 net/core/devlink.c if (!devlink_param_cmode_is_supported(param_item->param, param_item 7219 net/core/devlink.c if (param_item->param->type == DEVLINK_PARAM_TYPE_STRING) param_item 7220 net/core/devlink.c strcpy(param_item->driverinit_value.vstr, init_val.vstr); param_item 7222 net/core/devlink.c param_item->driverinit_value = init_val; param_item 7223 net/core/devlink.c param_item->driverinit_value_valid = true; param_item 7225 net/core/devlink.c devlink_param_notify(devlink, port_index, param_item, cmd); param_item 7336 net/core/devlink.c struct devlink_param_item *param_item; param_item 7338 net/core/devlink.c param_item = devlink_param_find_by_id(&devlink->param_list, param_id); param_item 7339 net/core/devlink.c WARN_ON(!param_item); param_item 7341 net/core/devlink.c devlink_param_notify(devlink, 0, param_item, DEVLINK_CMD_PARAM_NEW); param_item 7361 net/core/devlink.c struct devlink_param_item *param_item; param_item 7363 net/core/devlink.c param_item = devlink_param_find_by_id(&devlink_port->param_list, param_item 7365 net/core/devlink.c WARN_ON(!param_item); param_item 7368 net/core/devlink.c param_item, DEVLINK_CMD_PORT_PARAM_NEW);