Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/vdpa/pds/
Dvdpa_dev.c605 const struct vdpa_dev_set_config *add_config) in pds_vdpa_dev_add() argument
642 if (add_config->mask & BIT_ULL(VDPA_ATTR_DEV_FEATURES)) { in pds_vdpa_dev_add()
644 add_config->device_features & ~pdsv->supported_features; in pds_vdpa_dev_add()
652 pdsv->supported_features = add_config->device_features; in pds_vdpa_dev_add()
671 if (add_config->mask & (1 << VDPA_ATTR_DEV_NET_CFG_MAX_VQP)) in pds_vdpa_dev_add()
672 vq_pairs = add_config->net.max_vq_pairs; in pds_vdpa_dev_add()
698 if (add_config->mask & BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR)) { in pds_vdpa_dev_add()
699 ether_addr_copy(pdsv->mac, add_config->net.mac); in pds_vdpa_dev_add()
/Linux-v6.6/drivers/vdpa/virtio_pci/
Dvp_vdpa.c471 const struct vdpa_dev_set_config *add_config) in vp_vdpa_dev_add() argument
498 if (add_config->mask & BIT_ULL(VDPA_ATTR_DEV_FEATURES)) { in vp_vdpa_dev_add()
499 if (add_config->device_features & ~device_features) { in vp_vdpa_dev_add()
504 device_features, add_config->device_features); in vp_vdpa_dev_add()
507 device_features = add_config->device_features; in vp_vdpa_dev_add()
/Linux-v6.6/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c3345 const struct vdpa_dev_set_config *add_config) in mlx5_vdpa_dev_add() argument
3363 if (add_config->mask & BIT_ULL(VDPA_ATTR_DEV_FEATURES)) { in mlx5_vdpa_dev_add()
3364 if (add_config->device_features & ~device_features) { in mlx5_vdpa_dev_add()
3367 add_config->device_features, device_features); in mlx5_vdpa_dev_add()
3370 device_features &= add_config->device_features; in mlx5_vdpa_dev_add()
3397 if (add_config->mask & BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MAX_VQP)) { in mlx5_vdpa_dev_add()
3398 if (add_config->net.max_vq_pairs > max_vqs / 2) in mlx5_vdpa_dev_add()
3400 max_vqs = min_t(u32, max_vqs, 2 * add_config->net.max_vq_pairs); in mlx5_vdpa_dev_add()
3426 if (add_config->mask & BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MTU)) { in mlx5_vdpa_dev_add()
3427 err = config_func_mtu(mdev, add_config->net.mtu); in mlx5_vdpa_dev_add()
[all …]
/Linux-v6.6/drivers/pinctrl/
Dpinctrl-single.c848 static void add_config(struct pcs_conf_vals **conf, enum pin_config_param param, in add_config() function
882 add_config(conf, param, value[0], 0, 0, value[1]); in pcs_add_conf2()
908 add_config(conf, param, value[0], value[1], value[2], value[3]); in pcs_add_conf4()
/Linux-v6.6/drivers/pinctrl/samsung/
Dpinctrl-samsung.c140 static int add_config(struct device *dev, unsigned long **configs, in add_config() function
198 ret = add_config(dev, &configs, &num_configs, config); in samsung_dt_subnode_to_map()