Home
last modified time | relevance | path

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

12345678910>>...14

/linux-6.1.9/drivers/of/
Dplatform.c90 dev_set_name(dev, dev_name(dev) ? "%llx.%x.%pOFn:%s" : "%llx.%x.%pOFn", in of_device_make_bus_id()
94 dev_set_name(dev, dev_name(dev) ? "%llx.%pOFn:%s" : "%llx.%pOFn", in of_device_make_bus_id()
100 dev_set_name(dev, dev_name(dev) ? "%s:%s" : "%s", in of_device_make_bus_id()
149 dev_set_name(&dev->dev, "%s", bus_id); in of_device_alloc()
249 dev_set_name(&dev->dev, "%s", bus_id); in of_amba_device_create()
/linux-6.1.9/drivers/pnp/
Dcore.c68 dev_set_name(&protocol->dev, "pnp%d", nodenum); in pnp_register_protocol()
157 dev_set_name(&dev->dev, "%02x:%02x", dev->protocol->number, dev->number); in pnp_alloc_dev()
/linux-6.1.9/drivers/ata/
Dlibata-transport.c291 dev_set_name(dev, "ata%d", ap->print_id); in ata_tport_add()
450 dev_set_name(dev, "link%d", ap->print_id); in ata_tlink_add()
452 dev_set_name(dev, "link%d.%d", ap->print_id, link->pmp); in ata_tlink_add()
704 dev_set_name(dev, "dev%d.%d", ap->print_id,ata_dev->devno); in ata_tdev_add()
706 dev_set_name(dev, "dev%d.%d.0", ap->print_id, link->pmp); in ata_tdev_add()
/linux-6.1.9/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()
/linux-6.1.9/drivers/cxl/core/
Dpmem.c167 rc = dev_set_name(dev, "nvdimm-bridge%d", cxl_nvb->id); in devm_cxl_add_nvdimm_bridge()
268 rc = dev_set_name(dev, "pmem%d", cxlmd->id); in devm_cxl_add_nvdimm()
/linux-6.1.9/drivers/soundwire/
Dslave.c43 dev_set_name(&slave->dev, "sdw:%01x:%04x:%04x:%02x", in sdw_slave_add()
48 dev_set_name(&slave->dev, "sdw:%01x:%04x:%04x:%02x:%01x", in sdw_slave_add()
/linux-6.1.9/drivers/dio/
Ddio.c185 dev_set_name(&dio_bus.dev, "dio"); in dio_init()
238 dev_set_name(&dev->dev, "%02x", scode); in dio_init()
/linux-6.1.9/drivers/acpi/
Dcontainer.c62 dev_set_name(dev, "%s", dev_name(&adev->dev)); in container_device_attach()
/linux-6.1.9/arch/powerpc/platforms/ps3/
Dsystem-bus.c750 dev_set_name(&dev->core, "ioc0_%02x", ++dev_ioc0_count); in ps3_system_bus_device_register()
754 dev_set_name(&dev->core, "sb_%02x", ++dev_sb_count); in ps3_system_bus_device_register()
758 dev_set_name(&dev->core, "vuart_%02x", ++dev_vuart_count); in ps3_system_bus_device_register()
761 dev_set_name(&dev->core, "lpm_%02x", ++dev_lpm_count); in ps3_system_bus_device_register()
/linux-6.1.9/arch/sparc/kernel/
Dvio.c348 dev_set_name(&vdev->dev, "%s", type); in vio_create_one()
351 dev_set_name(&vdev->dev, "%s-%llu", type, *id); in vio_create_one()
354 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()
/linux-6.1.9/net/bluetooth/
Dhci_sysfs.c54 dev_set_name(&conn->dev, "%s:%d", hdev->name, conn->handle); in hci_conn_add_sysfs()
/linux-6.1.9/drivers/misc/
Dtifm_core.c205 dev_set_name(&fm->dev, "tifm%u", fm->id); in tifm_add_adapter()
268 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()
/linux-6.1.9/drivers/scsi/snic/
Dsnic_disc.c274 dev_set_name(&tgt->dev, "snic_das_tgt:%d:%d-%d", in snic_tgt_create()
279 dev_set_name(&tgt->dev, "snic_san_tgt:%d:%d-%d", in snic_tgt_create()
285 dev_set_name(&tgt->dev, "snic_das_tgt:%d:%d-%d", in snic_tgt_create()
/linux-6.1.9/drivers/usb/typec/
Dpd.c430 dev_set_name(&p->dev, "%u:%s", position + 1, name); in add_pdo()
492 dev_set_name(&cap->dev, "%s", cap_name[cap->role]); in usb_power_delivery_register_capabilities()
628 dev_set_name(&pd->dev, "pd%d", pd->id); in usb_power_delivery_register()
Dretimer.c137 dev_set_name(&retimer->dev, "%s-retimer", in typec_retimer_register()
/linux-6.1.9/drivers/nubus/
Dbus.c94 dev_set_name(&board->dev, "slot.%X", board->slot); in nubus_device_register()
/linux-6.1.9/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()
/linux-6.1.9/drivers/input/rmi4/
Drmi_bus.c89 dev_set_name(&rmi_dev->dev, "rmi4-%02d", rmi_dev->number); in rmi_register_transport_device()
246 dev_set_name(&fn->dev, "%s.fn%02x", in rmi_register_function()
/linux-6.1.9/drivers/dma/idxd/
Dinit.c175 rc = dev_set_name(conf_dev, "wq%d.%d", idxd->id, wq->id); in idxd_setup_wqs()
245 rc = dev_set_name(conf_dev, "engine%d.%d", idxd->id, engine->id); in idxd_setup_engines()
292 rc = dev_set_name(conf_dev, "group%d.%d", idxd->id, group->id); in idxd_setup_groups()
491 rc = dev_set_name(conf_dev, "%s%d", idxd->data->name_prefix, idxd->id); in idxd_alloc()
/linux-6.1.9/drivers/nvdimm/
Ddax_devs.c65 dev_set_name(dev, "dax%d.%d", nd_region->id, nd_pfn->id); in nd_dax_alloc()
/linux-6.1.9/sound/ac97/
Dsnd_ac97_compat.c81 dev_set_name(&ac97->dev, "%s-compat", dev_name(&adev->dev)); in snd_ac97_compat_alloc()
/linux-6.1.9/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()
/linux-6.1.9/drivers/s390/crypto/
Dvfio_ap_drv.c108 dev_set_name(&matrix_dev->device, "%s", VFIO_AP_DEV_NAME); in vfio_ap_matrix_dev_create()

12345678910>>...14