Home
last modified time | relevance | path

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

/linux/net/bluetooth/
H A D6lowpan.c1027 struct set_enable { struct
1034 struct set_enable *set_enable = container_of(work, in do_enable_set() local
1035 struct set_enable, work); in do_enable_set()
1037 if (!set_enable->flag || enable_6lowpan != set_enable->flag) in do_enable_set()
1043 enable_6lowpan = set_enable->flag; in do_enable_set()
1054 kfree(set_enable); in do_enable_set()
1059 struct set_enable *set_enable; in lowpan_enable_set() local
1061 set_enable = kzalloc(sizeof(*set_enable), GFP_KERNEL); in lowpan_enable_set()
1062 if (!set_enable) in lowpan_enable_set()
1065 set_enable->flag = !!val; in lowpan_enable_set()
[all …]
/linux/include/linux/
H A Dpowercap.h41 int (*set_enable) (struct powercap_control_type *, bool mode); member
103 int (*set_enable) (struct powercap_zone *, bool mode); member
/linux/drivers/powercap/
H A Dpowercap_sys.c454 if (power_zone->ops->set_enable) in enabled_store()
455 if (!power_zone->ops->set_enable(power_zone, mode)) in enabled_store()
460 if (control_type->ops && control_type->ops->set_enable) in enabled_store()
461 if (!control_type->ops->set_enable(control_type, mode)) in enabled_store()
H A Dintel_rapl_common.c380 .set_enable = set_domain_enable,
388 .set_enable = set_domain_enable,
396 .set_enable = set_domain_enable,
404 .set_enable = set_domain_enable,
412 .set_enable = set_domain_enable,
H A Darm_scmi_powercap.c95 .set_enable = scmi_powercap_zone_enable_set,