Home
last modified time | relevance | path

Searched refs:dev_set_name (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/drivers/pnp/
Dcore.c80 dev_set_name(&protocol->dev, "pnp%d", nodenum); in pnp_register_protocol()
169 dev_set_name(&dev->dev, "%02x:%02x", dev->protocol->number, dev->number); in pnp_alloc_dev()
/kernel/linux/linux-5.10/drivers/of/
Dplatform.c89 dev_set_name(dev, dev_name(dev) ? "%llx.%pOFn:%s" : "%llx.%pOFn", in of_device_make_bus_id()
95 dev_set_name(dev, dev_name(dev) ? "%s:%s" : "%s", in of_device_make_bus_id()
148 dev_set_name(&dev->dev, "%s", bus_id); in of_device_alloc()
248 dev_set_name(&dev->dev, "%s", bus_id); in of_amba_device_create()
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-transport.c291 dev_set_name(dev, "ata%d", ap->print_id); in ata_tport_add()
420 dev_set_name(dev, "link%d", ap->print_id); in ata_tlink_add()
422 dev_set_name(dev, "link%d.%d", ap->print_id, link->pmp); in ata_tlink_add()
674 dev_set_name(dev, "dev%d.%d", ap->print_id,ata_dev->devno); in ata_tdev_add()
676 dev_set_name(dev, "dev%d.%d.0", ap->print_id, link->pmp); in ata_tdev_add()
/kernel/linux/linux-5.10/drivers/tc/
Dtc.c90 dev_set_name(&tdev->dev, "tc%x", slot); in tc_bus_add_devices()
158 dev_set_name(&tc_bus.dev, "tc"); in tc_init()
/kernel/linux/linux-5.10/drivers/soundwire/
Dslave.c42 dev_set_name(&slave->dev, "sdw:%x:%x:%x:%x", in sdw_slave_add()
47 dev_set_name(&slave->dev, "sdw:%x:%x:%x:%x:%x", in sdw_slave_add()
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_module.c70 ret = dev_set_name(&ttm_drm_class_device, "ttm"); in ttm_init()
/kernel/linux/linux-5.10/drivers/dio/
Ddio.c186 dev_set_name(&dio_bus.dev, "dio"); in dio_init()
237 dev_set_name(&dev->dev, "%02x", scode); in dio_init()
/kernel/linux/linux-5.10/drivers/acpi/
Dcontainer.c61 dev_set_name(dev, "%s", dev_name(&adev->dev)); in container_device_attach()
/kernel/linux/linux-5.10/drivers/usb/typec/
Dmux.c130 ret = dev_set_name(&sw->dev, "%s-switch", desc->name ? desc->name : dev_name(parent)); in typec_switch_register()
337 ret = dev_set_name(&mux->dev, "%s-mux", desc->name ? desc->name : dev_name(parent)); in typec_mux_register()
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
Dsystem-bus.c751 dev_set_name(&dev->core, "ioc0_%02x", ++dev_ioc0_count); in ps3_system_bus_device_register()
755 dev_set_name(&dev->core, "sb_%02x", ++dev_sb_count); in ps3_system_bus_device_register()
759 dev_set_name(&dev->core, "vuart_%02x", ++dev_vuart_count); in ps3_system_bus_device_register()
762 dev_set_name(&dev->core, "lpm_%02x", ++dev_lpm_count); in ps3_system_bus_device_register()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dvio.c350 dev_set_name(&vdev->dev, "%s", type); in vio_create_one()
353 dev_set_name(&vdev->dev, "%s-%llu", type, *id); in vio_create_one()
356 dev_set_name(&vdev->dev, "%s-%llu-%llu", type, in vio_create_one()
Dof_device_32.c381 dev_set_name(&op->dev, "root"); in scan_one_device()
383 dev_set_name(&op->dev, "%08x", dp->phandle); in scan_one_device()
/kernel/linux/linux-5.10/net/bluetooth/
Dhci_sysfs.c54 dev_set_name(&conn->dev, "%s:%d", hdev->name, conn->handle); in hci_conn_add_sysfs()
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_bus.c89 dev_set_name(&rmi_dev->dev, "rmi4-%02d", rmi_dev->number); in rmi_register_transport_device()
245 dev_set_name(&fn->dev, "%s.fn%02x", in rmi_register_function()
/kernel/linux/linux-5.10/drivers/misc/
Dtifm_core.c207 dev_set_name(&fm->dev, "tifm%u", fm->id); in tifm_add_adapter()
270 dev_set_name(&sock->dev, "tifm_%s%u:%u", in tifm_alloc_device()
Denclosure.c132 dev_set_name(&edev->edev, "%s", name); in enclosure_register()
315 dev_set_name(cdev, "%s", newname); in enclosure_component_alloc()
317 dev_set_name(cdev, "%u", number); in enclosure_component_alloc()
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dsnic_disc.c288 dev_set_name(&tgt->dev, "snic_das_tgt:%d:%d-%d", in snic_tgt_create()
293 dev_set_name(&tgt->dev, "snic_san_tgt:%d:%d-%d", in snic_tgt_create()
299 dev_set_name(&tgt->dev, "snic_das_tgt:%d:%d-%d", in snic_tgt_create()
/kernel/linux/linux-5.10/drivers/nubus/
Dbus.c96 dev_set_name(&board->dev, "slot.%X", board->slot); in nubus_device_register()
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dcore.c230 dev_set_name(&dev->dev, "%s", name); in mISDN_register_device()
232 dev_set_name(&dev->dev, "mISDN%d", dev->id); in mISDN_register_device()
/kernel/linux/linux-5.10/sound/ac97/
Dsnd_ac97_compat.c81 dev_set_name(&ac97->dev, "%s-compat", dev_name(&adev->dev)); in snd_ac97_compat_alloc()
/kernel/linux/linux-5.10/drivers/vdpa/
Dvdpa.c104 err = dev_set_name(&vdev->dev, "vdpa%u", vdev->index); in __vdpa_alloc_device()
/kernel/linux/linux-5.10/drivers/nvdimm/
Ddax_devs.c65 dev_set_name(dev, "dax%d.%d", nd_region->id, nd_pfn->id); in nd_dax_alloc()
/kernel/linux/linux-5.10/drivers/hsi/
Dhsi_core.c98 dev_set_name(&cl->device, "%s", info->name); in hsi_new_client()
295 dev_set_name(&cl->device, "%s", name); in hsi_add_client_from_dt()
497 dev_set_name(&port[i]->device, "port%d", i); in hsi_alloc_controller()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dvpe-cmp.c121 dev_set_name(&vpe_device, "vpe_sp"); in vpe_module_init()
/kernel/linux/linux-5.10/drivers/mcb/
Dmcb-core.c238 dev_set_name(&dev->dev, "mcb%d-16z%03d-%d:%d:%d", in mcb_device_register()
295 dev_set_name(&bus->dev, "mcb:%d", bus_nr); in mcb_alloc_bus()

12345678910>>...13