| /OK3568_Linux_fs/kernel/include/soc/mscc/ |
| H A D | ocelot_dev.h | 17 #define DEV_CLOCK_CFG_LINK_SPEED(x) ((x) & GENMASK(1, 0)) argument 27 #define DEV_EEE_CFG_EEE_TIMER_AGE(x) (((x) << 15) & GENMASK(21, 15)) argument 29 #define DEV_EEE_CFG_EEE_TIMER_AGE_X(x) (((x) & GENMASK(21, 15)) >> 15) argument 30 #define DEV_EEE_CFG_EEE_TIMER_WAKEUP(x) (((x) << 8) & GENMASK(14, 8)) argument 32 #define DEV_EEE_CFG_EEE_TIMER_WAKEUP_X(x) (((x) & GENMASK(14, 8)) >> 8) argument 33 #define DEV_EEE_CFG_EEE_TIMER_HOLDOFF(x) (((x) << 1) & GENMASK(7, 1)) argument 35 #define DEV_EEE_CFG_EEE_TIMER_HOLDOFF_X(x) (((x) & GENMASK(7, 1)) >> 1) argument 38 #define DEV_PTP_PREDICT_CFG_PTP_PHY_PREDICT_CFG(x) (((x) << 4) & GENMASK(11, 4)) argument 40 #define DEV_PTP_PREDICT_CFG_PTP_PHY_PREDICT_CFG_X(x) (((x) & GENMASK(11, 4)) >> 4) argument 41 #define DEV_PTP_PREDICT_CFG_PTP_PHASE_PREDICT_CFG(x) ((x) & GENMASK(3, 0)) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/edac/ |
| H A D | mce_amd.h | 9 #define EC(x) ((x) & 0xffff) argument 11 #define LOW_SYNDROME(x) (((x) >> 15) & 0xff) argument 12 #define HIGH_SYNDROME(x) (((x) >> 24) & 0xff) argument 14 #define TLB_ERROR(x) (((x) & 0xFFF0) == 0x0010) argument 15 #define MEM_ERROR(x) (((x) & 0xFF00) == 0x0100) argument 16 #define BUS_ERROR(x) (((x) & 0xF800) == 0x0800) argument 17 #define INT_ERROR(x) (((x) & 0xF4FF) == 0x0400) argument 19 #define TT(x) (((x) >> 2) & 0x3) argument 20 #define TT_MSG(x) tt_msgs[TT(x)] argument 21 #define II(x) (((x) >> 2) & 0x3) argument [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/ddr/microchip/ |
| H A D | ddr2_regs.h | 47 #define REFCNT_CLK(x) (x) argument 48 #define REFDLY_CLK(x) ((x) << 16) argument 49 #define MAX_PEND_REF(x) ((x) << 24) argument 52 #define PRECH_PWR_DN_ONLY(x) ((x) << 22) argument 53 #define SELF_REF_DLY(x) ((x) << 12) argument 54 #define PWR_DN_DLY(x) ((x) << 4) argument 55 #define EN_AUTO_SELF_REF(x) ((x) << 3) argument 56 #define EN_AUTO_PWR_DN(x) ((x) << 2) argument 57 #define ERR_CORR_EN(x) ((x) << 1) argument 58 #define ECC_EN(x) (x) argument [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/ |
| H A D | rk628.h | 19 #define UPDATE(x, h, l) (((x) << (l)) & GENMASK((h), (l))) argument 24 #define SW_VSYNC_POL(x) UPDATE(x, 26, 26) argument 26 #define SW_HSYNC_POL(x) UPDATE(x, 25, 25) argument 28 #define SW_ADAPTER_I2CSLADR(x) UPDATE(x, 24, 22) argument 30 #define SW_EDID_MODE(x) UPDATE(x, 21, 21) argument 32 #define SW_I2S_DATA_OEN(x) UPDATE(x, 10, 10) argument 36 #define SW_EFUSE_HDCP_EN(x) UPDATE(x, 8, 8) argument 38 #define SW_OUTPUT_MODE(x) UPDATE(x, 7, 3) argument 40 #define SW_INPUT_MODE(x) UPDATE(x, 2, 0) argument 45 #define GRF_GPIO_RX_CEC_SEL(x) UPDATE(x, 7, 7) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/phy/mscc/ |
| H A D | mscc_ptp.h | 16 #define BIU_BLK_ID(x) ((x) << 11) argument 17 #define BIU_CSR_ADDR(x) (x) argument 36 #define ANA_ETH1_NTX_PROT_SIG_OFF(x) (((x) << 16) & ANA_ETH1_NTX_PROT_SIG_OFF_MASK) argument 54 #define ANA_ETH1_NTX_PROT_VLAN_TPID(x) (((x) << 16) & ANA_ETH1_NTX_PROT_VLAN_TPID_MASK) argument 59 #define PTP_ANA_EGR_ENCAP_FLOW_MODE(x) (((x) << 20) & PTP_ANA_EGR_ENCAP_FLOW_MODE_MASK) argument 61 #define PTP_ANA_INGR_ENCAP_FLOW_MODE(x) (((x) << 16) & PTP_ANA_INGR_ENCAP_FLOW_MODE_MASK) argument 63 #define PTP_ANALYZER_MODE_EGR_ENA(x) (((x) << 4) & PTP_ANALYZER_MODE_EGR_ENA_MASK) argument 65 #define PTP_ANALYZER_MODE_INGR_ENA(x) ((x) & PTP_ANALYZER_MODE_INGR_ENA_MASK) argument 77 #define ANA_ETH1_NXT_PROT_ETYPE_MATCH(x) ((x) & ANA_ETH1_NXT_PROT_ETYPE_MATCH_MASK) argument 83 #define MSCC_ANA_ETH1_FLOW_ENA(x) (0x0010 + ((x) << 4)) argument [all …]
|
| /OK3568_Linux_fs/u-boot/arch/m68k/include/asm/ |
| H A D | m520x.h | 14 #define SCM_MPR_MPROT0(x) (((x) & 0x0F) << 28) argument 15 #define SCM_MPR_MPROT1(x) (((x) & 0x0F) << 24) argument 16 #define SCM_MPR_MPROT2(x) (((x) & 0x0F) << 20) argument 21 #define SCM_PACRA_PACR0(x) (((x) & 0x0F) << 28) argument 22 #define SCM_PACRA_PACR1(x) (((x) & 0x0F) << 24) argument 23 #define SCM_PACRA_PACR2(x) (((x) & 0x0F) << 20) argument 25 #define SCM_PACRB_PACR12(x) (((x) & 0x0F) << 12) argument 27 #define SCM_PACRC_PACR16(x) (((x) & 0x0F) << 28) argument 28 #define SCM_PACRC_PACR17(x) (((x) & 0x0F) << 24) argument 29 #define SCM_PACRC_PACR18(x) (((x) & 0x0F) << 20) argument [all …]
|
| H A D | m5301x.h | 14 #define SCM_MPR_MPROT0(x) (((x) & 0x0F) << 28) argument 15 #define SCM_MPR_MPROT1(x) (((x) & 0x0F) << 24) argument 16 #define SCM_MPR_MPROT2(x) (((x) & 0x0F) << 20) argument 17 #define SCM_MPR_MPROT4(x) (((x) & 0x0F) << 12) argument 18 #define SCM_MPR_MPROT5(x) (((x) & 0x0F) << 8) argument 19 #define SCM_MPR_MPROT6(x) (((x) & 0x0F) << 4) argument 24 #define SCM_PACRA_PACR0(x) (((x) & 0x0F) << 28) argument 25 #define SCM_PACRA_PACR1(x) (((x) & 0x0F) << 24) argument 26 #define SCM_PACRA_PACR2(x) (((x) & 0x0F) << 20) argument 27 #define SCM_PACRA_PACR5(x) (((x) & 0x0F) << 8) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | sun4i-ts.c | 54 #define ADC_FIRST_DLY(x) ((x) << 24) /* 8 bits */ argument 55 #define ADC_FIRST_DLY_MODE(x) ((x) << 23) argument 56 #define ADC_CLK_SEL(x) ((x) << 22) argument 57 #define ADC_CLK_DIV(x) ((x) << 20) /* 3 bits */ argument 58 #define FS_DIV(x) ((x) << 16) /* 4 bits */ argument 59 #define T_ACQ(x) ((x) << 0) /* 16 bits */ argument 62 #define STYLUS_UP_DEBOUN(x) ((x) << 12) /* 8 bits */ argument 63 #define STYLUS_UP_DEBOUN_EN(x) ((x) << 9) argument 64 #define TOUCH_PAN_CALI_EN(x) ((x) << 6) argument 65 #define TP_DUAL_EN(x) ((x) << 5) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | t4_msg.h | 196 #define CPL_OPCODE_V(x) ((x) << CPL_OPCODE_S) argument 197 #define CPL_OPCODE_G(x) (((x) >> CPL_OPCODE_S) & 0xFF) argument 198 #define TID_G(x) ((x) & 0xFFFFFF) argument 211 #define TID_TID_V(x) ((x) << TID_TID_S) argument 212 #define TID_TID_G(x) (((x) >> TID_TID_S) & TID_TID_M) argument 216 #define TID_QID_V(x) ((x) << TID_QID_S) argument 217 #define TID_QID_G(x) (((x) >> TID_QID_S) & TID_QID_M) argument 248 #define WR_OP_V(x) ((__u64)(x) << WR_OP_S) argument 254 #define TX_CHAN_V(x) ((x) << TX_CHAN_S) argument 257 #define ULP_MODE_V(x) ((x) << ULP_MODE_S) argument [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | rockchip_lvds.c | 28 #define PX30_LVDS_SELECT(x) HIWORD_UPDATE(x, 14, 13) argument 29 #define PX30_LVDS_MODE_EN(x) HIWORD_UPDATE(x, 12, 12) argument 30 #define PX30_LVDS_MSBSEL(x) HIWORD_UPDATE(x, 11, 11) argument 31 #define PX30_LVDS_P2S_EN(x) HIWORD_UPDATE(x, 6, 6) argument 32 #define PX30_LVDS_VOP_SEL(x) HIWORD_UPDATE(x, 1, 1) argument 35 #define RK3126_LVDS_P2S_EN(x) HIWORD_UPDATE(x, 9, 9) argument 36 #define RK3126_LVDS_MODE_EN(x) HIWORD_UPDATE(x, 6, 6) argument 37 #define RK3126_LVDS_MSBSEL(x) HIWORD_UPDATE(x, 3, 3) argument 38 #define RK3126_LVDS_SELECT(x) HIWORD_UPDATE(x, 2, 1) argument 41 #define RK3288_LVDS_LCDC_SEL(x) HIWORD_UPDATE(x, 3, 3) argument [all …]
|
| H A D | rockchip_tve.h | 16 #define v_DAC_GAIN(x) (((x) & 0x3f) << 7) argument 26 #define v_CVBS_MODE(x) (((x) & 1) << 24) argument 27 #define v_CLK_UPSTREAM_EN(x) (((x) & 3) << 18) argument 28 #define v_TIMING_EN(x) (((x) & 3) << 16) argument 29 #define v_LUMA_FILTER_GAIN(x) (((x) & 3) << 9) argument 30 #define v_LUMA_FILTER_UPSAMPLE(x) (((x) & 1) << 8) argument 31 #define v_CSC_PATH(x) (((x) & 3) << 1) argument 51 #define v_DAC_SENSE_EN(x) (((x) & 1) << 27) argument 52 #define v_Y_IRE_7_5(x) (((x) & 1) << 19) argument 53 #define v_Y_AGC_PULSE_ON(x) (((x) & 1) << 15) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/rk628/ |
| H A D | rk628_dsi.h | 20 #define TO_CLK_DIVISION(x) UPDATE(x, 15, 8) argument 21 #define TX_ESC_CLK_DIVISION(x) UPDATE(x, 7, 0) argument 23 #define DPI_VID(x) UPDATE(x, 1, 0) argument 26 #define DPI_COLOR_CODING(x) UPDATE(x, 3, 0) argument 34 #define OUTVACT_LPCMD_TIME(x) UPDATE(x, 23, 16) argument 35 #define INVACT_LPCMD_TIME(x) UPDATE(x, 7, 0) argument 44 #define CMD_VIDEO_MODE(x) UPDATE(x, 0, 0) argument 55 #define VID_MODE_TYPE(x) UPDATE(x, 1, 0) argument 57 #define VID_PKT_SIZE(x) UPDATE(x, 13, 0) argument 61 #define VID_HSA_TIME(x) UPDATE(x, 11, 0) argument [all …]
|
| /OK3568_Linux_fs/u-boot/include/faraday/ |
| H A D | ftsdmc021.h | 43 #define FTSDMC021_TP1_TCL(x) ((x) & 0x3) /* CAS Latency */ argument 44 #define FTSDMC021_TP1_TWR(x) (((x) & 0x3) << 4) /* W-Recovery Time */ argument 45 #define FTSDMC021_TP1_TRF(x) (((x) & 0xf) << 8) /* Auto-Refresh Cycle */ argument 46 #define FTSDMC021_TP1_TRCD(x) (((x) & 0x7) << 12) /* RAS-to-CAS Delay */ argument 47 #define FTSDMC021_TP1_TRP(x) (((x) & 0xf) << 16) /* Precharge Cycle */ argument 48 #define FTSDMC021_TP1_TRAS(x) (((x) & 0xf) << 20) argument 53 #define FTSDMC021_TP2_REF_INTV(x) ((x) & 0xffff) /* Refresh interval */ argument 55 #define FTSDMC021_TP2_INI_REFT(x) (((x) & 0xf) << 16) argument 57 #define FTSDMC021_TP2_INI_PREC(x) (((x) & 0xf) << 20) argument 62 #define FTSDMC021_CR1_BNKSIZE(x) ((x) & 0xf) /* Bank Size */ argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | wlfc_proto.h | 167 #define WL_TXSTATUS_SET_STATUS(x, status) ((x) = \ argument 170 #define WL_TXSTATUS_GET_STATUS(x) (((x) >> WL_TXSTATUS_STATUS_SHIFT) & \ argument 182 #define WL_TXSTATUS_SET_GENERATION(x, gen) ((x) = \ argument 186 #define WL_TXSTATUS_GET_GENERATION(x) (((x) >> WL_TXSTATUS_GENERATION_SHIFT) & \ argument 192 #define WL_TXSTATUS_SET_FLAGS(x, flags) ((x) = \ argument 195 #define WL_TXSTATUS_GET_FLAGS(x) (((x) >> WL_TXSTATUS_FLAGS_SHIFT) & \ argument 201 #define WL_TXSTATUS_SET_FIFO(x, flags) ((x) = \ argument 204 #define WL_TXSTATUS_GET_FIFO(x) (((x) >> WL_TXSTATUS_FIFO_SHIFT) & WL_TXSTATUS_FIFO_MASK) argument 207 #define WL_TXSTATUS_SET_PKTID(x, num) ((x) = \ argument 209 #define WL_TXSTATUS_GET_PKTID(x) ((x) & WL_TXSTATUS_PKTID_MASK) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/ |
| H A D | wlfc_proto.h | 167 #define WL_TXSTATUS_SET_STATUS(x, status) ((x) = \ argument 170 #define WL_TXSTATUS_GET_STATUS(x) (((x) >> WL_TXSTATUS_STATUS_SHIFT) & \ argument 182 #define WL_TXSTATUS_SET_GENERATION(x, gen) ((x) = \ argument 186 #define WL_TXSTATUS_GET_GENERATION(x) (((x) >> WL_TXSTATUS_GENERATION_SHIFT) & \ argument 192 #define WL_TXSTATUS_SET_FLAGS(x, flags) ((x) = \ argument 195 #define WL_TXSTATUS_GET_FLAGS(x) (((x) >> WL_TXSTATUS_FLAGS_SHIFT) & \ argument 201 #define WL_TXSTATUS_SET_FIFO(x, flags) ((x) = \ argument 204 #define WL_TXSTATUS_GET_FIFO(x) (((x) >> WL_TXSTATUS_FIFO_SHIFT) & WL_TXSTATUS_FIFO_MASK) argument 207 #define WL_TXSTATUS_SET_PKTID(x, num) ((x) = \ argument 209 #define WL_TXSTATUS_GET_PKTID(x) ((x) & WL_TXSTATUS_PKTID_MASK) argument [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/ |
| H A D | wlfc_proto.h | 167 #define WL_TXSTATUS_SET_STATUS(x, status) ((x) = \ argument 170 #define WL_TXSTATUS_GET_STATUS(x) (((x) >> WL_TXSTATUS_STATUS_SHIFT) & \ argument 182 #define WL_TXSTATUS_SET_GENERATION(x, gen) ((x) = \ argument 186 #define WL_TXSTATUS_GET_GENERATION(x) (((x) >> WL_TXSTATUS_GENERATION_SHIFT) & \ argument 192 #define WL_TXSTATUS_SET_FLAGS(x, flags) ((x) = \ argument 195 #define WL_TXSTATUS_GET_FLAGS(x) (((x) >> WL_TXSTATUS_FLAGS_SHIFT) & \ argument 201 #define WL_TXSTATUS_SET_FIFO(x, flags) ((x) = \ argument 204 #define WL_TXSTATUS_GET_FIFO(x) (((x) >> WL_TXSTATUS_FIFO_SHIFT) & WL_TXSTATUS_FIFO_MASK) argument 207 #define WL_TXSTATUS_SET_PKTID(x, num) ((x) = \ argument 209 #define WL_TXSTATUS_GET_PKTID(x) ((x) & WL_TXSTATUS_PKTID_MASK) argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/ |
| H A D | inst.h | 20 #define MIPSInst(x) x argument 23 #define MIPSInst_OPCODE(x) (MIPSInst(x) >> I_OPCODE_SFT) argument 26 #define MIPSInst_JTARGET(x) (MIPSInst(x) & 0x03ffffff) argument 29 #define MIPSInst_RS(x) ((MIPSInst(x) & 0x03e00000) >> I_RS_SFT) argument 32 #define MIPSInst_RT(x) ((MIPSInst(x) & 0x001f0000) >> I_RT_SFT) argument 35 #define MIPSInst_SIMM(x) ((int)((short)(MIPSInst(x) & 0xffff))) argument 36 #define MIPSInst_UIMM(x) (MIPSInst(x) & 0xffff) argument 39 #define MIPSInst_CACHEOP(x) ((MIPSInst(x) & 0x001c0000) >> I_CACHEOP_SFT) argument 42 #define MIPSInst_CACHESEL(x) ((MIPSInst(x) & 0x00030000) >> I_CACHESEL_SFT) argument 45 #define MIPSInst_RD(x) ((MIPSInst(x) & 0x0000f800) >> I_RD_SFT) argument [all …]
|
| /OK3568_Linux_fs/u-boot/include/u-boot/ |
| H A D | variadic-macro.h | 17 #define _VM_HELP_1(_call, x, ...) _call(x) argument 18 #define _VM_HELP_2(_call, x, ...) _call(x) _VM_HELP_1(_call, __VA_ARGS__) argument 19 #define _VM_HELP_3(_call, x, ...) _call(x) _VM_HELP_2(_call, __VA_ARGS__) argument 20 #define _VM_HELP_4(_call, x, ...) _call(x) _VM_HELP_3(_call, __VA_ARGS__) argument 21 #define _VM_HELP_5(_call, x, ...) _call(x) _VM_HELP_4(_call, __VA_ARGS__) argument 22 #define _VM_HELP_6(_call, x, ...) _call(x) _VM_HELP_5(_call, __VA_ARGS__) argument 23 #define _VM_HELP_7(_call, x, ...) _call(x) _VM_HELP_6(_call, __VA_ARGS__) argument 24 #define _VM_HELP_8(_call, x, ...) _call(x) _VM_HELP_7(_call, __VA_ARGS__) argument 25 #define _VM_HELP_9(_call, x, ...) _call(x) _VM_HELP_8(_call, __VA_ARGS__) argument 26 #define _VM_HELP_10(_call, x, ...) _call(x) _VM_HELP_9(_call, __VA_ARGS__) argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | inst.h | 18 static inline u32 ppc_inst_val(struct ppc_inst x) in ppc_inst_val() 23 static inline int ppc_inst_primary_opcode(struct ppc_inst x) in ppc_inst_primary_opcode() 29 #define ppc_inst(x) ((struct ppc_inst){ .val = (x), .suffix = 0xff }) argument 31 #define ppc_inst_prefix(x, y) ((struct ppc_inst){ .val = (x), .suffix = (y) }) argument 33 static inline u32 ppc_inst_suffix(struct ppc_inst x) in ppc_inst_suffix() 38 static inline bool ppc_inst_prefixed(struct ppc_inst x) in ppc_inst_prefixed() 43 static inline struct ppc_inst ppc_inst_swab(struct ppc_inst x) in ppc_inst_swab() 62 static inline bool ppc_inst_equal(struct ppc_inst x, struct ppc_inst y) in ppc_inst_equal() 69 #define ppc_inst(x) ((struct ppc_inst){ .val = x }) argument 71 static inline bool ppc_inst_prefixed(struct ppc_inst x) in ppc_inst_prefixed() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/ |
| H A D | wlfc_proto.h | 149 #define WL_TXSTATUS_SET_STATUS(x, status) ((x) = \ argument 152 #define WL_TXSTATUS_GET_STATUS(x) (((x) >> WL_TXSTATUS_STATUS_SHIFT) & \ argument 164 #define WL_TXSTATUS_SET_GENERATION(x, gen) ((x) = \ argument 168 #define WL_TXSTATUS_GET_GENERATION(x) (((x) >> WL_TXSTATUS_GENERATION_SHIFT) & \ argument 174 #define WL_TXSTATUS_SET_FLAGS(x, flags) ((x) = \ argument 177 #define WL_TXSTATUS_GET_FLAGS(x) (((x) >> WL_TXSTATUS_FLAGS_SHIFT) & \ argument 183 #define WL_TXSTATUS_SET_FIFO(x, flags) ((x) = \ argument 186 #define WL_TXSTATUS_GET_FIFO(x) (((x) >> WL_TXSTATUS_FIFO_SHIFT) & WL_TXSTATUS_FIFO_MASK) argument 189 #define WL_TXSTATUS_SET_PKTID(x, num) ((x) = \ argument 191 #define WL_TXSTATUS_GET_PKTID(x) ((x) & WL_TXSTATUS_PKTID_MASK) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/core/ |
| H A D | cm_trace.h | 44 #define ib_cm_state(x) TRACE_DEFINE_ENUM(IB_CM_##x); argument 45 #define ib_cm_state_end(x) TRACE_DEFINE_ENUM(IB_CM_##x); argument 51 #define ib_cm_state(x) { IB_CM_##x, #x }, argument 52 #define ib_cm_state_end(x) { IB_CM_##x, #x } argument 54 #define show_ib_cm_state(x) \ argument 70 #define ib_cm_lap_state(x) TRACE_DEFINE_ENUM(IB_CM_##x); argument 71 #define ib_cm_lap_state_end(x) TRACE_DEFINE_ENUM(IB_CM_##x); argument 77 #define ib_cm_lap_state(x) { IB_CM_##x, #x }, argument 78 #define ib_cm_lap_state_end(x) { IB_CM_##x, #x } argument 80 #define show_ib_cm_lap_state(x) \ argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb/ |
| H A D | fpga_defs.h | 56 #define V_MI0_CLK_DIV(x) ((x) << S_MI0_CLK_DIV) argument 57 #define G_MI0_CLK_DIV(x) (((x) >> S_MI0_CLK_DIV) & M_MI0_CLK_DIV) argument 61 #define V_MI0_CLK_CNT(x) ((x) << S_MI0_CLK_CNT) argument 62 #define G_MI0_CLK_CNT(x) (((x) >> S_MI0_CLK_CNT) & M_MI0_CLK_CNT) argument 67 #define V_MI0_CSR_POLL(x) ((x) << S_MI0_CSR_POLL) argument 71 #define V_MI0_PREAMBLE(x) ((x) << S_MI0_PREAMBLE) argument 75 #define V_MI0_INTR_ENABLE(x) ((x) << S_MI0_INTR_ENABLE) argument 79 #define V_MI0_BUSY(x) ((x) << S_MI0_BUSY) argument 83 #define V_MI0_MDIO(x) ((x) << S_MI0_MDIO) argument 90 #define V_MI0_PHY_REG_ADDR(x) ((x) << S_MI0_PHY_REG_ADDR) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/ |
| H A D | isp_params_v2x.h | 19 #define ISP2X_YUVAE_H_OFFSET_SET(x) ((x) & 0x1FFF) argument 20 #define ISP2X_YUVAE_V_OFFSET_SET(x) (((x) & 0x1FFF) << 16) argument 21 #define ISP2X_YUVAE_H_SIZE_SET(x) ((x) & 0x7FF) argument 22 #define ISP2X_YUVAE_V_SIZE_SET(x) (((x) & 0x7FF) << 16) argument 23 #define ISP2X_YUVAE_SUBWIN_H_OFFSET_SET(x) ((x) & 0x1FFF) argument 24 #define ISP2X_YUVAE_SUBWIN_V_OFFSET_SET(x) (((x) & 0x1FFF) << 16) argument 25 #define ISP2X_YUVAE_SUBWIN_H_SIZE_SET(x) ((x) & 0x1FFF) argument 26 #define ISP2X_YUVAE_SUBWIN_V_SIZE_SET(x) (((x) & 0x1FFF) << 16) argument 29 #define ISP2X_RAWAE_LITE_WNDNUM_SET(x) (((x) & 0x1) << 1) argument 30 #define ISP2X_RAWAE_LITE_H_OFFSET_SET(x) ((x) & 0x1FFF) argument [all …]
|
| /OK3568_Linux_fs/kernel/fs/ntfs/ |
| H A D | endian.h | 19 static inline s16 sle16_to_cpu(sle16 x) in sle16_to_cpu() 24 static inline s32 sle32_to_cpu(sle32 x) in sle32_to_cpu() 29 static inline s64 sle64_to_cpu(sle64 x) in sle64_to_cpu() 34 static inline s16 sle16_to_cpup(sle16 *x) in sle16_to_cpup() 39 static inline s32 sle32_to_cpup(sle32 *x) in sle32_to_cpup() 44 static inline s64 sle64_to_cpup(sle64 *x) in sle64_to_cpup() 49 static inline sle16 cpu_to_sle16(s16 x) in cpu_to_sle16() 54 static inline sle32 cpu_to_sle32(s32 x) in cpu_to_sle32() 59 static inline sle64 cpu_to_sle64(s64 x) in cpu_to_sle64() 64 static inline sle16 cpu_to_sle16p(s16 *x) in cpu_to_sle16p() [all …]
|
| /OK3568_Linux_fs/kernel/tools/include/tools/ |
| H A D | endian.h | 10 #define htole16(x) (x) argument 13 #define htole32(x) (x) argument 16 #define htole64(x) (x) argument 20 #define le16toh(x) (x) argument 24 #define le32toh(x) (x) argument 28 #define le64toh(x) (x) argument 34 #define htole16(x) __bswap_16(x) argument 37 #define htole32(x) __bswap_32(x) argument 40 #define htole64(x) __bswap_64(x) argument 44 #define le16toh(x) __bswap_16(x) argument [all …]
|