/drivers/gpu/drm/panel/ |
D | panel-sitronix-st7789v.c | 25 #define ST7789V_RAMCTRL_EPF(n) (((n) & 3) << 4) argument 29 #define ST7789V_RGBCTRL_RCM(n) (((n) & 3) << 5) argument 33 #define ST7789V_RGBCTRL_VBP(n) ((n) & 0x7f) argument 34 #define ST7789V_RGBCTRL_HBP(n) ((n) & 0x1f) argument 37 #define ST7789V_PORCTRL_IDLE_BP(n) (((n) & 0xf) << 4) argument 38 #define ST7789V_PORCTRL_IDLE_FP(n) ((n) & 0xf) argument 39 #define ST7789V_PORCTRL_PARTIAL_BP(n) (((n) & 0xf) << 4) argument 40 #define ST7789V_PORCTRL_PARTIAL_FP(n) ((n) & 0xf) argument 43 #define ST7789V_GCTRL_VGHS(n) (((n) & 7) << 4) argument 44 #define ST7789V_GCTRL_VGLS(n) ((n) & 7) argument [all …]
|
/drivers/media/pci/solo6x10/ |
D | solo6x10-regs.h | 34 #define SOLO_DMA_CTRL_REFRESH_CYCLE(n) ((n)<<8) argument 36 #define SOLO_DMA_CTRL_SDRAM_SIZE(n) ((n)<<6) argument 41 #define SOLO_DMA_CTRL_LATENCY(n) ((n)<<0) argument 49 #define SOLO_VCLK_SELECT(n) ((n)<<20) argument 50 #define SOLO_VCLK_VIN1415_DELAY(n) ((n)<<14) argument 51 #define SOLO_VCLK_VIN1213_DELAY(n) ((n)<<12) argument 52 #define SOLO_VCLK_VIN1011_DELAY(n) ((n)<<10) argument 53 #define SOLO_VCLK_VIN0809_DELAY(n) ((n)<<8) argument 54 #define SOLO_VCLK_VIN0607_DELAY(n) ((n)<<6) argument 55 #define SOLO_VCLK_VIN0405_DELAY(n) ((n)<<4) argument [all …]
|
D | solo6x10-tw28.h | 19 #define TW_CHIP_OFFSET_ADDR(n) (TW_BASE_ADDR + (n)) argument 23 #define TW_HUE_ADDR(n) (0x07 | ((n) << 4)) argument 24 #define TW_SATURATION_ADDR(n) (0x08 | ((n) << 4)) argument 25 #define TW_CONTRAST_ADDR(n) (0x09 | ((n) << 4)) argument 26 #define TW_BRIGHTNESS_ADDR(n) (0x0a | ((n) << 4)) argument 28 #define TW_AUDIO_INPUT_GAIN_ADDR(n) (0x60 + ((n > 1) ? 1 : 0)) argument 32 #define TW286x_HUE_ADDR(n) (0x06 | ((n) << 4)) argument 33 #define TW286x_SATURATIONU_ADDR(n) (0x04 | ((n) << 4)) argument 34 #define TW286x_SATURATIONV_ADDR(n) (0x05 | ((n) << 4)) argument 35 #define TW286x_CONTRAST_ADDR(n) (0x02 | ((n) << 4)) argument [all …]
|
/drivers/phy/marvell/ |
D | phy-mvebu-cp110-comphy.c | 20 #define MVEBU_COMPHY_SERDES_CFG0(n) (0x0 + (n) * 0x1000) argument 22 #define MVEBU_COMPHY_SERDES_CFG0_GEN_RX(n) ((n) << 3) argument 23 #define MVEBU_COMPHY_SERDES_CFG0_GEN_TX(n) ((n) << 7) argument 28 #define MVEBU_COMPHY_SERDES_CFG1(n) (0x4 + (n) * 0x1000) argument 33 #define MVEBU_COMPHY_SERDES_CFG2(n) (0x8 + (n) * 0x1000) argument 35 #define MVEBU_COMPHY_SERDES_STATUS0(n) (0x18 + (n) * 0x1000) argument 39 #define MVEBU_COMPHY_PWRPLL_CTRL(n) (0x804 + (n) * 0x1000) argument 40 #define MVEBU_COMPHY_PWRPLL_CTRL_RFREQ(n) ((n) << 0) argument 41 #define MVEBU_COMPHY_PWRPLL_PHY_MODE(n) ((n) << 5) argument 42 #define MVEBU_COMPHY_IMP_CAL(n) (0x80c + (n) * 0x1000) argument [all …]
|
/drivers/phy/allwinner/ |
D | phy-sun6i-mipi-dphy.c | 21 #define SUN6I_DPHY_GCTL_LANE_NUM(n) ((((n) - 1) & 3) << 4) argument 28 #define SUN6I_DPHY_TX_TIME0_HS_TRAIL(n) (((n) & 0xff) << 24) argument 29 #define SUN6I_DPHY_TX_TIME0_HS_PREPARE(n) (((n) & 0xff) << 16) argument 30 #define SUN6I_DPHY_TX_TIME0_LP_CLK_DIV(n) ((n) & 0xff) argument 33 #define SUN6I_DPHY_TX_TIME1_CLK_POST(n) (((n) & 0xff) << 24) argument 34 #define SUN6I_DPHY_TX_TIME1_CLK_PRE(n) (((n) & 0xff) << 16) argument 35 #define SUN6I_DPHY_TX_TIME1_CLK_ZERO(n) (((n) & 0xff) << 8) argument 36 #define SUN6I_DPHY_TX_TIME1_CLK_PREPARE(n) ((n) & 0xff) argument 39 #define SUN6I_DPHY_TX_TIME2_CLK_TRAIL(n) ((n) & 0xff) argument 44 #define SUN6I_DPHY_TX_TIME4_HS_TX_ANA1(n) (((n) & 0xff) << 8) argument [all …]
|
/drivers/gpu/drm/omapdrm/dss/ |
D | dispc.h | 37 #define DISPC_OVL_BA0(n) (DISPC_OVL_BASE(n) + \ argument 39 #define DISPC_OVL_BA1(n) (DISPC_OVL_BASE(n) + \ argument 41 #define DISPC_OVL_BA0_UV(n) (DISPC_OVL_BASE(n) + \ argument 43 #define DISPC_OVL_BA1_UV(n) (DISPC_OVL_BASE(n) + \ argument 45 #define DISPC_OVL_POSITION(n) (DISPC_OVL_BASE(n) + \ argument 47 #define DISPC_OVL_SIZE(n) (DISPC_OVL_BASE(n) + \ argument 49 #define DISPC_OVL_ATTRIBUTES(n) (DISPC_OVL_BASE(n) + \ argument 51 #define DISPC_OVL_ATTRIBUTES2(n) (DISPC_OVL_BASE(n) + \ argument 53 #define DISPC_OVL_FIFO_THRESHOLD(n) (DISPC_OVL_BASE(n) + \ argument 55 #define DISPC_OVL_FIFO_SIZE_STATUS(n) (DISPC_OVL_BASE(n) + \ argument [all …]
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dispc.h | 34 #define DISPC_OVL_BA0(n) (DISPC_OVL_BASE(n) + \ argument 36 #define DISPC_OVL_BA1(n) (DISPC_OVL_BASE(n) + \ argument 38 #define DISPC_OVL_BA0_UV(n) (DISPC_OVL_BASE(n) + \ argument 40 #define DISPC_OVL_BA1_UV(n) (DISPC_OVL_BASE(n) + \ argument 42 #define DISPC_OVL_POSITION(n) (DISPC_OVL_BASE(n) + \ argument 44 #define DISPC_OVL_SIZE(n) (DISPC_OVL_BASE(n) + \ argument 46 #define DISPC_OVL_ATTRIBUTES(n) (DISPC_OVL_BASE(n) + \ argument 48 #define DISPC_OVL_ATTRIBUTES2(n) (DISPC_OVL_BASE(n) + \ argument 50 #define DISPC_OVL_FIFO_THRESHOLD(n) (DISPC_OVL_BASE(n) + \ argument 52 #define DISPC_OVL_FIFO_SIZE_STATUS(n) (DISPC_OVL_BASE(n) + \ argument [all …]
|
/drivers/gpu/drm/exynos/ |
D | regs-decon5433.h | 12 #define DECON_WINCONx(n) (0x0020 + ((n) * 4)) argument 13 #define DECON_VIDOSDxH(n) (0x0080 + ((n) * 4)) argument 15 #define DECON_VIDOSDxA(n) (0x00B0 + ((n) * 0x20)) argument 16 #define DECON_VIDOSDxB(n) (0x00B4 + ((n) * 0x20)) argument 17 #define DECON_VIDOSDxC(n) (0x00B8 + ((n) * 0x20)) argument 18 #define DECON_VIDOSDxD(n) (0x00BC + ((n) * 0x20)) argument 19 #define DECON_VIDOSDxE(n) (0x00C0 + ((n) * 0x20)) argument 20 #define DECON_VIDW0xADD0B0(n) (0x0150 + ((n) * 0x10)) argument 21 #define DECON_VIDW0xADD0B1(n) (0x0154 + ((n) * 0x10)) argument 22 #define DECON_VIDW0xADD0B2(n) (0x0158 + ((n) * 0x10)) argument [all …]
|
/drivers/gpu/drm/rockchip/ |
D | inno_hdmi.h | 48 #define v_VIDEO_INPUT_FORMAT(n) (n << 1) argument 61 #define v_VIDEO_OUTPUT_COLOR(n) (((n) & 0x3) << 6) argument 62 #define v_VIDEO_INPUT_BITS(n) (n << 4) argument 63 #define v_VIDEO_INPUT_CSP(n) (n << 0) argument 73 #define v_VIDEO_AUTO_CSC(n) (n << 7) argument 75 #define v_VIDEO_C0_C2_SWAP(n) (n << 0) argument 88 #define v_COLOR_DEPTH_NOT_INDICATED(n) ((n) << 4) argument 101 #define v_AVMUTE_CLEAR(n) (n << 7) argument 102 #define v_AVMUTE_ENABLE(n) (n << 6) argument 103 #define v_AUDIO_MUTE(n) (n << 1) argument [all …]
|
/drivers/phy/rockchip/ |
D | phy-rockchip-typec.c | 147 #define XCVR_PSM_RCTRL(n) ((0x4001 | ((n) << 9)) << 2) argument 148 #define XCVR_PSM_CAL_TMR(n) ((0x4002 | ((n) << 9)) << 2) argument 149 #define XCVR_PSM_A0IN_TMR(n) ((0x4003 | ((n) << 9)) << 2) argument 150 #define TX_TXCC_CAL_SCLR_MULT(n) ((0x4047 | ((n) << 9)) << 2) argument 151 #define TX_TXCC_CPOST_MULT_00(n) ((0x404c | ((n) << 9)) << 2) argument 152 #define TX_TXCC_CPOST_MULT_01(n) ((0x404d | ((n) << 9)) << 2) argument 153 #define TX_TXCC_CPOST_MULT_10(n) ((0x404e | ((n) << 9)) << 2) argument 154 #define TX_TXCC_CPOST_MULT_11(n) ((0x404f | ((n) << 9)) << 2) argument 155 #define TX_TXCC_MGNFS_MULT_000(n) ((0x4050 | ((n) << 9)) << 2) argument 156 #define TX_TXCC_MGNFS_MULT_001(n) ((0x4051 | ((n) << 9)) << 2) argument [all …]
|
/drivers/media/platform/qcom/camss/ |
D | camss-vfe-170.c | 50 #define MASK_0_RDI_REG_UPDATE(n) BIT((n) + 5) argument 51 #define MASK_0_IMAGE_MASTER_n_PING_PONG(n) BIT((n) + 8) argument 52 #define MASK_0_IMAGE_COMPOSITE_DONE_n(n) BIT((n) + 25) argument 59 #define MASK_1_IMAGE_MASTER_n_BUS_OVERFLOW(n) BIT((n) + 9) argument 60 #define MASK_1_RDI_SOF(n) BIT((n) + 29) argument 67 #define STATUS_0_RDI_REG_UPDATE(n) BIT((n) + 5) argument 68 #define STATUS_0_IMAGE_MASTER_PING_PONG(n) BIT((n) + 8) argument 69 #define STATUS_0_IMAGE_COMPOSITE_DONE(n) BIT((n) + 25) argument 75 #define STATUS_1_RDI_SOF(n) BIT((n) + 27) argument 98 #define REG_UPDATE_RDI(n) BIT(1 + (n)) argument [all …]
|
D | camss-csiphy-3ph-1-0.c | 18 #define CSIPHY_3PH_LNn_CFG1(n) (0x000 + 0x100 * (n)) argument 20 #define CSIPHY_3PH_LNn_CFG2(n) (0x004 + 0x100 * (n)) argument 22 #define CSIPHY_3PH_LNn_CFG3(n) (0x008 + 0x100 * (n)) argument 23 #define CSIPHY_3PH_LNn_CFG4(n) (0x00c + 0x100 * (n)) argument 26 #define CSIPHY_3PH_LNn_CFG5(n) (0x010 + 0x100 * (n)) argument 29 #define CSIPHY_3PH_LNn_TEST_IMP(n) (0x01c + 0x100 * (n)) argument 31 #define CSIPHY_3PH_LNn_MISC1(n) (0x028 + 0x100 * (n)) argument 33 #define CSIPHY_3PH_LNn_CFG6(n) (0x02c + 0x100 * (n)) argument 35 #define CSIPHY_3PH_LNn_CFG7(n) (0x030 + 0x100 * (n)) argument 37 #define CSIPHY_3PH_LNn_CFG8(n) (0x034 + 0x100 * (n)) argument [all …]
|
/drivers/gpu/drm/bridge/ |
D | chipone-icn6211.c | 23 #define PD_CTRL(n) (0x0a + ((n) & 0x3)) /* 0..3 */ argument 24 #define RST_CTRL(n) (0x0e + ((n) & 0x1)) /* 0..1 */ argument 25 #define SYS_CTRL(n) (0x10 + ((n) & 0x7)) /* 0..4 */ argument 26 #define RGB_DRV(n) (0x18 + ((n) & 0x3)) /* 0..3 */ argument 27 #define RGB_DLY(n) (0x1c + ((n) & 0x1)) /* 0..1 */ argument 37 #define HFP_HSW_HBP_HI_HFP(n) (((n) & 0x300) >> 4) argument 38 #define HFP_HSW_HBP_HI_HS(n) (((n) & 0x300) >> 6) argument 39 #define HFP_HSW_HBP_HI_HBP(n) (((n) & 0x300) >> 8) argument 44 #define BIST_POL_BIST_MODE(n) (((n) & 0xf) << 4) argument 62 #define OSC_CTRL(n) (0x48 + ((n) & 0x7)) /* 0..5 */ argument [all …]
|
/drivers/mailbox/ |
D | sun6i-msgbox.c | 22 #define CTRL_REG(n) (0x0000 + 0x4 * ((n) / 4)) argument 23 #define CTRL_RX(n) BIT(0 + 8 * ((n) % 4)) argument 24 #define CTRL_TX(n) BIT(4 + 8 * ((n) % 4)) argument 31 #define RX_IRQ(n) BIT(0 + 2 * (n)) argument 33 #define TX_IRQ(n) BIT(1 + 2 * (n)) argument 36 #define FIFO_STAT_REG(n) (0x0100 + 0x4 * (n)) argument 39 #define MSG_STAT_REG(n) (0x0140 + 0x4 * (n)) argument 42 #define MSG_DATA_REG(n) (0x0180 + 0x4 * (n)) argument 70 int n; in sun6i_msgbox_irq() local 102 int n = channel_number(chan); in sun6i_msgbox_send_data() local [all …]
|
/drivers/usb/gadget/udc/ |
D | fusb300_udc.h | 21 #define FUSB300_OFFSET_EPSET0(n) (0x20 + (n - 1) * 0x30) argument 22 #define FUSB300_OFFSET_EPSET1(n) (0x24 + (n - 1) * 0x30) argument 23 #define FUSB300_OFFSET_EPSET2(n) (0x28 + (n - 1) * 0x30) argument 24 #define FUSB300_OFFSET_EPFFR(n) (0x2c + (n - 1) * 0x30) argument 25 #define FUSB300_OFFSET_EPSTRID(n) (0x40 + (n - 1) * 0x30) argument 54 #define FUSB300_OFFSET_EPPRD_W0(n) (0x520 + (n - 1) * 0x10) argument 55 #define FUSB300_OFFSET_EPPRD_W1(n) (0x524 + (n - 1) * 0x10) argument 56 #define FUSB300_OFFSET_EPPRD_W2(n) (0x528 + (n - 1) * 0x10) argument 57 #define FUSB300_OFFSET_EPRD_PTR(n) (0x52C + (n - 1) * 0x10) argument 60 #define FUSB300_OFFSET_EPPORT(n) (0x1010 + (n - 1) * 0x10) argument [all …]
|
/drivers/gpu/drm/sun4i/ |
D | sun6i_mipi_dsi.c | 39 #define SUN6I_DSI_BASIC_CTL_TRAIL_INV(n) (((n) & 0xf) << 4) argument 52 #define SUN6I_DSI_BASIC_CTL1_VIDEO_ST_DELAY(n) (((n) & 0x1fff) << 4) argument 58 #define SUN6I_DSI_BASIC_SIZE0_VBP(n) (((n) & 0xfff) << 16) argument 59 #define SUN6I_DSI_BASIC_SIZE0_VSA(n) ((n) & 0xfff) argument 62 #define SUN6I_DSI_BASIC_SIZE1_VT(n) (((n) & 0xfff) << 16) argument 63 #define SUN6I_DSI_BASIC_SIZE1_VACT(n) ((n) & 0xfff) argument 65 #define SUN6I_DSI_INST_FUNC_REG(n) (0x020 + (n) * 0x04) argument 66 #define SUN6I_DSI_INST_FUNC_INST_MODE(n) (((n) & 0xf) << 28) argument 67 #define SUN6I_DSI_INST_FUNC_ESCAPE_ENTRY(n) (((n) & 0xf) << 24) argument 68 #define SUN6I_DSI_INST_FUNC_TRANS_PACKET(n) (((n) & 0xf) << 20) argument [all …]
|
/drivers/vhost/ |
D | test.c | 43 static void handle_vq(struct vhost_test *n) in handle_vq() 100 struct vhost_test *n = container_of(vq->dev, struct vhost_test, dev); in handle_vq_kick() local 107 struct vhost_test *n = kmalloc(sizeof *n, GFP_KERNEL); in vhost_test_open() local 130 static void *vhost_test_stop_vq(struct vhost_test *n, in vhost_test_stop_vq() 142 static void vhost_test_stop(struct vhost_test *n, void **privatep) in vhost_test_stop() 147 static void vhost_test_flush_vq(struct vhost_test *n, int index) in vhost_test_flush_vq() 152 static void vhost_test_flush(struct vhost_test *n) in vhost_test_flush() 159 struct vhost_test *n = f->private_data; in vhost_test_release() local 173 static long vhost_test_run(struct vhost_test *n, int test) in vhost_test_run() 224 static long vhost_test_reset_owner(struct vhost_test *n) in vhost_test_reset_owner() [all …]
|
/drivers/crypto/inside-secure/ |
D | safexcel.h | 40 #define EIP206_OPT_ICE_TYPE(n) ((n>>8)&3) argument 41 #define EIP206_OPT_OCE_TYPE(n) ((n>>10)&3) argument 147 #define EIP197_HIA_DFE_CFG(n) (0x0000 + (128 * (n))) argument 148 #define EIP197_HIA_DFE_THR_CTRL(n) (0x0000 + (128 * (n))) argument 149 #define EIP197_HIA_DFE_THR_STAT(n) (0x0004 + (128 * (n))) argument 150 #define EIP197_HIA_DSE_CFG(n) (0x0000 + (128 * (n))) argument 151 #define EIP197_HIA_DSE_THR_CTRL(n) (0x0000 + (128 * (n))) argument 152 #define EIP197_HIA_DSE_THR_STAT(n) (0x0004 + (128 * (n))) argument 153 #define EIP197_HIA_RA_PE_CTRL(n) (0x0010 + (8 * (n))) argument 167 #define EIP197_PE_IN_DBUF_THRES(n) (0x0000 + (0x2000 * (n))) argument [all …]
|
/drivers/media/cec/core/ |
D | cec-notifier.c | 53 struct cec_notifier *n; in cec_notifier_get_conn() local 89 struct cec_notifier *n = in cec_notifier_release() local 97 static void cec_notifier_put(struct cec_notifier *n) in cec_notifier_put() 108 struct cec_notifier *n = cec_notifier_get_conn(hdmi_dev, port_name); in cec_notifier_conn_register() local 129 void cec_notifier_conn_unregister(struct cec_notifier *n) in cec_notifier_conn_unregister() 151 struct cec_notifier *n; in cec_notifier_cec_adap_register() local 171 void cec_notifier_cec_adap_unregister(struct cec_notifier *n, in cec_notifier_cec_adap_unregister() 185 void cec_notifier_set_phys_addr(struct cec_notifier *n, u16 pa) in cec_notifier_set_phys_addr() 198 void cec_notifier_set_phys_addr_from_edid(struct cec_notifier *n, in cec_notifier_set_phys_addr_from_edid()
|
/drivers/usb/dwc3/ |
D | gadget.h | 23 #define DWC3_DEPCFG_INT_NUM(n) (((n) & 0x1f) << 0) argument 29 #define DWC3_DEPCFG_BINTERVAL_M1(n) (((n) & 0xff) << 16) argument 31 #define DWC3_DEPCFG_EP_NUMBER(n) (((n) & 0x1f) << 25) argument 36 #define DWC3_DEPCFG_EP_TYPE(n) (((n) & 0x3) << 1) argument 37 #define DWC3_DEPCFG_MAX_PACKET_SIZE(n) (((n) & 0x7ff) << 3) argument 38 #define DWC3_DEPCFG_FIFO_NUMBER(n) (((n) & 0x1f) << 17) argument 39 #define DWC3_DEPCFG_BURST_SIZE(n) (((n) & 0xf) << 22) argument 40 #define DWC3_DEPCFG_DATA_SEQ_NUM(n) ((n) << 26) argument 49 #define DWC3_DEPXFERCFG_NUM_XFER_RES(n) ((n) & 0xffff) argument
|
D | core.h | 129 #define DWC3_GUSB2PHYCFG(n) (0xc200 + ((n) * 0x04)) argument 130 #define DWC3_GUSB2I2CCTL(n) (0xc240 + ((n) * 0x04)) argument 132 #define DWC3_GUSB2PHYACC(n) (0xc280 + ((n) * 0x04)) argument 134 #define DWC3_GUSB3PIPECTL(n) (0xc2c0 + ((n) * 0x04)) argument 136 #define DWC3_GTXFIFOSIZ(n) (0xc300 + ((n) * 0x04)) argument 137 #define DWC3_GRXFIFOSIZ(n) (0xc380 + ((n) * 0x04)) argument 139 #define DWC3_GEVNTADRLO(n) (0xc400 + ((n) * 0x10)) argument 140 #define DWC3_GEVNTADRHI(n) (0xc404 + ((n) * 0x10)) argument 141 #define DWC3_GEVNTSIZ(n) (0xc408 + ((n) * 0x10)) argument 142 #define DWC3_GEVNTCOUNT(n) (0xc40c + ((n) * 0x10)) argument [all …]
|
/drivers/staging/wlan-ng/ |
D | p80211hdr.h | 135 #define WLAN_GET_FC_FTYPE(n) ((((u16)(n)) & GENMASK(3, 2)) >> 2) argument 136 #define WLAN_GET_FC_FSTYPE(n) ((((u16)(n)) & GENMASK(7, 4)) >> 4) argument 137 #define WLAN_GET_FC_TODS(n) ((((u16)(n)) & (BIT(8))) >> 8) argument 138 #define WLAN_GET_FC_FROMDS(n) ((((u16)(n)) & (BIT(9))) >> 9) argument 139 #define WLAN_GET_FC_ISWEP(n) ((((u16)(n)) & (BIT(14))) >> 14) argument 141 #define WLAN_SET_FC_FTYPE(n) (((u16)(n)) << 2) argument 142 #define WLAN_SET_FC_FSTYPE(n) (((u16)(n)) << 4) argument 143 #define WLAN_SET_FC_TODS(n) (((u16)(n)) << 8) argument 144 #define WLAN_SET_FC_FROMDS(n) (((u16)(n)) << 9) argument 145 #define WLAN_SET_FC_ISWEP(n) (((u16)(n)) << 14) argument
|
/drivers/gpu/drm/rcar-du/ |
D | rcar_du_regs.h | 72 #define DSSR_DFB(n) (1 << ((n)+15)) argument 78 #define DSSR_ADC(n) (1 << ((n)-1)) argument 86 #define DSRCR_ADCL(n) (1 << ((n)-1)) argument 95 #define DIER_ADCE(n) (1 << ((n)-1)) argument 104 #define DPPR_DPE(n) (1 << ((n)*4-1)) argument 105 #define DPPR_DPS(n, p) (((p)-1) << DPPR_DPS_SHIFT(n)) argument 106 #define DPPR_DPS_SHIFT(n) (((n)-1)*4) argument 154 #define DVCSR_VCnFB2_DSA0(n) (0 << ((n)*2+16)) argument 155 #define DVCSR_VCnFB2_DSA1(n) (1 << ((n)*2+16)) argument 156 #define DVCSR_VCnFB2_DSA2(n) (2 << ((n)*2+16)) argument [all …]
|
D | rcar_lvds_regs.h | 26 #define LVDCR1_CHSTBY(n) (3 << (2 + (n) * 2)) argument 52 #define LVDPLLCR_CKSEL_DU_DOTCLKIN(n) ((5 + (n) * 2) << 17) argument 57 #define LVDPLLCR_PLLE(n) ((n) << 10) argument 58 #define LVDPLLCR_PLLN(n) ((n) << 3) argument 59 #define LVDPLLCR_PLLM(n) ((n) << 0) argument 86 #define LVDCHCR_CHSEL_CH(n, c) ((((c) - (n)) & 3) << ((n) * 4)) argument 87 #define LVDCHCR_CHSEL_MASK(n) (3 << ((n) * 4)) argument 98 #define LVDSCR_DEPTH(n) (((n) - 1) << 29) argument 100 #define LVDSCR_TWGCNT(n) ((((n) - 256) / 16) << 24) argument 101 #define LVDSCR_SDIV(n) ((n) << 22) argument [all …]
|
/drivers/media/platform/vsp1/ |
D | vsp1_regs.h | 17 #define VI6_CMD(n) (0x0000 + (n) * 4) argument 28 #define VI6_SRESET_SRTS(n) BIT(n) argument 31 #define VI6_STATUS_FLD_STD(n) BIT((n) + 28) argument 32 #define VI6_STATUS_SYS_ACT(n) BIT((n) + 8) argument 34 #define VI6_WPF_IRQ_ENB(n) (0x0048 + (n) * 12) argument 38 #define VI6_WPF_IRQ_STA(n) (0x004c + (n) * 12) argument 42 #define VI6_DISP_IRQ_ENB(n) (0x0078 + (n) * 60) argument 45 #define VI6_DISP_IRQ_ENB_LNEE(n) BIT(n) argument 47 #define VI6_DISP_IRQ_STA(n) (0x007c + (n) * 60) argument 50 #define VI6_DISP_IRQ_STA_LNE(n) BIT(n) argument [all …]
|