/drivers/gpu/drm/amd/powerplay/inc/ |
D | pp_endian.h | 27 #define PP_HOST_TO_SMC_UL(X) cpu_to_be32(X) argument 28 #define PP_SMC_TO_HOST_UL(X) be32_to_cpu(X) argument 30 #define PP_HOST_TO_SMC_US(X) cpu_to_be16(X) argument 31 #define PP_SMC_TO_HOST_US(X) be16_to_cpu(X) argument 33 #define CONVERT_FROM_HOST_TO_SMC_UL(X) ((X) = PP_HOST_TO_SMC_UL(X)) argument 34 #define CONVERT_FROM_SMC_TO_HOST_UL(X) ((X) = PP_SMC_TO_HOST_UL(X)) argument 36 #define CONVERT_FROM_HOST_TO_SMC_US(X) ((X) = PP_HOST_TO_SMC_US(X)) argument
|
/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | ppevvmath.h | 218 static fInt ConvertToFraction(int X) /*Add all range checking here. Is it possible to make fInt a p… in ConvertToFraction() 230 static fInt fNegate(fInt X) in fNegate() 236 static fInt Convert_ULONG_ToFraction(uint32_t X) in Convert_ULONG_ToFraction() 248 static fInt GetScaledFraction(int X, int factor) in GetScaledFraction() 297 static fInt fAdd (fInt X, fInt Y) in fAdd() 307 static fInt fSubtract (fInt X, fInt Y) in fSubtract() 332 static fInt fMultiply (fInt X, fInt Y) /* Uses 64-bit integers (int64_t) */ in fMultiply() 356 static fInt fDivide (fInt X, fInt Y) in fDivide() 497 static fInt Divide (int X, int Y) in Divide() 532 static int uAbs(int X) in uAbs()
|
/drivers/media/dvb-frontends/ |
D | stv0367_priv.h | 42 #define ABS(X) ((X) < 0 ? (-1 * (X)) : (X)) argument 43 #define MAX(X, Y) ((X) >= (Y) ? (X) : (Y)) argument 44 #define MIN(X, Y) ((X) <= (Y) ? (X) : (Y)) argument 45 #define INRANGE(X, Y, Z) \ argument 50 #define MAKEWORD(X, Y) (((X) << 8) + (Y)) argument 53 #define LSB(X) (((X) & 0xff)) argument
|
D | stv0900_priv.h | 31 #define ABS(X) ((X) < 0 ? (-1 * (X)) : (X)) argument 32 #define INRANGE(X, Y, Z) ((((X) <= (Y)) && ((Y) <= (Z))) \ argument 36 #define MAKEWORD(X, Y) (((X) << 8) + (Y)) argument 39 #define LSB(X) (((X) & 0xFF)) argument
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_dcb.c | 30 #define QLC_DCB_GET_TC_PRIO(X, P) ((X >> (P * 3)) & 0x7) argument 31 #define QLC_DCB_GET_PGID_PRIO(X, P) ((X >> (P * 8)) & 0xff) argument 32 #define QLC_DCB_GET_BWPER_PG(X, P) ((X >> (P * 8)) & 0xff) argument 33 #define QLC_DCB_GET_TSA_PG(X, P) ((X >> (P * 8)) & 0xff) argument 34 #define QLC_DCB_GET_PFC_PRIO(X, P) (((X >> 24) >> P) & 0x1) argument 35 #define QLC_DCB_GET_PROTO_ID_APP(X) ((X >> 8) & 0xffff) argument 36 #define QLC_DCB_GET_SELECTOR_APP(X) (X & 0xff) argument 42 #define QLC_83XX_DCB_GET_NUMAPP(X) ((X >> 2) & 0xf) argument 43 #define QLC_83XX_DCB_TSA_VALID(X) (X & 0x1) argument 44 #define QLC_83XX_DCB_PFC_VALID(X) ((X >> 1) & 0x1) argument [all …]
|
/drivers/net/ethernet/amd/ |
D | au1000_eth.c | 97 # define MAC_SET_BL(X) (((X) & 0x3) << 6) argument 123 # define MAC_SET_MII_SELECT_REG(X) (((X) & 0x1f) << 6) argument 124 # define MAC_SET_MII_SELECT_PHY(X) (((X) & 0x1f) << 11) argument 130 # define MAC_SET_PAUSE(X) (((X) & 0xffff) << 16) argument 161 # define TX_GET_DMA_BUFFER(X) (((X) >> 2) & 0x3) argument 201 # define RX_GET_DMA_BUFFER(X) (((X) >> 2) & 0x3) argument 202 # define RX_SET_BUFF_ADDR(X) ((X) & 0xffffffc0) argument
|
/drivers/net/ethernet/freescale/ |
D | fec.h | 304 #define FEC_R_DES_START(X) (((X) == 1) ? FEC_R_DES_START_1 : \ argument 307 #define FEC_X_DES_START(X) (((X) == 1) ? FEC_X_DES_START_1 : \ argument 310 #define FEC_R_BUFF_SIZE(X) (((X) == 1) ? FEC_R_BUFF_SIZE_1 : \ argument 314 #define FEC_DMA_CFG(X) (((X) == 2) ? FEC_DMA_CFG_2 : FEC_DMA_CFG_1) argument 317 #define FEC_RCMR(X) (((X) == 2) ? FEC_RCMR_2 : FEC_RCMR_1) argument 321 #define IDLE_SLOPE(X) (((X) == 1) ? \ argument 330 #define RCMR_CMP(X) (((X) == 1) ? RCMR_CMP_1 : RCMR_CMP_2) argument 331 #define FEC_TX_BD_FTYPE(X) (((X) & 0xf) << 20) argument 384 #define FEC_ITR_ICFT(X) (((X) & 0xff) << 20) argument 385 #define FEC_ITR_ICTT(X) ((X) & 0xffff) argument
|
/drivers/hwmon/ |
D | w83l786ng.c | 633 #define IN_UNIT_ATTRS(X) \ argument 638 #define FAN_UNIT_ATTRS(X) \ argument 643 #define TEMP_UNIT_ATTRS(X) \ argument 648 #define PWM_UNIT_ATTRS(X) \ argument 653 #define TOLERANCE_UNIT_ATTRS(X) \ argument
|
D | pc87360.c | 348 #define FAN_UNIT_ATTRS(X) \ argument 584 #define VIN_UNIT_ATTRS(X) \ argument 850 #define THERM_UNIT_ATTRS(X) \ argument 1084 #define TEMP_UNIT_ATTRS(X) \ argument
|
D | w83791d.c | 1193 #define IN_UNIT_ATTRS(X) \ argument 1200 #define FAN_UNIT_ATTRS(X) \ argument 1207 #define TEMP_UNIT_ATTRS(X) \ argument
|
/drivers/spmi/ |
D | spmi-pmic-arb.c | 45 #define SPMI_MAPPING_BIT_INDEX(X) (((X) >> 18) & 0xF) argument 46 #define SPMI_MAPPING_BIT_IS_0_FLAG(X) (((X) >> 17) & 0x1) argument 47 #define SPMI_MAPPING_BIT_IS_0_RESULT(X) (((X) >> 9) & 0xFF) argument 48 #define SPMI_MAPPING_BIT_IS_1_FLAG(X) (((X) >> 8) & 0x1) argument 49 #define SPMI_MAPPING_BIT_IS_1_RESULT(X) (((X) >> 0) & 0xFF) argument 57 #define SPMI_OWNERSHIP_PERIPH2OWNER(X) ((X) & 0x7) argument
|
/drivers/input/keyboard/ |
D | cap11xx.c | 28 #define CAP11XX_REG_SENOR_DELTA(X) (0x10 + (X)) argument 42 #define CAP11XX_REG_SENSOR_THRESH(X) (0x30 + (X)) argument 50 #define CAP11XX_REG_SENSOR_BASE_CNT(X) (0x50 + (X)) argument
|
/drivers/net/wireless/ath/ |
D | dfs_pattern_detector.c | 43 #define WIDTH_LOWER(X) ((X*(100-WIDTH_TOLERANCE)+50)/100) argument 44 #define WIDTH_UPPER(X) ((X*(100+WIDTH_TOLERANCE)+50)/100) argument
|
/drivers/net/ethernet/ |
D | korina.c | 96 #define IS_DMA_FINISHED(X) (((X) & (DMA_DESC_FINI)) != 0) argument 97 #define IS_DMA_DONE(X) (((X) & (DMA_DESC_DONE)) != 0) argument 98 #define RCVPKT_LENGTH(X) (((X) & ETH_RX_LEN) >> ETH_RX_LEN_BIT) argument
|
/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gm107.c | 299 int E = -1, X; in gm107_gr_init_bios() local
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_main.c | 55 #define MLX4_EN_PARM_INT(X, def_val, desc) \ argument
|
/drivers/staging/sm750fb/ |
D | ddk750_chip.c | 313 int N, M, X, d; in calcPllValue() local
|
/drivers/spi/ |
D | spi-butterfly.c | 140 #define spidelay(X) do { } while (0) argument
|
/drivers/iio/pressure/ |
D | t5403.c | 73 s32 S, O, X; in t5403_comp_pressure() local
|
/drivers/net/ethernet/intel/e1000e/ |
D | param.c | 48 #define E1000_PARAM(X, desc) \ argument
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_param.c | 49 #define IXGB_PARAM(X, desc) \ argument
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_msg.c | 59 #define HIGH_WORD(X) ((X & 0xFFFF0000) >> 16) argument
|
/drivers/video/fbdev/kyro/ |
D | STG4000InitDevice.c | 77 #define OS_DELAY(X) \ argument
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_param.c | 47 #define E1000_PARAM(X, desc) \ argument
|
/drivers/isdn/hardware/eicon/ |
D | di.c | 82 BUFFERS *X; in pr_out() local
|