Home
last modified time | relevance | path

Searched defs:VAL (Results 1 – 20 of 20) sorted by relevance

/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hdr.h642 #define QLC_DEV_SET_REF_CNT(VAL, FN) ((VAL) |= (1 << (FN * 4))) argument
643 #define QLC_DEV_CLR_REF_CNT(VAL, FN) ((VAL) &= ~(1 << (FN * 4))) argument
644 #define QLC_DEV_SET_RST_RDY(VAL, FN) ((VAL) |= (1 << (FN * 4))) argument
645 #define QLC_DEV_SET_QSCNT_RDY(VAL, FN) ((VAL) |= (2 << (FN * 4))) argument
646 #define QLC_DEV_CLR_RST_QSCNT(VAL, FN) ((VAL) &= ~(3 << (FN * 4))) argument
648 #define QLC_DEV_GET_DRV(VAL, FN) (0xf & ((VAL) >> (FN * 4))) argument
649 #define QLC_DEV_SET_DRV(VAL, FN) ((VAL) << (FN * 4)) argument
678 #define ISR_LEGACY_INT_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) argument
Dqlcnic_83xx_hw.h386 #define QLC_83XX_GET_FUNC_PRIVILEGE(VAL, FN) (0x3 & ((VAL) >> (FN * 2))) argument
387 #define QLC_83XX_SET_FUNC_OPMODE(VAL, FN) ((VAL) << (FN * 2)) argument
Dqlcnic.h777 #define QLCNIC_IS_LB_CONFIGURED(VAL) \ argument
/drivers/net/ethernet/freescale/fs_enet/
Dmii-fec.c47 #define mk_mii_write(REG, VAL) (0x50020000 | ((REG & 0x1f) << 18) | (VAL & 0xffff)) argument
Dmac-fcc.c73 #define mk_mii_write(REG, VAL) (0x50020000 | ((REG & 0x1f) << 18) | (VAL & 0xffff)) argument
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hdr.h964 #define NETXEN_DIMM_MEMTYPE(VAL) ((VAL >> 3) & 0xf) argument
965 #define NETXEN_DIMM_NUMROWS(VAL) ((VAL >> 7) & 0xf) argument
966 #define NETXEN_DIMM_NUMCOLS(VAL) ((VAL >> 11) & 0xf) argument
967 #define NETXEN_DIMM_NUMRANKS(VAL) ((VAL >> 15) & 0x3) argument
968 #define NETXEN_DIMM_DATAWIDTH(VAL) ((VAL >> 18) & 0x3) argument
969 #define NETXEN_DIMM_NUMBANKS(VAL) ((VAL >> 21) & 0xf) argument
970 #define NETXEN_DIMM_TYPE(VAL) ((VAL >> 25) & 0x3f) argument
1005 #define ISR_LEGACY_INT_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) argument
/drivers/scsi/
Dsun3x_esp.c49 #define dma_write32(VAL, REG) \ argument
Dmac_esp.c49 #define esp_write8(VAL, REG) mac_esp_write8(esp, VAL, REG) argument
Dsun_esp.c32 #define dma_write32(VAL, REG) \ argument
Daha152x.h288 #define SETPORT(PORT, VAL) outb( (VAL), (PORT) ) argument
Desp_scsi.c104 #define esp_write8(VAL,REG) esp->ops->esp_write8(esp, VAL, REG) argument
/drivers/staging/comedi/drivers/
Ds626.h434 #define I2C_B2(ATTR, VAL) (((ATTR) << 6) | ((VAL) << 24)) argument
435 #define I2C_B1(ATTR, VAL) (((ATTR) << 4) | ((VAL) << 16)) argument
436 #define I2C_B0(ATTR, VAL) (((ATTR) << 2) | ((VAL) << 8)) argument
Ds626.c178 #define I2C_B2(ATTR, VAL) (((ATTR) << 6) | ((VAL) << 24)) argument
179 #define I2C_B1(ATTR, VAL) (((ATTR) << 4) | ((VAL) << 16)) argument
180 #define I2C_B0(ATTR, VAL) (((ATTR) << 2) | ((VAL) << 8)) argument
/drivers/watchdog/
Dit8712f_wdt.c63 #define VAL 0x2f /* The value to read/write */ macro
Dit87_wdt.c64 #define VAL 0x2f macro
/drivers/hwmon/
Dsmsc47b397.c55 #define VAL 0x2f /* The value to read/write */ macro
Dsmsc47m1.c57 #define VAL 0x2f /* The value to read/write */ macro
Dit87.c77 #define VAL 0x2f /* The value to read/write */ macro
/drivers/scsi/qla4xxx/
Dql4_nx.h764 #define ISR_IS_LEGACY_INTR_IDLE(VAL) (((VAL) & 0x300) == 0) argument
765 #define ISR_IS_LEGACY_INTR_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) argument
/drivers/scsi/qla2xxx/
Dqla_nx.h705 #define ISR_IS_LEGACY_INTR_IDLE(VAL) (((VAL) & 0x300) == 0) argument
706 #define ISR_IS_LEGACY_INTR_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) argument