/openbmc/linux/drivers/md/ |
H 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()
|
/openbmc/linux/drivers/of/ |
H A D | device.c | 257 add_uevent_var(env, "OF_NAME=%pOFn", dev->of_node); in of_device_uevent() 258 add_uevent_var(env, "OF_FULLNAME=%pOF", dev->of_node); in of_device_uevent() 261 add_uevent_var(env, "OF_TYPE=%s", type); in of_device_uevent() 267 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent() 270 add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in of_device_uevent() 276 add_uevent_var(env, "OF_ALIAS_%d=%s", seen, in of_device_uevent() 293 if (add_uevent_var(env, "MODALIAS=")) in of_device_uevent_modalias()
|
/openbmc/linux/drivers/zorro/ |
H 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()
|
/openbmc/linux/drivers/staging/greybus/ |
H 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()
|
/openbmc/linux/sound/aoa/soundbus/ |
H 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()
|
/openbmc/linux/drivers/greybus/ |
H 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()
|
/openbmc/linux/lib/ |
H 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() 551 retval = add_uevent_var(env, "ACTION=%s", action_string); in kobject_uevent_env() 554 retval = add_uevent_var(env, "DEVPATH=%s", devpath); in kobject_uevent_env() 557 retval = add_uevent_var(env, "SUBSYSTEM=%s", subsystem); in kobject_uevent_env() 564 retval = add_uevent_var(env, "%s", envp_ext[i]); in kobject_uevent_env() 603 retval = add_uevent_var(env, "SEQNUM=%llu", ++uevent_seqnum); in kobject_uevent_env() 617 retval = add_uevent_var(env, "HOME=/"); in kobject_uevent_env() 620 retval = add_uevent_var(env, in kobject_uevent_env() 669 int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...) in add_uevent_var() function [all …]
|
/openbmc/linux/drivers/mmc/core/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/xen/xenbus/ |
H 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()
|
/openbmc/linux/drivers/bus/ |
H 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()
|
/openbmc/linux/drivers/base/firmware_loader/ |
H A 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()
|
/openbmc/linux/drivers/usb/typec/ |
H A D | bus.c | 365 if (add_uevent_var(env, "SVID=%04X", altmode->svid)) in typec_uevent() 368 if (add_uevent_var(env, "MODE=%u", altmode->mode)) in typec_uevent() 371 return add_uevent_var(env, "MODALIAS=typec:id%04Xm%02X", in typec_uevent()
|
/openbmc/linux/sound/hda/ |
H A D | hda_bus_type.c | 74 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in hda_uevent()
|
/openbmc/linux/fs/gfs2/ |
H A D | sys.c | 785 add_uevent_var(env, "LOCKTABLE=%s", sdp->sd_table_name); in gfs2_uevent() 786 add_uevent_var(env, "LOCKPROTO=%s", sdp->sd_proto_name); in gfs2_uevent() 788 add_uevent_var(env, "JOURNALID=%d", sdp->sd_lockstruct.ls_jid); in gfs2_uevent() 790 add_uevent_var(env, "UUID=%pUB", &s->s_uuid); in gfs2_uevent()
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | ap_bus.c | 639 rc = add_uevent_var(env, "DEV_TYPE=%04X", ap_dev->device_type); in ap_uevent() 643 rc = add_uevent_var(env, "MODALIAS=ap:t%02X", ap_dev->device_type); in ap_uevent() 649 rc = add_uevent_var(env, "MODE=accel"); in ap_uevent() 651 rc = add_uevent_var(env, "MODE=cca"); in ap_uevent() 653 rc = add_uevent_var(env, "MODE=ep11"); in ap_uevent() 661 rc = add_uevent_var(env, "MODE=accel"); in ap_uevent() 663 rc = add_uevent_var(env, "MODE=cca"); in ap_uevent() 665 rc = add_uevent_var(env, "MODE=ep11"); in ap_uevent()
|
/openbmc/linux/drivers/memstick/core/ |
H 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()
|
/openbmc/linux/drivers/pci/ |
H A D | pci-driver.c | 1578 if (add_uevent_var(env, "PCI_CLASS=%04X", pdev->class)) in pci_uevent() 1581 if (add_uevent_var(env, "PCI_ID=%04X:%04X", pdev->vendor, pdev->device)) in pci_uevent() 1584 if (add_uevent_var(env, "PCI_SUBSYS_ID=%04X:%04X", pdev->subsystem_vendor, in pci_uevent() 1588 if (add_uevent_var(env, "PCI_SLOT_NAME=%s", pci_name(pdev))) in pci_uevent() 1591 if (add_uevent_var(env, "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02X", in pci_uevent()
|
/openbmc/linux/drivers/rapidio/ |
H A D | rio-driver.c | 218 if (add_uevent_var(env, "MODALIAS=rapidio:v%04Xd%04Xav%04Xad%04X", in rio_uevent()
|
/openbmc/linux/net/atm/ |
H A D | atm_sysfs.c | 122 if (add_uevent_var(env, "NAME=%s%d", adev->type, adev->number)) in atm_uevent()
|
/openbmc/linux/include/linux/ |
H A D | kobject.h | 220 int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...);
|
/openbmc/linux/drivers/power/supply/ |
H A D | power_supply_sysfs.c | 462 return add_uevent_var(env, "POWER_SUPPLY_%s=%s", in add_prop_uevent() 481 ret = add_uevent_var(env, "POWER_SUPPLY_NAME=%s", psy->desc->name); in power_supply_uevent()
|
/openbmc/linux/drivers/base/ |
H A D | auxiliary.c | 195 return add_uevent_var(env, "MODALIAS=%s%.*s", AUXILIARY_MODULE_PREFIX, in auxiliary_uevent()
|
/openbmc/linux/drivers/firmware/arm_ffa/ |
H A D | bus.c | 66 return add_uevent_var(env, "MODALIAS=arm_ffa:%04x:%pUb", in ffa_device_uevent()
|
/openbmc/linux/drivers/amba/ |
H A D | bus.c | 243 retval = add_uevent_var(env, "AMBA_ID=%08x", pcdev->periphid); in amba_uevent() 247 retval = add_uevent_var(env, "MODALIAS=amba:d%08X", pcdev->periphid); in amba_uevent()
|