Home
last modified time | relevance | path

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

12345

/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/drivers/zorro/
Dzorro-driver.c144 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-v6.1/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()
/Linux-v6.1/drivers/of/
Ddevice.c348 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-v6.1/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 …]
/Linux-v6.1/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()
/Linux-v6.1/drivers/mmc/core/
Dbus.c83 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()
Dsdio_bus.c128 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-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/drivers/base/firmware_loader/
Dsysfs.c69 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-v6.1/drivers/usb/typec/
Dbus.c328 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-v6.1/sound/hda/
Dhda_bus_type.c74 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in hda_uevent()
/Linux-v6.1/drivers/s390/crypto/
Dap_bus.c629 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-v6.1/fs/gfs2/
Dsys.c775 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-v6.1/drivers/gpu/host1x/
Dbus.c358 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-v6.1/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()
/Linux-v6.1/drivers/misc/mei/
Dbus.c1069 if (add_uevent_var(env, "MEI_CL_VERSION=%d", version)) in mei_cl_device_uevent()
1072 if (add_uevent_var(env, "MEI_CL_UUID=%pUl", uuid)) in mei_cl_device_uevent()
1075 if (add_uevent_var(env, "MEI_CL_NAME=%s", cldev->name)) in mei_cl_device_uevent()
1078 if (add_uevent_var(env, "MODALIAS=mei:%s:%pUl:%02X:", in mei_cl_device_uevent()
/Linux-v6.1/drivers/pci/
Dpci-driver.c1557 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-v6.1/drivers/power/supply/
Dpower_supply_sysfs.c457 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-v6.1/drivers/rapidio/
Drio-driver.c218 if (add_uevent_var(env, "MODALIAS=rapidio:v%04Xd%04Xav%04Xad%04X", in rio_uevent()
/Linux-v6.1/net/atm/
Datm_sysfs.c122 if (add_uevent_var(env, "NAME=%s%d", adev->type, adev->number)) in atm_uevent()
/Linux-v6.1/include/linux/
Dkobject.h225 int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...);
/Linux-v6.1/drivers/firmware/arm_ffa/
Dbus.c63 return add_uevent_var(env, "MODALIAS=arm_ffa:%04x:%pUb", in ffa_device_uevent()

12345