Home
last modified time | relevance | path

Searched refs:add_uevent_var (Results 1 – 25 of 96) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/md/
Ddm-uevent.c75 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()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dgbphy.c83 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()
/kernel/linux/linux-5.10/drivers/of/
Ddevice.c310 add_uevent_var(env, "OF_NAME=%pOFn", dev->of_node); in of_device_uevent()
311 add_uevent_var(env, "OF_FULLNAME=%pOF", dev->of_node); in of_device_uevent()
314 add_uevent_var(env, "OF_TYPE=%s", type); in of_device_uevent()
320 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent()
323 add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in of_device_uevent()
329 add_uevent_var(env, "OF_ALIAS_%d=%s", seen, in of_device_uevent()
345 if (add_uevent_var(env, "MODALIAS=")) in of_device_uevent_modalias()
/kernel/linux/linux-5.10/drivers/zorro/
Dzorro-driver.c150 if (add_uevent_var(env, "ZORRO_ID=%08X", z->id) || in zorro_uevent()
151 add_uevent_var(env, "ZORRO_SLOT_NAME=%s", dev_name(dev)) || in zorro_uevent()
152 add_uevent_var(env, "ZORRO_SLOT_ADDR=%04X", z->slotaddr) || in zorro_uevent()
153 add_uevent_var(env, "MODALIAS=" ZORRO_DEVICE_MODALIAS_FMT, z->id)) in zorro_uevent()
/kernel/linux/linux-5.10/sound/aoa/soundbus/
Dcore.c76 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()
/kernel/linux/linux-5.10/drivers/greybus/
Dcore.c117 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()
/kernel/linux/linux-5.10/lib/
Dkobject_uevent.c134 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 …]
/kernel/linux/linux-5.10/drivers/mmc/core/
Dbus.c92 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()
Dsdio_bus.c127 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()
/kernel/linux/linux-5.10/drivers/xen/xenbus/
Dxenbus_probe_backend.c110 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()
/kernel/linux/linux-5.10/drivers/bus/
Dmips_cdmm.c75 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()
/kernel/linux/linux-5.10/drivers/usb/typec/
Dbus.c326 if (add_uevent_var(env, "SVID=%04X", altmode->svid)) in typec_uevent()
329 if (add_uevent_var(env, "MODE=%u", altmode->mode)) in typec_uevent()
332 return add_uevent_var(env, "MODALIAS=typec:id%04Xm%02X", in typec_uevent()
/kernel/linux/linux-5.10/drivers/ide/
Dide.c120 add_uevent_var(env, "MEDIA=%s", ide_media_string(drive)); in ide_uevent()
121 add_uevent_var(env, "DRIVENAME=%s", drive->name); in ide_uevent()
122 add_uevent_var(env, "MODALIAS=ide:m-%s", ide_media_string(drive)); in ide_uevent()
/kernel/linux/linux-5.10/sound/hda/
Dhda_bus_type.c74 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in hda_uevent()
/kernel/linux/linux-5.10/drivers/base/firmware_loader/
Dfallback.c171 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()
/kernel/linux/linux-5.10/drivers/gpu/host1x/
Dbus.c325 add_uevent_var(env, "OF_NAME=%pOFn", np); in host1x_device_uevent()
326 add_uevent_var(env, "OF_FULLNAME=%pOF", np); in host1x_device_uevent()
329 add_uevent_var(env, "OF_COMPATIBLE_%u=%s", count, compat); in host1x_device_uevent()
333 add_uevent_var(env, "OF_COMPATIBLE_N=%u", count); in host1x_device_uevent()
/kernel/linux/linux-5.10/fs/gfs2/
Dsys.c709 add_uevent_var(env, "LOCKTABLE=%s", sdp->sd_table_name); in gfs2_uevent()
710 add_uevent_var(env, "LOCKPROTO=%s", sdp->sd_proto_name); in gfs2_uevent()
712 add_uevent_var(env, "JOURNALID=%d", sdp->sd_lockstruct.ls_jid); in gfs2_uevent()
714 add_uevent_var(env, "UUID=%pUB", &s->s_uuid); in gfs2_uevent()
/kernel/linux/linux-5.10/drivers/memstick/core/
Dmemstick.c65 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()
/kernel/linux/linux-5.10/drivers/misc/mei/
Dbus.c930 if (add_uevent_var(env, "MEI_CL_VERSION=%d", version)) in mei_cl_device_uevent()
933 if (add_uevent_var(env, "MEI_CL_UUID=%pUl", uuid)) in mei_cl_device_uevent()
936 if (add_uevent_var(env, "MEI_CL_NAME=%s", cldev->name)) in mei_cl_device_uevent()
939 if (add_uevent_var(env, "MODALIAS=mei:%s:%pUl:%02X:", in mei_cl_device_uevent()
/kernel/linux/linux-5.10/drivers/pci/
Dpci-driver.c1507 if (add_uevent_var(env, "PCI_CLASS=%04X", pdev->class)) in pci_uevent()
1510 if (add_uevent_var(env, "PCI_ID=%04X:%04X", pdev->vendor, pdev->device)) in pci_uevent()
1513 if (add_uevent_var(env, "PCI_SUBSYS_ID=%04X:%04X", pdev->subsystem_vendor, in pci_uevent()
1517 if (add_uevent_var(env, "PCI_SLOT_NAME=%s", pci_name(pdev))) in pci_uevent()
1520 if (add_uevent_var(env, "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02X", in pci_uevent()
/kernel/linux/linux-5.10/drivers/power/supply/
Dpower_supply_sysfs.c448 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()
/kernel/linux/linux-5.10/drivers/rapidio/
Drio-driver.c220 if (add_uevent_var(env, "MODALIAS=rapidio:v%04Xd%04Xav%04Xad%04X", in rio_uevent()
/kernel/linux/linux-5.10/net/atm/
Datm_sysfs.c122 if (add_uevent_var(env, "NAME=%s%d", adev->type, adev->number)) in atm_uevent()
/kernel/linux/linux-5.10/drivers/soundwire/
Dbus_type.c68 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in sdw_slave_uevent()
/kernel/linux/linux-5.10/include/linux/
Dkobject.h245 int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...);

1234