Home
last modified time | relevance | path

Searched refs:add_config (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c2945 const struct vdpa_dev_set_config *add_config) in mlx5_vdpa_dev_add() argument
2976 if (add_config->mask & BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MAX_VQP)) { in mlx5_vdpa_dev_add()
2977 if (add_config->net.max_vq_pairs > max_vqs / 2) in mlx5_vdpa_dev_add()
2979 max_vqs = min_t(u32, max_vqs, 2 * add_config->net.max_vq_pairs); in mlx5_vdpa_dev_add()
3005 if (add_config->mask & BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MTU)) { in mlx5_vdpa_dev_add()
3006 err = config_func_mtu(mdev, add_config->net.mtu); in mlx5_vdpa_dev_add()
3022 if (add_config->mask & (1 << VDPA_ATTR_DEV_NET_CFG_MACADDR)) { in mlx5_vdpa_dev_add()
3023 memcpy(ndev->config.mac, add_config->net.mac, ETH_ALEN); in mlx5_vdpa_dev_add()
/linux-5.19.10/drivers/pinctrl/
Dpinctrl-single.c847 static void add_config(struct pcs_conf_vals **conf, enum pin_config_param param, in add_config() function
881 add_config(conf, param, value[0], 0, 0, value[1]); in pcs_add_conf2()
907 add_config(conf, param, value[0], value[1], value[2], value[3]); in pcs_add_conf4()
/linux-5.19.10/drivers/pinctrl/samsung/
Dpinctrl-samsung.c141 static int add_config(struct device *dev, unsigned long **configs, in add_config() function
199 ret = add_config(dev, &configs, &num_configs, config); in samsung_dt_subnode_to_map()
/linux-5.19.10/drivers/vdpa/virtio_pci/
Dvp_vdpa.c469 const struct vdpa_dev_set_config *add_config) in vp_vdpa_dev_add() argument