Searched refs:env (Results 1 – 5 of 5) sorted by relevance
/net/atm/ |
D | atm_sysfs.c | 111 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/ |
D | core.c | 835 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/ |
D | reg.c | 566 char *env[] = { country, NULL }; in call_crda() local 583 ret = kobject_uevent_env(®_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()
|
D | core.h | 49 enum environment_cap env; member
|
/net/core/ |
D | net-sysfs.c | 1869 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()
|