Home
last modified time | relevance | path

Searched refs:BIT_MASK (Results 1 – 25 of 175) sorted by relevance

1234567

/Linux-v4.19/drivers/media/platform/ti-vpe/
Dcal_regs.h116 #define CAL_HL_SYSCONFIG_SOFTRESET_MASK BIT_MASK(0)
127 #define CAL_HL_IRQ_EOI_LINE_NUMBER_MASK BIT_MASK(0)
131 #define CAL_HL_IRQ_MASK(m) BIT_MASK(m-1)
139 #define CAL_PIX_PROC_EN_MASK BIT_MASK(0)
185 #define CAL_CTRL_POSTED_WRITES_MASK BIT_MASK(0)
196 #define CAL_CTRL_PWRSCPCLK_MASK BIT_MASK(21)
199 #define CAL_CTRL_RD_DMA_STALL_MASK BIT_MASK(22)
224 #define CAL_VPORT_CTRL1_WIDTH_MASK BIT_MASK(31)
229 #define CAL_VPORT_CTRL2_FREERUNNING_MASK BIT_MASK(15)
232 #define CAL_VPORT_CTRL2_FS_RESETS_MASK BIT_MASK(16)
[all …]
/Linux-v4.19/drivers/input/joystick/
Da3d.c322 input_dev->evbit[0] |= BIT_MASK(EV_ABS) | BIT_MASK(EV_KEY) | in a3d_connect()
323 BIT_MASK(EV_REL); in a3d_connect()
324 input_dev->relbit[0] |= BIT_MASK(REL_X) | BIT_MASK(REL_Y); in a3d_connect()
325 input_dev->absbit[0] |= BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in a3d_connect()
326 BIT_MASK(ABS_THROTTLE) | BIT_MASK(ABS_RUDDER) | in a3d_connect()
327 BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | in a3d_connect()
328 BIT_MASK(ABS_HAT1X) | BIT_MASK(ABS_HAT1Y); in a3d_connect()
329 input_dev->keybit[BIT_WORD(BTN_MOUSE)] |= BIT_MASK(BTN_RIGHT) | in a3d_connect()
330 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | in a3d_connect()
331 BIT_MASK(BTN_SIDE) | BIT_MASK(BTN_EXTRA); in a3d_connect()
[all …]
Dspaceball.c226 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in spaceball_connect()
231 input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_9); in spaceball_connect()
232 input_dev->keybit[BIT_WORD(BTN_A)] |= BIT_MASK(BTN_A) | in spaceball_connect()
233 BIT_MASK(BTN_B) | BIT_MASK(BTN_C) | in spaceball_connect()
234 BIT_MASK(BTN_MODE); in spaceball_connect()
237 input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_2) | in spaceball_connect()
238 BIT_MASK(BTN_3) | BIT_MASK(BTN_4) | in spaceball_connect()
239 BIT_MASK(BTN_5) | BIT_MASK(BTN_6) | in spaceball_connect()
240 BIT_MASK(BTN_7) | BIT_MASK(BTN_8); in spaceball_connect()
243 input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_1) | in spaceball_connect()
[all …]
Dstinger.c152 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in stinger_connect()
153 input_dev->keybit[BIT_WORD(BTN_A)] = BIT_MASK(BTN_A) | BIT_MASK(BTN_B) | in stinger_connect()
154 BIT_MASK(BTN_C) | BIT_MASK(BTN_X) | BIT_MASK(BTN_Y) | in stinger_connect()
155 BIT_MASK(BTN_Z) | BIT_MASK(BTN_TL) | BIT_MASK(BTN_TR) | in stinger_connect()
156 BIT_MASK(BTN_START) | BIT_MASK(BTN_SELECT); in stinger_connect()
Dwarrior.c158 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) | in warrior_connect()
159 BIT_MASK(EV_ABS); in warrior_connect()
160 input_dev->keybit[BIT_WORD(BTN_TRIGGER)] = BIT_MASK(BTN_TRIGGER) | in warrior_connect()
161 BIT_MASK(BTN_THUMB) | BIT_MASK(BTN_TOP) | BIT_MASK(BTN_TOP2); in warrior_connect()
162 input_dev->relbit[0] = BIT_MASK(REL_DIAL); in warrior_connect()
Damijoy.c135 amijoy_dev[i]->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in amijoy_init()
136 amijoy_dev[i]->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y); in amijoy_init()
137 amijoy_dev[i]->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in amijoy_init()
138 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amijoy_init()
/Linux-v4.19/sound/usb/caiaq/
Dinput.c622 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
623 input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init()
624 BIT_MASK(ABS_Z); in snd_usb_caiaq_input_init()
634 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
635 input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init()
636 BIT_MASK(ABS_Z); in snd_usb_caiaq_input_init()
646 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
647 input->absbit[0] = BIT_MASK(ABS_X); in snd_usb_caiaq_input_init()
656 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
657 input->absbit[0] = BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | in snd_usb_caiaq_input_init()
[all …]
/Linux-v4.19/arch/powerpc/include/asm/
Dbitops.h95 set_bits(BIT_MASK(nr), addr + BIT_WORD(nr)); in DEFINE_BITOP()
100 clear_bits(BIT_MASK(nr), addr + BIT_WORD(nr)); in clear_bit()
105 clear_bits_unlock(BIT_MASK(nr), addr + BIT_WORD(nr)); in clear_bit_unlock()
110 change_bits(BIT_MASK(nr), addr + BIT_WORD(nr)); in change_bit()
148 return test_and_set_bits(BIT_MASK(nr), addr + BIT_WORD(nr)) != 0; in test_and_set_bit()
154 return test_and_set_bits_lock(BIT_MASK(nr), in test_and_set_bit_lock()
161 return test_and_clear_bits(BIT_MASK(nr), addr + BIT_WORD(nr)) != 0; in test_and_clear_bit()
167 return test_and_change_bits(BIT_MASK(nr), addr + BIT_WORD(nr)) != 0; in test_and_change_bit()
176 unsigned long mask = BIT_MASK(nr); in clear_bit_unlock_return_word()
194 (clear_bit_unlock_return_word(nr, addr) & BIT_MASK(PG_waiters))
/Linux-v4.19/drivers/input/mouse/
Datarimouse.c135 atamouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in atamouse_init()
136 atamouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in atamouse_init()
137 atamouse_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in atamouse_init()
138 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in atamouse_init()
Drpcmouse.c81 rpcmouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in rpcmouse_init()
82 rpcmouse_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in rpcmouse_init()
83 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in rpcmouse_init()
84 rpcmouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in rpcmouse_init()
Dmaplemouse.c90 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in probe_maple_mouse()
91 input_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | in probe_maple_mouse()
92 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in probe_maple_mouse()
93 input_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y) | in probe_maple_mouse()
94 BIT_MASK(REL_WHEEL); in probe_maple_mouse()
Damimouse.c113 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in amimouse_probe()
114 dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in amimouse_probe()
115 dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in amimouse_probe()
116 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amimouse_probe()
Dlogibm.c152 logibm_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in logibm_init()
153 logibm_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in logibm_init()
154 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in logibm_init()
155 logibm_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in logibm_init()
Dinport.c159 inport_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in inport_init()
160 inport_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in inport_init()
161 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in inport_init()
162 inport_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in inport_init()
Dpc110pad.c140 pc110pad_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in pc110pad_init()
141 pc110pad_dev->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y); in pc110pad_init()
142 pc110pad_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in pc110pad_init()
/Linux-v4.19/include/asm-generic/bitops/
Datomic.h17 atomic_long_or(BIT_MASK(nr), (atomic_long_t *)p); in set_bit()
23 atomic_long_andnot(BIT_MASK(nr), (atomic_long_t *)p); in clear_bit()
29 atomic_long_xor(BIT_MASK(nr), (atomic_long_t *)p); in change_bit()
35 unsigned long mask = BIT_MASK(nr); in test_and_set_bit()
48 unsigned long mask = BIT_MASK(nr); in test_and_clear_bit()
61 unsigned long mask = BIT_MASK(nr); in test_and_change_bit()
Dnon-atomic.h18 unsigned long mask = BIT_MASK(nr); in __set_bit()
26 unsigned long mask = BIT_MASK(nr); in __clear_bit()
43 unsigned long mask = BIT_MASK(nr); in __change_bit()
60 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit()
79 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit()
91 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit()
Dlock.h22 unsigned long mask = BIT_MASK(nr); in test_and_set_bit_lock()
43 atomic_long_fetch_andnot_release(BIT_MASK(nr), (atomic_long_t *)p); in clear_bit_unlock()
64 old &= ~BIT_MASK(nr); in __clear_bit_unlock()
82 unsigned long mask = BIT_MASK(nr); in clear_bit_unlock_is_negative_byte()
/Linux-v4.19/arch/openrisc/include/asm/bitops/
Datomic.h14 unsigned long mask = BIT_MASK(nr); in set_bit()
31 unsigned long mask = BIT_MASK(nr); in clear_bit()
48 unsigned long mask = BIT_MASK(nr); in change_bit()
65 unsigned long mask = BIT_MASK(nr); in test_and_set_bit()
85 unsigned long mask = BIT_MASK(nr); in test_and_clear_bit()
105 unsigned long mask = BIT_MASK(nr); in test_and_change_bit()
/Linux-v4.19/net/rfkill/
Dinput.c280 .evbit = { BIT_MASK(EV_KEY) },
281 .keybit = { [BIT_WORD(KEY_WLAN)] = BIT_MASK(KEY_WLAN) },
285 .evbit = { BIT_MASK(EV_KEY) },
286 .keybit = { [BIT_WORD(KEY_BLUETOOTH)] = BIT_MASK(KEY_BLUETOOTH) },
290 .evbit = { BIT_MASK(EV_KEY) },
291 .keybit = { [BIT_WORD(KEY_UWB)] = BIT_MASK(KEY_UWB) },
295 .evbit = { BIT_MASK(EV_KEY) },
296 .keybit = { [BIT_WORD(KEY_WIMAX)] = BIT_MASK(KEY_WIMAX) },
300 .evbit = { BIT_MASK(EV_KEY) },
301 .keybit = { [BIT_WORD(KEY_RFKILL)] = BIT_MASK(KEY_RFKILL) },
[all …]
/Linux-v4.19/arch/sh/include/asm/
Dbitops-op32.h31 unsigned long mask = BIT_MASK(nr); in __set_bit()
49 unsigned long mask = BIT_MASK(nr); in __clear_bit()
76 unsigned long mask = BIT_MASK(nr); in __change_bit()
94 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit()
113 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit()
125 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit()
/Linux-v4.19/drivers/macintosh/
Dmac_hid.c49 mac_hid_emumouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in mac_hid_create_emumouse()
51 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in mac_hid_create_emumouse()
52 mac_hid_emumouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in mac_hid_create_emumouse()
146 .evbit = { BIT_MASK(EV_KEY) },
/Linux-v4.19/drivers/hid/usbhid/
Dusbmouse.c179 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in usb_mouse_probe()
180 input_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | in usb_mouse_probe()
181 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in usb_mouse_probe()
182 input_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in usb_mouse_probe()
183 input_dev->keybit[BIT_WORD(BTN_MOUSE)] |= BIT_MASK(BTN_SIDE) | in usb_mouse_probe()
184 BIT_MASK(BTN_EXTRA); in usb_mouse_probe()
185 input_dev->relbit[0] |= BIT_MASK(REL_WHEEL); in usb_mouse_probe()
/Linux-v4.19/drivers/input/keyboard/
Dsunkbd.c294 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_LED) | in sunkbd_connect()
295 BIT_MASK(EV_SND) | BIT_MASK(EV_REP); in sunkbd_connect()
296 input_dev->ledbit[0] = BIT_MASK(LED_CAPSL) | BIT_MASK(LED_COMPOSE) | in sunkbd_connect()
297 BIT_MASK(LED_SCROLLL) | BIT_MASK(LED_NUML); in sunkbd_connect()
298 input_dev->sndbit[0] = BIT_MASK(SND_CLICK) | BIT_MASK(SND_BELL); in sunkbd_connect()
/Linux-v4.19/drivers/input/
Dmousedev.c1010 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) },
1011 .keybit = { [BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) },
1012 .relbit = { BIT_MASK(REL_X) | BIT_MASK(REL_Y) },
1018 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) },
1019 .relbit = { BIT_MASK(REL_WHEEL) },
1025 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) },
1026 .keybit = { [BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH) },
1027 .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) },
1034 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) },
1036 BIT_MASK(BTN_TOOL_FINGER) },
[all …]

1234567