Home
last modified time | relevance | path

Searched defs:n (Results 1 – 25 of 4048) sorted by relevance

12345678910>>...162

/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-sitronix-st7789v.c25 #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 …]
/kernel/linux/linux-5.10/include/linux/
Dlog2.h22 int __ilog2_u32(u32 n) in __ilog2_u32()
30 int __ilog2_u64(u64 n) in __ilog2_u64()
45 bool is_power_of_2(unsigned long n) in is_power_of_2()
55 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two()
65 unsigned long __rounddown_pow_of_two(unsigned long n) in __rounddown_pow_of_two()
77 #define const_ilog2(n) \ argument
156 #define ilog2(n) \ argument
173 #define roundup_pow_of_two(n) \ argument
190 #define rounddown_pow_of_two(n) \ argument
198 int __order_base_2(unsigned long n) in __order_base_2()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
Dsolo6x10-regs.h34 #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 …]
Dsolo6x10-tw28.h19 #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 …]
/kernel/linux/linux-5.10/drivers/phy/allwinner/
Dphy-sun6i-mipi-dphy.c21 #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 …]
/kernel/linux/linux-5.10/arch/mips/loongson32/common/
Dirq.c13 #define LS1X_INTC_REG(n, x) \ argument
16 #define LS1X_INTC_INTISR(n) LS1X_INTC_REG(n, 0x0) argument
17 #define LS1X_INTC_INTIEN(n) LS1X_INTC_REG(n, 0x4) argument
18 #define LS1X_INTC_INTSET(n) LS1X_INTC_REG(n, 0x8) argument
19 #define LS1X_INTC_INTCLR(n) LS1X_INTC_REG(n, 0xc) argument
20 #define LS1X_INTC_INTPOL(n) LS1X_INTC_REG(n, 0x10) argument
21 #define LS1X_INTC_INTEDGE(n) LS1X_INTC_REG(n, 0x14) argument
26 unsigned int n = (d->irq - LS1X_IRQ_BASE) >> 5; in ls1x_irq_ack() local
35 unsigned int n = (d->irq - LS1X_IRQ_BASE) >> 5; in ls1x_irq_mask() local
44 unsigned int n = (d->irq - LS1X_IRQ_BASE) >> 5; in ls1x_irq_mask_ack() local
[all …]
/kernel/linux/linux-5.10/arch/arm/include/debug/
Dimx-uart.h11 #define IMX1_UART_BASE_ADDR(n) IMX1_UART##n##_BASE_ADDR argument
12 #define IMX1_UART_BASE(n) IMX1_UART_BASE_ADDR(n) argument
19 #define IMX25_UART_BASE_ADDR(n) IMX25_UART##n##_BASE_ADDR argument
20 #define IMX25_UART_BASE(n) IMX25_UART_BASE_ADDR(n) argument
26 #define IMX27_UART_BASE_ADDR(n) IMX27_UART##n##_BASE_ADDR argument
27 #define IMX27_UART_BASE(n) IMX27_UART_BASE_ADDR(n) argument
34 #define IMX31_UART_BASE_ADDR(n) IMX31_UART##n##_BASE_ADDR argument
35 #define IMX31_UART_BASE(n) IMX31_UART_BASE_ADDR(n) argument
40 #define IMX35_UART_BASE_ADDR(n) IMX35_UART##n##_BASE_ADDR argument
41 #define IMX35_UART_BASE(n) IMX35_UART_BASE_ADDR(n) argument
[all …]
/kernel/linux/linux-5.10/drivers/phy/marvell/
Dphy-mvebu-cp110-comphy.c20 #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 …]
/kernel/linux/linux-5.10/scripts/gcc-plugins/
Dgcc-generate-ipa-pass.h30 #define __GCC_PLUGIN_STRINGIFY(n) #n argument
31 #define _GCC_PLUGIN_STRINGIFY(n) __GCC_PLUGIN_STRINGIFY(n) argument
35 #define __PASS_NAME_PASS_DATA(n) _GCC_PLUGIN_CONCAT2(n, _pass_data) argument
38 #define __PASS_NAME_PASS(n) _GCC_PLUGIN_CONCAT2(n, _pass) argument
43 #define __MAKE_PASS_NAME_PASS(n) _GCC_PLUGIN_CONCAT3(make_, n, _pass) argument
49 #define __GENERATE_SUMMARY(n) _GCC_PLUGIN_CONCAT2(n, _generate_summary) argument
56 #define __READ_SUMMARY(n) _GCC_PLUGIN_CONCAT2(n, _read_summary) argument
63 #define __WRITE_SUMMARY(n) _GCC_PLUGIN_CONCAT2(n, _write_summary) argument
70 #define __READ_OPTIMIZATION_SUMMARY(n) _GCC_PLUGIN_CONCAT2(n, _read_optimization_summary) argument
77 #define __WRITE_OPTIMIZATION_SUMMARY(n) _GCC_PLUGIN_CONCAT2(n, _write_optimization_summary) argument
[all …]
/kernel/linux/linux-5.10/tools/include/linux/
Dlog2.h21 int __ilog2_u32(u32 n) in __ilog2_u32()
27 int __ilog2_u64(u64 n) in __ilog2_u64()
38 bool is_power_of_2(unsigned long n) in is_power_of_2()
47 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two()
56 unsigned long __rounddown_pow_of_two(unsigned long n) in __rounddown_pow_of_two()
71 #define ilog2(n) \ argument
151 #define roundup_pow_of_two(n) \ argument
168 #define rounddown_pow_of_two(n) \ argument
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Ddispc.h37 #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 …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.h34 #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 …]
/kernel/liteos_a/arch/arm/include/
Dgic_common.h63 #define GICD_IGROUPR(n) (GICD_OFFSET + 0x080 + (n) * 4) /* Interrupt Group Register… argument
64 #define GICD_ISENABLER(n) (GICD_OFFSET + 0x100 + (n) * 4) /* Interrupt Set-Enable Reg… argument
65 #define GICD_ICENABLER(n) (GICD_OFFSET + 0x180 + (n) * 4) /* Interrupt Clear-Enable R… argument
66 #define GICD_ISPENDR(n) (GICD_OFFSET + 0x200 + (n) * 4) /* Interrupt Set-Pending Re… argument
67 #define GICD_ICPENDR(n) (GICD_OFFSET + 0x280 + (n) * 4) /* Interrupt Clear-Pending … argument
68 #define GICD_ISACTIVER(n) (GICD_OFFSET + 0x300 + (n) * 4) /* GICv2 Interrupt Set-Acti… argument
69 #define GICD_ICACTIVER(n) (GICD_OFFSET + 0x380 + (n) * 4) /* Interrupt Clear-Active R… argument
70 #define GICD_IPRIORITYR(n) (GICD_OFFSET + 0x400 + (n) * 4) /* Interrupt Priority Regis… argument
71 #define GICD_ITARGETSR(n) (GICD_OFFSET + 0x800 + (n) * 4) /* Interrupt Processor Targ… argument
72 #define GICD_ICFGR(n) (GICD_OFFSET + 0xc00 + (n) * 4) /* Interrupt Configuration … argument
[all …]
/kernel/linux/linux-5.10/sound/soc/uniphier/
Daio-reg.h17 #define A2CHNMAPCTR0(n) (0x00000 + 0x40 * (n)) argument
18 #define A2RBNMAPCTR0(n) (0x01000 + 0x40 * (n)) argument
19 #define A2IPORTNMAPCTR0(n) (0x02000 + 0x40 * (n)) argument
20 #define A2IPORTNMAPCTR1(n) (0x02004 + 0x40 * (n)) argument
21 #define A2IIFNMAPCTR0(n) (0x03000 + 0x40 * (n)) argument
22 #define A2OPORTNMAPCTR0(n) (0x04000 + 0x40 * (n)) argument
23 #define A2OPORTNMAPCTR1(n) (0x04004 + 0x40 * (n)) argument
24 #define A2OPORTNMAPCTR2(n) (0x04008 + 0x40 * (n)) argument
25 #define A2OIFNMAPCTR0(n) (0x05000 + 0x40 * (n)) argument
26 #define A2ATNMAPCTR0(n) (0x06000 + 0x40 * (n)) argument
[all …]
/kernel/linux/linux-5.10/fs/ufs/
Dswab.h27 fs64_to_cpu(struct super_block *sbp, __fs64 n) in fs64_to_cpu()
36 cpu_to_fs64(struct super_block *sbp, u64 n) in cpu_to_fs64()
45 fs32_to_cpu(struct super_block *sbp, __fs32 n) in fs32_to_cpu()
54 cpu_to_fs32(struct super_block *sbp, u32 n) in cpu_to_fs32()
63 fs32_add(struct super_block *sbp, __fs32 *n, int d) in fs32_add()
72 fs32_sub(struct super_block *sbp, __fs32 *n, int d) in fs32_sub()
81 fs16_to_cpu(struct super_block *sbp, __fs16 n) in fs16_to_cpu()
90 cpu_to_fs16(struct super_block *sbp, u16 n) in cpu_to_fs16()
99 fs16_add(struct super_block *sbp, __fs16 *n, int d) in fs16_add()
108 fs16_sub(struct super_block *sbp, __fs16 *n, int d) in fs16_sub()
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dregs-decon5433.h12 #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 …]
/kernel/linux/linux-5.10/arch/alpha/lib/
Dmemcpy.c26 #define ALIGN_DEST_TO8_UP(d,s,n) \ argument
33 #define ALIGN_DEST_TO8_DN(d,s,n) \ argument
45 #define DO_REST_UP(d,s,n) \ argument
51 #define DO_REST_DN(d,s,n) \ argument
62 #define DO_REST_ALIGNED_UP(d,s,n) DO_REST_UP(d,s,n) argument
63 #define DO_REST_ALIGNED_DN(d,s,n) DO_REST_DN(d,s,n) argument
73 long n) in __memcpy_unaligned_up()
101 long n) in __memcpy_unaligned_dn()
119 long n) in __memcpy_aligned_up()
135 long n) in __memcpy_aligned_dn()
[all …]
/kernel/linux/linux-5.10/fs/befs/
Dendian.h16 fs64_to_cpu(const struct super_block *sb, fs64 n) in fs64_to_cpu()
25 cpu_to_fs64(const struct super_block *sb, u64 n) in cpu_to_fs64()
34 fs32_to_cpu(const struct super_block *sb, fs32 n) in fs32_to_cpu()
43 cpu_to_fs32(const struct super_block *sb, u32 n) in cpu_to_fs32()
52 fs16_to_cpu(const struct super_block *sb, fs16 n) in fs16_to_cpu()
61 cpu_to_fs16(const struct super_block *sb, u16 n) in cpu_to_fs16()
72 fsrun_to_cpu(const struct super_block *sb, befs_disk_block_run n) in fsrun_to_cpu()
89 cpu_to_fsrun(const struct super_block *sb, befs_block_run n) in cpu_to_fsrun()
106 fsds_to_cpu(const struct super_block *sb, const befs_disk_data_stream *n) in fsds_to_cpu()
/kernel/linux/linux-5.10/arch/sh/math-emu/
Dmath.c35 #define BANK(n) (n^(FPSCR_FR?16:0)) argument
44 #define XREG(n) (n^16) argument
79 fcmp_gt(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fcmp_gt()
90 fcmp_eq(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fcmp_eq()
106 fadd(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fadd()
113 fsub(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fsub()
120 fmul(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fmul()
127 fdiv(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fdiv()
134 fmac(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fmac()
156 int n) in fmov_idx_reg()
[all …]
/kernel/linux/linux-5.10/lib/
Dklist.c94 static void add_head(struct klist *k, struct klist_node *n) in add_head()
101 static void add_tail(struct klist *k, struct klist_node *n) in add_tail()
108 static void klist_node_init(struct klist *k, struct klist_node *n) in klist_node_init()
122 void klist_add_head(struct klist_node *n, struct klist *k) in klist_add_head()
134 void klist_add_tail(struct klist_node *n, struct klist *k) in klist_add_tail()
146 void klist_add_behind(struct klist_node *n, struct klist_node *pos) in klist_add_behind()
162 void klist_add_before(struct klist_node *n, struct klist_node *pos) in klist_add_before()
186 struct klist_node *n = container_of(kref, struct klist_node, n_ref); in klist_release() local
204 static int klist_dec_and_del(struct klist_node *n) in klist_dec_and_del()
209 static void klist_put(struct klist_node *n, bool kill) in klist_put()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/
Dcamss-csiphy-3ph-1-0.c17 #define CSIPHY_3PH_LNn_CFG1(n) (0x000 + 0x100 * (n)) argument
19 #define CSIPHY_3PH_LNn_CFG2(n) (0x004 + 0x100 * (n)) argument
21 #define CSIPHY_3PH_LNn_CFG3(n) (0x008 + 0x100 * (n)) argument
22 #define CSIPHY_3PH_LNn_CFG4(n) (0x00c + 0x100 * (n)) argument
24 #define CSIPHY_3PH_LNn_CFG5(n) (0x010 + 0x100 * (n)) argument
27 #define CSIPHY_3PH_LNn_TEST_IMP(n) (0x01c + 0x100 * (n)) argument
29 #define CSIPHY_3PH_LNn_MISC1(n) (0x028 + 0x100 * (n)) argument
31 #define CSIPHY_3PH_LNn_CFG6(n) (0x02c + 0x100 * (n)) argument
33 #define CSIPHY_3PH_LNn_CFG7(n) (0x030 + 0x100 * (n)) argument
35 #define CSIPHY_3PH_LNn_CFG8(n) (0x034 + 0x100 * (n)) argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Dinno_hdmi.h48 #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 …]
/kernel/linux/linux-5.10/arch/arm/mach-mmp/
Dregs-timers.h15 #define TMR_TN_MM(n, m) (0x0004 + ((n) << 3) + (((n) + (m)) << 2)) argument
16 #define TMR_CR(n) (0x0028 + ((n) << 2)) argument
17 #define TMR_SR(n) (0x0034 + ((n) << 2)) argument
18 #define TMR_IER(n) (0x0040 + ((n) << 2)) argument
19 #define TMR_PLVR(n) (0x004c + ((n) << 2)) argument
20 #define TMR_PLCR(n) (0x0058 + ((n) << 2)) argument
25 #define TMR_ICR(n) (0x0074 + ((n) << 2)) argument
29 #define TMR_ILR(n) (0x008c + ((n) << 2)) argument
33 #define TMR_CVWR(n) (0x00A4 + ((n) << 2)) argument
/kernel/linux/linux-5.10/drivers/mailbox/
Dsun6i-msgbox.c22 #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 …]
/kernel/linux/linux-5.10/drivers/phy/rockchip/
Dphy-rockchip-typec.c147 #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 …]

12345678910>>...162