/Linux-v5.10/drivers/misc/habanalabs/include/gaudi/ |
D | gaudi_masks.h | 99 #define CFG_RST_L_PSOC_MASK BIT_MASK(0) 100 #define CFG_RST_L_PCIE_MASK BIT_MASK(1) 101 #define CFG_RST_L_PCIE_IF_MASK BIT_MASK(2) 102 #define CFG_RST_L_HBM_S_PLL_MASK BIT_MASK(3) 103 #define CFG_RST_L_TPC_S_PLL_MASK BIT_MASK(4) 104 #define CFG_RST_L_MME_S_PLL_MASK BIT_MASK(5) 105 #define CFG_RST_L_CPU_PLL_MASK BIT_MASK(6) 106 #define CFG_RST_L_PCIE_PLL_MASK BIT_MASK(7) 107 #define CFG_RST_L_NIC_S_PLL_MASK BIT_MASK(8) 108 #define CFG_RST_L_HBM_N_PLL_MASK BIT_MASK(9) [all …]
|
/Linux-v5.10/drivers/input/joystick/ |
D | a3d.c | 310 input_dev->evbit[0] |= BIT_MASK(EV_ABS) | BIT_MASK(EV_KEY) | in a3d_connect() 311 BIT_MASK(EV_REL); in a3d_connect() 312 input_dev->relbit[0] |= BIT_MASK(REL_X) | BIT_MASK(REL_Y); in a3d_connect() 313 input_dev->absbit[0] |= BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in a3d_connect() 314 BIT_MASK(ABS_THROTTLE) | BIT_MASK(ABS_RUDDER) | in a3d_connect() 315 BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | in a3d_connect() 316 BIT_MASK(ABS_HAT1X) | BIT_MASK(ABS_HAT1Y); in a3d_connect() 317 input_dev->keybit[BIT_WORD(BTN_MOUSE)] |= BIT_MASK(BTN_RIGHT) | in a3d_connect() 318 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | in a3d_connect() 319 BIT_MASK(BTN_SIDE) | BIT_MASK(BTN_EXTRA); in a3d_connect() [all …]
|
D | spaceball.c | 214 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in spaceball_connect() 219 input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_9); in spaceball_connect() 220 input_dev->keybit[BIT_WORD(BTN_A)] |= BIT_MASK(BTN_A) | in spaceball_connect() 221 BIT_MASK(BTN_B) | BIT_MASK(BTN_C) | in spaceball_connect() 222 BIT_MASK(BTN_MODE); in spaceball_connect() 225 input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_2) | in spaceball_connect() 226 BIT_MASK(BTN_3) | BIT_MASK(BTN_4) | in spaceball_connect() 227 BIT_MASK(BTN_5) | BIT_MASK(BTN_6) | in spaceball_connect() 228 BIT_MASK(BTN_7) | BIT_MASK(BTN_8); in spaceball_connect() 231 input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_1) | in spaceball_connect() [all …]
|
D | stinger.c | 140 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in stinger_connect() 141 input_dev->keybit[BIT_WORD(BTN_A)] = BIT_MASK(BTN_A) | BIT_MASK(BTN_B) | in stinger_connect() 142 BIT_MASK(BTN_C) | BIT_MASK(BTN_X) | BIT_MASK(BTN_Y) | in stinger_connect() 143 BIT_MASK(BTN_Z) | BIT_MASK(BTN_TL) | BIT_MASK(BTN_TR) | in stinger_connect() 144 BIT_MASK(BTN_START) | BIT_MASK(BTN_SELECT); in stinger_connect()
|
D | warrior.c | 146 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) | in warrior_connect() 147 BIT_MASK(EV_ABS); in warrior_connect() 148 input_dev->keybit[BIT_WORD(BTN_TRIGGER)] = BIT_MASK(BTN_TRIGGER) | in warrior_connect() 149 BIT_MASK(BTN_THUMB) | BIT_MASK(BTN_TOP) | BIT_MASK(BTN_TOP2); in warrior_connect() 150 input_dev->relbit[0] = BIT_MASK(REL_DIAL); in warrior_connect()
|
D | amijoy.c | 123 amijoy_dev[i]->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in amijoy_init() 124 amijoy_dev[i]->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y); in amijoy_init() 125 amijoy_dev[i]->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in amijoy_init() 126 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amijoy_init()
|
/Linux-v5.10/sound/usb/caiaq/ |
D | input.c | 609 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 610 input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init() 611 BIT_MASK(ABS_Z); in snd_usb_caiaq_input_init() 621 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 622 input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init() 623 BIT_MASK(ABS_Z); in snd_usb_caiaq_input_init() 633 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 634 input->absbit[0] = BIT_MASK(ABS_X); in snd_usb_caiaq_input_init() 643 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 644 input->absbit[0] = BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | in snd_usb_caiaq_input_init() [all …]
|
/Linux-v5.10/drivers/regulator/ |
D | axp20x-regulator.c | 36 #define AXP20X_WORKMODE_DCDC2_MASK BIT_MASK(2) 37 #define AXP20X_WORKMODE_DCDC3_MASK BIT_MASK(1) 41 #define AXP20X_VBUS_IPSOUT_MGMT_MASK BIT_MASK(2) 50 #define AXP20X_PWR_OUT_EXTEN_MASK BIT_MASK(0) 51 #define AXP20X_PWR_OUT_DCDC3_MASK BIT_MASK(1) 52 #define AXP20X_PWR_OUT_LDO2_MASK BIT_MASK(2) 53 #define AXP20X_PWR_OUT_LDO4_MASK BIT_MASK(3) 54 #define AXP20X_PWR_OUT_DCDC2_MASK BIT_MASK(4) 55 #define AXP20X_PWR_OUT_LDO3_MASK BIT_MASK(6) 57 #define AXP20X_DCDC2_LDO3_V_RAMP_DCDC2_RATE_MASK BIT_MASK(0) [all …]
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | bitops.h | 89 set_bits(BIT_MASK(nr), addr + BIT_WORD(nr)); in DEFINE_BITOP() 94 clear_bits(BIT_MASK(nr), addr + BIT_WORD(nr)); in arch_clear_bit() 99 clear_bits_unlock(BIT_MASK(nr), addr + BIT_WORD(nr)); in arch_clear_bit_unlock() 104 change_bits(BIT_MASK(nr), addr + BIT_WORD(nr)); in arch_change_bit() 141 return test_and_set_bits(BIT_MASK(nr), addr + BIT_WORD(nr)) != 0; in arch_test_and_set_bit() 147 return test_and_set_bits_lock(BIT_MASK(nr), in arch_test_and_set_bit_lock() 154 return test_and_clear_bits(BIT_MASK(nr), addr + BIT_WORD(nr)) != 0; in arch_test_and_clear_bit() 160 return test_and_change_bits(BIT_MASK(nr), addr + BIT_WORD(nr)) != 0; in arch_test_and_change_bit() 169 unsigned long mask = BIT_MASK(nr); in clear_bit_unlock_return_word() 189 (clear_bit_unlock_return_word(nr, addr) & BIT_MASK(7))
|
/Linux-v5.10/drivers/input/mouse/ |
D | atarimouse.c | 130 atamouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in atamouse_init() 131 atamouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in atamouse_init() 132 atamouse_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in atamouse_init() 133 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in atamouse_init()
|
D | rpcmouse.c | 78 rpcmouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in rpcmouse_init() 79 rpcmouse_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in rpcmouse_init() 80 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in rpcmouse_init() 81 rpcmouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in rpcmouse_init()
|
D | maplemouse.c | 91 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in probe_maple_mouse() 92 input_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | in probe_maple_mouse() 93 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in probe_maple_mouse() 94 input_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y) | in probe_maple_mouse() 95 BIT_MASK(REL_WHEEL); in probe_maple_mouse()
|
D | amimouse.c | 109 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in amimouse_probe() 110 dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in amimouse_probe() 111 dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in amimouse_probe() 112 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amimouse_probe()
|
D | logibm.c | 140 logibm_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in logibm_init() 141 logibm_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in logibm_init() 142 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in logibm_init() 143 logibm_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in logibm_init()
|
D | inport.c | 147 inport_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in inport_init() 148 inport_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in inport_init() 149 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in inport_init() 150 inport_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in inport_init()
|
/Linux-v5.10/include/asm-generic/bitops/ |
D | atomic.h | 17 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()
|
D | non-atomic.h | 18 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()
|
D | lock.h | 22 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-v5.10/tools/include/asm-generic/bitops/ |
D | non-atomic.h | 18 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()
|
/Linux-v5.10/arch/openrisc/include/asm/bitops/ |
D | atomic.h | 14 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-v5.10/net/rfkill/ |
D | input.c | 277 .evbit = { BIT_MASK(EV_KEY) }, 278 .keybit = { [BIT_WORD(KEY_WLAN)] = BIT_MASK(KEY_WLAN) }, 282 .evbit = { BIT_MASK(EV_KEY) }, 283 .keybit = { [BIT_WORD(KEY_BLUETOOTH)] = BIT_MASK(KEY_BLUETOOTH) }, 287 .evbit = { BIT_MASK(EV_KEY) }, 288 .keybit = { [BIT_WORD(KEY_UWB)] = BIT_MASK(KEY_UWB) }, 292 .evbit = { BIT_MASK(EV_KEY) }, 293 .keybit = { [BIT_WORD(KEY_WIMAX)] = BIT_MASK(KEY_WIMAX) }, 297 .evbit = { BIT_MASK(EV_KEY) }, 298 .keybit = { [BIT_WORD(KEY_RFKILL)] = BIT_MASK(KEY_RFKILL) }, [all …]
|
/Linux-v5.10/arch/sh/include/asm/ |
D | bitops-op32.h | 29 unsigned long mask = BIT_MASK(nr); in __set_bit() 47 unsigned long mask = BIT_MASK(nr); in __clear_bit() 74 unsigned long mask = BIT_MASK(nr); in __change_bit() 92 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit() 111 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit() 123 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit()
|
/Linux-v5.10/drivers/macintosh/ |
D | mac_hid.c | 50 mac_hid_emumouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in mac_hid_create_emumouse() 52 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in mac_hid_create_emumouse() 53 mac_hid_emumouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in mac_hid_create_emumouse() 147 .evbit = { BIT_MASK(EV_KEY) },
|
/Linux-v5.10/drivers/hid/usbhid/ |
D | usbmouse.c | 167 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in usb_mouse_probe() 168 input_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | in usb_mouse_probe() 169 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in usb_mouse_probe() 170 input_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in usb_mouse_probe() 171 input_dev->keybit[BIT_WORD(BTN_MOUSE)] |= BIT_MASK(BTN_SIDE) | in usb_mouse_probe() 172 BIT_MASK(BTN_EXTRA); in usb_mouse_probe() 173 input_dev->relbit[0] |= BIT_MASK(REL_WHEEL); in usb_mouse_probe()
|
/Linux-v5.10/arch/parisc/include/asm/ |
D | bitops.h | 23 unsigned long mask = BIT_MASK(nr); in set_bit() 34 unsigned long mask = BIT_MASK(nr); in clear_bit() 45 unsigned long mask = BIT_MASK(nr); in change_bit() 56 unsigned long mask = BIT_MASK(nr); in test_and_set_bit() 74 unsigned long mask = BIT_MASK(nr); in test_and_clear_bit() 92 unsigned long mask = BIT_MASK(nr); in test_and_change_bit()
|