Searched refs:rfkill (Results 1 - 25 of 97) sorted by relevance

1234

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/
H A Drfkill.h30 * enum rfkill_type - type of rfkill switch.
40 * @NUM_RFKILL_TYPES: number of defined rfkill types
69 * struct rfkill_event - events for userspace on /dev/rfkill
70 * @idx: index of dev rfkill
71 * @type: type of the rfkill struct
76 * Structure used for userspace communication on /dev/rfkill,
100 /* ioctl for turning off rfkill-input (if present) */
125 struct rfkill;
128 * struct rfkill_ops - rfkill driver methods
130 * @poll: poll the rfkill bloc
310 rfkill_register(struct rfkill *rfkill) argument
317 rfkill_pause_polling(struct rfkill *rfkill) argument
321 rfkill_resume_polling(struct rfkill *rfkill) argument
325 rfkill_unregister(struct rfkill *rfkill) argument
329 rfkill_destroy(struct rfkill *rfkill) argument
333 rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) argument
338 rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument
343 rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) argument
347 rfkill_set_states(struct rfkill *rfkill, bool sw, bool hw) argument
351 rfkill_blocked(struct rfkill *rfkill) argument
377 rfkill_get_led_trigger_name(struct rfkill *rfkill) argument
383 rfkill_set_led_trigger_name(struct rfkill *rfkill, const char *name) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/
H A Drfkill.h30 * enum rfkill_type - type of rfkill switch.
40 * @NUM_RFKILL_TYPES: number of defined rfkill types
69 * struct rfkill_event - events for userspace on /dev/rfkill
70 * @idx: index of dev rfkill
71 * @type: type of the rfkill struct
76 * Structure used for userspace communication on /dev/rfkill,
100 /* ioctl for turning off rfkill-input (if present) */
125 struct rfkill;
128 * struct rfkill_ops - rfkill driver methods
130 * @poll: poll the rfkill bloc
310 rfkill_register(struct rfkill *rfkill) argument
317 rfkill_pause_polling(struct rfkill *rfkill) argument
321 rfkill_resume_polling(struct rfkill *rfkill) argument
325 rfkill_unregister(struct rfkill *rfkill) argument
329 rfkill_destroy(struct rfkill *rfkill) argument
333 rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) argument
338 rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument
343 rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) argument
347 rfkill_set_states(struct rfkill *rfkill, bool sw, bool hw) argument
351 rfkill_blocked(struct rfkill *rfkill) argument
377 rfkill_get_led_trigger_name(struct rfkill *rfkill) argument
383 rfkill_set_led_trigger_name(struct rfkill *rfkill, const char *name) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/rfkill/
H A DMakefile5 rfkill-y += core.o
6 rfkill-$(CONFIG_RFKILL_INPUT) += input.o
7 obj-$(CONFIG_RFKILL) += rfkill.o
H A Dcore.c29 #include <linux/rfkill.h>
38 #include "rfkill.h"
50 struct rfkill { struct
78 #define to_rfkill(d) container_of(d, struct rfkill, dev)
103 * the rfkill struct under their own lock, and take this lock during
104 * rfkill method calls -- which will cause an AB-BA deadlock situation.
113 static LIST_HEAD(rfkill_fds); /* list of open fds of /dev/rfkill */
128 static void rfkill_led_trigger_event(struct rfkill *rfkill) argument
132 if (!rfkill
145 struct rfkill *rfkill; local
152 rfkill_get_led_trigger_name(struct rfkill *rfkill) argument
158 rfkill_set_led_trigger_name(struct rfkill *rfkill, const char *name) argument
166 rfkill_led_trigger_register(struct rfkill *rfkill) argument
174 rfkill_led_trigger_unregister(struct rfkill *rfkill) argument
179 rfkill_led_trigger_event(struct rfkill *rfkill) argument
183 rfkill_led_trigger_register(struct rfkill *rfkill) argument
188 rfkill_led_trigger_unregister(struct rfkill *rfkill) argument
193 rfkill_fill_event(struct rfkill_event *ev, struct rfkill *rfkill, enum rfkill_operation op) argument
209 rfkill_send_events(struct rfkill *rfkill, enum rfkill_operation op) argument
226 rfkill_event(struct rfkill *rfkill) argument
237 __rfkill_set_hw_state(struct rfkill *rfkill, bool blocked, bool *change) argument
269 rfkill_set_block(struct rfkill *rfkill, bool blocked) argument
337 struct rfkill *rfkill; local
382 struct rfkill *rfkill; local
468 rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) argument
484 __rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument
498 rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument
524 rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) argument
538 rfkill_set_states(struct rfkill *rfkill, bool sw, bool hw) argument
576 struct rfkill *rfkill = to_rfkill(dev); local
609 struct rfkill *rfkill = to_rfkill(dev); local
618 struct rfkill *rfkill = to_rfkill(dev); local
627 struct rfkill *rfkill = to_rfkill(dev); local
636 struct rfkill *rfkill = to_rfkill(dev); local
645 struct rfkill *rfkill = to_rfkill(dev); local
654 struct rfkill *rfkill = to_rfkill(dev); local
689 struct rfkill *rfkill = to_rfkill(dev); local
698 struct rfkill *rfkill = to_rfkill(dev); local
748 struct rfkill *rfkill = to_rfkill(dev); local
755 struct rfkill *rfkill = to_rfkill(dev); local
775 rfkill_pause_polling(struct rfkill *rfkill) argument
786 rfkill_resume_polling(struct rfkill *rfkill) argument
799 struct rfkill *rfkill = to_rfkill(dev); local
808 struct rfkill *rfkill = to_rfkill(dev); local
830 rfkill_blocked(struct rfkill *rfkill) argument
850 struct rfkill *rfkill; local
887 struct rfkill *rfkill; local
904 struct rfkill *rfkill; local
915 struct rfkill *rfkill; local
926 rfkill_register(struct rfkill *rfkill) argument
991 rfkill_unregister(struct rfkill *rfkill) argument
1014 rfkill_destroy(struct rfkill *rfkill) argument
1024 struct rfkill *rfkill; local
1135 struct rfkill *rfkill; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/rfkill/
H A DMakefile5 rfkill-y += core.o
6 rfkill-$(CONFIG_RFKILL_INPUT) += input.o
7 obj-$(CONFIG_RFKILL) += rfkill.o
H A Dcore.c29 #include <linux/rfkill.h>
38 #include "rfkill.h"
50 struct rfkill { struct
78 #define to_rfkill(d) container_of(d, struct rfkill, dev)
103 * the rfkill struct under their own lock, and take this lock during
104 * rfkill method calls -- which will cause an AB-BA deadlock situation.
113 static LIST_HEAD(rfkill_fds); /* list of open fds of /dev/rfkill */
128 static void rfkill_led_trigger_event(struct rfkill *rfkill) argument
132 if (!rfkill
145 struct rfkill *rfkill; local
152 rfkill_get_led_trigger_name(struct rfkill *rfkill) argument
158 rfkill_set_led_trigger_name(struct rfkill *rfkill, const char *name) argument
166 rfkill_led_trigger_register(struct rfkill *rfkill) argument
174 rfkill_led_trigger_unregister(struct rfkill *rfkill) argument
179 rfkill_led_trigger_event(struct rfkill *rfkill) argument
183 rfkill_led_trigger_register(struct rfkill *rfkill) argument
188 rfkill_led_trigger_unregister(struct rfkill *rfkill) argument
193 rfkill_fill_event(struct rfkill_event *ev, struct rfkill *rfkill, enum rfkill_operation op) argument
209 rfkill_send_events(struct rfkill *rfkill, enum rfkill_operation op) argument
226 rfkill_event(struct rfkill *rfkill) argument
237 __rfkill_set_hw_state(struct rfkill *rfkill, bool blocked, bool *change) argument
269 rfkill_set_block(struct rfkill *rfkill, bool blocked) argument
337 struct rfkill *rfkill; local
382 struct rfkill *rfkill; local
468 rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) argument
484 __rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument
498 rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument
524 rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) argument
538 rfkill_set_states(struct rfkill *rfkill, bool sw, bool hw) argument
576 struct rfkill *rfkill = to_rfkill(dev); local
609 struct rfkill *rfkill = to_rfkill(dev); local
618 struct rfkill *rfkill = to_rfkill(dev); local
627 struct rfkill *rfkill = to_rfkill(dev); local
636 struct rfkill *rfkill = to_rfkill(dev); local
645 struct rfkill *rfkill = to_rfkill(dev); local
654 struct rfkill *rfkill = to_rfkill(dev); local
689 struct rfkill *rfkill = to_rfkill(dev); local
698 struct rfkill *rfkill = to_rfkill(dev); local
748 struct rfkill *rfkill = to_rfkill(dev); local
755 struct rfkill *rfkill = to_rfkill(dev); local
775 rfkill_pause_polling(struct rfkill *rfkill) argument
786 rfkill_resume_polling(struct rfkill *rfkill) argument
799 struct rfkill *rfkill = to_rfkill(dev); local
808 struct rfkill *rfkill = to_rfkill(dev); local
830 rfkill_blocked(struct rfkill *rfkill) argument
850 struct rfkill *rfkill; local
887 struct rfkill *rfkill; local
904 struct rfkill *rfkill; local
915 struct rfkill *rfkill; local
926 rfkill_register(struct rfkill *rfkill) argument
991 rfkill_unregister(struct rfkill *rfkill) argument
1014 rfkill_destroy(struct rfkill *rfkill) argument
1024 struct rfkill *rfkill; local
1135 struct rfkill *rfkill; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/wimax/
H A DMakefile8 op-rfkill.o \
H A Dop-rfkill.c7 #include <linux/rfkill.h>
56 result = rfkill_set_hw_state(wimax_dev->rfkill,
112 rfkill_set_sw_state(wimax_dev->rfkill, state == WIMAX_RF_OFF);
127 * - The rfkill subsystem when the RF-Kill key is pressed in the
129 * wimax_report_rfkill_hw(). The rfkill subsystem ends up calling back
133 * - When the user sets the state through sysfs' rfkill/state file
177 * Translate from rfkill state to wimax state
183 * __WIMAX_ST_QUIESCING). rfkill() needs it to register and
263 rfkill_set_sw_state(wimax_dev->rfkill, state == WIMAX_RF_OFF);
290 struct rfkill *rfkil local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/wimax/i2400m/
H A Ddebug-levels.h39 D_SUBMODULE_DECLARE(rfkill),
H A DMakefile10 op-rfkill.o \
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/wimax/i2400m/
H A Ddebug-levels.h39 D_SUBMODULE_DECLARE(rfkill),
H A DMakefile10 op-rfkill.o \
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/wimax/
H A DMakefile8 op-rfkill.o \
H A Dop-rfkill.c7 #include <linux/rfkill.h>
56 result = rfkill_set_hw_state(wimax_dev->rfkill,
112 rfkill_set_sw_state(wimax_dev->rfkill, state == WIMAX_RF_OFF);
127 * - The rfkill subsystem when the RF-Kill key is pressed in the
129 * wimax_report_rfkill_hw(). The rfkill subsystem ends up calling back
133 * - When the user sets the state through sysfs' rfkill/state file
177 * Translate from rfkill state to wimax state
183 * __WIMAX_ST_QUIESCING). rfkill() needs it to register and
263 rfkill_set_sw_state(wimax_dev->rfkill, state == WIMAX_RF_OFF);
290 struct rfkill *rfkil local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/ti-st/
H A Dst_kim.h28 #include <linux/rfkill.h>
78 * @rfkill: rfkill data for each of the cores to be registered with rfkill.
79 * @rf_protos: proto types of the data registered with rfkill sub-system.
94 struct rfkill *rfkill[ST_MAX]; member in struct:kim_data_s
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/ti-st/
H A Dst_kim.h28 #include <linux/rfkill.h>
78 * @rfkill: rfkill data for each of the cores to be registered with rfkill.
79 * @rf_protos: proto types of the data registered with rfkill sub-system.
94 struct rfkill *rfkill[ST_MAX]; member in struct:kim_data_s
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/net/
H A Dwimax.h301 * name with many subsystems (rfkill, workqueue creation, etc).
322 * @rfkill: [private] integration into the RF-Kill infrastructure.
371 * c. Query the device for the state of the hardware rfkill switch
426 struct rfkill *rfkill; member in struct:wimax_dev
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/wireless/b43legacy/
H A DMakefile9 b43legacy-y += rfkill.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/wireless/b43legacy/
H A DMakefile9 b43legacy-y += rfkill.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/net/
H A Dwimax.h301 * name with many subsystems (rfkill, workqueue creation, etc).
322 * @rfkill: [private] integration into the RF-Kill infrastructure.
371 * c. Query the device for the state of the hardware rfkill switch
426 struct rfkill *rfkill; member in struct:wimax_dev
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/arm/mach-pxa/
H A Dtosa-bt.c17 #include <linux/rfkill.h>
60 struct rfkill *rfk;
110 struct rfkill *rfk = platform_get_drvdata(dev);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/arm/mach-s3c2410/
H A Dh1940-bluetooth.c20 #include <linux/rfkill.h>
62 struct rfkill *rfk;
107 struct rfkill *rfk = platform_get_drvdata(pdev);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/mach-pxa/
H A Dtosa-bt.c17 #include <linux/rfkill.h>
60 struct rfkill *rfk;
110 struct rfkill *rfk = platform_get_drvdata(dev);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/mach-s3c2410/
H A Dh1940-bluetooth.c20 #include <linux/rfkill.h>
62 struct rfkill *rfk;
107 struct rfkill *rfk = platform_get_drvdata(pdev);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/wireless/ath/ath5k/
H A DMakefile14 ath5k-y += rfkill.o

Completed in 319 milliseconds

1234