/linux-6.12.1/drivers/input/keyboard/ |
D | atkbd.c | 1481 struct input_dev *old_dev, *new_dev; in atkbd_set_extra() local 1507 new_dev = input_allocate_device(); in atkbd_set_extra() 1508 if (!new_dev) in atkbd_set_extra() 1511 atkbd->dev = new_dev; in atkbd_set_extra() 1520 input_free_device(new_dev); in atkbd_set_extra() 1569 struct input_dev *old_dev, *new_dev; in atkbd_set_scroll() local 1585 new_dev = input_allocate_device(); in atkbd_set_scroll() 1586 if (!new_dev) in atkbd_set_scroll() 1589 atkbd->dev = new_dev; in atkbd_set_scroll() 1596 input_free_device(new_dev); in atkbd_set_scroll() [all …]
|
/linux-6.12.1/drivers/opp/ |
D | debugfs.c | 218 struct opp_device *new_dev = NULL, *iter; in opp_migrate_dentry() local 225 new_dev = iter; in opp_migrate_dentry() 229 BUG_ON(!new_dev); in opp_migrate_dentry() 232 dev = new_dev->dev; in opp_migrate_dentry() 233 debugfs_remove_recursive(new_dev->dentry); in opp_migrate_dentry() 245 new_dev->dentry = dentry; in opp_migrate_dentry()
|
/linux-6.12.1/net/8021q/ |
D | vlan.c | 216 struct net_device *new_dev; in register_vlan_device() local 257 new_dev = alloc_netdev(sizeof(struct vlan_dev_priv), name, in register_vlan_device() 260 if (new_dev == NULL) in register_vlan_device() 263 dev_net_set(new_dev, net); in register_vlan_device() 267 new_dev->mtu = real_dev->mtu; in register_vlan_device() 269 vlan = vlan_dev_priv(new_dev); in register_vlan_device() 276 new_dev->rtnl_link_ops = &vlan_link_ops; in register_vlan_device() 277 err = register_vlan_dev(new_dev, NULL); in register_vlan_device() 284 free_netdev(new_dev); in register_vlan_device()
|
/linux-6.12.1/drivers/block/rnbd/ |
D | rnbd-srv.c | 449 rnbd_srv_find_or_add_srv_dev(struct rnbd_srv_dev *new_dev) in rnbd_srv_find_or_add_srv_dev() argument 455 if (!strncmp(dev->name, new_dev->name, sizeof(dev->name))) { in rnbd_srv_find_or_add_srv_dev() 466 list_add(&new_dev->list, &dev_list); in rnbd_srv_find_or_add_srv_dev() 469 return new_dev; in rnbd_srv_find_or_add_srv_dev() 522 struct rnbd_srv_dev *new_dev, *dev; in rnbd_srv_get_or_create_srv_dev() local 524 new_dev = rnbd_srv_init_srv_dev(bdev); in rnbd_srv_get_or_create_srv_dev() 525 if (IS_ERR(new_dev)) in rnbd_srv_get_or_create_srv_dev() 526 return new_dev; in rnbd_srv_get_or_create_srv_dev() 528 dev = rnbd_srv_find_or_add_srv_dev(new_dev); in rnbd_srv_get_or_create_srv_dev() 529 if (dev != new_dev) in rnbd_srv_get_or_create_srv_dev() [all …]
|
/linux-6.12.1/drivers/net/usb/ |
D | qmi_wwan.c | 247 struct net_device *new_dev; in qmimux_register_device() local 251 new_dev = alloc_netdev(sizeof(struct qmimux_priv), in qmimux_register_device() 253 if (!new_dev) in qmimux_register_device() 256 dev_net_set(new_dev, dev_net(real_dev)); in qmimux_register_device() 257 priv = netdev_priv(new_dev); in qmimux_register_device() 261 new_dev->sysfs_groups[0] = &qmi_wwan_sysfs_qmimux_attr_group; in qmimux_register_device() 263 err = register_netdevice(new_dev); in qmimux_register_device() 270 err = netdev_upper_dev_link(real_dev, new_dev, NULL); in qmimux_register_device() 274 netif_stacked_transfer_operstate(real_dev, new_dev); in qmimux_register_device() 279 unregister_netdevice(new_dev); in qmimux_register_device() [all …]
|
/linux-6.12.1/drivers/input/mouse/ |
D | hgpk.c | 820 struct input_dev *new_dev; in attr_set_mode() local 829 new_dev = input_allocate_device(); in attr_set_mode() 830 if (!new_dev) in attr_set_mode() 841 hgpk_setup_input_device(new_dev, old_dev, new_mode); in attr_set_mode() 845 err = input_register_device(new_dev); in attr_set_mode() 849 psmouse->dev = new_dev; in attr_set_mode() 855 input_free_device(new_dev); in attr_set_mode()
|
D | psmouse-base.c | 1886 struct input_dev *old_dev, *new_dev; in psmouse_attr_set_protocol() local 1898 new_dev = input_allocate_device(); in psmouse_attr_set_protocol() 1899 if (!new_dev) in psmouse_attr_set_protocol() 1906 input_free_device(new_dev); in psmouse_attr_set_protocol() 1915 input_free_device(new_dev); in psmouse_attr_set_protocol() 1920 input_free_device(new_dev); in psmouse_attr_set_protocol() 1939 psmouse->dev = new_dev; in psmouse_attr_set_protocol() 1961 input_free_device(new_dev); in psmouse_attr_set_protocol()
|
/linux-6.12.1/net/bluetooth/ |
D | 6lowpan.c | 1184 struct lowpan_btle_dev *entry, *tmp, *new_dev; in disconnect_devices() local 1197 new_dev = kmalloc(sizeof(*new_dev), GFP_ATOMIC); in disconnect_devices() 1198 if (!new_dev) in disconnect_devices() 1201 new_dev->netdev = entry->netdev; in disconnect_devices() 1202 INIT_LIST_HEAD(&new_dev->list); in disconnect_devices() 1204 list_add_rcu(&new_dev->list, &devices); in disconnect_devices()
|
/linux-6.12.1/include/linux/mfd/ |
D | max14577.h | 70 int (*set_gpio_pogo_cb) (int new_dev);
|
/linux-6.12.1/drivers/bus/ |
D | moxtet.c | 123 struct moxtet_device *new_dev = data; in moxtet_dev_check() local 125 if (mdev->moxtet == new_dev->moxtet && mdev->id == new_dev->id && in moxtet_dev_check() 126 mdev->idx == new_dev->idx) in moxtet_dev_check()
|
/linux-6.12.1/net/ipv4/ |
D | ipmr.c | 444 struct net_device *tunnel_dev, *new_dev; in ipmr_new_tunnel() local 466 new_dev = __dev_get_by_name(net, p.name); in ipmr_new_tunnel() 467 if (!new_dev) in ipmr_new_tunnel() 470 new_dev->flags |= IFF_MULTICAST; in ipmr_new_tunnel() 471 if (!ipmr_init_vif_indev(new_dev)) in ipmr_new_tunnel() 473 if (dev_open(new_dev, NULL)) in ipmr_new_tunnel() 475 dev_hold(new_dev); in ipmr_new_tunnel() 476 err = dev_set_allmulti(new_dev, 1); in ipmr_new_tunnel() 478 dev_close(new_dev); in ipmr_new_tunnel() 481 dev_put(new_dev); in ipmr_new_tunnel() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 1564 struct kfd_topology_device *new_dev; in kfd_dev_create_p2p_links() local 1577 new_dev = list_last_entry(&topology_device_list, struct kfd_topology_device, list); in kfd_dev_create_p2p_links() 1578 if (WARN_ON(!new_dev->gpu)) in kfd_dev_create_p2p_links() 1584 ret = kfd_create_indirect_link_prop(new_dev, k); in kfd_dev_create_p2p_links() 1592 if (dev == new_dev) in kfd_dev_create_p2p_links() 1596 dev->gpu->kfd->hive_id == new_dev->gpu->kfd->hive_id)) in kfd_dev_create_p2p_links() 1600 ret = kfd_add_peer_prop(new_dev, dev, i, k); in kfd_dev_create_p2p_links() 1604 ret = kfd_add_peer_prop(dev, new_dev, k, i); in kfd_dev_create_p2p_links()
|
/linux-6.12.1/drivers/md/ |
D | dm-table.c | 318 struct dm_dev *old_dev, *new_dev; in upgrade_mode() local 323 dd->dm_dev->mode | new_mode, &new_dev); in upgrade_mode() 327 dd->dm_dev = new_dev; in upgrade_mode()
|
D | md.c | 4627 __ATTR(new_dev, S_IWUSR, null_show, new_dev_store);
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | stv090x.c | 85 struct stv090x_dev *new_dev; in append_internal() local 88 new_dev = kmalloc(sizeof(struct stv090x_dev), GFP_KERNEL); in append_internal() 89 if (new_dev != NULL) { in append_internal() 90 new_dev->internal = internal; in append_internal() 91 new_dev->next_dev = NULL; in append_internal() 95 stv090x_first_dev = new_dev; in append_internal() 101 temp_dev->next_dev = new_dev; in append_internal() 105 return new_dev; in append_internal()
|
/linux-6.12.1/drivers/block/ |
D | floppy.c | 3995 int old_dev, new_dev; in floppy_open() local 4047 new_dev = disk->first_minor; in floppy_open() 4048 drive_state[drive].fd_device = new_dev; in floppy_open() 4049 set_capacity(disks[drive][ITYPE(new_dev)], floppy_sizes[new_dev]); in floppy_open() 4050 if (old_dev != -1 && old_dev != new_dev) { in floppy_open()
|
/linux-6.12.1/net/core/ |
D | dev.c | 8107 struct net_device *new_dev, in netdev_adjacent_change_prepare() argument 8117 if (!new_dev) in netdev_adjacent_change_prepare() 8120 if (old_dev && new_dev != old_dev) in netdev_adjacent_change_prepare() 8122 err = __netdev_upper_dev_link(new_dev, dev, false, NULL, NULL, &priv, in netdev_adjacent_change_prepare() 8125 if (old_dev && new_dev != old_dev) in netdev_adjacent_change_prepare() 8135 struct net_device *new_dev, in netdev_adjacent_change_commit() argument 8143 if (!new_dev || !old_dev) in netdev_adjacent_change_commit() 8146 if (new_dev == old_dev) in netdev_adjacent_change_commit() 8155 struct net_device *new_dev, in netdev_adjacent_change_abort() argument 8163 if (!new_dev) in netdev_adjacent_change_abort() [all …]
|
/linux-6.12.1/include/linux/ |
D | netdevice.h | 4805 struct net_device *new_dev, 4809 struct net_device *new_dev, 4812 struct net_device *new_dev,
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | cnic.c | 5692 int new_dev = 0; in cnic_netdev_event() local 5700 new_dev = 1; in cnic_netdev_event() 5707 if (new_dev) in cnic_netdev_event()
|
/linux-6.12.1/Documentation/admin-guide/ |
D | md.rst | 279 new_dev
|