Searched refs:rfkill (Results 1 – 8 of 8) sorted by relevance
55 struct rfkill_data *rfkill = eloop_ctx; in rfkill_receive() local60 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() local106 rfkill = os_zalloc(sizeof(*rfkill)); in rfkill_init()107 if (rfkill == NULL) in rfkill_init()110 rfkill->cfg = cfg; in rfkill_init()[all …]
22 void rfkill_deinit(struct rfkill_data *rfkill);23 int rfkill_is_blocked(struct rfkill_data *rfkill);
25 struct rfkill_data *rfkill; member
150 DRV_OBJS += ../src/drivers/rfkill.o
150 DRV_OBJS += src/drivers/rfkill.c
853 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()
220 struct rfkill_data *rfkill; member3660 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()
213 /sys/class/rfkill/rfkill[0-9]*/state -- u:object_r:sysfs_bluetooth_writable:s0214 /sys/class/rfkill/rfkill[0-9]*/type -- u:object_r:sysfs_bluetooth_writable:s0