/linux-2.4.37.9/drivers/scsi/ |
D | nsp32.h | 77 #define BIT(x) (1UL << (x)) macro 104 # define IRQSTATUS_LATCHED_MSG BIT(0) 105 # define IRQSTATUS_LATCHED_IO BIT(1) 106 # define IRQSTATUS_LATCHED_CD BIT(2) 107 # define IRQSTATUS_LATCHED_BUS_FREE BIT(3) 108 # define IRQSTATUS_RESELECT_OCCUER BIT(4) 109 # define IRQSTATUS_PHASE_CHANGE_IRQ BIT(5) 110 # define IRQSTATUS_SCSIRESET_IRQ BIT(6) 111 # define IRQSTATUS_TIMER_IRQ BIT(7) 112 # define IRQSTATUS_FIFO_SHLD_IRQ BIT(8) [all …]
|
D | FlashPoint.c | 271 #define BIT(x) ((UCHAR)(1<<(x))) /* single-bit mask in bit position x */ macro 893 #define TAR_SYNC_MASK (BIT(7)+BIT(6)) 895 #define SYNC_TRYING BIT(6) 896 #define SYNC_SUPPORTED (BIT(7)+BIT(6)) 898 #define TAR_WIDE_MASK (BIT(5)+BIT(4)) 900 #define WIDE_ENABLED BIT(4) 901 #define WIDE_NEGOCIATED BIT(5) 903 #define TAR_TAG_Q_MASK (BIT(3)+BIT(2)) 905 #define TAG_Q_TRYING BIT(2) 906 #define TAG_Q_REJECT BIT(3) [all …]
|
/linux-2.4.37.9/drivers/scsi/pcmcia/ |
D | nsp_cs.h | 30 #define BIT(x) (1L << (x)) macro 45 # define IRQCONTROL_RESELECT_CLEAR BIT(0) 46 # define IRQCONTROL_PHASE_CHANGE_CLEAR BIT(1) 47 # define IRQCONTROL_TIMER_CLEAR BIT(2) 48 # define IRQCONTROL_FIFO_CLEAR BIT(3) 49 # define IRQCONTROL_SCSI_IRQ_MASK BIT(4) 50 # define IRQCONTROL_EXT_IRQ_MASK BIT(5) 51 # define IRQCONTROL_TIMER_IRQ_MASK BIT(6) 52 # define IRQCONTROL_FIFO_IRQ_MASK BIT(7) 65 # define IRQSTATUS_SCSI BIT(0) [all …]
|
D | nsp_cs.c | 146 #define NSP_DEBUG_QUEUECOMMAND BIT(0) 147 #define NSP_DEBUG_REGISTER BIT(1) 148 #define NSP_DEBUG_AUTOSCSI BIT(2) 149 #define NSP_DEBUG_INTR BIT(3) 150 #define NSP_DEBUG_SGLIST BIT(4) 151 #define NSP_DEBUG_BUSFREE BIT(5) 152 #define NSP_DEBUG_CDB_CONTENTS BIT(6) 153 #define NSP_DEBUG_RESELECTION BIT(7) 154 #define NSP_DEBUG_MSGINOCCUR BIT(8) 155 #define NSP_DEBUG_EEPROM BIT(9) [all …]
|
/linux-2.4.37.9/drivers/video/ |
D | sstfb.h | 75 #define BIT(x) (1ul<<(x)) macro 94 # define PCI_EN_INIT_WR BIT(0) 95 # define PCI_EN_FIFO_WR BIT(1) 96 # define PCI_REMAP_DAC BIT(2) 102 # define STATUS_FBI_BUSY BIT(7) 104 # define EN_CLIPPING BIT(0) /* enable clipping */ 105 # define EN_RGB_WRITE BIT(9) /* enable writes to rgb area */ 106 # define EN_ALPHA_WRITE BIT(10) 107 # define ENGINE_INVERT_Y BIT(17) /* invert Y origin (pipe) */ 116 # define EN_PXL_PIPELINE BIT(8) /* pixel pipeline (clip..)*/ [all …]
|
D | tdfxfb.c | 175 #define BIT(x) (1UL << (x)) macro 182 #define AUTOINC_DSTX BIT(10) 183 #define AUTOINC_DSTY BIT(11) 190 #define STATUS_RETRACE BIT(6) 191 #define STATUS_BUSY BIT(9) 192 #define MISCINIT1_CLUT_INV BIT(0) 193 #define MISCINIT1_2DBLOCK_DIS BIT(15) 194 #define DRAMINIT0_SGRAM_NUM BIT(26) 195 #define DRAMINIT0_SGRAM_TYPE BIT(27) 196 #define DRAMINIT1_MEM_SDRAM BIT(30) [all …]
|
D | cyber2000fb.c | 615 #define BIT(v,b1,m,b2) (((v >> b1) & m) << b2) in cyber2000fb_decode_crtc() macro 635 hw->crtc[3] = BIT(Hblankend, 0, 0x1f, 0) | in cyber2000fb_decode_crtc() 636 BIT(1, 0, 0x01, 7); in cyber2000fb_decode_crtc() 640 hw->crtc[5] = BIT(Hsyncend, 0, 0x1f, 0) | in cyber2000fb_decode_crtc() 641 BIT(Hblankend, 5, 0x01, 7); in cyber2000fb_decode_crtc() 656 hw->crtc[7] = BIT(Vtotal, 8, 0x01, 0) | in cyber2000fb_decode_crtc() 657 BIT(Vdispend, 8, 0x01, 1) | in cyber2000fb_decode_crtc() 658 BIT(Vsyncstart, 8, 0x01, 2) | in cyber2000fb_decode_crtc() 659 BIT(Vblankstart,8, 0x01, 3) | in cyber2000fb_decode_crtc() 660 BIT(1, 0, 0x01, 4) | in cyber2000fb_decode_crtc() [all …]
|
/linux-2.4.37.9/drivers/char/joystick/ |
D | a3d.c | 294 a3d->dev.evbit[0] |= BIT(EV_ABS) | BIT(EV_KEY) | BIT(EV_REL); in a3d_connect() 295 a3d->dev.relbit[0] |= BIT(REL_X) | BIT(REL_Y); in a3d_connect() 296 a3d->dev.absbit[0] |= BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_THROTTLE) | BIT(ABS_RUDDER) in a3d_connect() 297 | BIT(ABS_HAT0X) | BIT(ABS_HAT0Y) | BIT(ABS_HAT1X) | BIT(ABS_HAT1Y); in a3d_connect() 299 a3d->dev.keybit[LONG(BTN_MOUSE)] |= BIT(BTN_RIGHT) | BIT(BTN_LEFT) | BIT(BTN_MIDDLE) in a3d_connect() 300 | BIT(BTN_SIDE) | BIT(BTN_EXTRA); in a3d_connect() 302 …a3d->dev.keybit[LONG(BTN_JOYSTICK)] |= BIT(BTN_TRIGGER) | BIT(BTN_THUMB) | BIT(BTN_TOP) | BIT(BTN_… in a3d_connect() 322 a3d->dev.evbit[0] |= BIT(EV_KEY) | BIT(EV_REL); in a3d_connect() 323 a3d->dev.relbit[0] |= BIT(REL_X) | BIT(REL_Y); in a3d_connect() 324 a3d->dev.keybit[LONG(BTN_MOUSE)] |= BIT(BTN_RIGHT) | BIT(BTN_LEFT) | BIT(BTN_MIDDLE); in a3d_connect()
|
D | stinger.c | 142 stinger->dev.evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); in stinger_connect() 143 stinger->dev.keybit[LONG(BTN_A)] = BIT(BTN_A) | BIT(BTN_B) | BIT(BTN_C) | BIT(BTN_X) | \ in stinger_connect() 144 BIT(BTN_Y) | BIT(BTN_Z) | BIT(BTN_TL) | BIT(BTN_TR) | \ in stinger_connect() 145 BIT(BTN_START) | BIT(BTN_SELECT); in stinger_connect() 146 stinger->dev.absbit[0] = BIT(ABS_X) | BIT(ABS_Y); in stinger_connect()
|
D | warrior.c | 147 warrior->dev.evbit[0] = BIT(EV_KEY) | BIT(EV_REL) | BIT(EV_ABS); in warrior_connect() 148 …warrior->dev.keybit[LONG(BTN_TRIGGER)] = BIT(BTN_TRIGGER) | BIT(BTN_THUMB) | BIT(BTN_TOP) | BIT(BT… in warrior_connect() 149 warrior->dev.relbit[0] = BIT(REL_DIAL); in warrior_connect() 150 …warrior->dev.absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_THROTTLE) | BIT(ABS_HAT0X) | BIT(ABS_HA… in warrior_connect()
|
D | amijoy.c | 127 amijoy_dev[i].evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); in amijoy_init() 128 amijoy_dev[i].absbit[0] = BIT(ABS_X) | BIT(ABS_Y); in amijoy_init() 129 amijoy_dev[i].keybit[LONG(BTN_LEFT)] = BIT(BTN_LEFT) | BIT(BTN_MIDDLE) | BIT(BTN_RIGHT); in amijoy_init()
|
D | spaceball.c | 179 spaceball->dev.evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); in spaceball_connect() 180 spaceball->dev.keybit[LONG(BTN_0)] = BIT(BTN_0) | BIT(BTN_1); in spaceball_connect()
|
D | turbografx.c | 183 tgfx->dev[i].evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); in tgfx_probe() 184 tgfx->dev[i].absbit[0] = BIT(ABS_X) | BIT(ABS_Y); in tgfx_probe()
|
/linux-2.4.37.9/drivers/usb/ |
D | wacom.c | 338 #define WACOM_INTUOS_TOOLS (BIT(BTN_TOOL_BRUSH) | BIT(BTN_TOOL_PENCIL) | BIT(BTN_TOOL_AIRBRUSH) | B… 339 #define WACOM_INTUOS_BUTTONS (BIT(BTN_SIDE) | BIT(BTN_EXTRA)) 340 #define WACOM_INTUOS_ABS (BIT(ABS_TILT_X) | BIT(ABS_TILT_Y) | BIT(ABS_RZ) | BIT(ABS_THROTTLE)) 346 BIT(EV_REL), 0, BIT(REL_WHEEL), 0 }, 348 BIT(EV_REL), 0, BIT(REL_WHEEL), 0 }, 350 BIT(EV_REL), 0, BIT(REL_WHEEL), 0 }, 445 wacom->dev.evbit[0] |= BIT(EV_KEY) | BIT(EV_ABS) | BIT(EV_MSC) | wacom->features->evbit; in wacom_probe() 446 …wacom->dev.absbit[0] |= BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE) | BIT(ABS_DISTANCE) | BIT(ABS_… in wacom_probe() 448 …wacom->dev.keybit[LONG(BTN_LEFT)] |= BIT(BTN_LEFT) | BIT(BTN_RIGHT) | BIT(BTN_MIDDLE) | wacom->fea… in wacom_probe() 449 …wacom->dev.keybit[LONG(BTN_DIGI)] |= BIT(BTN_TOOL_PEN) | BIT(BTN_TOOL_RUBBER) | BIT(BTN_TOOL_MOUSE… in wacom_probe() [all …]
|
D | kbtab.c | 104 kbtab->dev.evbit[0] |= BIT(EV_KEY) | BIT(EV_ABS) | BIT(EV_MSC); in kbtab_probe() 105 kbtab->dev.absbit[0] |= BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE); in kbtab_probe() 107 kbtab->dev.keybit[LONG(BTN_LEFT)] |= BIT(BTN_LEFT) | BIT(BTN_RIGHT) | BIT(BTN_MIDDLE); in kbtab_probe() 108 kbtab->dev.keybit[LONG(BTN_DIGI)] |= BIT(BTN_STYLUS); in kbtab_probe() 110 kbtab->dev.mscbit[0] |= BIT(MSC_SERIAL); in kbtab_probe()
|
D | usbmouse.c | 130 mouse->dev.evbit[0] = BIT(EV_KEY) | BIT(EV_REL); in usb_mouse_probe() 131 mouse->dev.keybit[LONG(BTN_MOUSE)] = BIT(BTN_LEFT) | BIT(BTN_RIGHT) | BIT(BTN_MIDDLE); in usb_mouse_probe() 132 mouse->dev.relbit[0] = BIT(REL_X) | BIT(REL_Y); in usb_mouse_probe() 133 mouse->dev.keybit[LONG(BTN_MOUSE)] |= BIT(BTN_SIDE) | BIT(BTN_EXTRA); in usb_mouse_probe() 134 mouse->dev.relbit[0] |= BIT(REL_WHEEL); in usb_mouse_probe()
|
D | aiptek.c | 1238 aiptek->dev.evbit[0] |= BIT(EV_KEY) in aiptek_probe() 1239 | BIT(EV_ABS) in aiptek_probe() 1240 | BIT(EV_MSC); in aiptek_probe() 1242 aiptek->dev.absbit[0] |= BIT(ABS_X) in aiptek_probe() 1243 | BIT(ABS_Y) in aiptek_probe() 1244 | BIT(ABS_PRESSURE) in aiptek_probe() 1245 | BIT(ABS_TILT_X) in aiptek_probe() 1246 | BIT(ABS_TILT_Y) in aiptek_probe() 1247 | BIT(ABS_MISC); in aiptek_probe() 1249 aiptek->dev.relbit[0] |= BIT(REL_X) in aiptek_probe() [all …]
|
D | usbkbd.c | 203 kbd->dev.evbit[0] = BIT(EV_KEY) | BIT(EV_LED) | BIT(EV_REP); in usb_kbd_probe() 204 …kbd->dev.ledbit[0] = BIT(LED_NUML) | BIT(LED_CAPSL) | BIT(LED_SCROLLL) | BIT(LED_COMPOSE) | BIT(LE… in usb_kbd_probe()
|
D | powermate.c | 297 pm->input.evbit[0] = BIT(EV_KEY) | BIT(EV_REL) | BIT(EV_MSC); in powermate_probe() 298 pm->input.keybit[LONG(BTN_0)] = BIT(BTN_0); in powermate_probe() 299 pm->input.relbit[LONG(REL_DIAL)] = BIT(REL_DIAL); in powermate_probe() 300 pm->input.mscbit[LONG(MSC_PULSELED)] = BIT(MSC_PULSELED); in powermate_probe()
|
/linux-2.4.37.9/drivers/net/ |
D | eth16i.c | 176 #define BIT(a) ( (1 << (a)) ) macro 194 #define PKT_GOOD BIT(5) 195 #define PKT_GOOD_RMT BIT(4) 196 #define PKT_SHORT BIT(3) 197 #define PKT_ALIGN_ERR BIT(2) 198 #define PKT_CRC_ERR BIT(1) 199 #define PKT_RX_BUF_OVERFLOW BIT(0) 203 #define TX_DONE BIT(7) 204 #define NET_BUSY BIT(6) 205 #define TX_PKT_RCD BIT(5) [all …]
|
/linux-2.4.37.9/arch/mips/vr41xx/common/ |
D | pciu.h | 24 #define BIT(x) (1U << (x)) macro 33 #define PCI_ACCESS_ENABLE BIT(12) 44 #define MABTCLR BIT(31) 45 #define TRDYCLR BIT(30) 46 #define PARCLR BIT(29) 47 #define MBCLR BIT(28) 48 #define SERRCLR BIT(27) 51 #define UNLOCK BIT(1) 52 #define EAREQ BIT(0) 58 #define CONFIG_DONE BIT(2)
|
/linux-2.4.37.9/drivers/net/fc/ |
D | iph5526_novram.c | 49 #define BIT(x) (1 << (x)) macro 52 #define NVDI BIT(NVDI_B) 53 #define NVDO BIT(9) 54 #define NVCE BIT(30) 55 #define NVSK BIT(29) 56 #define NV_MANUAL BIT(28)
|
/linux-2.4.37.9/drivers/char/ |
D | obmouse.c | 289 obdev.evbit[0] = BIT(EV_KEY) | BIT(EV_REL); in obmouse_init() 290 obdev.keybit[LONG(BTN_LEFT)] = BIT(BTN_LEFT) | BIT(BTN_RIGHT); in obmouse_init() 291 obdev.relbit[0] = BIT(REL_X) | BIT(REL_Y); in obmouse_init()
|
/linux-2.4.37.9/drivers/macintosh/ |
D | mac_hid.c | 461 emumousebtn.evbit[0] = BIT(EV_KEY) | BIT(EV_REL); in emumousebtn_input_register() 462 emumousebtn.keybit[LONG(BTN_MOUSE)] = BIT(BTN_LEFT) | BIT(BTN_MIDDLE) | BIT(BTN_RIGHT); in emumousebtn_input_register() 463 emumousebtn.relbit[0] = BIT(REL_X) | BIT(REL_Y); in emumousebtn_input_register()
|
D | adbhid.c | 519 adbhid[id]->input.evbit[0] = BIT(EV_KEY) | BIT(EV_LED) | BIT(EV_REP); in adbhid_input_register() 520 adbhid[id]->input.ledbit[0] = BIT(LED_SCROLLL) | BIT(LED_CAPSL) | BIT(LED_NUML); in adbhid_input_register() 530 adbhid[id]->input.evbit[0] = BIT(EV_KEY) | BIT(EV_REL); in adbhid_input_register() 531 adbhid[id]->input.keybit[LONG(BTN_MOUSE)] = BIT(BTN_LEFT) | BIT(BTN_MIDDLE) | BIT(BTN_RIGHT); in adbhid_input_register() 532 adbhid[id]->input.relbit[0] = BIT(REL_X) | BIT(REL_Y); in adbhid_input_register() 544 adbhid[id]->input.evbit[0] = BIT(EV_KEY) | BIT(EV_REP); in adbhid_input_register()
|