Home
last modified time | relevance | path

Searched refs:rfkill (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/src/drivers/
Drfkill.c55 struct rfkill_data *rfkill = eloop_ctx; in rfkill_receive() local
60 len = read(rfkill->fd, &event, sizeof(event)); in rfkill_receive()
90 if (new_blocked != rfkill->blocked) { in rfkill_receive()
91 rfkill->blocked = new_blocked; in rfkill_receive()
93 rfkill->cfg->blocked_cb(rfkill->cfg->ctx); in rfkill_receive()
95 rfkill->cfg->unblocked_cb(rfkill->cfg->ctx); in rfkill_receive()
102 struct rfkill_data *rfkill; in rfkill_init() local
106 rfkill = os_zalloc(sizeof(*rfkill)); in rfkill_init()
107 if (rfkill == NULL) in rfkill_init()
110 rfkill->cfg = cfg; in rfkill_init()
[all …]
Drfkill.h22 void rfkill_deinit(struct rfkill_data *rfkill);
23 int rfkill_is_blocked(struct rfkill_data *rfkill);
Ddriver_wext.h25 struct rfkill_data *rfkill; member
Ddrivers.mak150 DRV_OBJS += ../src/drivers/rfkill.o
Ddrivers.mk150 DRV_OBJS += src/drivers/rfkill.c
Ddriver_wext.c853 drv->rfkill = rfkill_init(rcfg); in wpa_driver_wext_init()
854 if (drv->rfkill == NULL) { in wpa_driver_wext_init()
875 rfkill_deinit(drv->rfkill); in wpa_driver_wext_init()
896 if (rfkill_is_blocked(drv->rfkill)) { in wpa_driver_wext_finish_drv_init()
981 rfkill_deinit(drv->rfkill); in wpa_driver_wext_deinit()
Ddriver_nl80211.c220 struct rfkill_data *rfkill; member
3660 drv->rfkill = rfkill_init(rcfg); in wpa_driver_nl80211_init()
3661 if (drv->rfkill == NULL) { in wpa_driver_nl80211_init()
4081 if (rfkill_is_blocked(drv->rfkill)) { in wpa_driver_nl80211_finish_drv_init()
4190 rfkill_deinit(drv->rfkill); in wpa_driver_nl80211_deinit()
/external/sepolicy/
Dfile_contexts213 /sys/class/rfkill/rfkill[0-9]*/state -- u:object_r:sysfs_bluetooth_writable:s0
214 /sys/class/rfkill/rfkill[0-9]*/type -- u:object_r:sysfs_bluetooth_writable:s0