/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hdr.h | 711 #define QLC_DEV_CHECK_ACTIVE(VAL, FN) ((VAL) & (1 << (FN * 4))) argument 712 #define QLC_DEV_SET_REF_CNT(VAL, FN) ((VAL) |= (1 << (FN * 4))) argument 713 #define QLC_DEV_CLR_REF_CNT(VAL, FN) ((VAL) &= ~(1 << (FN * 4))) argument 714 #define QLC_DEV_SET_RST_RDY(VAL, FN) ((VAL) |= (1 << (FN * 4))) argument 715 #define QLC_DEV_SET_QSCNT_RDY(VAL, FN) ((VAL) |= (2 << (FN * 4))) argument 716 #define QLC_DEV_CLR_RST_QSCNT(VAL, FN) ((VAL) &= ~(3 << (FN * 4))) argument 718 #define QLC_DEV_GET_DRV(VAL, FN) (0xf & ((VAL) >> (FN * 4))) argument 719 #define QLC_DEV_SET_DRV(VAL, FN) ((VAL) << (FN * 4)) argument 745 #define ISR_LEGACY_INT_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) argument
|
D | qlcnic.h | 794 #define QLCNIC_IS_LB_CONFIGURED(VAL) \ argument 795 (VAL == (QLCNIC_LINKEVENT | QLCNIC_LB_RESPONSE))
|
/drivers/watchdog/ |
D | it8712f_wdt.c | 63 #define VAL 0x2f /* The value to read/write */ macro 101 return inb(VAL); in superio_inb() 107 outb(val, VAL); in superio_outb() 114 val = inb(VAL) << 8; in superio_inw() 116 val |= inb(VAL); in superio_inw() 123 outb(ldn, VAL); in superio_select() 144 outb(0x02, VAL); in superio_exit()
|
D | it87_wdt.c | 63 #define VAL 0x2f macro 183 outb(0x02, VAL); in superio_exit() 190 outb(ldn, VAL); in superio_select() 196 return inb(VAL); in superio_inb() 202 outb(val, VAL); in superio_outb() 209 val = inb(VAL) << 8; in superio_inw() 211 val |= inb(VAL); in superio_inw() 218 outb(val >> 8, VAL); in superio_outw() 220 outb(val, VAL); in superio_outw()
|
/drivers/staging/comedi/drivers/ |
D | s626.h | 464 #define I2C_B2(ATTR, VAL) (((ATTR) << 6) | ((VAL) << 24)) argument 465 #define I2C_B1(ATTR, VAL) (((ATTR) << 4) | ((VAL) << 16)) argument 466 #define I2C_B0(ATTR, VAL) (((ATTR) << 2) | ((VAL) << 8)) argument
|
D | s626.c | 534 #define I2C_B2(ATTR, VAL) (((ATTR) << 6) | ((VAL) << 24)) argument 535 #define I2C_B1(ATTR, VAL) (((ATTR) << 4) | ((VAL) << 16)) argument 536 #define I2C_B0(ATTR, VAL) (((ATTR) << 2) | ((VAL) << 8)) argument
|
/drivers/rtc/ |
D | rtc-at32ap700x.c | 75 now = rtc_readl(rtc, VAL); in at32_rtc_readtime() 89 rtc_writel(rtc, VAL, now); in at32_rtc_settime() 114 rtc_unix_time = rtc_readl(rtc, VAL); in at32_rtc_setalarm() 145 if (rtc_readl(rtc, VAL) > rtc->alarm_time) { in at32_rtc_alarm_irq_enable() 179 rtc_writel(rtc, VAL, rtc->alarm_time); in at32_rtc_interrupt()
|
/drivers/scsi/ |
D | sun3x_esp.c | 44 #define dma_write32(VAL, REG) \ 45 writel((VAL), esp->dma_regs + (REG)) 49 #define dma_write32(VAL, REG) \ argument 50 do { *(volatile u32 *)(esp->dma_regs + (REG)) = (VAL); } while (0)
|
D | aha152x.h | 288 #define SETPORT(PORT, VAL) outb( (VAL), (PORT) ) argument
|
D | mac_esp.c | 49 #define esp_write8(VAL, REG) mac_esp_write8(esp, VAL, REG) argument
|
D | sun_esp.c | 32 #define dma_write32(VAL, REG) \ argument 33 sbus_writel((VAL), esp->dma_regs + (REG))
|
D | esp_scsi.c | 104 #define esp_write8(VAL,REG) esp->ops->esp_write8(esp, VAL, REG) argument
|
/drivers/hwmon/ |
D | smsc47b397.c | 55 #define VAL 0x2f /* The value to read/write */ macro 60 outb(val, VAL); in superio_outb() 66 return inb(VAL); in superio_inb()
|
D | smsc47m1.c | 57 #define VAL 0x2f /* The value to read/write */ macro 63 outb(val, VAL); in superio_outb() 70 return inb(VAL); in superio_inb()
|
D | it87.c | 72 #define VAL 0x2f /* The value to read/write */ macro 84 return inb(VAL); in superio_inb() 90 outb(val, VAL); in superio_outb() 97 val = inb(VAL) << 8; in superio_inw() 99 val |= inb(VAL); in superio_inw() 106 outb(ldn, VAL); in superio_select() 127 outb(0x02, VAL); in superio_exit()
|
/drivers/scsi/qla4xxx/ |
D | ql4_nx.h | 719 #define ISR_IS_LEGACY_INTR_IDLE(VAL) (((VAL) & 0x300) == 0) argument 720 #define ISR_IS_LEGACY_INTR_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) argument
|
/drivers/net/ethernet/freescale/fs_enet/ |
D | mii-fec.c | 47 #define mk_mii_write(REG, VAL) (0x50020000 | ((REG & 0x1f) << 18) | (VAL & 0xffff)) argument
|
D | mac-fcc.c | 73 #define mk_mii_write(REG, VAL) (0x50020000 | ((REG & 0x1f) << 18) | (VAL & 0xffff)) argument
|
/drivers/scsi/qla2xxx/ |
D | qla_nx.h | 704 #define ISR_IS_LEGACY_INTR_IDLE(VAL) (((VAL) & 0x300) == 0) argument 705 #define ISR_IS_LEGACY_INTR_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) argument
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hdr.h | 979 #define ISR_LEGACY_INT_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) argument
|