/linux/drivers/md/ |
A 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/drivers/staging/greybus/ |
A 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/drivers/of/ |
A D | device.c | 338 add_uevent_var(env, "OF_NAME=%pOFn", dev->of_node); in of_device_uevent() 339 add_uevent_var(env, "OF_FULLNAME=%pOF", dev->of_node); in of_device_uevent() 342 add_uevent_var(env, "OF_TYPE=%s", type); in of_device_uevent() 348 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent() 351 add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in of_device_uevent() 357 add_uevent_var(env, "OF_ALIAS_%d=%s", seen, in of_device_uevent() 373 if (add_uevent_var(env, "MODALIAS=")) in of_device_uevent_modalias()
|
/linux/drivers/zorro/ |
A 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/sound/aoa/soundbus/ |
A 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/lib/ |
A 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/drivers/greybus/ |
A 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/drivers/mmc/core/ |
A D | bus.c | 92 retval = add_uevent_var(env, "MMC_TYPE=%s", type); in mmc_bus_uevent() 98 retval = add_uevent_var(env, "SDIO_ID=%04X:%04X", in mmc_bus_uevent() 103 retval = add_uevent_var(env, "SDIO_REVISION=%u.%u", in mmc_bus_uevent() 109 retval = add_uevent_var(env, "SDIO_INFO%u=%s", i+1, card->info[i]); in mmc_bus_uevent() 122 retval = add_uevent_var(env, "MMC_NAME=%s", mmc_card_name(card)); in mmc_bus_uevent() 130 retval = add_uevent_var(env, "MODALIAS=mmc:block"); in mmc_bus_uevent()
|
A D | sdio_bus.c | 127 if (add_uevent_var(env, in sdio_bus_uevent() 131 if (add_uevent_var(env, in sdio_bus_uevent() 135 if (add_uevent_var(env, in sdio_bus_uevent() 140 if (add_uevent_var(env, "SDIO_INFO%u=%s", i+1, func->info[i])) in sdio_bus_uevent() 144 if (add_uevent_var(env, in sdio_bus_uevent()
|
/linux/drivers/xen/xenbus/ |
A 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/drivers/bus/ |
A 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/drivers/usb/typec/ |
A 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/drivers/s390/crypto/ |
A D | ap_bus.c | 613 rc = add_uevent_var(env, "DEV_TYPE=%04X", ap_dev->device_type); in ap_uevent() 617 rc = add_uevent_var(env, "MODALIAS=ap:t%02X", ap_dev->device_type); in ap_uevent() 623 rc = add_uevent_var(env, "MODE=accel"); in ap_uevent() 625 rc = add_uevent_var(env, "MODE=cca"); in ap_uevent() 627 rc = add_uevent_var(env, "MODE=ep11"); in ap_uevent() 635 rc = add_uevent_var(env, "MODE=accel"); in ap_uevent() 637 rc = add_uevent_var(env, "MODE=cca"); in ap_uevent() 639 rc = add_uevent_var(env, "MODE=ep11"); in ap_uevent()
|
/linux/drivers/base/firmware_loader/ |
A D | fallback.c | 171 if (add_uevent_var(env, "FIRMWARE=%s", fw_sysfs->fw_priv->fw_name)) in do_firmware_uevent() 173 if (add_uevent_var(env, "TIMEOUT=%i", __firmware_loading_timeout())) in do_firmware_uevent() 175 if (add_uevent_var(env, "ASYNC=%d", fw_sysfs->nowait)) in do_firmware_uevent()
|
/linux/drivers/gpu/host1x/ |
A D | bus.c | 357 add_uevent_var(env, "OF_NAME=%pOFn", np); in host1x_device_uevent() 358 add_uevent_var(env, "OF_FULLNAME=%pOF", np); in host1x_device_uevent() 361 add_uevent_var(env, "OF_COMPATIBLE_%u=%s", count, compat); in host1x_device_uevent() 365 add_uevent_var(env, "OF_COMPATIBLE_N=%u", count); in host1x_device_uevent()
|
/linux/sound/hda/ |
A D | hda_bus_type.c | 74 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in hda_uevent()
|
/linux/fs/gfs2/ |
A D | sys.c | 776 add_uevent_var(env, "LOCKTABLE=%s", sdp->sd_table_name); in gfs2_uevent() 777 add_uevent_var(env, "LOCKPROTO=%s", sdp->sd_proto_name); in gfs2_uevent() 779 add_uevent_var(env, "JOURNALID=%d", sdp->sd_lockstruct.ls_jid); in gfs2_uevent() 781 add_uevent_var(env, "UUID=%pUB", &s->s_uuid); in gfs2_uevent()
|
/linux/drivers/memstick/core/ |
A 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/drivers/misc/mei/ |
A D | bus.c | 1009 if (add_uevent_var(env, "MEI_CL_VERSION=%d", version)) in mei_cl_device_uevent() 1012 if (add_uevent_var(env, "MEI_CL_UUID=%pUl", uuid)) in mei_cl_device_uevent() 1015 if (add_uevent_var(env, "MEI_CL_NAME=%s", cldev->name)) in mei_cl_device_uevent() 1018 if (add_uevent_var(env, "MODALIAS=mei:%s:%pUl:%02X:", in mei_cl_device_uevent()
|
/linux/drivers/pci/ |
A D | pci-driver.c | 1520 if (add_uevent_var(env, "PCI_CLASS=%04X", pdev->class)) in pci_uevent() 1523 if (add_uevent_var(env, "PCI_ID=%04X:%04X", pdev->vendor, pdev->device)) in pci_uevent() 1526 if (add_uevent_var(env, "PCI_SUBSYS_ID=%04X:%04X", pdev->subsystem_vendor, in pci_uevent() 1530 if (add_uevent_var(env, "PCI_SLOT_NAME=%s", pci_name(pdev))) in pci_uevent() 1533 if (add_uevent_var(env, "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02X", in pci_uevent()
|
/linux/drivers/power/supply/ |
A D | power_supply_sysfs.c | 448 return add_uevent_var(env, "POWER_SUPPLY_%s=%s", in add_prop_uevent() 463 ret = add_uevent_var(env, "POWER_SUPPLY_NAME=%s", psy->desc->name); in power_supply_uevent()
|
/linux/net/rfkill/ |
A D | core.c | 842 error = add_uevent_var(env, "RFKILL_NAME=%s", rfkill->name); in rfkill_dev_uevent() 845 error = add_uevent_var(env, "RFKILL_TYPE=%s", in rfkill_dev_uevent() 853 error = add_uevent_var(env, "RFKILL_STATE=%d", in rfkill_dev_uevent() 857 return add_uevent_var(env, "RFKILL_HW_BLOCK_REASON=0x%lx", reasons); in rfkill_dev_uevent()
|
/linux/drivers/rapidio/ |
A D | rio-driver.c | 218 if (add_uevent_var(env, "MODALIAS=rapidio:v%04Xd%04Xav%04Xad%04X", in rio_uevent()
|
/linux/drivers/firmware/arm_ffa/ |
A D | bus.c | 63 return add_uevent_var(env, "MODALIAS=arm_ffa:%04x:%pUb", in ffa_device_uevent()
|
/linux/include/linux/ |
A D | kobject.h | 244 int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...);
|