Home
last modified time | relevance | path

Searched refs:env (Results 1 – 5 of 5) sorted by relevance

/net/atm/
Datm_sysfs.c111 static int atm_uevent(struct device *cdev, struct kobj_uevent_env *env) in atm_uevent() argument
122 if (add_uevent_var(env, "NAME=%s%d", adev->type, adev->number)) in atm_uevent()
/net/rfkill/
Dcore.c835 static int rfkill_dev_uevent(struct device *dev, struct kobj_uevent_env *env) in rfkill_dev_uevent() argument
843 error = add_uevent_var(env, "RFKILL_NAME=%s", rfkill->name); in rfkill_dev_uevent()
846 error = add_uevent_var(env, "RFKILL_TYPE=%s", in rfkill_dev_uevent()
854 error = add_uevent_var(env, "RFKILL_STATE=%d", in rfkill_dev_uevent()
858 return add_uevent_var(env, "RFKILL_HW_BLOCK_REASON=0x%lx", reasons); in rfkill_dev_uevent()
/net/wireless/
Dreg.c566 char *env[] = { country, NULL }; in call_crda() local
583 ret = kobject_uevent_env(&reg_pdev->dev.kobj, KOBJ_CHANGE, env); in call_crda()
3367 enum environment_cap env = ENVIRON_ANY; in regulatory_hint_country_ie() local
3385 env = ENVIRON_INDOOR; in regulatory_hint_country_ie()
3387 env = ENVIRON_OUTDOOR; in regulatory_hint_country_ie()
3408 request->country_ie_env = env; in regulatory_hint_country_ie()
Dcore.h49 enum environment_cap env; member
/net/core/
Dnet-sysfs.c1869 static int netdev_uevent(struct device *d, struct kobj_uevent_env *env) in netdev_uevent() argument
1875 retval = add_uevent_var(env, "INTERFACE=%s", dev->name); in netdev_uevent()
1883 retval = add_uevent_var(env, "IFINDEX=%d", dev->ifindex); in netdev_uevent()