Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 3605) sorted by relevance

12345678910>>...145

/linux-6.3-rc2/include/linux/
A Dlog2.h22 int __ilog2_u32(u32 n) in __ilog2_u32() argument
24 return fls(n) - 1; in __ilog2_u32()
30 int __ilog2_u64(u64 n) in __ilog2_u64() argument
32 return fls64(n) - 1; in __ilog2_u64()
47 return (n != 0 && ((n & (n - 1)) == 0)); in is_power_of_2()
80 (n) < 2 ? 0 : \
156 #define ilog2(n) \ argument
201 return n > 1 ? ilog2(n - 1) + 1 : 0; in __order_base_2()
220 ((n) == 0 || (n) == 1) ? 0 : \
228 if (n < 2) in __bits_per()
[all …]
/linux-6.3-rc2/tools/include/linux/
A Dlog2.h21 int __ilog2_u32(u32 n) in __ilog2_u32() argument
23 return fls(n) - 1; in __ilog2_u32()
27 int __ilog2_u64(u64 n) in __ilog2_u64() argument
29 return fls64(n) - 1; in __ilog2_u64()
40 return (n != 0 && ((n & (n - 1)) == 0)); in is_power_of_2()
71 #define ilog2(n) \ argument
74 (n) < 2 ? 0 : \
138 (sizeof(n) <= 4) ? \
139 __ilog2_u32(n) : \
140 __ilog2_u64(n) \
[all …]
/linux-6.3-rc2/drivers/media/pci/solo6x10/
A Dsolo6x10-regs.h41 #define SOLO_DMA_CTRL_LATENCY(n) ((n)<<0) argument
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
125 #define SOLO_P2M_PCI_INC(n) ((n)<<20) argument
126 #define SOLO_P2M_REPEAT(n) ((n)<<10) 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 …]
/linux-6.3-rc2/drivers/media/common/siano/
A Dsmsdvb-debugfs.c48 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
50 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
52 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
54 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
56 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
58 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
60 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
62 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
64 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
66 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
[all …]
/linux-6.3-rc2/sound/soc/uniphier/
A 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 …]
/linux-6.3-rc2/fs/ksmbd/
A Dndr.c14 return n->data + n->offset; in ndr_get_field()
27 memset(n->data + n->offset, 0, 1024); in try_to_realloc_ndr_blob()
78 if (n->length <= n->offset + sz) { in ndr_write_bytes()
96 if (n->length <= n->offset + sz) { in ndr_write_string()
106 n->offset = ALIGN(n->offset, 2); in ndr_write_string()
114 if (n->offset + sz > n->length) in ndr_read_string()
122 n->offset = ALIGN(n->offset, 2); in ndr_read_string()
128 if (n->offset + sz > n->length) in ndr_read_bytes()
304 n->offset = ALIGN(n->offset, 8); in ndr_encode_posix_acl_entry()
314 n->offset = ALIGN(n->offset, 8); in ndr_encode_posix_acl_entry()
[all …]
/linux-6.3-rc2/drivers/media/cec/core/
A Dcec-notifier.c65 n = kzalloc(sizeof(*n), GFP_KERNEL); in cec_notifier_get_conn()
66 if (!n) in cec_notifier_get_conn()
84 return n; in cec_notifier_get_conn()
94 kfree(n); in cec_notifier_release()
110 if (!n) in cec_notifier_conn_register()
118 memset(&n->conn_info, 0, sizeof(n->conn_info)); in cec_notifier_conn_register()
125 return n; in cec_notifier_conn_register()
131 if (!n) in cec_notifier_conn_unregister()
135 memset(&n->conn_info, 0, sizeof(n->conn_info)); in cec_notifier_conn_unregister()
157 if (!n) in cec_notifier_cec_adap_register()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/rockchip/
A Dinno_hdmi.h101 #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-6.3-rc2/drivers/gpu/drm/exynos/
A 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
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-6.3-rc2/arch/mips/loongson32/common/
A 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
154 int n; in ls1x_irq_init() local
159 for (n = 0; n < INTN; n++) { in ls1x_irq_init()
164 __raw_writel(n ? 0x0 : 0xe000, LS1X_INTC_INTEDGE(n)); in ls1x_irq_init()
[all …]
/linux-6.3-rc2/arch/alpha/lib/
A Dmemcpy.c29 n--; \
36 n--; \
47 n--; \
53 n--; \
96 n += 8; in __memcpy_unaligned_up()
104 s += n; in __memcpy_unaligned_dn()
105 d += n; in __memcpy_unaligned_dn()
122 n -= 8; in __memcpy_aligned_up()
131 n += 8; in __memcpy_aligned_up()
137 s += n; in __memcpy_aligned_dn()
[all …]
/linux-6.3-rc2/drivers/usb/gadget/udc/
A Dfusb300_udc.h21 #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
84 #define FUSB300_GTM_TST_EP_ENTRY(n) ((n & 0xF) << 8) argument
85 #define FUSB300_GTM_TST_EP_NUM(n) ((n & 0xF) << 4) argument
287 #define FUSB300_IGR0_EPn_FIFO_INT(n) (1 << n) argument
448 #define FUSB300_IGR5_EP_STL_INT(n) (1 << n) argument
569 #define FUSB300_EPPRDR_EP_PRD_RDY(n) (1 << n) argument
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/igc/
A Digc_dump.c53 for (n = 0; n < 4; n++) in igc_regdump()
57 for (n = 0; n < 4; n++) in igc_regdump()
61 for (n = 0; n < 4; n++) in igc_regdump()
65 for (n = 0; n < 4; n++) in igc_regdump()
69 for (n = 0; n < 4; n++) in igc_regdump()
73 for (n = 0; n < 4; n++) in igc_regdump()
77 for (n = 0; n < 4; n++) in igc_regdump()
81 for (n = 0; n < 4; n++) in igc_regdump()
85 for (n = 0; n < 4; n++) in igc_regdump()
89 for (n = 0; n < 4; n++) in igc_regdump()
[all …]
/linux-6.3-rc2/arch/arm/include/debug/
A 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
27 #define IMX27_UART_BASE(n) IMX27_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
[all …]
/linux-6.3-rc2/sound/ppc/
A Dsnd_ps3_reg.h23 #define PS3_AUDIO_KICK(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x00) argument
24 #define PS3_AUDIO_SOURCE(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x04) argument
25 #define PS3_AUDIO_DEST(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x08) argument
26 #define PS3_AUDIO_DMASIZE(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x0C) argument
45 #define PS3_AUDIO_AO_3WCTRL(n) (0x00006200 + 0x200 * (n)) argument
53 #define PS3_AUDIO_AO_SPD_REGBASE(n) (0x00007200 + 0x200 * (n)) argument
77 #define PS3_AUDIO_INTR_0_CHAN(n) (1 << ((n) * 2)) argument
131 #define PS3_AUDIO_AX_MCTRL_ASOMT(n) (1 << (3 - (n))) /* RWIVF */ argument
830 #define PS3_AUDIO_AO_3W_LDATA(n) (0x1000 + (0x100 * (n))) argument
831 #define PS3_AUDIO_AO_3W_RDATA(n) (0x1080 + (0x100 * (n))) argument
[all …]
/linux-6.3-rc2/drivers/clk/at91/
A Dsam9x60.c76 char *n; member
93 char *n; member
97 { .n = "pioA_clk", .id = 2, },
98 { .n = "pioB_clk", .id = 3, },
99 { .n = "pioC_clk", .id = 4, },
100 { .n = "flex0_clk", .id = 5, },
101 { .n = "flex1_clk", .id = 6, },
102 { .n = "flex2_clk", .id = 7, },
149 char *n; member
339 sam9x60_periphck[i].n, in sam9x60_pmc_setup()
[all …]
A Dsama5d4.c40 char *n; member
60 char *n; member
63 { .n = "pioD_clk", .id = 5 },
66 { .n = "icm_clk", .id = 9 },
67 { .n = "aes_clk", .id = 12 },
68 { .n = "tdes_clk", .id = 14 },
69 { .n = "sha_clk", .id = 15 },
92 { .n = "pwm_clk", .id = 43 },
93 { .n = "adc_clk", .id = 44 },
104 { .n = "smd_clk", .id = 61 },
[all …]
/linux-6.3-rc2/drivers/phy/allwinner/
A Dphy-sun6i-mipi-dphy.c21 #define SUN6I_DPHY_GCTL_LANE_NUM(n) ((((n) - 1) & 3) << 4) argument
38 #define SUN6I_DPHY_TX_TIME0_LP_CLK_DIV(n) ((n) & 0xff) argument
44 #define SUN6I_DPHY_TX_TIME1_CLK_PREPARE(n) ((n) & 0xff) argument
47 #define SUN6I_DPHY_TX_TIME2_CLK_TRAIL(n) ((n) & 0xff) argument
53 #define SUN6I_DPHY_TX_TIME4_HS_TX_ANA0(n) ((n) & 0xff) argument
66 #define SUN6I_DPHY_RX_TIME2_HS_RX_ANA0(n) ((n) & 0xff) argument
80 #define SUN6I_DPHY_ANA0_REG_SLV(n) (((n) & 7) << 12) argument
83 #define SUN6I_DPHY_ANA0_REG_SFB(n) (((n) & 3) << 2) argument
111 #define SUN6I_DPHY_ANA4_REG_IB(n) (((n) & 3) << 25) argument
121 #define SUN6I_DPHY_ANA4_REG_TXPUSD(n) ((n) & 3) argument
[all …]
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dppc_asm.h72 #define ZEROIZE_GPR(n) ZEROIZE_GPRS(n, n) argument
74 #define SAVE_GPR(n, base) SAVE_GPRS(n, n, base) argument
75 #define REST_GPR(n, base) REST_GPRS(n, n, base) argument
96 #define SAVE_FPR(n, base) stfd n,8*TS_FPRWIDTH*(n)(base) argument
102 #define REST_FPR(n, base) lfd n,8*TS_FPRWIDTH*(n)(base) argument
109 #define SAVE_VR(n,b,base) li b,16*(n); stvx n,base,b argument
115 #define REST_VR(n,b,base) li b,16*(n); lvx n,base,b argument
126 #define STXVD2X_ROT(n,b,base) XXSWAPD(n,n); \
128 XXSWAPD(n,n)
131 XXSWAPD(n,n)
[all …]
/linux-6.3-rc2/tools/testing/selftests/powerpc/primitives/asm/
A Dppc_asm.h72 #define ZEROIZE_GPR(n) ZEROIZE_GPRS(n, n) argument
74 #define SAVE_GPR(n, base) SAVE_GPRS(n, n, base) argument
75 #define REST_GPR(n, base) REST_GPRS(n, n, base) argument
96 #define SAVE_FPR(n, base) stfd n,8*TS_FPRWIDTH*(n)(base) argument
102 #define REST_FPR(n, base) lfd n,8*TS_FPRWIDTH*(n)(base) argument
109 #define SAVE_VR(n,b,base) li b,16*(n); stvx n,base,b argument
115 #define REST_VR(n,b,base) li b,16*(n); lvx n,base,b argument
126 #define STXVD2X_ROT(n,b,base) XXSWAPD(n,n); \
128 XXSWAPD(n,n)
131 XXSWAPD(n,n)
[all …]
/linux-6.3-rc2/drivers/gpu/drm/rcar-du/
A Drcar_du_regs.h72 #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
106 #define DPPR_DPS_SHIFT(n) (((n)-1)*4) argument
290 #define DPLLCR_N(n) ((n) << 5) argument
291 #define DPLLCR_M(n) ((n) << 3) argument
299 #define DPLLC2R_M(n) ((n) << 8) argument
300 #define DPLLC2R_FDPLL(n) ((n) << 0) argument
[all …]
/linux-6.3-rc2/drivers/gpu/drm/panel/
A 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
38 #define ST7789V_PORCTRL_IDLE_FP(n) ((n) & 0xf) argument
43 #define ST7789V_GCTRL_VGHS(n) (((n) & 7) << 4) 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
78 #define ST7789V_PVGAMCTRL_VP27(n) ((n) & 7) argument
[all …]
/linux-6.3-rc2/drivers/media/platform/renesas/vsp1/
A Dvsp1_regs.h17 #define VI6_CMD(n) (0x0000 + (n) * 4) argument
28 #define VI6_SRESET_SRTS(n) BIT(n) argument
32 #define VI6_STATUS_SYS_ACT(n) BIT((n) + 8) argument
45 #define VI6_DISP_IRQ_ENB_LNEE(n) BIT(n) argument
50 #define VI6_DISP_IRQ_STA_LNE(n) BIT(n) argument
407 #define VI6_DPR_NODE_RPF(n) (n) argument
412 #define VI6_DPR_NODE_BRU_IN(n) (((n) <= 3) ? 23 + (n) : 49) argument
623 #define VI6_BRU_CTRL_DSTSEL_BRUIN(n) (((n) <= 3 ? (n) : (n)+1) << 20) argument
626 #define VI6_BRU_CTRL_SRCSEL_BRUIN(n) (((n) <= 3 ? (n) : (n)+1) << 16) argument
634 #define VI6_BRU_BLD(n) (0x0014 + (n) * 8 + ((n) <= 3 ? 0 : 4)) argument
[all …]
/linux-6.3-rc2/tools/power/cpupower/po/
A Dka.po15 "Language: ka\n"
19 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
205 "\n"
208 "\n"
226 "\n"
229 "\n"
582 "select\n"
591 "select\n"
625 "Notes:\n"
794 "\n"
[all …]
/linux-6.3-rc2/drivers/vhost/
A Dtest.c102 handle_vq(n); in handle_vq_kick()
107 struct vhost_test *n = kmalloc(sizeof *n, GFP_KERNEL); in vhost_test_open() local
111 if (!n) in vhost_test_open()
115 kfree(n); in vhost_test_open()
119 dev = &n->dev; in vhost_test_open()
125 f->private_data = n; in vhost_test_open()
144 *privatep = vhost_test_stop_vq(n, n->vqs + VHOST_TEST_VQ); in vhost_test_stop()
158 vhost_test_flush(n); in vhost_test_release()
161 kfree(n->dev.vqs); in vhost_test_release()
162 kfree(n); in vhost_test_release()
[all …]

Completed in 93 milliseconds

12345678910>>...145