/linux-6.1.9/drivers/md/ |
D | dm-uevent.c | 75 if (add_uevent_var(&event->ku_env, "DM_TARGET=%s", ti->type->name)) { in dm_build_path_uevent() 81 if (add_uevent_var(&event->ku_env, "DM_ACTION=%s", dm_action)) { in dm_build_path_uevent() 87 if (add_uevent_var(&event->ku_env, "DM_SEQNUM=%u", in dm_build_path_uevent() 94 if (add_uevent_var(&event->ku_env, "DM_PATH=%s", path)) { in dm_build_path_uevent() 99 if (add_uevent_var(&event->ku_env, "DM_NR_VALID_PATHS=%d", in dm_build_path_uevent() 140 if (add_uevent_var(&event->ku_env, "DM_NAME=%s", event->name)) { in dm_send_uevents() 146 if (add_uevent_var(&event->ku_env, "DM_UUID=%s", event->uuid)) { in dm_send_uevents()
|
/linux-6.1.9/drivers/staging/greybus/ |
D | gbphy.c | 83 if (add_uevent_var(env, "BUS=%u", hd->bus_id)) in gbphy_dev_uevent() 85 if (add_uevent_var(env, "MODULE=%u", module->module_id)) in gbphy_dev_uevent() 87 if (add_uevent_var(env, "INTERFACE=%u", intf->interface_id)) in gbphy_dev_uevent() 89 if (add_uevent_var(env, "GREYBUS_ID=%08x/%08x", in gbphy_dev_uevent() 92 if (add_uevent_var(env, "BUNDLE=%u", gbphy_dev->bundle->id)) in gbphy_dev_uevent() 94 if (add_uevent_var(env, "BUNDLE_CLASS=%02x", bundle->class)) in gbphy_dev_uevent() 96 if (add_uevent_var(env, "GBPHY=%u", gbphy_dev->id)) in gbphy_dev_uevent() 98 if (add_uevent_var(env, "PROTOCOL_ID=%02x", cport_desc->protocol_id)) in gbphy_dev_uevent()
|
/linux-6.1.9/drivers/zorro/ |
D | zorro-driver.c | 144 if (add_uevent_var(env, "ZORRO_ID=%08X", z->id) || in zorro_uevent() 145 add_uevent_var(env, "ZORRO_SLOT_NAME=%s", dev_name(dev)) || in zorro_uevent() 146 add_uevent_var(env, "ZORRO_SLOT_ADDR=%04X", z->slotaddr) || in zorro_uevent() 147 add_uevent_var(env, "MODALIAS=" ZORRO_DEVICE_MODALIAS_FMT, z->id)) in zorro_uevent()
|
/linux-6.1.9/sound/aoa/soundbus/ |
D | core.c | 76 retval = add_uevent_var(env, "OF_NAME=%pOFn", of->dev.of_node); in soundbus_uevent() 80 retval = add_uevent_var(env, "OF_TYPE=%s", of_node_get_device_type(of->dev.of_node)); in soundbus_uevent() 91 retval = add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in soundbus_uevent() 99 retval = add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in soundbus_uevent() 102 retval = add_uevent_var(env, "MODALIAS=%s", soundbus_dev->modalias); in soundbus_uevent()
|
/linux-6.1.9/drivers/of/ |
D | device.c | 348 add_uevent_var(env, "OF_NAME=%pOFn", dev->of_node); in of_device_uevent() 349 add_uevent_var(env, "OF_FULLNAME=%pOF", dev->of_node); in of_device_uevent() 352 add_uevent_var(env, "OF_TYPE=%s", type); in of_device_uevent() 358 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent() 361 add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in of_device_uevent() 367 add_uevent_var(env, "OF_ALIAS_%d=%s", seen, in of_device_uevent() 383 if (add_uevent_var(env, "MODALIAS=")) in of_device_uevent_modalias()
|
/linux-6.1.9/lib/ |
D | kobject_uevent.c | 134 add_uevent_var(env, "SYNTH_UUID=%.*s", UUID_STRING_LEN, buf)) in kobject_action_args() 168 if (add_uevent_var(env, "SYNTH_ARG_%.*s=%.*s", in kobject_action_args() 536 retval = add_uevent_var(env, "ACTION=%s", action_string); in kobject_uevent_env() 539 retval = add_uevent_var(env, "DEVPATH=%s", devpath); in kobject_uevent_env() 542 retval = add_uevent_var(env, "SUBSYSTEM=%s", subsystem); in kobject_uevent_env() 549 retval = add_uevent_var(env, "%s", envp_ext[i]); in kobject_uevent_env() 588 retval = add_uevent_var(env, "SEQNUM=%llu", ++uevent_seqnum); in kobject_uevent_env() 602 retval = add_uevent_var(env, "HOME=/"); in kobject_uevent_env() 605 retval = add_uevent_var(env, in kobject_uevent_env() 654 int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...) in add_uevent_var() function [all …]
|
/linux-6.1.9/drivers/greybus/ |
D | core.c | 117 if (add_uevent_var(env, "BUS=%u", hd->bus_id)) in greybus_uevent() 121 if (add_uevent_var(env, "MODULE=%u", module->module_id)) in greybus_uevent() 126 if (add_uevent_var(env, "INTERFACE=%u", intf->interface_id)) in greybus_uevent() 128 if (add_uevent_var(env, "GREYBUS_ID=%08x/%08x", in greybus_uevent() 139 if (add_uevent_var(env, "BUNDLE=%u", bundle->id)) in greybus_uevent() 141 if (add_uevent_var(env, "BUNDLE_CLASS=%02x", bundle->class)) in greybus_uevent()
|
/linux-6.1.9/drivers/mmc/core/ |
D | bus.c | 83 retval = add_uevent_var(env, "MMC_TYPE=%s", type); in mmc_bus_uevent() 89 retval = add_uevent_var(env, "SDIO_ID=%04X:%04X", in mmc_bus_uevent() 94 retval = add_uevent_var(env, "SDIO_REVISION=%u.%u", in mmc_bus_uevent() 100 retval = add_uevent_var(env, "SDIO_INFO%u=%s", i+1, card->info[i]); in mmc_bus_uevent() 113 retval = add_uevent_var(env, "MMC_NAME=%s", mmc_card_name(card)); in mmc_bus_uevent() 121 retval = add_uevent_var(env, "MODALIAS=mmc:block"); in mmc_bus_uevent()
|
D | sdio_bus.c | 128 if (add_uevent_var(env, in sdio_bus_uevent() 132 if (add_uevent_var(env, in sdio_bus_uevent() 136 if (add_uevent_var(env, in sdio_bus_uevent() 141 if (add_uevent_var(env, "SDIO_INFO%u=%s", i+1, func->info[i])) in sdio_bus_uevent() 145 if (add_uevent_var(env, in sdio_bus_uevent()
|
/linux-6.1.9/drivers/xen/xenbus/ |
D | xenbus_probe_backend.c | 110 if (add_uevent_var(env, "MODALIAS=xen-backend:%s", xdev->devicetype)) in xenbus_uevent_backend() 114 if (add_uevent_var(env, "XENBUS_TYPE=%s", xdev->devicetype)) in xenbus_uevent_backend() 117 if (add_uevent_var(env, "XENBUS_PATH=%s", xdev->nodename)) in xenbus_uevent_backend() 120 if (add_uevent_var(env, "XENBUS_BASE_PATH=%s", bus->root)) in xenbus_uevent_backend()
|
/linux-6.1.9/drivers/bus/ |
D | mips_cdmm.c | 75 retval = add_uevent_var(env, "CDMM_CPU=%u", cdev->cpu); in mips_cdmm_uevent() 79 retval = add_uevent_var(env, "CDMM_TYPE=0x%02x", cdev->type); in mips_cdmm_uevent() 83 retval = add_uevent_var(env, "CDMM_REV=%u", cdev->rev); in mips_cdmm_uevent() 87 retval = add_uevent_var(env, "MODALIAS=mipscdmm:t%02X", cdev->type); in mips_cdmm_uevent()
|
/linux-6.1.9/drivers/base/firmware_loader/ |
D | sysfs.c | 69 if (add_uevent_var(env, "FIRMWARE=%s", fw_sysfs->fw_priv->fw_name)) in do_firmware_uevent() 71 if (add_uevent_var(env, "TIMEOUT=%i", __firmware_loading_timeout())) in do_firmware_uevent() 73 if (add_uevent_var(env, "ASYNC=%d", fw_sysfs->nowait)) in do_firmware_uevent()
|
/linux-6.1.9/drivers/usb/typec/ |
D | bus.c | 328 if (add_uevent_var(env, "SVID=%04X", altmode->svid)) in typec_uevent() 331 if (add_uevent_var(env, "MODE=%u", altmode->mode)) in typec_uevent() 334 return add_uevent_var(env, "MODALIAS=typec:id%04Xm%02X", in typec_uevent()
|
/linux-6.1.9/sound/hda/ |
D | hda_bus_type.c | 74 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in hda_uevent()
|
/linux-6.1.9/drivers/s390/crypto/ |
D | ap_bus.c | 629 rc = add_uevent_var(env, "DEV_TYPE=%04X", ap_dev->device_type); in ap_uevent() 633 rc = add_uevent_var(env, "MODALIAS=ap:t%02X", ap_dev->device_type); in ap_uevent() 639 rc = add_uevent_var(env, "MODE=accel"); in ap_uevent() 641 rc = add_uevent_var(env, "MODE=cca"); in ap_uevent() 643 rc = add_uevent_var(env, "MODE=ep11"); in ap_uevent() 651 rc = add_uevent_var(env, "MODE=accel"); in ap_uevent() 653 rc = add_uevent_var(env, "MODE=cca"); in ap_uevent() 655 rc = add_uevent_var(env, "MODE=ep11"); in ap_uevent()
|
/linux-6.1.9/fs/gfs2/ |
D | sys.c | 775 add_uevent_var(env, "LOCKTABLE=%s", sdp->sd_table_name); in gfs2_uevent() 776 add_uevent_var(env, "LOCKPROTO=%s", sdp->sd_proto_name); in gfs2_uevent() 778 add_uevent_var(env, "JOURNALID=%d", sdp->sd_lockstruct.ls_jid); in gfs2_uevent() 780 add_uevent_var(env, "UUID=%pUB", &s->s_uuid); in gfs2_uevent()
|
/linux-6.1.9/drivers/gpu/host1x/ |
D | bus.c | 358 add_uevent_var(env, "OF_NAME=%pOFn", np); in host1x_device_uevent() 359 add_uevent_var(env, "OF_FULLNAME=%pOF", np); in host1x_device_uevent() 362 add_uevent_var(env, "OF_COMPATIBLE_%u=%s", count, compat); in host1x_device_uevent() 366 add_uevent_var(env, "OF_COMPATIBLE_N=%u", count); in host1x_device_uevent()
|
/linux-6.1.9/drivers/memstick/core/ |
D | memstick.c | 65 if (add_uevent_var(env, "MEMSTICK_TYPE=%02X", card->id.type)) in memstick_uevent() 68 if (add_uevent_var(env, "MEMSTICK_CATEGORY=%02X", card->id.category)) in memstick_uevent() 71 if (add_uevent_var(env, "MEMSTICK_CLASS=%02X", card->id.class)) in memstick_uevent()
|
/linux-6.1.9/drivers/misc/mei/ |
D | bus.c | 1074 if (add_uevent_var(env, "MEI_CL_VERSION=%d", version)) in mei_cl_device_uevent() 1077 if (add_uevent_var(env, "MEI_CL_UUID=%pUl", uuid)) in mei_cl_device_uevent() 1080 if (add_uevent_var(env, "MEI_CL_NAME=%s", cldev->name)) in mei_cl_device_uevent() 1083 if (add_uevent_var(env, "MODALIAS=mei:%s:%pUl:%02X:", in mei_cl_device_uevent()
|
/linux-6.1.9/drivers/pci/ |
D | pci-driver.c | 1557 if (add_uevent_var(env, "PCI_CLASS=%04X", pdev->class)) in pci_uevent() 1560 if (add_uevent_var(env, "PCI_ID=%04X:%04X", pdev->vendor, pdev->device)) in pci_uevent() 1563 if (add_uevent_var(env, "PCI_SUBSYS_ID=%04X:%04X", pdev->subsystem_vendor, in pci_uevent() 1567 if (add_uevent_var(env, "PCI_SLOT_NAME=%s", pci_name(pdev))) in pci_uevent() 1570 if (add_uevent_var(env, "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02X", in pci_uevent()
|
/linux-6.1.9/drivers/power/supply/ |
D | power_supply_sysfs.c | 457 return add_uevent_var(env, "POWER_SUPPLY_%s=%s", in add_prop_uevent() 472 ret = add_uevent_var(env, "POWER_SUPPLY_NAME=%s", psy->desc->name); in power_supply_uevent()
|
/linux-6.1.9/drivers/rapidio/ |
D | rio-driver.c | 218 if (add_uevent_var(env, "MODALIAS=rapidio:v%04Xd%04Xav%04Xad%04X", in rio_uevent()
|
/linux-6.1.9/include/linux/ |
D | kobject.h | 225 int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...);
|
/linux-6.1.9/drivers/firmware/arm_ffa/ |
D | bus.c | 63 return add_uevent_var(env, "MODALIAS=arm_ffa:%04x:%pUb", in ffa_device_uevent()
|
/linux-6.1.9/net/atm/ |
D | atm_sysfs.c | 122 if (add_uevent_var(env, "NAME=%s%d", adev->type, adev->number)) in atm_uevent()
|