Searched refs:rfkill (Results 1 – 12 of 12) sorted by relevance
57 struct rfkill_data *rfkill = eloop_ctx; in rfkill_receive() local62 len = read(rfkill->fd, &event, sizeof(event)); in rfkill_receive()74 if (event.op != RFKILL_OP_CHANGE || event.idx != rfkill->idx) in rfkill_receive()93 if (new_blocked != rfkill->blocked) { in rfkill_receive()94 rfkill->blocked = new_blocked; in rfkill_receive()96 rfkill->cfg->blocked_cb(rfkill->cfg->ctx); in rfkill_receive()98 rfkill->cfg->unblocked_cb(rfkill->cfg->ctx); in rfkill_receive()105 struct rfkill_data *rfkill; in rfkill_init() local113 rfkill = os_zalloc(sizeof(*rfkill)); in rfkill_init()114 if (rfkill == NULL) 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
149 DRV_OBJS += src/drivers/rfkill.c
164 DRV_OBJS += ../src/drivers/rfkill.o
95 struct rfkill_data *rfkill; member
846 drv->rfkill = rfkill_init(rcfg); in wpa_driver_wext_init()847 if (drv->rfkill == NULL) { in wpa_driver_wext_init()862 rfkill_deinit(drv->rfkill); in wpa_driver_wext_init()982 if (rfkill_is_blocked(drv->rfkill)) { in wpa_driver_wext_finish_drv_init()1054 rfkill_deinit(drv->rfkill); in wpa_driver_wext_deinit()
1665 if (drv->rfkill) in wpa_driver_nl80211_drv_init_rfkill()1688 !tmp1->rfkill) in wpa_driver_nl80211_drv_init_rfkill()1705 drv->rfkill = rfkill_init(rcfg); in wpa_driver_nl80211_drv_init_rfkill()1706 if (!drv->rfkill) { in wpa_driver_nl80211_drv_init_rfkill()2302 if (!rfkill_is_blocked(drv->rfkill)) { in wpa_driver_nl80211_finish_drv_init()2424 rfkill_deinit(drv->rfkill); in wpa_driver_nl80211_deinit()
119 toys/other/rfkill.c \
187 USE_RFKILL(NEWTOY(rfkill, "<1>2", TOYFLAG_USR|TOYFLAG_SBIN))
4765 #define TT this.rfkill
225 e.g., when rfkill blocking happens during scanning or when