/linux/drivers/gpu/drm/panel/ |
A D | panel-sitronix-st7789v.c | 25 #define ST7789V_RAMCTRL_EPF(n) (((n) & 3) << 4) argument 33 #define ST7789V_RGBCTRL_VBP(n) ((n) & 0x7f) argument 34 #define ST7789V_RGBCTRL_HBP(n) ((n) & 0x1f) argument 38 #define ST7789V_PORCTRL_IDLE_FP(n) ((n) & 0xf) argument 44 #define ST7789V_GCTRL_VGLS(n) ((n) & 7) argument 66 #define ST7789V_PWCTRL1_VDS(n) ((n) & 3) argument 71 #define ST7789V_PVGAMCTRL_VP0(n) ((n) & 0xf) argument 72 #define ST7789V_PVGAMCTRL_VP1(n) ((n) & 0x3f) argument 78 #define ST7789V_PVGAMCTRL_VP27(n) ((n) & 7) argument 91 #define ST7789V_NVGAMCTRL_VN0(n) ((n) & 0xf) argument [all …]
|
/linux/drivers/media/pci/solo6x10/ |
A D | solo6x10-regs.h | 49 #define SOLO_VCLK_SELECT(n) ((n)<<20) argument 61 #define SOLO_IRQ_P2M(n) BIT((n) + 17) argument 73 #define SOLO_IRQ_UART(n) BIT((n) + 4) argument 126 #define SOLO_P2M_REPEAT(n) ((n)<<10) argument 177 #define SOLO_VI_H_START(n) ((n)<<21) argument 178 #define SOLO_VI_V_START(n) ((n)<<11) argument 179 #define SOLO_VI_V_STOP(n) ((n)<<0) argument 267 #define SOLO_VO_H_STOP(n) ((n)<<0) argument 272 #define SOLO_VO_V_STOP(n) ((n)<<0) argument 278 #define SOLO_VO_H_LEN(n) ((n)<<11) argument [all …]
|
A 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 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 36 #define TW286x_BRIGHTNESS_ADDR(n) (0x01 | ((n) << 4)) argument [all …]
|
/linux/include/linux/ |
A D | log2.h | 22 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() 77 #define const_ilog2(n) \ argument 156 #define ilog2(n) \ argument 174 #define roundup_pow_of_two(n) \ argument 191 #define rounddown_pow_of_two(n) \ argument 199 int __order_base_2(unsigned long n) in __order_base_2() 217 #define order_base_2(n) \ argument 226 int __bits_per(unsigned long n) in __bits_per() [all …]
|
/linux/drivers/phy/allwinner/ |
A D | phy-sun6i-mipi-dphy.c | 21 #define SUN6I_DPHY_GCTL_LANE_NUM(n) ((((n) - 1) & 3) << 4) argument 30 #define SUN6I_DPHY_TX_TIME0_LP_CLK_DIV(n) ((n) & 0xff) 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 45 #define SUN6I_DPHY_TX_TIME4_HS_TX_ANA0(n) ((n) & 0xff) argument 51 #define SUN6I_DPHY_ANA0_REG_SLV(n) (((n) & 7) << 12) argument 52 #define SUN6I_DPHY_ANA0_REG_DEN(n) (((n) & 0xf) << 8) argument 56 #define SUN6I_DPHY_ANA1_REG_CSMPS(n) (((n) & 3) << 28) argument 78 #define SUN6I_DPHY_ANA4_REG_TMSC(n) (((n) & 3) << 10) argument 79 #define SUN6I_DPHY_ANA4_REG_TMSD(n) (((n) & 3) << 8) argument [all …]
|
/linux/drivers/phy/marvell/ |
A 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 41 #define MVEBU_COMPHY_PWRPLL_PHY_MODE(n) ((n) << 5) argument 43 #define MVEBU_COMPHY_IMP_CAL_TX_EXT(n) ((n) << 10) argument 47 #define MVEBU_COMPHY_COEF(n) (0x828 + (n) * 0x1000) argument 51 #define MVEBU_COMPHY_GEN1_S0_TX_AMP(n) ((n) << 1) argument 77 #define MVEBU_SP_CALIB(n) (0x96c + (n) * 0x1000) argument 78 #define MVEBU_SP_CALIB_SAMPLER(n) ((n) << 8) argument 105 #define MVEBU_COMPHY_GEN1_S5_ICP(n) ((n) << 0) argument [all …]
|
/linux/arch/arm/include/debug/ |
A D | imx-uart.h | 11 #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 IMX21_UART_BASE(n) IMX21_UART_BASE_ADDR(n) argument 27 #define IMX25_UART_BASE(n) IMX25_UART_BASE_ADDR(n) argument 35 #define IMX31_UART_BASE(n) IMX31_UART_BASE_ADDR(n) argument 41 #define IMX35_UART_BASE(n) IMX35_UART_BASE_ADDR(n) argument 49 #define IMX50_UART_BASE(n) IMX50_UART_BASE_ADDR(n) argument 55 #define IMX51_UART_BASE(n) IMX51_UART_BASE_ADDR(n) argument 63 #define IMX53_UART_BASE(n) IMX53_UART_BASE_ADDR(n) argument 71 #define IMX6Q_UART_BASE(n) IMX6Q_UART_BASE_ADDR(n) argument [all …]
|
/linux/arch/mips/loongson32/common/ |
A D | irq.c | 13 #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 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 115 static void ls1x_irq_dispatch(int n) in ls1x_irq_dispatch() [all …]
|
/linux/fs/ksmbd/ |
A D | ndr.c | 12 static inline char *ndr_get_field(struct ndr *n) in ndr_get_field() 17 static int try_to_realloc_ndr_blob(struct ndr *n, size_t sz) in try_to_realloc_ndr_blob() 31 static int ndr_write_int16(struct ndr *n, __u16 value) in ndr_write_int16() 46 static int ndr_write_int32(struct ndr *n, __u32 value) in ndr_write_int32() 61 static int ndr_write_int64(struct ndr *n, __u64 value) in ndr_write_int64() 76 static int ndr_write_bytes(struct ndr *n, void *value, size_t sz) in ndr_write_bytes() 91 static int ndr_write_string(struct ndr *n, char *value) in ndr_write_string() 137 static int ndr_read_int16(struct ndr *n, __u16 *value) in ndr_read_int16() 148 static int ndr_read_int32(struct ndr *n, __u32 *value) in ndr_read_int32() 159 static int ndr_read_int64(struct ndr *n, __u64 *value) in ndr_read_int64() [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
A 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 54 #define DISPC_OVL_ROW_INC(n) (DISPC_OVL_BASE(n) + \ argument 62 #define DISPC_OVL_FIR(n) (DISPC_OVL_BASE(n) + \ argument 64 #define DISPC_OVL_FIR2(n) (DISPC_OVL_BASE(n) + \ argument 68 #define DISPC_OVL_ACCU0(n) (DISPC_OVL_BASE(n) + \ argument [all …]
|
/linux/drivers/gpu/drm/omapdrm/dss/ |
A 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 57 #define DISPC_OVL_ROW_INC(n) (DISPC_OVL_BASE(n) + \ argument 65 #define DISPC_OVL_FIR(n) (DISPC_OVL_BASE(n) + \ argument 67 #define DISPC_OVL_FIR2(n) (DISPC_OVL_BASE(n) + \ argument 71 #define DISPC_OVL_ACCU0(n) (DISPC_OVL_BASE(n) + \ argument [all …]
|
/linux/sound/soc/uniphier/ |
A D | aio-reg.h | 17 #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 …]
|
/linux/drivers/gpu/drm/exynos/ |
A 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 33 #define DECON_WINxMAP(n) (0x0270 + ((n) * 4)) argument 220 #define BLENDERQ_Q_FUNC_F(n) (n << 18) argument 221 #define BLENDERQ_P_FUNC_F(n) (n << 12) argument 222 #define BLENDERQ_B_FUNC_F(n) (n << 6) argument [all …]
|
/linux/tools/include/linux/ |
A D | log2.h | 21 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
|
/linux/tools/testing/selftests/powerpc/primitives/asm/ |
A D | ppc_asm.h | 24 #define SAVE_GPR(n, base) std n,GPR0+8*(n)(base) argument 25 #define REST_GPR(n, base) ld n,GPR0+8*(n)(base) argument 29 #define SAVE_GPR(n, base) stw n,GPR0+4*(n)(base) argument 30 #define REST_GPR(n, base) lwz n,GPR0+4*(n)(base) argument 71 #define STXVD2X_ROT(n,b,base) STXVD2X(n,b,base) argument 72 #define LXVD2X_ROT(n,b,base) LXVD2X(n,b,base) argument 74 #define STXVD2X_ROT(n,b,base) XXSWAPD(n,n); \ argument 78 #define LXVD2X_ROT(n,b,base) LXVD2X(n,b,base); \ argument 127 #define VCPU_GPR(n) __VCPU_GPR(__REG_##n) argument 195 #define _ENTRY(n) \ argument [all …]
|
/linux/arch/powerpc/include/asm/ |
A D | ppc_asm.h | 24 #define SAVE_GPR(n, base) std n,GPR0+8*(n)(base) argument 25 #define REST_GPR(n, base) ld n,GPR0+8*(n)(base) argument 29 #define SAVE_GPR(n, base) stw n,GPR0+4*(n)(base) argument 30 #define REST_GPR(n, base) lwz n,GPR0+4*(n)(base) argument 71 #define STXVD2X_ROT(n,b,base) STXVD2X(n,b,base) argument 72 #define LXVD2X_ROT(n,b,base) LXVD2X(n,b,base) argument 74 #define STXVD2X_ROT(n,b,base) XXSWAPD(n,n); \ argument 78 #define LXVD2X_ROT(n,b,base) LXVD2X(n,b,base); \ argument 127 #define VCPU_GPR(n) __VCPU_GPR(__REG_##n) argument 195 #define _ENTRY(n) \ argument [all …]
|
/linux/scripts/gcc-plugins/ |
A D | gcc-generate-ipa-pass.h | 30 #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 84 #define __STMT_FIXUP(n) _GCC_PLUGIN_CONCAT2(n, _stmt_fixup) argument 106 #define __GATE(n) _GCC_PLUGIN_CONCAT2(n, _gate) argument [all …]
|
/linux/fs/ufs/ |
A D | swab.h | 27 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()
|
/linux/arch/powerpc/kernel/ |
A D | exceptions-64e.S | 336 #define PROLOG_ADDITION_NONE_GEN(n) argument 337 #define PROLOG_ADDITION_NONE_GDBELL(n) argument 338 #define PROLOG_ADDITION_NONE_CRIT(n) argument 339 #define PROLOG_ADDITION_NONE_DBG(n) argument 340 #define PROLOG_ADDITION_NONE_MC(n) argument 357 #define PROLOG_ADDITION_1REG_GEN(n) \ argument 413 #define EXCEPTION_COMMON(n) \ argument 415 #define EXCEPTION_COMMON_CRIT(n) \ argument 417 #define EXCEPTION_COMMON_MC(n) \ argument 419 #define EXCEPTION_COMMON_DBG(n) \ argument [all …]
|
/linux/arch/sh/math-emu/ |
A D | math.c | 35 #define BANK(n) (n^(FPSCR_FR?16:0)) argument 44 #define XREG(n) (n^16) argument 156 int n) in fmov_idx_reg() 172 int n) in fmov_mem_reg() 188 int n) in fmov_inc_reg() 206 int n) in fmov_reg_idx() 222 int n) in fmov_reg_mem() 238 int n) in fmov_reg_dec() 256 int n) in fmov_reg_reg() 305 static int ftrc(struct sh_fpu_soft_struct *fregs, int n) in ftrc() [all …]
|
/linux/arch/alpha/lib/ |
A D | memcpy.c | 26 #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 …]
|
/linux/drivers/gpu/drm/rockchip/ |
A D | inno_hdmi.h | 101 #define v_AVMUTE_CLEAR(n) (n << 7) argument 103 #define v_AUDIO_MUTE(n) (n << 1) argument 104 #define v_VIDEO_MUTE(n) (n << 0) argument 109 #define v_INETLACE(n) (n << 1) argument 133 #define v_CTS_SOURCE(n) (n << 7) argument 140 #define v_DOWN_SAMPLE(n) (n << 5) argument 148 #define v_MCLK_ENABLE(n) (n << 2) argument 155 #define v_MCLK_RATIO(n) (n) argument 181 #define v_I2S_MODE(n) (n) argument 185 #define v_SPIDF_FREQ(n) (n) argument [all …]
|
/linux/fs/befs/ |
A D | endian.h | 16 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()
|
/linux/drivers/media/platform/qcom/camss/ |
A D | camss-vfe-170.c | 51 #define MASK_0_RDI_REG_UPDATE(n) BIT((n) + 5) argument 61 #define MASK_1_RDI_SOF(n) BIT((n) + 29) argument 68 #define STATUS_0_RDI_REG_UPDATE(n) BIT((n) + 5) argument 76 #define STATUS_1_RDI_SOF(n) BIT((n) + 27) argument 99 #define REG_UPDATE_RDI(n) BIT(1 + (n)) argument 101 #define VFE_BUS_IRQ_MASK(n) (0x2044 + (n) * 4) argument 102 #define VFE_BUS_IRQ_CLEAR(n) (0x2050 + (n) * 4) argument 116 #define STATUS0_COMP_BUF_DONE(n) BIT((n) + 5) argument 122 #define STATUS1_WM_CLIENT_BUF_DONE(n) BIT(n) argument 130 #define STATUS2_DUAL_COMP_BUF_DONE(n) BIT(n) argument [all …]
|
/linux/lib/ |
A D | klist.c | 94 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() 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() 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() 228 void klist_del(struct klist_node *n) in klist_del() 238 void klist_remove(struct klist_node *n) in klist_remove() 265 int klist_node_attached(struct klist_node *n) in klist_node_attached() 281 struct klist_node *n) in klist_iter_init_node() [all …]
|