Home
last modified time | relevance | path

Searched defs:n (Results 1 – 200 of 3123) sorted by relevance

12345678910>>...16

/linux-4.1.27/arch/arm/mach-davinci/include/mach/
Dcp_intc.h34 #define CP_INTC_PACING_PARAM(n) (0x0100 + (n << 4)) argument
35 #define CP_INTC_PACING_DEC(n) (0x0104 + (n << 4)) argument
36 #define CP_INTC_PACING_MAP(n) (0x0108 + (n << 4)) argument
37 #define CP_INTC_SYS_RAW_STAT(n) (0x0200 + (n << 2)) argument
38 #define CP_INTC_SYS_STAT_CLR(n) (0x0280 + (n << 2)) argument
39 #define CP_INTC_SYS_ENABLE_SET(n) (0x0300 + (n << 2)) argument
40 #define CP_INTC_SYS_ENABLE_CLR(n) (0x0380 + (n << 2)) argument
41 #define CP_INTC_CHAN_MAP(n) (0x0400 + (n << 2)) argument
42 #define CP_INTC_HOST_MAP(n) (0x0800 + (n << 2)) argument
43 #define CP_INTC_HOST_PRIO_IDX(n) (0x0900 + (n << 2)) argument
[all …]
/linux-4.1.27/drivers/media/pci/solo6x10/
Dsolo6x10-tw28.h28 #define TW_CHIP_OFFSET_ADDR(n) (TW_BASE_ADDR + (n)) argument
32 #define TW_HUE_ADDR(n) (0x07 | ((n) << 4)) argument
33 #define TW_SATURATION_ADDR(n) (0x08 | ((n) << 4)) argument
34 #define TW_CONTRAST_ADDR(n) (0x09 | ((n) << 4)) argument
35 #define TW_BRIGHTNESS_ADDR(n) (0x0a | ((n) << 4)) argument
37 #define TW_AUDIO_INPUT_GAIN_ADDR(n) (0x60 + ((n > 1) ? 1 : 0)) argument
41 #define TW286x_HUE_ADDR(n) (0x06 | ((n) << 4)) argument
42 #define TW286x_SATURATIONU_ADDR(n) (0x04 | ((n) << 4)) argument
43 #define TW286x_SATURATIONV_ADDR(n) (0x05 | ((n) << 4)) argument
44 #define TW286x_CONTRAST_ADDR(n) (0x02 | ((n) << 4)) argument
[all …]
Dsolo6x10-regs.h41 #define SOLO_DMA_CTRL_REFRESH_CYCLE(n) ((n)<<8) argument
43 #define SOLO_DMA_CTRL_SDRAM_SIZE(n) ((n)<<6) argument
48 #define SOLO_DMA_CTRL_LATENCY(n) ((n)<<0) argument
56 #define SOLO_VCLK_SELECT(n) ((n)<<20) argument
57 #define SOLO_VCLK_VIN1415_DELAY(n) ((n)<<14) argument
58 #define SOLO_VCLK_VIN1213_DELAY(n) ((n)<<12) argument
59 #define SOLO_VCLK_VIN1011_DELAY(n) ((n)<<10) argument
60 #define SOLO_VCLK_VIN0809_DELAY(n) ((n)<<8) argument
61 #define SOLO_VCLK_VIN0607_DELAY(n) ((n)<<6) argument
62 #define SOLO_VCLK_VIN0405_DELAY(n) ((n)<<4) argument
[all …]
/linux-4.1.27/include/linux/
Dlog2.h32 int __ilog2_u32(u32 n) in __ilog2_u32()
40 int __ilog2_u64(u64 n) in __ilog2_u64()
52 bool is_power_of_2(unsigned long n) in is_power_of_2()
61 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two()
70 unsigned long __rounddown_pow_of_two(unsigned long n) in __rounddown_pow_of_two()
85 #define ilog2(n) \ argument
168 #define roundup_pow_of_two(n) \ argument
185 #define rounddown_pow_of_two(n) \ argument
206 #define order_base_2(n) ilog2(roundup_pow_of_two(n)) argument
Drculist_bl.h11 struct hlist_bl_node *n) in hlist_bl_set_first_rcu()
46 static inline void hlist_bl_del_init_rcu(struct hlist_bl_node *n) in hlist_bl_del_init_rcu()
73 static inline void hlist_bl_del_rcu(struct hlist_bl_node *n) in hlist_bl_del_rcu()
98 static inline void hlist_bl_add_head_rcu(struct hlist_bl_node *n, in hlist_bl_add_head_rcu()
Dkmemcheck.h123 static inline void kmemcheck_mark_unallocated(void *address, unsigned int n) in kmemcheck_mark_unallocated()
127 static inline void kmemcheck_mark_uninitialized(void *address, unsigned int n) in kmemcheck_mark_uninitialized()
131 static inline void kmemcheck_mark_initialized(void *address, unsigned int n) in kmemcheck_mark_initialized()
135 static inline void kmemcheck_mark_freed(void *address, unsigned int n) in kmemcheck_mark_freed()
140 unsigned int n) in kmemcheck_mark_unallocated_pages()
145 unsigned int n) in kmemcheck_mark_uninitialized_pages()
150 unsigned int n) in kmemcheck_mark_initialized_pages()
Dlist.h425 #define list_for_each_safe(pos, n, head) \ argument
435 #define list_for_each_prev_safe(pos, n, head) \ argument
520 #define list_for_each_entry_safe(pos, n, head, member) \ argument
536 #define list_for_each_entry_safe_continue(pos, n, head, member) \ argument
552 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument
567 #define list_for_each_entry_safe_reverse(pos, n, head, member) \ argument
585 #define list_safe_reset_next(pos, n, member) \ argument
614 static inline void __hlist_del(struct hlist_node *n) in __hlist_del()
623 static inline void hlist_del(struct hlist_node *n) in hlist_del()
630 static inline void hlist_del_init(struct hlist_node *n) in hlist_del_init()
[all …]
Dlist_bl.h63 struct hlist_bl_node *n) in hlist_bl_set_first()
76 static inline void hlist_bl_add_head(struct hlist_bl_node *n, in hlist_bl_add_head()
88 static inline void __hlist_bl_del(struct hlist_bl_node *n) in __hlist_bl_del()
103 static inline void hlist_bl_del(struct hlist_bl_node *n) in hlist_bl_del()
110 static inline void hlist_bl_del_init(struct hlist_bl_node *n) in hlist_bl_del_init()
155 #define hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) \ argument
Dioport.h184 #define request_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name), 0) argument
185 #define request_muxed_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name),… argument
186 #define __request_mem_region(start,n,name, excl) __request_region(&iomem_resource, (start), (n), (n… argument
187 #define request_mem_region(start,n,name) __request_region(&iomem_resource, (start), (n), (name), 0) argument
188 #define request_mem_region_exclusive(start,n,name) \ argument
198 #define release_region(start,n) __release_region(&ioport_resource, (start), (n)) argument
199 #define release_mem_region(start,n) __release_region(&iomem_resource, (start), (n)) argument
215 #define devm_request_region(dev,start,n,name) \ argument
217 #define devm_request_mem_region(dev,start,n,name) \ argument
224 #define devm_release_region(dev, start, n) \ argument
[all …]
Drculist_nulls.h32 static inline void hlist_nulls_del_init_rcu(struct hlist_nulls_node *n) in hlist_nulls_del_init_rcu()
65 static inline void hlist_nulls_del_rcu(struct hlist_nulls_node *n) in hlist_nulls_del_rcu()
90 static inline void hlist_nulls_add_head_rcu(struct hlist_nulls_node *n, in hlist_nulls_add_head_rcu()
Dprofile.h112 static inline int task_handoff_register(struct notifier_block * n) in task_handoff_register()
117 static inline int task_handoff_unregister(struct notifier_block * n) in task_handoff_unregister()
122 static inline int profile_event_register(enum profile_type t, struct notifier_block * n) in profile_event_register()
127 static inline int profile_event_unregister(enum profile_type t, struct notifier_block * n) in profile_event_unregister()
/linux-4.1.27/arch/mips/loongson1/common/
Dirq.c17 #define LS1X_INTC_REG(n, x) \ argument
20 #define LS1X_INTC_INTISR(n) LS1X_INTC_REG(n, 0x0) argument
21 #define LS1X_INTC_INTIEN(n) LS1X_INTC_REG(n, 0x4) argument
22 #define LS1X_INTC_INTSET(n) LS1X_INTC_REG(n, 0x8) argument
23 #define LS1X_INTC_INTCLR(n) LS1X_INTC_REG(n, 0xc) argument
24 #define LS1X_INTC_INTPOL(n) LS1X_INTC_REG(n, 0x10) argument
25 #define LS1X_INTC_INTEDGE(n) LS1X_INTC_REG(n, 0x14) argument
30 unsigned int n = (d->irq - LS1X_IRQ_BASE) >> 5; in ls1x_irq_ack() local
39 unsigned int n = (d->irq - LS1X_IRQ_BASE) >> 5; in ls1x_irq_mask() local
48 unsigned int n = (d->irq - LS1X_IRQ_BASE) >> 5; in ls1x_irq_mask_ack() local
[all …]
/linux-4.1.27/arch/tile/include/uapi/arch/
Dopcode_tilepro.h82 const unsigned int n = (unsigned int)num; in get_BrOff_SN() local
87 get_BrOff_X1(tilepro_bundle_bits n) in get_BrOff_X1()
94 get_BrType_X1(tilepro_bundle_bits n) in get_BrType_X1()
100 get_Dest_Imm8_X1(tilepro_bundle_bits n) in get_Dest_Imm8_X1()
109 const unsigned int n = (unsigned int)num; in get_Dest_SN() local
116 const unsigned int n = (unsigned int)num; in get_Dest_X0() local
121 get_Dest_X1(tilepro_bundle_bits n) in get_Dest_X1()
129 const unsigned int n = (unsigned int)num; in get_Dest_Y0() local
134 get_Dest_Y1(tilepro_bundle_bits n) in get_Dest_Y1()
142 const unsigned int n = (unsigned int)num; in get_Imm16_X0() local
[all …]
Dopcode_tilegx.h72 const unsigned int n = (unsigned int)num; in get_BFEnd_X0() local
79 const unsigned int n = (unsigned int)num; in get_BFOpcodeExtension_X0() local
86 const unsigned int n = (unsigned int)num; in get_BFStart_X0() local
91 get_BrOff_X1(tilegx_bundle_bits n) in get_BrOff_X1()
98 get_BrType_X1(tilegx_bundle_bits n) in get_BrType_X1()
104 get_Dest_Imm8_X1(tilegx_bundle_bits n) in get_Dest_Imm8_X1()
113 const unsigned int n = (unsigned int)num; in get_Dest_X0() local
118 get_Dest_X1(tilegx_bundle_bits n) in get_Dest_X1()
126 const unsigned int n = (unsigned int)num; in get_Dest_Y0() local
131 get_Dest_Y1(tilegx_bundle_bits n) in get_Dest_Y1()
[all …]
/linux-4.1.27/arch/arm/include/debug/
Dimx-uart.h14 #define IMX1_UART_BASE_ADDR(n) IMX1_UART##n##_BASE_ADDR argument
15 #define IMX1_UART_BASE(n) IMX1_UART_BASE_ADDR(n) argument
21 #define IMX21_UART_BASE_ADDR(n) IMX21_UART##n##_BASE_ADDR argument
22 #define IMX21_UART_BASE(n) IMX21_UART_BASE_ADDR(n) argument
29 #define IMX25_UART_BASE_ADDR(n) IMX25_UART##n##_BASE_ADDR argument
30 #define IMX25_UART_BASE(n) IMX25_UART_BASE_ADDR(n) argument
37 #define IMX31_UART_BASE_ADDR(n) IMX31_UART##n##_BASE_ADDR argument
38 #define IMX31_UART_BASE(n) IMX31_UART_BASE_ADDR(n) argument
43 #define IMX35_UART_BASE_ADDR(n) IMX35_UART##n##_BASE_ADDR argument
44 #define IMX35_UART_BASE(n) IMX35_UART_BASE_ADDR(n) argument
[all …]
Dux500.S30 #define __UX500_PHYS_UART(n) U8500_UART##n##_PHYS_BASE argument
31 #define __UX500_VIRT_UART(n) U8500_UART##n##_VIRT_BASE argument
38 #define UX500_PHYS_UART(n) __UX500_PHYS_UART(n) argument
39 #define UX500_VIRT_UART(n) __UX500_VIRT_UART(n) argument
/linux-4.1.27/tools/include/linux/
Dlog2.h28 int __ilog2_u32(u32 n) in __ilog2_u32()
34 int __ilog2_u64(u64 n) in __ilog2_u64()
45 bool is_power_of_2(unsigned long n) in is_power_of_2()
54 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two()
63 unsigned long __rounddown_pow_of_two(unsigned long n) in __rounddown_pow_of_two()
78 #define ilog2(n) \ argument
161 #define roundup_pow_of_two(n) \ argument
178 #define rounddown_pow_of_two(n) \ argument
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddispc.h46 #define DISPC_OVL_BA0(n) (DISPC_OVL_BASE(n) + \ argument
48 #define DISPC_OVL_BA1(n) (DISPC_OVL_BASE(n) + \ argument
50 #define DISPC_OVL_BA0_UV(n) (DISPC_OVL_BASE(n) + \ argument
52 #define DISPC_OVL_BA1_UV(n) (DISPC_OVL_BASE(n) + \ argument
54 #define DISPC_OVL_POSITION(n) (DISPC_OVL_BASE(n) + \ argument
56 #define DISPC_OVL_SIZE(n) (DISPC_OVL_BASE(n) + \ argument
58 #define DISPC_OVL_ATTRIBUTES(n) (DISPC_OVL_BASE(n) + \ argument
60 #define DISPC_OVL_ATTRIBUTES2(n) (DISPC_OVL_BASE(n) + \ argument
62 #define DISPC_OVL_FIFO_THRESHOLD(n) (DISPC_OVL_BASE(n) + \ argument
64 #define DISPC_OVL_FIFO_SIZE_STATUS(n) (DISPC_OVL_BASE(n) + \ argument
[all …]
Domapdss-boot-init.c122 struct dss_conv_node *n = kmalloc(sizeof(struct dss_conv_node), in omapdss_add_to_list() local
133 struct dss_conv_node *n; in omapdss_list_contains() local
145 struct device_node *n; in omapdss_walk_device() local
211 struct dss_conv_node *n; in omapdss_boot_init() local
/linux-4.1.27/fs/ufs/
Dswab.h26 fs64_to_cpu(struct super_block *sbp, __fs64 n) in fs64_to_cpu()
35 cpu_to_fs64(struct super_block *sbp, u64 n) in cpu_to_fs64()
44 fs32_to_cpu(struct super_block *sbp, __fs32 n) in fs32_to_cpu()
53 cpu_to_fs32(struct super_block *sbp, u32 n) in cpu_to_fs32()
62 fs32_add(struct super_block *sbp, __fs32 *n, int d) in fs32_add()
71 fs32_sub(struct super_block *sbp, __fs32 *n, int d) in fs32_sub()
80 fs16_to_cpu(struct super_block *sbp, __fs16 n) in fs16_to_cpu()
89 cpu_to_fs16(struct super_block *sbp, u16 n) in cpu_to_fs16()
98 fs16_add(struct super_block *sbp, __fs16 *n, int d) in fs16_add()
107 fs16_sub(struct super_block *sbp, __fs16 *n, int d) in fs16_sub()
/linux-4.1.27/fs/befs/
Dendian.h15 fs64_to_cpu(const struct super_block *sb, fs64 n) in fs64_to_cpu()
24 cpu_to_fs64(const struct super_block *sb, u64 n) in cpu_to_fs64()
33 fs32_to_cpu(const struct super_block *sb, fs32 n) in fs32_to_cpu()
42 cpu_to_fs32(const struct super_block *sb, u32 n) in cpu_to_fs32()
51 fs16_to_cpu(const struct super_block *sb, fs16 n) in fs16_to_cpu()
60 cpu_to_fs16(const struct super_block *sb, u16 n) in cpu_to_fs16()
71 fsrun_to_cpu(const struct super_block *sb, befs_disk_block_run n) in fsrun_to_cpu()
88 cpu_to_fsrun(const struct super_block *sb, befs_block_run n) in cpu_to_fsrun()
105 fsds_to_cpu(const struct super_block *sb, const befs_disk_data_stream *n) in fsds_to_cpu()
/linux-4.1.27/arch/alpha/lib/
Dmemcpy.c24 #define ALIGN_DEST_TO8_UP(d,s,n) \ argument
31 #define ALIGN_DEST_TO8_DN(d,s,n) \ argument
43 #define DO_REST_UP(d,s,n) \ argument
49 #define DO_REST_DN(d,s,n) \ argument
60 #define DO_REST_ALIGNED_UP(d,s,n) DO_REST_UP(d,s,n) argument
61 #define DO_REST_ALIGNED_DN(d,s,n) DO_REST_DN(d,s,n) argument
71 long n) in __memcpy_unaligned_up()
99 long n) in __memcpy_unaligned_dn()
117 long n) in __memcpy_aligned_up()
133 long n) in __memcpy_aligned_dn()
[all …]
/linux-4.1.27/lib/
Dklist.c95 static void add_head(struct klist *k, struct klist_node *n) in add_head()
102 static void add_tail(struct klist *k, struct klist_node *n) in add_tail()
109 static void klist_node_init(struct klist *k, struct klist_node *n) in klist_node_init()
123 void klist_add_head(struct klist_node *n, struct klist *k) in klist_add_head()
135 void klist_add_tail(struct klist_node *n, struct klist *k) in klist_add_tail()
147 void klist_add_behind(struct klist_node *n, struct klist_node *pos) in klist_add_behind()
163 void klist_add_before(struct klist_node *n, struct klist_node *pos) in klist_add_before()
187 struct klist_node *n = container_of(kref, struct klist_node, n_ref); in klist_release() local
205 static int klist_dec_and_del(struct klist_node *n) in klist_dec_and_del()
210 static void klist_put(struct klist_node *n, bool kill) in klist_put()
[all …]
/linux-4.1.27/arch/ia64/include/asm/sn/
Daddrs.h110 #define NASID_SPACE(n) ((u64)(n) << NASID_SHIFT) argument
111 #define REMOTE_ADDR(n,a) (NASID_SPACE(n) | (a)) argument
116 #define GLOBAL_MMR_ADDR(n,a) (GLOBAL_MMR_SPACE | REMOTE_ADDR(n,a)) argument
117 #define GLOBAL_MMR_PHYS_ADDR(n,a) (GLOBAL_PHYS_MMR_SPACE | REMOTE_ADDR(n,a)) argument
118 #define GLOBAL_CAC_ADDR(n,a) (CAC_BASE | REMOTE_ADDR(n,a)) argument
119 #define CHANGE_NASID(n,x) ((void *)(((u64)(x) & ~NASID_MASK) | NASID_SPACE(n))) argument
120 #define IS_TIO_NASID(n) ((n) & 1) argument
192 #define NODE_SWIN_BASE(n, w) ((w == 0) ? NODE_BWIN_BASE((n), SWIN0_BIGWIN) \ argument
194 #define TIO_SWIN_BASE(n, w) (TIO_IO_BASE(n) + \ argument
196 #define NODE_IO_BASE(n) (GLOBAL_MMR_SPACE | NASID_SPACE(n)) argument
[all …]
/linux-4.1.27/arch/powerpc/kernel/
Dexceptions-64e.S283 #define EXCEPTION_PROLOG(n, intnum, type, addition) \ argument
330 #define NORMAL_EXCEPTION_PROLOG(n, intnum, addition) \ argument
333 #define CRIT_EXCEPTION_PROLOG(n, intnum, addition) \ argument
336 #define DBG_EXCEPTION_PROLOG(n, intnum, addition) \ argument
339 #define MC_EXCEPTION_PROLOG(n, intnum, addition) \ argument
342 #define GDBELL_EXCEPTION_PROLOG(n, intnum, addition) \ argument
347 #define PROLOG_ADDITION_NONE_GEN(n) argument
348 #define PROLOG_ADDITION_NONE_GDBELL(n) argument
349 #define PROLOG_ADDITION_NONE_CRIT(n) argument
350 #define PROLOG_ADDITION_NONE_DBG(n) argument
[all …]
Dfpu.S29 #define __REST_32FPVSRS(n,c,base) \ argument
38 #define __SAVE_32FPVSRS(n,c,base) \ argument
47 #define __REST_32FPVSRS(n,b,base) REST_32FPRS(n, base) argument
48 #define __SAVE_32FPVSRS(n,b,base) SAVE_32FPRS(n, base) argument
50 #define REST_32FPVSRS(n,c,base) __REST_32FPVSRS(n,__REG_##c,__REG_##base) argument
51 #define SAVE_32FPVSRS(n,c,base) __SAVE_32FPVSRS(n,__REG_##c,__REG_##base) argument
Dtm.S17 #define __SAVE_32FPRS_VSRS(n,c,base) \ argument
25 #define __REST_32FPRS_VSRS(n,c,base) \ argument
34 #define __SAVE_32FPRS_VSRS(n,c,base) SAVE_32FPRS(n, base) argument
35 #define __REST_32FPRS_VSRS(n,c,base) REST_32FPRS(n, base) argument
37 #define SAVE_32FPRS_VSRS(n,c,base) \ argument
39 #define REST_32FPRS_VSRS(n,c,base) \ argument
Dhead_40x.S197 #define START_EXCEPTION(n, label) \ argument
201 #define EXCEPTION(n, label, hdlr, xfer) \ argument
207 #define CRITICAL_EXCEPTION(n, label, hdlr) \ argument
228 #define EXC_XFER_STD(n, hdlr) \ argument
232 #define EXC_XFER_LITE(n, hdlr) \ argument
236 #define EXC_XFER_EE(n, hdlr) \ argument
240 #define EXC_XFER_EE_LITE(n, hdlr) \ argument
Dexceptions-64s.S558 #define FMR2(n) fmr (n), (n) ; fmr n+1, n+1 argument
559 #define FMR4(n) FMR2(n) ; FMR2(n+2) argument
560 #define FMR8(n) FMR4(n) ; FMR4(n+4) argument
561 #define FMR16(n) FMR8(n) ; FMR8(n+8) argument
562 #define FMR32(n) FMR16(n) ; FMR16(n+16) argument
575 #define XVCPSGNDP2(n) XVCPSGNDP(n,n,n) ; XVCPSGNDP(n+1,n+1,n+1) argument
576 #define XVCPSGNDP4(n) XVCPSGNDP2(n) ; XVCPSGNDP2(n+2) argument
577 #define XVCPSGNDP8(n) XVCPSGNDP4(n) ; XVCPSGNDP4(n+4) argument
578 #define XVCPSGNDP16(n) XVCPSGNDP8(n) ; XVCPSGNDP8(n+8) argument
579 #define XVCPSGNDP32(n) XVCPSGNDP16(n) ; XVCPSGNDP16(n+16) argument
Dhead_32.S39 #define LOAD_BAT(n, reg, RA, RB) \ argument
304 #define EXCEPTION(n, label, hdlr, xfer) \ argument
312 #define EXC_XFER_TEMPLATE(n, hdlr, trap, copyee, tfer, ret) \ argument
325 #define EXC_XFER_STD(n, hdlr) \ argument
329 #define EXC_XFER_LITE(n, hdlr) \ argument
333 #define EXC_XFER_EE(n, hdlr) \ argument
337 #define EXC_XFER_EE_LITE(n, hdlr) \ argument
Dhead_8xx.S180 #define EXCEPTION(n, label, hdlr, xfer) \ argument
187 #define EXC_XFER_TEMPLATE(n, hdlr, trap, copyee, tfer, ret) \ argument
200 #define EXC_XFER_STD(n, hdlr) \ argument
204 #define EXC_XFER_LITE(n, hdlr) \ argument
208 #define EXC_XFER_EE(n, hdlr) \ argument
212 #define EXC_XFER_EE_LITE(n, hdlr) \ argument
Dhead_booke.h202 #define EXCEPTION(n, intno, label, hdlr, xfer) \ argument
208 #define CRITICAL_EXCEPTION(n, intno, label, hdlr) \ argument
216 #define MCHECK_EXCEPTION(n, label, hdlr) \ argument
239 #define EXC_XFER_STD(n, hdlr) \ argument
243 #define EXC_XFER_LITE(n, hdlr) \ argument
247 #define EXC_XFER_EE(n, hdlr) \ argument
251 #define EXC_XFER_EE_LITE(n, hdlr) \ argument
/linux-4.1.27/arch/powerpc/perf/
Dbhrb.S36 #define MFBHRB_TABLE1(n) PPC_MFBHRBE(R3,n); blr argument
37 #define MFBHRB_TABLE2(n) MFBHRB_TABLE1(n); MFBHRB_TABLE1(n+1) argument
38 #define MFBHRB_TABLE4(n) MFBHRB_TABLE2(n); MFBHRB_TABLE2(n+2) argument
39 #define MFBHRB_TABLE8(n) MFBHRB_TABLE4(n); MFBHRB_TABLE4(n+4) argument
40 #define MFBHRB_TABLE16(n) MFBHRB_TABLE8(n); MFBHRB_TABLE8(n+8) argument
41 #define MFBHRB_TABLE32(n) MFBHRB_TABLE16(n); MFBHRB_TABLE16(n+16) argument
/linux-4.1.27/arch/arm/mach-mmp/include/mach/
Dregs-timers.h20 #define TMR_TN_MM(n, m) (0x0004 + ((n) << 3) + (((n) + (m)) << 2)) argument
21 #define TMR_CR(n) (0x0028 + ((n) << 2)) argument
22 #define TMR_SR(n) (0x0034 + ((n) << 2)) argument
23 #define TMR_IER(n) (0x0040 + ((n) << 2)) argument
24 #define TMR_PLVR(n) (0x004c + ((n) << 2)) argument
25 #define TMR_PLCR(n) (0x0058 + ((n) << 2)) argument
30 #define TMR_ICR(n) (0x0074 + ((n) << 2)) argument
34 #define TMR_ILR(n) (0x008c + ((n) << 2)) argument
38 #define TMR_CVWR(n) (0x00A4 + ((n) << 2)) argument
/linux-4.1.27/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 …]
/linux-4.1.27/arch/powerpc/boot/
Dcrt0.S233 #define SAVE_GPR(n, base) std n,8*(n)(base) argument
234 #define REST_GPR(n, base) ld n,8*(n)(base) argument
235 #define SAVE_2GPRS(n, base) SAVE_GPR(n, base); SAVE_GPR(n+1, base) argument
236 #define SAVE_4GPRS(n, base) SAVE_2GPRS(n, base); SAVE_2GPRS(n+2, base) argument
237 #define SAVE_8GPRS(n, base) SAVE_4GPRS(n, base); SAVE_4GPRS(n+4, base) argument
238 #define SAVE_10GPRS(n, base) SAVE_8GPRS(n, base); SAVE_2GPRS(n+8, base) argument
239 #define REST_2GPRS(n, base) REST_GPR(n, base); REST_GPR(n+1, base) argument
240 #define REST_4GPRS(n, base) REST_2GPRS(n, base); REST_2GPRS(n+2, base) argument
241 #define REST_8GPRS(n, base) REST_4GPRS(n, base); REST_4GPRS(n+4, base) argument
242 #define REST_10GPRS(n, base) REST_8GPRS(n, base); REST_2GPRS(n+8, base) argument
/linux-4.1.27/drivers/usb/dwc3/
Dgadget.h31 #define DWC3_DEPCFG_INT_NUM(n) ((n) << 0) argument
37 #define DWC3_DEPCFG_BINTERVAL_M1(n) ((n) << 16) argument
39 #define DWC3_DEPCFG_EP_NUMBER(n) ((n) << 25) argument
44 #define DWC3_DEPCFG_EP_TYPE(n) ((n) << 1) argument
45 #define DWC3_DEPCFG_MAX_PACKET_SIZE(n) ((n) << 3) argument
46 #define DWC3_DEPCFG_FIFO_NUMBER(n) ((n) << 17) argument
47 #define DWC3_DEPCFG_BURST_SIZE(n) ((n) << 22) argument
48 #define DWC3_DEPCFG_DATA_SEQ_NUM(n) ((n) << 26) argument
57 #define DWC3_DEPXFERCFG_NUM_XFER_RES(n) ((n) & 0xffff) argument
Dcore.h113 #define DWC3_GUSB2PHYCFG(n) (0xc200 + (n * 0x04)) argument
114 #define DWC3_GUSB2I2CCTL(n) (0xc240 + (n * 0x04)) argument
116 #define DWC3_GUSB2PHYACC(n) (0xc280 + (n * 0x04)) argument
118 #define DWC3_GUSB3PIPECTL(n) (0xc2c0 + (n * 0x04)) argument
120 #define DWC3_GTXFIFOSIZ(n) (0xc300 + (n * 0x04)) argument
121 #define DWC3_GRXFIFOSIZ(n) (0xc380 + (n * 0x04)) argument
123 #define DWC3_GEVNTADRLO(n) (0xc400 + (n * 0x10)) argument
124 #define DWC3_GEVNTADRHI(n) (0xc404 + (n * 0x10)) argument
125 #define DWC3_GEVNTSIZ(n) (0xc408 + (n * 0x10)) argument
126 #define DWC3_GEVNTCOUNT(n) (0xc40c + (n * 0x10)) argument
[all …]
/linux-4.1.27/arch/powerpc/include/asm/
Dppc_asm.h78 #define SAVE_GPR(n, base) std n,GPR0+8*(n)(base) argument
79 #define REST_GPR(n, base) ld n,GPR0+8*(n)(base) argument
83 #define SAVE_GPR(n, base) stw n,GPR0+4*(n)(base) argument
84 #define REST_GPR(n, base) lwz n,GPR0+4*(n)(base) argument
91 #define SAVE_2GPRS(n, base) SAVE_GPR(n, base); SAVE_GPR(n+1, base) argument
92 #define SAVE_4GPRS(n, base) SAVE_2GPRS(n, base); SAVE_2GPRS(n+2, base) argument
93 #define SAVE_8GPRS(n, base) SAVE_4GPRS(n, base); SAVE_4GPRS(n+4, base) argument
94 #define SAVE_10GPRS(n, base) SAVE_8GPRS(n, base); SAVE_2GPRS(n+8, base) argument
95 #define REST_2GPRS(n, base) REST_GPR(n, base); REST_GPR(n+1, base) argument
96 #define REST_4GPRS(n, base) REST_2GPRS(n, base); REST_2GPRS(n+2, base) argument
[all …]
Dexception-64s.h204 #define __KVMTEST(n) \ argument
220 #define __KVM_HANDLER(area, h, n) \ argument
237 #define __KVM_HANDLER_SKIP(area, h, n) \ argument
256 #define KVMTEST(n) __KVMTEST(n) argument
257 #define KVM_HANDLER(area, h, n) __KVM_HANDLER(area, h, n) argument
258 #define KVM_HANDLER_SKIP(area, h, n) __KVM_HANDLER_SKIP(area, h, n) argument
261 #define KVMTEST(n) argument
262 #define KVM_HANDLER(area, h, n) argument
263 #define KVM_HANDLER_SKIP(area, h, n) argument
267 #define KVMTEST_PR(n) __KVMTEST(n) argument
[all …]
Dcmpxchg.h275 #define cmpxchg(ptr, o, n) \ argument
284 #define cmpxchg_local(ptr, o, n) \ argument
293 #define cmpxchg64(ptr, o, n) \ argument
298 #define cmpxchg64_local(ptr, o, n) \ argument
306 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
/linux-4.1.27/arch/m68k/include/asm/
Dide.h49 #define __ide_mm_insw(port, addr, n) raw_insw((u16 *)port, addr, n) argument
50 #define __ide_mm_insl(port, addr, n) raw_insl((u32 *)port, addr, n) argument
53 #define __ide_mm_outsw(port, addr, n) raw_outsw((u16 *)port, addr, n) argument
54 #define __ide_mm_outsl(port, addr, n) raw_outsl((u32 *)port, addr, n) argument
58 #define __ide_mm_insw(port, addr, n) io_insw((unsigned int)port, addr, n) argument
59 #define __ide_mm_insl(port, addr, n) io_insl((unsigned int)port, addr, n) argument
60 #define __ide_mm_outsw(port, addr, n) io_outsw((unsigned int)port, addr, n) argument
61 #define __ide_mm_outsl(port, addr, n) io_outsl((unsigned int)port, addr, n) argument
Duaccess_no.h130 #define copy_from_user(to, from, n) (memcpy(to, from, n), 0) argument
131 #define copy_to_user(to, from, n) (memcpy(to, from, n), 0) argument
133 #define __copy_from_user(to, from, n) copy_from_user(to, from, n) argument
134 #define __copy_to_user(to, from, n) copy_to_user(to, from, n) argument
138 #define copy_to_user_ret(to,from,n,retval) ({ if (copy_to_user(to,from,n)) return retval; }) argument
140 #define copy_from_user_ret(to,from,n,retval) ({ if (copy_from_user(to,from,n)) return retval; }) argument
161 static inline long strnlen_user(const char *src, long n) in strnlen_user()
173 __clear_user(void *to, unsigned long n) in __clear_user()
179 #define clear_user(to,n) __clear_user(to,n) argument
Duaccess_mm.h205 #define __constant_copy_from_user_asm(res, to, from, tmp, n, s1, s2, s3)\ argument
239 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user()
285 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \ argument
320 __constant_copy_to_user(void __user *to, const void *from, unsigned long n) in __constant_copy_to_user()
366 #define __copy_from_user(to, from, n) \ argument
371 #define __copy_to_user(to, from, n) \ argument
379 #define copy_from_user(to, from, n) __copy_from_user(to, from, n) argument
380 #define copy_to_user(to, from, n) __copy_to_user(to, from, n) argument
Dcmpxchg.h82 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
121 #define cmpxchg(ptr, o, n) \ argument
124 #define cmpxchg_local(ptr, o, n) \ argument
128 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
136 #define cmpxchg_local(ptr, o, n) \ argument
Dstring.h24 static inline char *strncpy(char *dest, const char *src, size_t n) in strncpy()
63 #define memcmp(d, s, n) __builtin_memcmp(d, s, n) argument
67 #define memset(d, c, n) __builtin_memset(d, c, n) argument
71 #define memcpy(d, s, n) __builtin_memcpy(d, s, n) argument
Ddelay.h76 #define __const_udelay(n) (__xdelay((n) * 4295)) argument
92 #define udelay(n) (__builtin_constant_p(n) ? \ argument
117 #define ndelay(n) __delay(DIV_ROUND_UP((n) * ((((HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6), … argument
/linux-4.1.27/sound/ppc/
Dsnd_ps3_reg.h35 #define PS3_AUDIO_KICK(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x00) argument
36 #define PS3_AUDIO_SOURCE(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x04) argument
37 #define PS3_AUDIO_DEST(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x08) argument
38 #define PS3_AUDIO_DMASIZE(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x0C) argument
57 #define PS3_AUDIO_AO_3WCTRL(n) (0x00006200 + 0x200 * (n)) argument
65 #define PS3_AUDIO_AO_SPD_REGBASE(n) (0x00007200 + 0x200 * (n)) argument
67 #define PS3_AUDIO_AO_SPDCTRL(n) \ argument
69 #define PS3_AUDIO_AO_SPDUB(n, x) \ argument
71 #define PS3_AUDIO_AO_SPDCS(n, y) \ argument
89 #define PS3_AUDIO_INTR_0_CHAN(n) (1 << ((n) * 2)) argument
[all …]
/linux-4.1.27/drivers/vhost/
Dtest.c38 static void handle_vq(struct vhost_test *n) in handle_vq()
97 struct vhost_test *n = container_of(vq->dev, struct vhost_test, dev); in handle_vq_kick() local
104 struct vhost_test *n = kmalloc(sizeof *n, GFP_KERNEL); in vhost_test_open() local
126 static void *vhost_test_stop_vq(struct vhost_test *n, in vhost_test_stop_vq()
138 static void vhost_test_stop(struct vhost_test *n, void **privatep) in vhost_test_stop()
143 static void vhost_test_flush_vq(struct vhost_test *n, int index) in vhost_test_flush_vq()
148 static void vhost_test_flush(struct vhost_test *n) in vhost_test_flush()
155 struct vhost_test *n = f->private_data; in vhost_test_release() local
168 static long vhost_test_run(struct vhost_test *n, int test) in vhost_test_run()
219 static long vhost_test_reset_owner(struct vhost_test *n) in vhost_test_reset_owner()
[all …]
Dnet.c158 static void vhost_net_clear_ubuf_info(struct vhost_net *n) in vhost_net_clear_ubuf_info()
168 static int vhost_net_set_ubuf_info(struct vhost_net *n) in vhost_net_set_ubuf_info()
189 static void vhost_net_vq_reset(struct vhost_net *n) in vhost_net_vq_reset()
678 struct vhost_net *n; in vhost_net_open() local
718 static void vhost_net_disable_vq(struct vhost_net *n, in vhost_net_disable_vq()
729 static int vhost_net_enable_vq(struct vhost_net *n, in vhost_net_enable_vq()
744 static struct socket *vhost_net_stop_vq(struct vhost_net *n, in vhost_net_stop_vq()
757 static void vhost_net_stop(struct vhost_net *n, struct socket **tx_sock, in vhost_net_stop()
764 static void vhost_net_flush_vq(struct vhost_net *n, int index) in vhost_net_flush_vq()
770 static void vhost_net_flush(struct vhost_net *n) in vhost_net_flush()
[all …]
/linux-4.1.27/arch/x86/crypto/
Dblowfish-x86_64-asm_64.S88 #define add_roundkey_enc(n) \ argument
91 #define round_enc(n) \ argument
97 #define add_roundkey_dec(n) \ argument
102 #define round_dec(n) \ argument
215 #define preload_roundkey_enc(n) \ argument
218 #define add_roundkey_enc4(n) \ argument
222 #define round_enc4(n) \ argument
235 #define preload_roundkey_dec(n) \ argument
239 #define add_roundkey_dec4(n) \ argument
243 #define round_dec4(n) \ argument
Dtwofish-x86_64-asm_64-3way.S123 #define enc_round_end(ab, x, y, n) \ argument
136 #define dec_round_end(ba, x, y, n) \ argument
149 #define encrypt_round3(ab, cd, n) \ argument
156 #define decrypt_round3(ba, dc, n) \ argument
163 #define encrypt_cycle3(ab, cd, n) \ argument
167 #define decrypt_cycle3(ba, dc, n) \ argument
171 #define inpack3(in, n, xy, m) \ argument
181 #define outunpack3(op, out, n, xy, m) \ argument
/linux-4.1.27/arch/x86/lib/
Dusercopy_32.c25 static inline int __movsl_is_ok(unsigned long a1, unsigned long a2, unsigned long n) in __movsl_is_ok()
33 #define movsl_is_ok(a1, a2, n) \ argument
71 clear_user(void __user *to, unsigned long n) in clear_user()
92 __clear_user(void __user *to, unsigned long n) in __clear_user()
571 unsigned long n) in __copy_to_user_ll()
584 unsigned long n) in __copy_from_user_ll()
597 unsigned long n) in __copy_from_user_ll_nozero()
611 unsigned long n) in __copy_from_user_ll_nocache()
628 unsigned long n) in __copy_from_user_ll_nocache_nozero()
657 unsigned long _copy_to_user(void __user *to, const void *from, unsigned n) in _copy_to_user()
[all …]
/linux-4.1.27/arch/tile/include/asm/
Dcmpxchg.h43 #define xchg(ptr, n) \ argument
51 #define cmpxchg(ptr, o, n) \ argument
60 #define xchg64(ptr, n) \ argument
69 #define cmpxchg64(ptr, o, n) \ argument
80 #define xchg(ptr, n) \ argument
102 #define cmpxchg(ptr, o, n) \ argument
Dirqflags.h56 #define interrupt_mask_set(n) do { \ argument
64 #define interrupt_mask_reset(n) do { \ argument
72 #define interrupt_mask_check(n) ({ \ argument
98 #define interrupt_mask_set(n) \ argument
100 #define interrupt_mask_reset(n) \ argument
102 #define interrupt_mask_check(n) \ argument
Ddelay.h26 #define udelay(n) (__builtin_constant_p(n) ? \ argument
30 #define ndelay(n) (__builtin_constant_p(n) ? \ argument
Datomic.h123 static inline int atomic_xchg(atomic_t *v, int n) in atomic_xchg()
137 static inline int atomic_cmpxchg(atomic_t *v, int o, int n) in atomic_cmpxchg()
169 static inline long long atomic64_xchg(atomic64_t *v, long long n) in atomic64_xchg()
184 long long n) in atomic64_cmpxchg()
/linux-4.1.27/arch/arc/include/asm/
Duaccess.h166 __arc_copy_from_user(void *to, const void __user *from, unsigned long n) in __arc_copy_from_user()
396 __arc_copy_to_user(void __user *to, const void *from, unsigned long n) in __arc_copy_to_user()
617 static inline unsigned long __arc_clear_user(void __user *to, unsigned long n) in __arc_clear_user()
692 static inline long __arc_strnlen_user(const char __user *s, long n) in __arc_strnlen_user()
723 #define __copy_from_user(t, f, n) __arc_copy_from_user(t, f, n) argument
724 #define __copy_to_user(t, f, n) __arc_copy_to_user(t, f, n) argument
725 #define __clear_user(d, n) __arc_clear_user(d, n) argument
726 #define __strncpy_from_user(d, s, n) __arc_strncpy_from_user(d, s, n) argument
727 #define __strnlen_user(s, n) __arc_strnlen_user(s, n) argument
739 #define __copy_from_user(t, f, n) arc_copy_from_user_noinline(t, f, n) argument
[all …]
Dswitch_to.h19 #define ARC_FPU_PREV(p, n) fpu_save_restore(p, n) argument
24 #define ARC_FPU_PREV(p, n) argument
25 #define ARC_FPU_NEXT(n) argument
/linux-4.1.27/drivers/phy/
Dphy-qcom-ufs-qmp-20nm.h24 #define TX_OFF(n, x) (0x400 + (0x400 * n) + x) argument
25 #define RX_OFF(n, x) (0x600 + (0x400 * n) + x) argument
58 #define QSERDES_TX_EMP_POST1_LVL(n) TX_OFF(n, 0x08) argument
59 #define QSERDES_TX_DRV_LVL(n) TX_OFF(n, 0x0C) argument
60 #define QSERDES_TX_LANE_MODE(n) TX_OFF(n, 0x54) argument
63 #define QSERDES_RX_CDR_CONTROL1(n) RX_OFF(n, 0x0) argument
64 #define QSERDES_RX_CDR_CONTROL_HALF(n) RX_OFF(n, 0x8) argument
65 #define QSERDES_RX_RX_EQ_GAIN1_LSB(n) RX_OFF(n, 0xA8) argument
66 #define QSERDES_RX_RX_EQ_GAIN1_MSB(n) RX_OFF(n, 0xAC) argument
67 #define QSERDES_RX_RX_EQ_GAIN2_LSB(n) RX_OFF(n, 0xB0) argument
[all …]
/linux-4.1.27/arch/x86/include/asm/
Duaccess_32.h44 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic()
82 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user()
89 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic()
137 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user()
159 const void __user *from, unsigned long n) in __copy_from_user_nocache()
182 unsigned long n) in __copy_from_user_inatomic_nocache()
Dcmpxchg_32.h38 #define cmpxchg64(ptr, o, n) \ argument
41 #define cmpxchg64_local(ptr, o, n) \ argument
78 #define cmpxchg64(ptr, o, n) \ argument
95 #define cmpxchg64_local(ptr, o, n) \ argument
Dsyscall.h78 unsigned int i, unsigned int n, in syscall_get_arguments()
87 unsigned int i, unsigned int n, in syscall_set_arguments()
103 unsigned int i, unsigned int n, in syscall_get_arguments()
164 unsigned int i, unsigned int n, in syscall_set_arguments()
Dstring_32.h32 static __always_inline void *__memcpy(void *to, const void *from, size_t n) in __memcpy()
52 size_t n) in __constant_memcpy()
168 #define memcpy(t, f, n) \ argument
182 #define memcpy(t, f, n) __builtin_memcpy(t, f, n) argument
184 #define memcpy(t, f, n) \ argument
194 #define memcpy(t, f, n) __memcpy((t), (f), (n)) argument
/linux-4.1.27/drivers/usb/gadget/udc/
Dfusb300_udc.h24 #define FUSB300_OFFSET_EPSET0(n) (0x20 + (n - 1) * 0x30) argument
25 #define FUSB300_OFFSET_EPSET1(n) (0x24 + (n - 1) * 0x30) argument
26 #define FUSB300_OFFSET_EPSET2(n) (0x28 + (n - 1) * 0x30) argument
27 #define FUSB300_OFFSET_EPFFR(n) (0x2c + (n - 1) * 0x30) argument
28 #define FUSB300_OFFSET_EPSTRID(n) (0x40 + (n - 1) * 0x30) argument
57 #define FUSB300_OFFSET_EPPRD_W0(n) (0x520 + (n - 1) * 0x10) argument
58 #define FUSB300_OFFSET_EPPRD_W1(n) (0x524 + (n - 1) * 0x10) argument
59 #define FUSB300_OFFSET_EPPRD_W2(n) (0x528 + (n - 1) * 0x10) argument
60 #define FUSB300_OFFSET_EPRD_PTR(n) (0x52C + (n - 1) * 0x10) argument
63 #define FUSB300_OFFSET_EPPORT(n) (0x1010 + (n - 1) * 0x10) argument
[all …]
/linux-4.1.27/arch/x86/mm/kmemcheck/
Dshadow.c36 static void mark_shadow(void *address, unsigned int n, in mark_shadow()
77 void kmemcheck_mark_unallocated(void *address, unsigned int n) in kmemcheck_mark_unallocated()
82 void kmemcheck_mark_uninitialized(void *address, unsigned int n) in kmemcheck_mark_uninitialized()
91 void kmemcheck_mark_initialized(void *address, unsigned int n) in kmemcheck_mark_initialized()
97 void kmemcheck_mark_freed(void *address, unsigned int n) in kmemcheck_mark_freed()
102 void kmemcheck_mark_unallocated_pages(struct page *p, unsigned int n) in kmemcheck_mark_unallocated_pages()
110 void kmemcheck_mark_uninitialized_pages(struct page *p, unsigned int n) in kmemcheck_mark_uninitialized_pages()
118 void kmemcheck_mark_initialized_pages(struct page *p, unsigned int n) in kmemcheck_mark_initialized_pages()
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/
Debb_handler.S60 #define GPR_SAVE(n) (XER_SAVE + 8 + (8 * n)) argument
63 #define VSR_SAVE(n) (VSCR_SAVE + 8 + (16 * n)) argument
65 #define SAVE_GPR(n) std n,GPR_SAVE(n)(r1) argument
66 #define REST_GPR(n) ld n,GPR_SAVE(n)(r1) argument
67 #define TRASH_GPR(n) lis n,0xaaaa argument
69 #define SAVE_VSR(n, b) li b, VSR_SAVE(n); stxvd2x n,b,r1 argument
70 #define LOAD_VSR(n, b) li b, VSR_SAVE(n); lxvd2x n,b,r1 argument
/linux-4.1.27/arch/cris/include/asm/
Duaccess.h198 __generic_copy_to_user(void __user *to, const void *from, unsigned long n) in __generic_copy_to_user()
206 __generic_copy_from_user(void *to, const void __user *from, unsigned long n) in __generic_copy_from_user()
214 __generic_clear_user(void __user *to, unsigned long n) in __generic_clear_user()
242 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user()
293 __constant_copy_to_user(void __user *to, const void *from, unsigned long n) in __constant_copy_to_user()
344 __constant_clear_user(void __user *to, unsigned long n) in __constant_clear_user()
375 #define clear_user(to, n) \ argument
380 #define copy_from_user(to, from, n) \ argument
385 #define copy_to_user(to, from, n) \ argument
396 unsigned long n) in __generic_copy_from_user_nocheck()
[all …]
/linux-4.1.27/net/tipc/
Dmsg.h183 static inline void msg_set_user(struct tipc_msg *m, u32 n) in msg_set_user()
193 static inline void msg_set_hdr_sz(struct tipc_msg *m, u32 n) in msg_set_hdr_sz()
213 static inline void msg_set_non_seq(struct tipc_msg *m, u32 n) in msg_set_non_seq()
261 static inline void msg_set_type(struct tipc_msg *m, u32 n) in msg_set_type()
311 static inline void msg_set_lookup_scope(struct tipc_msg *m, u32 n) in msg_set_lookup_scope()
321 static inline void msg_set_bcast_ack(struct tipc_msg *m, u32 n) in msg_set_bcast_ack()
335 static inline void msg_set_ack(struct tipc_msg *m, u32 n) in msg_set_ack()
345 static inline void msg_set_seqno(struct tipc_msg *m, u32 n) in msg_set_seqno()
446 static inline void msg_set_nametype(struct tipc_msg *m, u32 n) in msg_set_nametype()
461 static inline void msg_set_namelower(struct tipc_msg *m, u32 n) in msg_set_namelower()
[all …]
/linux-4.1.27/arch/ia64/kernel/
Dmca_drv.h56 #define peidx_cache_check_idx(p, n) (n) argument
57 #define peidx_tlb_check_idx(p, n) (peidx_cache_check_idx(p, peidx_cache_check_num(p)) + n) argument
58 #define peidx_bus_check_idx(p, n) (peidx_tlb_check_idx(p, peidx_tlb_check_num(p)) + n) argument
59 #define peidx_reg_file_check_idx(p, n) (peidx_bus_check_idx(p, peidx_bus_check_num(p)) + n) argument
60 #define peidx_ms_check_idx(p, n) (peidx_reg_file_check_idx(p, peidx_reg_file_check_num(p)) + … argument
62 #define peidx_mod_error_info(p, name, n) \ argument
69 #define peidx_cache_check(p, n) peidx_mod_error_info(p, cache_check, n) argument
70 #define peidx_tlb_check(p, n) peidx_mod_error_info(p, tlb_check, n) argument
71 #define peidx_bus_check(p, n) peidx_mod_error_info(p, bus_check, n) argument
72 #define peidx_reg_file_check(p, n) peidx_mod_error_info(p, reg_file_check, n) argument
[all …]
/linux-4.1.27/kernel/
Dnotifier.c22 struct notifier_block *n) in notifier_chain_register()
35 struct notifier_block *n) in notifier_chain_cond_register()
50 struct notifier_block *n) in notifier_chain_unregister()
122 struct notifier_block *n) in atomic_notifier_chain_register()
144 struct notifier_block *n) in atomic_notifier_chain_unregister()
214 struct notifier_block *n) in blocking_notifier_chain_register()
245 struct notifier_block *n) in blocking_notifier_chain_cond_register()
267 struct notifier_block *n) in blocking_notifier_chain_unregister()
348 struct notifier_block *n) in raw_notifier_chain_register()
365 struct notifier_block *n) in raw_notifier_chain_unregister()
[all …]
/linux-4.1.27/arch/mips/include/asm/
Duaccess.h789 #define __invoke_copy_to_user(to, from, n) \ argument
807 #define __invoke_copy_to_kernel(to, from, n) \ argument
826 #define __copy_to_user(to, from, n) \ argument
847 #define __copy_to_user_inatomic(to, from, n) \ argument
865 #define __copy_from_user_inatomic(to, from, n) \ argument
898 #define copy_to_user(to, from, n) \ argument
924 #define __invoke_copy_from_user(to, from, n) \ argument
947 #define __invoke_copy_from_kernel(to, from, n) \ argument
951 #define ___invoke_copy_in_user(to, from, n) \ argument
955 #define ___invoke_copy_in_kernel(to, from, n) \ argument
[all …]
Dcmpxchg.h233 #define cmpxchg64_local(ptr, o, n) \ argument
239 #define cmpxchg64(ptr, o, n) \ argument
246 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
247 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
/linux-4.1.27/drivers/staging/wlan-ng/
Dp80211hdr.h134 #define WLAN_GET_FC_FTYPE(n) ((((u16)(n)) & (BIT(2) | BIT(3))) >> 2) argument
135 #define WLAN_GET_FC_FSTYPE(n) ((((u16)(n)) & (BIT(4)|BIT(5)|BIT(6)|BIT(7))) >> 4) argument
136 #define WLAN_GET_FC_TODS(n) ((((u16)(n)) & (BIT(8))) >> 8) argument
137 #define WLAN_GET_FC_FROMDS(n) ((((u16)(n)) & (BIT(9))) >> 9) argument
138 #define WLAN_GET_FC_ISWEP(n) ((((u16)(n)) & (BIT(14))) >> 14) argument
140 #define WLAN_SET_FC_FTYPE(n) (((u16)(n)) << 2) argument
141 #define WLAN_SET_FC_FSTYPE(n) (((u16)(n)) << 4) argument
142 #define WLAN_SET_FC_TODS(n) (((u16)(n)) << 8) argument
143 #define WLAN_SET_FC_FROMDS(n) (((u16)(n)) << 9) argument
144 #define WLAN_SET_FC_ISWEP(n) (((u16)(n)) << 14) argument
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_bit.h28 static inline __uint64_t xfs_mask64hi(int n) in xfs_mask64hi()
32 static inline __uint32_t xfs_mask32lo(int n) in xfs_mask32lo()
36 static inline __uint64_t xfs_mask64lo(int n) in xfs_mask64lo()
63 int n = 0; in xfs_lowbit64() local
/linux-4.1.27/arch/powerpc/platforms/52xx/
Dlite5200_sleep.S256 #define SAVE_BAT(n, addr) \ argument
262 #define SAVE_SR(n, addr) \ argument
266 #define SAVE_4SR(n, addr) \ argument
321 #define LOAD_BAT(n, addr) \ argument
327 #define LOAD_SR(n, addr) \ argument
331 #define LOAD_4SR(n, addr) \ argument
/linux-4.1.27/arch/s390/lib/
Dstring.c27 static inline char *__strnend(const char *s, size_t n) in __strnend()
57 size_t strnlen(const char * s, size_t n) in strnlen()
116 char *strncpy(char *dest, const char *src, size_t n) in strncpy()
154 size_t strlcat(char *dest, const char *src, size_t n) in strlcat()
183 char *strncat(char *dest, const char *src, size_t n) in strncat()
282 void *memchr(const void *s, int c, size_t n) in memchr()
303 int memcmp(const void *cs, const void *ct, size_t n) in memcmp()
332 void *memscan(void *s, int c, size_t n) in memscan()
/linux-4.1.27/arch/mips/include/asm/sibyte/
Dsb1250_defs.h228 #define _SB_MAKEMASK1(n) (_SB_MAKE64(1) << _SB_MAKE64(n)) argument
229 #define _SB_MAKEMASK1_32(n) (_SB_MAKE32(1) << _SB_MAKE32(n)) argument
235 #define _SB_MAKEMASK(v, n) (_SB_MAKE64((_SB_MAKE64(1)<<(v))-1) << _SB_MAKE64(n)) argument
236 #define _SB_MAKEMASK_32(v, n) (_SB_MAKE32((_SB_MAKE32(1)<<(v))-1) << _SB_MAKE32(n)) argument
242 #define _SB_MAKEVALUE(v, n) (_SB_MAKE64(v) << _SB_MAKE64(n)) argument
243 #define _SB_MAKEVALUE_32(v, n) (_SB_MAKE32(v) << _SB_MAKE32(n)) argument
245 #define _SB_GETVALUE(v, n, m) ((_SB_MAKE64(v) & _SB_MAKE64(m)) >> _SB_MAKE64(n)) argument
246 #define _SB_GETVALUE_32(v, n, m) ((_SB_MAKE32(v) & _SB_MAKE32(m)) >> _SB_MAKE32(n)) argument
/linux-4.1.27/arch/arm64/include/asm/
Dcmpxchg.h213 #define cmpxchg(ptr, o, n) \ argument
222 #define cmpxchg_local(ptr, o, n) \ argument
249 #define _protect_cmpxchg_local(pcp, o, n) \ argument
258 #define this_cpu_cmpxchg_1(ptr, o, n) _protect_cmpxchg_local(ptr, o, n) argument
259 #define this_cpu_cmpxchg_2(ptr, o, n) _protect_cmpxchg_local(ptr, o, n) argument
260 #define this_cpu_cmpxchg_4(ptr, o, n) _protect_cmpxchg_local(ptr, o, n) argument
261 #define this_cpu_cmpxchg_8(ptr, o, n) _protect_cmpxchg_local(ptr, o, n) argument
274 #define cmpxchg64(ptr,o,n) cmpxchg((ptr),(o),(n)) argument
275 #define cmpxchg64_local(ptr,o,n) cmpxchg_local((ptr),(o),(n)) argument
277 #define cmpxchg64_relaxed(ptr,o,n) cmpxchg_local((ptr),(o),(n)) argument
/linux-4.1.27/arch/blackfin/include/asm/
Ddpmc.h43 #define _PM_PUSH(n, x, w, base) PM_REG##n = w[FP + ((x) - (base))]; argument
44 #define _PM_POP(n, x, w, base) w[FP + ((x) - (base))] = PM_REG##n; argument
45 #define PM_PUSH_SYNC(n) [--sp] = (PM_REGSET##n); argument
46 #define PM_POP_SYNC(n) (PM_REGSET##n) = [sp++]; argument
47 #define PM_PUSH(n, x) PM_REG##n = [FP++]; argument
48 #define PM_POP(n, x) [FP--] = PM_REG##n; argument
49 #define PM_CORE_PUSH(n, x) _PM_PUSH(n, x, , COREMMR_BASE) argument
50 #define PM_CORE_POP(n, x) _PM_POP(n, x, , COREMMR_BASE) argument
51 #define PM_SYS_PUSH(n, x) _PM_PUSH(n, x, , SYSMMR_BASE) argument
52 #define PM_SYS_POP(n, x) _PM_POP(n, x, , SYSMMR_BASE) argument
[all …]
Duaccess.h166 #define __copy_from_user(to, from, n) copy_from_user(to, from, n) argument
167 #define __copy_to_user(to, from, n) copy_to_user(to, from, n) argument
171 #define copy_to_user_ret(to, from, n, retval) ({ if (copy_to_user(to, from, n))\ argument
174 #define copy_from_user_ret(to, from, n, retval) ({ if (copy_from_user(to, from, n))\ argument
178 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user()
188 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user()
224 static inline long __must_check strnlen_user(const char __user *src, long n) in strnlen_user()
243 __clear_user(void __user *to, unsigned long n) in __clear_user()
251 #define clear_user(to, n) __clear_user(to, n) argument
Dcmpxchg.h68 #define cmpxchg(ptr, o, n) \ argument
120 #define cmpxchg_local(ptr, o, n) \ argument
123 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
125 #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) argument
126 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
Dbfin_pfmon.h31 #define PEMUSW(n, x) ((x) << ((n) ? PEMUSW1_P : PEMUSW0_P)) argument
34 #define PFCEN(n, x) ((x) << ((n) ? PFCEN1_P : PFCEN0_P)) argument
37 #define PFCNT(n, x) ((x) << ((n) ? PFCNT1_P : PFCNT0_P)) argument
40 #define PFMON(n, x) ((x) << ((n) ? PFMON1_P : PFMON0_P)) argument
/linux-4.1.27/arch/arc/mm/
Dextable.c31 unsigned long n) in arc_copy_from_user_noinline()
38 unsigned long n) in arc_copy_to_user_noinline()
45 unsigned long n) in arc_clear_user_noinline()
58 long arc_strnlen_user_noinline(const char __user *src, long n) in arc_strnlen_user_noinline()
/linux-4.1.27/arch/m32r/lib/
Dusercopy.c15 __generic_copy_to_user(void __user *to, const void *from, unsigned long n) in __generic_copy_to_user()
24 __generic_copy_from_user(void *to, const void __user *from, unsigned long n) in __generic_copy_from_user()
224 clear_user(void __user *to, unsigned long n) in clear_user()
232 __clear_user(void __user *to, unsigned long n) in __clear_user()
246 long strnlen_user(const char __user *s, long n) in strnlen_user()
315 long strnlen_user(const char __user *s, long n) in strnlen_user()
/linux-4.1.27/arch/s390/include/asm/
Ddelay.h20 #define ndelay(n) __ndelay((unsigned long long) (n)) argument
21 #define udelay(n) __udelay((unsigned long long) (n)) argument
22 #define mdelay(n) __udelay((unsigned long long) (n) * 1000) argument
/linux-4.1.27/include/acpi/platform/
Dacenv.h350 #define ACPI_STRNCPY(d,s,n) (void) strncpy((d), (s), (acpi_size)(n)) argument
351 #define ACPI_STRNCMP(d,s,n) strncmp((d), (s), (acpi_size)(n)) argument
354 #define ACPI_STRNCAT(d,s,n) strncat((d), (s), (acpi_size)(n)) argument
355 #define ACPI_STRTOUL(d,s,n) strtoul((d), (s), (acpi_size)(n)) argument
356 #define ACPI_MEMCMP(s1,s2,n) memcmp((const char *)(s1), (const char *)(s2), (acpi_size)(n)) argument
357 #define ACPI_MEMCPY(d,s,n) (void) memcpy((d), (s), (acpi_size)(n)) argument
358 #define ACPI_MEMSET(d,s,n) (void) memset((d), (s), (acpi_size)(n)) argument
410 #define ACPI_STRNCPY(d,s,n) (void) acpi_ut_strncpy ((d), (s), (acpi_size)(n)) argument
411 #define ACPI_STRNCMP(d,s,n) acpi_ut_strncmp ((d), (s), (acpi_size)(n)) argument
414 #define ACPI_STRNCAT(d,s,n) acpi_ut_strncat ((d), (s), (acpi_size)(n)) argument
[all …]
/linux-4.1.27/arch/mn10300/lib/
Dusercopy.c15 __generic_copy_to_user(void *to, const void *from, unsigned long n) in __generic_copy_to_user()
23 __generic_copy_from_user(void *to, const void *from, unsigned long n) in __generic_copy_from_user()
116 __clear_user(void *to, unsigned long n) in __clear_user()
123 clear_user(void *to, unsigned long n) in clear_user()
135 long strnlen_user(const char *s, long n) in strnlen_user()
/linux-4.1.27/sound/isa/ad1848/
Dad1848.c67 static int snd_ad1848_match(struct device *dev, unsigned int n) in snd_ad1848_match()
87 static int snd_ad1848_probe(struct device *dev, unsigned int n) in snd_ad1848_probe()
132 static int snd_ad1848_remove(struct device *dev, unsigned int n) in snd_ad1848_remove()
139 static int snd_ad1848_suspend(struct device *dev, unsigned int n, pm_message_t state) in snd_ad1848_suspend()
149 static int snd_ad1848_resume(struct device *dev, unsigned int n) in snd_ad1848_resume()
/linux-4.1.27/arch/arm/include/asm/
Dcmpxchg.h121 #define cmpxchg_local(ptr, o, n) \ argument
124 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
204 #define cmpxchg(ptr,o,n) \ argument
268 #define cmpxchg_local(ptr,o,n) \ argument
274 #define cmpxchg64(ptr, o, n) \ argument
279 #define cmpxchg64_relaxed(ptr, o, n) \ argument
284 #define cmpxchg64_local(ptr, o, n) cmpxchg64_relaxed((ptr), (o), (n)) argument
Ddelay.h30 #define __delay(n) arm_delay_ops.delay(n) argument
51 #define __udelay(n) arm_delay_ops.udelay(n) argument
52 #define __const_udelay(n) arm_delay_ops.const_udelay(n) argument
54 #define udelay(n) \ argument
Ddiv64.h31 #define __do_div_asm(n, base) \ argument
59 #define do_div(n, base) __do_div_asm(n, base) argument
73 #define do_div(n, base) \ argument
/linux-4.1.27/sound/isa/cs423x/
Dcs4231.c71 static int snd_cs4231_match(struct device *dev, unsigned int n) in snd_cs4231_match()
91 static int snd_cs4231_probe(struct device *dev, unsigned int n) in snd_cs4231_probe()
148 static int snd_cs4231_remove(struct device *dev, unsigned int n) in snd_cs4231_remove()
155 static int snd_cs4231_suspend(struct device *dev, unsigned int n, pm_message_t state) in snd_cs4231_suspend()
165 static int snd_cs4231_resume(struct device *dev, unsigned int n) in snd_cs4231_resume()
/linux-4.1.27/arch/mips/include/asm/mach-loongson/
Dirq.h18 #define LOONGSON_HT1_INT_VECTOR(n) \ argument
20 #define LOONGSON_HT1_INTN_EN(n) \ argument
30 #define LOONGSON_INT_ROUTER_ENTRY(n) \ argument
33 #define LOONGSON_INT_ROUTER_HT1(n) LOONGSON_INT_ROUTER_ENTRY(n + 0x18) argument
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_regs.h74 #define DSSR_DFB(n) (1 << ((n)+15)) argument
80 #define DSSR_ADC(n) (1 << ((n)-1)) argument
88 #define DSRCR_ADCL(n) (1 << ((n)-1)) argument
97 #define DIER_ADCE(n) (1 << ((n)-1)) argument
106 #define DPPR_DPE(n) (1 << ((n)*4-1)) argument
107 #define DPPR_DPS(n, p) (((p)-1) << DPPR_DPS_SHIFT(n)) argument
108 #define DPPR_DPS_SHIFT(n) (((n)-1)*4) argument
156 #define DVCSR_VCnFB2_DSA0(n) (0 << ((n)*2+16)) argument
157 #define DVCSR_VCnFB2_DSA1(n) (1 << ((n)*2+16)) argument
158 #define DVCSR_VCnFB2_DSA2(n) (2 << ((n)*2+16)) argument
[all …]
/linux-4.1.27/crypto/
Dtwofish_generic.c67 #define ENCROUND(n, a, b, c, d) \ argument
74 #define DECROUND(n, a, b, c, d) \ argument
85 #define ENCCYCLE(n) \ argument
89 #define DECCYCLE(n) \ argument
99 #define INPACK(n, x, m) \ argument
102 #define OUTUNPACK(n, x, m) \ argument
/linux-4.1.27/include/asm-generic/
Duaccess.h80 const void __user * from, unsigned long n) in __copy_from_user()
110 const void *from, unsigned long n) in __copy_to_user()
256 const void __user * from, unsigned long n) in copy_from_user()
266 const void *from, unsigned long n) in copy_to_user()
304 #define __strnlen_user(s, n) (strnlen((s), (n)) + 1) argument
312 static inline long strnlen_user(const char __user *src, long n) in strnlen_user()
329 __clear_user(void __user *to, unsigned long n) in __clear_user()
337 clear_user(void __user *to, unsigned long n) in clear_user()
Dcmpxchg.h96 #define cmpxchg_local(ptr, o, n) \ argument
102 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
105 #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) argument
106 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
Ddelay.h19 #define udelay(n) \ argument
32 #define ndelay(n) \ argument
Ddiv64.h25 # define do_div(n,base) ({ \ argument
40 # define do_div(n,base) ({ \ argument
/linux-4.1.27/arch/um/kernel/skas/
Duaccess.c65 int n, faulted; in do_op_one_page() local
93 int size, remain, n; in buffer_op() local
142 int copy_from_user(void *to, const void __user *from, int n) in copy_from_user()
164 int copy_to_user(void __user *to, const void *from, int n) in copy_to_user()
180 int n; in strncpy_chunk_from_user() local
193 int n; in strncpy_from_user() local
237 int *len_ptr = arg, n; in strnlen_chunk() local
249 int count = 0, n; in strnlen_user() local
/linux-4.1.27/arch/microblaze/include/asm/
Duaccess.h127 unsigned long n) in __clear_user()
146 unsigned long n) in clear_user()
365 #define __copy_from_user(to, from, n) \ argument
368 #define __copy_from_user_inatomic(to, from, n) \ argument
372 const void __user *from, unsigned long n) in copy_from_user()
380 #define __copy_to_user(to, from, n) \ argument
383 #define __copy_to_user_inatomic(to, from, n) __copy_to_user((to), (from), (n)) argument
386 const void *from, unsigned long n) in copy_to_user()
416 static inline long strnlen_user(const char __user *src, long n) in strnlen_user()
Dsyscall.h45 unsigned int n) in microblaze_get_syscall_arg()
61 unsigned int n, in microblaze_set_syscall_arg()
84 unsigned int i, unsigned int n, in syscall_get_arguments()
93 unsigned int i, unsigned int n, in syscall_set_arguments()
/linux-4.1.27/fs/ubifs/
Dtnc.c181 struct ubifs_old_idx *old_idx, *n; in destroy_old_idx() local
215 const int n = zn->child_cnt; in copy_znode() local
573 struct ubifs_znode *znode, int n) in get_znode()
594 static int tnc_next(struct ubifs_info *c, struct ubifs_znode **zn, int *n) in tnc_next()
639 static int tnc_prev(struct ubifs_info *c, struct ubifs_znode **zn, int *n) in tnc_prev()
692 struct ubifs_znode **zn, int *n, in resolve_collision()
881 struct ubifs_znode **zn, int *n, in fallible_resolve_collision()
1025 struct ubifs_znode **zn, int *n, in resolve_collision_directly()
1099 int n; in dirty_cow_bottom_up() local
1160 struct ubifs_znode **zn, int *n) in ubifs_lookup_level0()
[all …]
/linux-4.1.27/arch/hexagon/include/asm/
Duaccess.h75 #define __copy_from_user(to, from, n) __copy_from_user_hexagon(to, from, n) argument
76 #define __copy_to_user(to, from, n) __copy_to_user_hexagon(to, from, n) argument
87 #define __strncpy_from_user(dst, src, n) hexagon_strncpy_from_user(dst, src, n) argument
101 long n) in hexagon_strncpy_from_user()
/linux-4.1.27/drivers/input/mouse/
Dpxa930_trkball.c32 #define TBCR_Y_FLT(n) (((n) & 0xf) << 6) argument
33 #define TBCR_X_FLT(n) (((n) & 0xf) << 2) argument
35 #define TBCNTR_YM(n) (((n) >> 24) & 0xff) argument
36 #define TBCNTR_YP(n) (((n) >> 16) & 0xff) argument
37 #define TBCNTR_XM(n) (((n) >> 8) & 0xff) argument
38 #define TBCNTR_XP(n) ((n) & 0xff) argument
/linux-4.1.27/drivers/video/fbdev/
Dc2p_core.h32 static inline u32 get_mask(unsigned int n) in get_mask()
60 static inline void transp8(u32 d[], unsigned int n, unsigned int m) in transp8()
102 static inline void transp4(u32 d[], unsigned int n, unsigned int m) in transp4()
129 static inline void transp4x(u32 d[], unsigned int n, unsigned int m) in transp4x()
/linux-4.1.27/arch/powerpc/kvm/
Dbook3s_32_sr.S41 #define XCHG_SR(n) lwz r9, (SVCPU_SR+(n*4))(r3); \ argument
63 #define KVM_KILL_BAT(n, reg) \ argument
103 #define KVM_LOAD_BAT(n, reg, RA, RB) \ argument
Dbookehv_interrupts.S42 #define VCPU_GUEST_SPRG(n) (VCPU_GUEST_SPRGS + (n * LONGBYTES)) argument
55 #define __HOST_NV_GPR(n) (HOST_NV_GPRS + ((n - 14) * LONGBYTES)) argument
56 #define HOST_NV_GPR(n) __HOST_NV_GPR(__REG_##n) argument
/linux-4.1.27/arch/powerpc/lib/
Dusercopy_64.c12 unsigned long copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user()
21 unsigned long copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user()
29 unsigned long n) in copy_in_user()
Dcopy_32.S26 #define COPY_16_BYTES_WITHEX(n) \ argument
44 #define COPY_16_BYTES_EXCODE(n) \ argument
/linux-4.1.27/drivers/staging/skein/
Dskein_base.c142 size_t n; in skein_256_update() local
196 size_t i, n, byte_cnt; in skein_256_final() local
367 size_t n; in skein_512_update() local
421 size_t i, n, byte_cnt; in skein_512_final() local
587 size_t n; in skein_1024_update() local
641 size_t i, n, byte_cnt; in skein_1024_final() local
758 size_t i, n, byte_cnt; in skein_256_output() local
795 size_t i, n, byte_cnt; in skein_512_output() local
832 size_t i, n, byte_cnt; in skein_1024_output() local
/linux-4.1.27/drivers/net/can/spi/
Dmcp251x.c84 #define INSTRUCTION_LOAD_TXB(n) (0x40 + 2 * (n)) argument
85 #define INSTRUCTION_READ_RXB(n) (((n) == 0) ? 0x90 : 0x94) argument
90 #define INSTRUCTION_RTS(n) (0x80 | ((n) & 0x07)) argument
146 #define TXBCTRL(n) (((n) * 0x10) + 0x30 + TXBCTRL_OFF) argument
151 #define TXBSIDH(n) (((n) * 0x10) + 0x30 + TXBSIDH_OFF) argument
153 #define TXBSIDL(n) (((n) * 0x10) + 0x30 + TXBSIDL_OFF) argument
159 #define TXBEID8(n) (((n) * 0x10) + 0x30 + TXBEID8_OFF) argument
160 #define TXBEID0(n) (((n) * 0x10) + 0x30 + TXBEID0_OFF) argument
161 #define TXBDLC(n) (((n) * 0x10) + 0x30 + TXBDLC_OFF) argument
170 #define RXBCTRL(n) (((n) * 0x10) + 0x60 + RXBCTRL_OFF) argument
[all …]
/linux-4.1.27/drivers/rapidio/switches/
Dtsi57x.c30 #define SPP_ROUTE_CFG_DESTID(n) (0x11070 + 0x100*n) argument
31 #define SPP_ROUTE_CFG_PORT(n) (0x11074 + 0x100*n) argument
33 #define TSI578_SP_MODE(n) (0x11004 + n*0x100) argument
38 #define TSI578_SP_CTL_INDEP(n) (0x13004 + n*0x100) argument
39 #define TSI578_SP_LUT_PEINF(n) (0x13010 + n*0x100) argument
40 #define TSI578_SP_CS_TX(n) (0x13014 + n*0x100) argument
41 #define TSI578_SP_INT_STATUS(n) (0x13018 + n*0x100) argument
/linux-4.1.27/arch/arm/plat-pxa/include/plat/
Ddma.h6 #define DCSR(n) DMAC_REG((n) << 2) argument
9 #define DDADR(n) DMAC_REG(0x0200 + ((n) << 4)) argument
10 #define DSADR(n) DMAC_REG(0x0204 + ((n) << 4)) argument
11 #define DTADR(n) DMAC_REG(0x0208 + ((n) << 4)) argument
12 #define DCMD(n) DMAC_REG(0x020c + ((n) << 4)) argument
13 #define DRCMR(n) DMAC_REG((((n) < 64) ? 0x0100 : 0x1100) + \ argument
/linux-4.1.27/security/selinux/ss/
Debitmap.h47 struct ebitmap_node **n) in ebitmap_start_positive()
65 struct ebitmap_node **n, in ebitmap_next_positive()
87 static inline int ebitmap_node_get_bit(struct ebitmap_node *n, in ebitmap_node_get_bit()
99 static inline void ebitmap_node_set_bit(struct ebitmap_node *n, in ebitmap_node_set_bit()
109 static inline void ebitmap_node_clr_bit(struct ebitmap_node *n, in ebitmap_node_clr_bit()
119 #define ebitmap_for_each_positive_bit(e, n, bit) \ argument
Debitmap.c51 struct ebitmap_node *n, *new, *prev; in ebitmap_cpy() local
241 struct ebitmap_node *n; in ebitmap_get_bit() local
258 struct ebitmap_node *n, *prev, *new; in ebitmap_set_bit() local
326 struct ebitmap_node *n, *temp; in ebitmap_destroy() local
345 struct ebitmap_node *n = NULL; in ebitmap_read() local
447 struct ebitmap_node *n; in ebitmap_write() local
/linux-4.1.27/fs/qnx6/
Dqnx6.h77 static inline __u64 fs64_to_cpu(struct qnx6_sb_info *sbi, __fs64 n) in fs64_to_cpu()
85 static inline __fs64 cpu_to_fs64(struct qnx6_sb_info *sbi, __u64 n) in cpu_to_fs64()
93 static inline __u32 fs32_to_cpu(struct qnx6_sb_info *sbi, __fs32 n) in fs32_to_cpu()
101 static inline __fs32 cpu_to_fs32(struct qnx6_sb_info *sbi, __u32 n) in cpu_to_fs32()
109 static inline __u16 fs16_to_cpu(struct qnx6_sb_info *sbi, __fs16 n) in fs16_to_cpu()
117 static inline __fs16 cpu_to_fs16(struct qnx6_sb_info *sbi, __u16 n) in cpu_to_fs16()
/linux-4.1.27/arch/arm/lib/
Duaccess_with_memcpy.c89 __copy_to_user_memcpy(void __user *to, const void *from, unsigned long n) in __copy_to_user_memcpy()
139 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user()
154 __clear_user_memset(void __user *addr, unsigned long n) in __clear_user_memset()
193 unsigned long __clear_user(void __user *addr, unsigned long n) in __clear_user()
/linux-4.1.27/drivers/leds/trigger/
Dledtrig-backlight.c35 struct bl_trig_notifier *n = container_of(p, in fb_notifier_callback() local
68 struct bl_trig_notifier *n = led->trigger_data; in bl_trig_invert_show() local
77 struct bl_trig_notifier *n = led->trigger_data; in bl_trig_invert_store() local
104 struct bl_trig_notifier *n; in bl_trig_activate() local
136 struct bl_trig_notifier *n = in bl_trig_deactivate() local
/linux-4.1.27/kernel/power/
Dmain.c58 const char *buf, size_t n) in pm_async_store()
108 const char *buf, size_t n) in pm_test_store()
255 const char *buf, size_t n) in pm_print_times_store()
311 static suspend_state_t decode_state(const char *buf, size_t n) in decode_state()
339 const char *buf, size_t n) in state_store()
409 const char *buf, size_t n) in wakeup_count_store()
462 const char *buf, size_t n) in autosleep_store()
488 const char *buf, size_t n) in wake_lock_store()
505 const char *buf, size_t n) in wake_unlock_store()
527 const char *buf, size_t n) in pm_trace_store()
[all …]
/linux-4.1.27/security/keys/
Dproc.c85 static struct rb_node *key_serial_next(struct seq_file *p, struct rb_node *n) in key_serial_next()
107 struct rb_node *n = key_serial_tree.rb_node; in find_ge_key() local
155 static inline key_serial_t key_node_serial(struct rb_node *n) in key_node_serial()
163 struct rb_node *n; in proc_keys_next() local
272 static struct rb_node *__key_user_next(struct user_namespace *user_ns, struct rb_node *n) in __key_user_next()
283 static struct rb_node *key_user_next(struct user_namespace *user_ns, struct rb_node *n) in key_user_next()
290 struct rb_node *n = rb_first(r); in key_user_first() local
/linux-4.1.27/lib/mpi/
Dmpi-internal.h76 #define MPN_COPY(d, s, n) \ argument
83 #define MPN_COPY_INCR(d, s, n) \ argument
90 #define MPN_COPY_DECR(d, s, n) \ argument
98 #define MPN_ZERO(d, n) \ argument
105 #define MPN_NORMALIZE(d, n) \ argument
114 #define MPN_NORMALIZE_NOT_ZERO(d, n) \ argument
/linux-4.1.27/arch/frv/include/asm/
Duaccess.h267 #define __copy_from_user_inatomic(to, from, n) __memcpy_user((to), ____force(from), (n)) argument
268 #define __copy_to_user_inatomic(to, from, n) __memcpy_user(____force(to), (from), (n)) argument
273 #define __copy_from_user_inatomic(to, from, n) (memcpy((to), ____force(from), (n)), 0) argument
274 #define __copy_to_user_inatomic(to, from, n) (memcpy(____force(to), (from), (n)), 0) argument
281 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user()
288 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user()
294 static inline long copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user()
307 static inline long copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user()
/linux-4.1.27/arch/m68k/lib/
Duaccess.c11 unsigned long n) in __generic_copy_from_user()
63 unsigned long n) in __generic_copy_to_user()
110 unsigned long __clear_user(void __user *to, unsigned long n) in __clear_user()
/linux-4.1.27/arch/parisc/include/asm/
Dcmpxchg.h75 #define cmpxchg(ptr, o, n) \ argument
103 #define cmpxchg_local(ptr, o, n) \ argument
107 #define cmpxchg64_local(ptr, o, n) \ argument
113 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
/linux-4.1.27/arch/sh/include/mach-common/mach/
Dmicrodev.h28 #define MICRODEV_FPGA_INTC_MASK(n) (1ul<<(n)) /* Interrupt mask to enable/disable INTC in CPU-bo… argument
29 #define MICRODEV_FPGA_INTPRI_REG(n) (MICRODEV_FPGA_INTC_BASE+0x10+((n)/8)*8)/* Interrupt Priority R… argument
30 #define MICRODEV_FPGA_INTPRI_LEVEL(n,x) ((x)<<(((n)%8)*4)) /* MICRODEV_FPGA_INTPRI_LEVEL(int_numb… argument
31 #define MICRODEV_FPGA_INTPRI_MASK(n) (MICRODEV_FPGA_INTPRI_LEVEL((n),0xful)) /* Interrupt Priority … argument
/linux-4.1.27/arch/cris/include/uapi/arch-v10/arch/
Dsvinto.h42 #define RESET_DMA_NUM( n ) \ argument
48 #define RESET_DMA( n ) RESET_DMA_NUM( n ) argument
52 #define WAIT_DMA_NUM( n ) \ argument
59 #define WAIT_DMA( n ) WAIT_DMA_NUM( n ) argument
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_regs.h20 #define VI6_CMD(n) (0x0000 + (n) * 4) argument
30 #define VI6_SRESET_SRTS(n) (1 << (n)) argument
33 #define VI6_STATUS_SYS_ACT(n) (1 << ((n) + 8)) argument
35 #define VI6_WPF_IRQ_ENB(n) (0x0048 + (n) * 12) argument
39 #define VI6_WPF_IRQ_STA(n) (0x004c + (n) * 12) argument
46 #define VI6_DISP_IRQ_ENB_LNEE(n) (1 << (n)) argument
51 #define VI6_DISP_IRQ_STA_LNE(n) (1 << (n)) argument
53 #define VI6_WPF_LINE_COUNT(n) (0x0084 + (n) * 4) argument
70 #define VI6_DL_HDR_ADDR(n) (0x0104 + (n) * 4) argument
231 #define VI6_WPF_SRCRPF_RPF_ACT_DIS(n) (0 << ((n) * 2)) argument
[all …]
/linux-4.1.27/net/ipv4/
Dfib_trie.c92 #define IS_TRIE(n) ((n)->pos >= KEYLENGTH) argument
93 #define IS_TNODE(n) ((n)->bits) argument
94 #define IS_LEAF(n) (!(n)->bits) argument
118 #define TNODE_SIZE(n) offsetof(struct tnode, kv[0].tnode[n]) argument
176 static inline void node_set_parent(struct key_vector *n, struct key_vector *tp) in node_set_parent()
182 #define NODE_INIT_PARENT(n, p) RCU_INIT_POINTER(tn_info(n)->parent, p) argument
286 struct tnode *n = container_of(head, struct tnode, rcu); in __node_free_rcu() local
296 #define node_free(n) call_rcu(&tn_info(n)->rcu, __node_free_rcu) argument
315 static inline void empty_child_inc(struct key_vector *n) in empty_child_inc()
320 static inline void empty_child_dec(struct key_vector *n) in empty_child_dec()
[all …]
/linux-4.1.27/arch/x86/um/
Dptrace_32.c29 int n; in is_syscall() local
195 int err, n, cpu = ((struct thread_info *) child->stack)->cpu; in get_fpregs() local
211 int n, cpu = ((struct thread_info *) child->stack)->cpu; in set_fpregs() local
224 int err, n, cpu = ((struct thread_info *) child->stack)->cpu; in get_fpxregs() local
240 int n, cpu = ((struct thread_info *) child->stack)->cpu; in set_fpxregs() local
/linux-4.1.27/sound/soc/cirrus/
Dep93xx-ac97.c33 #define AC97CH(n) (((n) - 1) * 0x20) argument
35 #define AC97DR(n) (AC97CH(n) + 0x0000) argument
37 #define AC97RXCR(n) (AC97CH(n) + 0x0004) argument
43 #define AC97TXCR(n) (AC97CH(n) + 0x0008) argument
49 #define AC97SR(n) (AC97CH(n) + 0x000c) argument
53 #define AC97RISR(n) (AC97CH(n) + 0x0010) argument
54 #define AC97ISR(n) (AC97CH(n) + 0x0014) argument
55 #define AC97IE(n) (AC97CH(n) + 0x0018) argument
/linux-4.1.27/arch/alpha/include/asm/
Dcmpxchg.h20 #define cmpxchg_local(ptr, o, n) \ argument
29 #define cmpxchg64_local(ptr, o, n) \ argument
52 #define cmpxchg(ptr, o, n) \ argument
60 #define cmpxchg64(ptr, o, n) \ argument
/linux-4.1.27/sound/isa/es1688/
Des1688.c93 static int snd_es1688_match(struct device *dev, unsigned int n) in snd_es1688_match()
99 struct device *dev, unsigned int n) in snd_es1688_legacy_create()
137 static int snd_es1688_probe(struct snd_card *card, unsigned int n) in snd_es1688_probe()
184 static int snd_es1688_isa_probe(struct device *dev, unsigned int n) in snd_es1688_isa_probe()
210 static int snd_es1688_isa_remove(struct device *dev, unsigned int n) in snd_es1688_isa_remove()
232 static int snd_card_es968_pnp(struct snd_card *card, unsigned int n, in snd_card_es968_pnp()
/linux-4.1.27/arch/sparc/include/asm/
Dio_32.h16 int c, __kernel_size_t n) in _memset_io()
27 __kernel_size_t n) in _memcpy_fromio()
39 __kernel_size_t n) in _memcpy_toio()
88 __kernel_size_t n) in sbus_memset_io()
98 __kernel_size_t n) in sbus_memcpy_fromio()
111 __kernel_size_t n) in sbus_memcpy_toio()
Dcmpxchg_32.h58 #define cmpxchg(ptr, o, n) \ argument
72 #define cmpxchg_local(ptr, o, n) \ argument
75 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
Dcmpxchg_64.h109 #define cmpxchg(ptr,o,n) \ argument
136 #define cmpxchg_local(ptr, o, n) \ argument
139 #define cmpxchg64_local(ptr, o, n) \ argument
144 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
/linux-4.1.27/arch/ia64/include/asm/
Duaccess.h137 # define __get_user_size(val, addr, n, err) \ argument
154 # define __put_user_size(val, addr, n, err) \ argument
166 # define __get_user_size(val, addr, n, err) \ argument
172 # define __put_user_size(val, addr, n, err) \ argument
255 #define copy_to_user(to, from, n) \ argument
266 #define copy_from_user(to, from, n) \ argument
281 copy_in_user (void __user *to, const void __user *from, unsigned long n) in copy_in_user()
290 #define __clear_user(to, n) __do_clear_user(to, n) argument
292 #define clear_user(to, n) \ argument
307 #define strncpy_from_user(to, from, n) \ argument
/linux-4.1.27/arch/x86/boot/compressed/
Dstring.c4 void *memcpy(void *dest, const void *src, size_t n) in memcpy()
18 void *memcpy(void *dest, const void *src, size_t n) in memcpy()
33 void *memset(void *s, int c, size_t n) in memset()
/linux-4.1.27/arch/ia64/include/uapi/asm/
Dcmpxchg.h116 #define cmpxchg_acq(ptr, o, n) \ argument
118 #define cmpxchg_rel(ptr, o, n) \ argument
131 #define cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) argument
132 #define cmpxchg64(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) argument
/linux-4.1.27/arch/s390/boot/compressed/
Dmisc.c24 #define memzero(s, n) memset((s), 0, (n)) argument
73 void *memset(void *s, int c, size_t n) in memset()
83 void *memcpy(void *dest, const void *src, size_t n) in memcpy()
93 void *memmove(void *dest, const void *src, size_t n) in memmove()
/linux-4.1.27/fs/jfs/
Djfs_unicode.h56 size_t n) in UniStrncpy_le()
73 size_t n) in UniStrncmp_le()
88 size_t n) in UniStrncpy_to_le()
105 size_t n) in UniStrncpy_from_le()
/linux-4.1.27/arch/arm/mach-lpc32xx/include/mach/
Dplatform.h23 #define _BIT(n) _SBF(n, 1) argument
293 #define LPC32XX_CLKPWR_HCLKDIV_PCLK_DIV(n) (((n) & 0x1F) << 2) argument
294 #define LPC32XX_CLKPWR_HCLKDIV_DIV_2POW(n) ((n) & 0x3) argument
330 #define LPC32XX_CLKPWR_MOSC_ADD_CAP(n) (((n) & 0x7F) << 2) argument
338 #define LPC32XX_CLKPWR_SYSCTRL_BP_TRIG(n) (((n) & 0x3FF) << 2) argument
356 #define LPC32XX_CLKPWR_LCDCTRL_SET_PSCALE(n) ((n - 1) & 0x1F) argument
366 #define LPC32XX_CLKPWR_HCLKPLL_POSTDIV_2POW(n) (((n) & 0x3) << 11) argument
367 #define LPC32XX_CLKPWR_HCLKPLL_PREDIV_PLUS1(n) (((n) & 0x3) << 9) argument
368 #define LPC32XX_CLKPWR_HCLKPLL_PLLM(n) (((n) & 0xFF) << 1) argument
374 #define LPC32XX_CLKPWR_ADCCTRL1_RTDIV(n) (((n) & 0xFF) << 0) argument
[all …]
/linux-4.1.27/arch/sh/drivers/dma/
Ddma-sh.c260 #define dmaor_read_reg(n) __raw_readw(dma_find_base((n)*6)) argument
261 #define dmaor_write_reg(n, data) __raw_writew(data, dma_find_base(n)*6) argument
300 static inline unsigned int get_dma_error_irq(int n) in get_dma_error_irq()
314 static inline unsigned int get_dma_error_irq(int n) in get_dma_error_irq()
334 int n; in dmae_irq_init() local
350 int n; in dmae_irq_free() local
/linux-4.1.27/arch/xtensa/include/asm/
Dcmpxchg.h65 #define cmpxchg(ptr,o,n) \ argument
92 #define cmpxchg_local(ptr, o, n) \ argument
95 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
96 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
/linux-4.1.27/arch/sparc/kernel/
Dioport.c101 int n; in xres_alloc() local
317 static void sbus_free_coherent(struct device *dev, size_t n, void *p, in sbus_free_coherent()
373 static void sbus_unmap_page(struct device *dev, dma_addr_t ba, size_t n, in sbus_unmap_page()
379 static int sbus_map_sg(struct device *dev, struct scatterlist *sg, int n, in sbus_map_sg()
386 static void sbus_unmap_sg(struct device *dev, struct scatterlist *sg, int n, in sbus_unmap_sg()
393 int n, enum dma_data_direction dir) in sbus_sync_sg_for_cpu()
399 int n, enum dma_data_direction dir) in sbus_sync_sg_for_device()
484 static void pci32_free_coherent(struct device *dev, size_t n, void *p, in pci32_free_coherent()
554 int n; in pci32_map_sg() local
573 int n; in pci32_unmap_sg() local
[all …]
/linux-4.1.27/drivers/w1/
Dw1_family.c40 struct list_head *ent, *n; in w1_register_family() local
72 struct list_head *ent, *n; in w1_unregister_family() local
103 struct list_head *ent, *n; in w1_family_registered() local
/linux-4.1.27/net/irda/
Dparameters.c130 int n = 0; in irda_insert_integer() local
206 int n = 0; in irda_extract_integer() local
364 int n = 0; in irda_param_pack() local
407 int n = 0; in irda_param_unpack() local
457 int n = 0; in irda_param_insert() local
512 int n = 0; in irda_param_extract() local
565 int n = 0; in irda_param_extract_all() local
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_fb.c44 int i, n = drm_format_num_planes(fb->pixel_format); in msm_framebuffer_destroy() local
76 int i, n = drm_format_num_planes(fb->pixel_format); in msm_framebuffer_describe() local
98 int ret, i, n = drm_format_num_planes(fb->pixel_format); in msm_framebuffer_prepare() local
114 int i, n = drm_format_num_planes(fb->pixel_format); in msm_framebuffer_cleanup() local
145 int ret, i, n = drm_format_num_planes(mode_cmd->pixel_format); in msm_framebuffer_create() local
178 int ret, i, n; in msm_framebuffer_init() local
/linux-4.1.27/sound/isa/gus/
Dgusextreme.c92 static int snd_gusextreme_match(struct device *dev, unsigned int n) in snd_gusextreme_match()
99 struct device *dev, unsigned int n) in snd_gusextreme_es1688_create()
137 struct device *dev, unsigned int n, in snd_gusextreme_gus_card_create()
237 static int snd_gusextreme_probe(struct device *dev, unsigned int n) in snd_gusextreme_probe()
342 static int snd_gusextreme_remove(struct device *dev, unsigned int n) in snd_gusextreme_remove()
Dgusclassic.c76 static int snd_gusclassic_match(struct device *dev, unsigned int n) in snd_gusclassic_match()
82 struct device *dev, unsigned int n, in snd_gusclassic_create()
146 static int snd_gusclassic_probe(struct device *dev, unsigned int n) in snd_gusclassic_probe()
213 static int snd_gusclassic_remove(struct device *dev, unsigned int n) in snd_gusclassic_remove()
/linux-4.1.27/tools/virtio/linux/
Duaccess.h29 unsigned long n) in volatile_memcpy()
36 unsigned long n) in copy_from_user()
44 unsigned long n) in copy_to_user()
/linux-4.1.27/sound/isa/
Dadlib.c33 static int snd_adlib_match(struct device *dev, unsigned int n) in snd_adlib_match()
50 static int snd_adlib_probe(struct device *dev, unsigned int n) in snd_adlib_probe()
99 static int snd_adlib_remove(struct device *dev, unsigned int n) in snd_adlib_remove()
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dutil.h39 #define item_size(n) (FIELD_SIZEOF(struct mwifiex_debug_info, n)) argument
40 #define item_addr(n) (offsetof(struct mwifiex_debug_info, n)) argument
43 #define adapter_item_size(n) (FIELD_SIZEOF(struct mwifiex_adapter, n)) argument
44 #define adapter_item_addr(n) (offsetof(struct mwifiex_adapter, n)) argument
/linux-4.1.27/arch/arm/mach-ixp4xx/
Dcommon-pci.c196 static u32 local_byte_lane_enable_bits(u32 n, int size) in local_byte_lane_enable_bits()
209 u32 n, data; in local_read_config() local
220 u32 n, byte_enables, data; in local_write_config() local
231 static u32 byte_lane_enable_bits(u32 n, int size) in byte_lane_enable_bits()
244 u32 n, byte_enables, addr, data; in ixp4xx_pci_read_config() local
267 u32 n, byte_enables, addr, data; in ixp4xx_pci_write_config() local
/linux-4.1.27/arch/metag/include/asm/
Ddelay.h20 #define udelay(n) (__builtin_constant_p(n) ? \ argument
25 #define ndelay(n) (__builtin_constant_p(n) ? \ argument
Duaccess.h205 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user()
212 #define __copy_from_user(to, from, n) __copy_user_zeroing(to, from, n) argument
220 unsigned long n) in copy_to_user()
227 #define __copy_to_user(to, from, n) __copy_user(to, from, n) argument
237 static inline unsigned long clear_user(void __user *to, unsigned long n) in clear_user()
244 #define __clear_user(to, n) __do_clear_user(to, n) argument
/linux-4.1.27/fs/minix/
Ditree_v1.c9 static inline unsigned long block_to_cpu(block_t n) in block_to_cpu()
14 static inline block_t cpu_to_block(unsigned long n) in cpu_to_block()
26 int n = 0; in block_to_path() local
Ditree_v2.c8 static inline unsigned long block_to_cpu(block_t n) in block_to_cpu()
13 static inline block_t cpu_to_block(unsigned long n) in cpu_to_block()
28 int n = 0; in block_to_path() local
/linux-4.1.27/drivers/firewire/
Dohci.h104 #define OHCI1394_IsoXmitContextBase(n) (0x200 + 16 * (n)) argument
105 #define OHCI1394_IsoXmitContextControlSet(n) (0x200 + 16 * (n)) argument
106 #define OHCI1394_IsoXmitContextControlClear(n) (0x204 + 16 * (n)) argument
107 #define OHCI1394_IsoXmitCommandPtr(n) (0x20C + 16 * (n)) argument
110 #define OHCI1394_IsoRcvContextBase(n) (0x400 + 32 * (n)) argument
111 #define OHCI1394_IsoRcvContextControlSet(n) (0x400 + 32 * (n)) argument
112 #define OHCI1394_IsoRcvContextControlClear(n) (0x404 + 32 * (n)) argument
113 #define OHCI1394_IsoRcvCommandPtr(n) (0x40C + 32 * (n)) argument
114 #define OHCI1394_IsoRcvContextMatch(n) (0x410 + 32 * (n)) argument
/linux-4.1.27/net/xfrm/
Dxfrm_hash.c17 struct hlist_head *n; in xfrm_hash_alloc() local
31 void xfrm_hash_free(struct hlist_head *n, unsigned int sz) in xfrm_hash_free()
/linux-4.1.27/drivers/input/keyboard/
Dpxa27x_keypad.c50 #define KPC_MKRN(n) ((((n) - 1) & 0x7) << 26) /* matrix key row number */ argument
51 #define KPC_MKCN(n) ((((n) - 1) & 0x7) << 23) /* matrix key column number */ argument
52 #define KPC_DKN(n) ((((n) - 1) & 0x7) << 6) /* direct key number */ argument
59 #define KPC_MS(n) (0x1 << (13 + (n))) /* Matrix scan line 'n' */ argument
73 #define KPDK_DK(n) ((n) & 0xff) argument
80 #define KPREC_RECOUNT0(n) ((n) & 0xff) argument
81 #define KPREC_RECOUNT1(n) (((n) >> 16) & 0xff) argument
87 #define KPAS_MUKP(n) (((n) >> 26) & 0x1f) argument
88 #define KPAS_RP(n) (((n) >> 4) & 0xf) argument
89 #define KPAS_CP(n) ((n) & 0xf) argument
[all …]
/linux-4.1.27/arch/mn10300/include/asm/
Duaccess.h364 unsigned long n) in __generic_copy_from_user_nocheck()
372 unsigned long n) in __generic_copy_to_user_nocheck()
467 #define __copy_to_user_inatomic(to, from, n) \ argument
469 #define __copy_from_user_inatomic(to, from, n) \ argument
472 #define __copy_to_user(to, from, n) \ argument
478 #define __copy_from_user(to, from, n) \ argument
485 #define copy_to_user(to, from, n) __generic_copy_to_user((to), (from), (n)) argument
486 #define copy_from_user(to, from, n) __generic_copy_from_user((to), (from), (n)) argument
/linux-4.1.27/drivers/uwb/
Dwhci.c92 static int whci_add_cap(struct whci_card *card, int n) in whci_add_cap()
132 static void whci_del_cap(struct whci_card *card, int n) in whci_del_cap()
156 int err, n_caps, n; in whci_probe() local
227 int n; in whci_remove() local
/linux-4.1.27/arch/tile/lib/
Datomic_32.c62 int _atomic_xchg(int *v, int n) in _atomic_xchg()
85 int _atomic_cmpxchg(int *v, int o, int n) in _atomic_cmpxchg()
110 long long _atomic64_xchg(long long *v, long long n) in _atomic64_xchg()
133 long long _atomic64_cmpxchg(long long *v, long long o, long long n) in _atomic64_cmpxchg()
/linux-4.1.27/arch/arm/plat-orion/
Dpcie.c25 #define PCIE_BAR_LO_OFF(n) (0x0010 + ((n) << 3)) argument
26 #define PCIE_BAR_HI_OFF(n) (0x0014 + ((n) << 3)) argument
28 #define PCIE_BAR_CTRL_OFF(n) (0x1804 + ((n - 1) * 4)) argument
29 #define PCIE_WIN04_CTRL_OFF(n) (0x1820 + ((n) << 4)) argument
30 #define PCIE_WIN04_BASE_OFF(n) (0x1824 + ((n) << 4)) argument
31 #define PCIE_WIN04_REMAP_OFF(n) (0x182c + ((n) << 4)) argument
/linux-4.1.27/drivers/usb/gadget/legacy/
Dhid.c111 struct hidg_func_node *e, *n; in do_config() local
154 struct hidg_func_node *n, *m; in hid_bind() local
210 struct hidg_func_node *n; in hid_unbind() local
241 struct hidg_func_node *e, *n; in hidg_plat_driver_remove() local
/linux-4.1.27/sound/pci/ice1712/
Dwm8766.c199 int n = kcontrol->private_value; in snd_wm8766_volume_info() local
213 int n = kcontrol->private_value; in snd_wm8766_enum_info() local
223 int n = kcontrol->private_value; in snd_wm8766_ctl_get() local
254 int n = kcontrol->private_value; in snd_wm8766_ctl_put() local
Dse.c421 static int se200pci_get_enum_count(int n) in se200pci_get_enum_count()
449 int n, c; in se200pci_cont_enum_info() local
463 int n = kc->private_value; in se200pci_cont_volume_get() local
474 int n = kc->private_value; in se200pci_cont_boolean_get() local
484 int n = kc->private_value; in se200pci_cont_enum_get() local
489 static void se200pci_cont_update(struct snd_ice1712 *ice, int n) in se200pci_cont_update()
535 int n = kc->private_value; in se200pci_cont_volume_put() local
561 int n = kc->private_value; in se200pci_cont_boolean_put() local
578 int n = kc->private_value; in se200pci_cont_enum_put() local
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
Denic_clsf.c94 struct enic_rfs_fltr_node *n; in enic_rfs_flw_tbl_free() local
113 struct enic_rfs_fltr_node *n; in htbl_fltr_search() local
135 struct enic_rfs_fltr_node *n; in enic_flow_may_expire() local
174 struct enic_rfs_fltr_node *n; in enic_rx_flow_steer() local
/linux-4.1.27/arch/m32r/boot/compressed/
Dmisc.c21 #define memzero(s, n) memset ((s), 0, (n)) argument
31 void *memset(void *s, int c, size_t n) in memset()
42 void *memcpy(void *dest, const void *src, size_t n) in memcpy()
/linux-4.1.27/drivers/block/aoe/
Daoecmd.c100 u32 n; in getframe() local
122 register ulong n; in newtag() local
311 u32 n; in fhash() local
460 u32 n; in resend() local
503 int n; in tsince_hr() local
534 int n; in tsince() local
561 ulong n; in ejectif() local
605 size_t n, m; in probe() local
722 int n; in scorn() local
756 ulong flags, n; in rexmit_timer() local
[all …]
Daoechr.c82 int major, minor, n; in revalidate() local
130 ulong flags, n; in aoechr_error() local
191 int n, i; in aoechr_open() local
215 unsigned long n; in aoechr_read() local
286 int n, i; in aoechr_init() local
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Derrno.c337 unsigned int n; in lustre_errno_hton() local
358 unsigned int lustre_errno_ntoh(unsigned int n) in lustre_errno_ntoh()
/linux-4.1.27/tools/power/cpupower/utils/helpers/
Dbitmask.c14 #define longsperbits(n) howmany(n, bitsperlong) argument
23 struct bitmask *bitmask_alloc(unsigned int n) in bitmask_alloc()
61 static unsigned int _getbit(const struct bitmask *bmp, unsigned int n) in _getbit()
70 static void _setbit(struct bitmask *bmp, unsigned int n, unsigned int v) in _setbit()
174 unsigned int n; in bitmask_next() local
/linux-4.1.27/arch/arm/mach-imx/
D3ds_debugboard.c27 #define LAN9217_BASE_ADDR(n) (n + 0x0) argument
29 #define UARTA_BASE_ADDR(n) (n + 0x8000) argument
30 #define UARTB_BASE_ADDR(n) (n + 0x10000) argument
32 #define BOARD_IO_ADDR(n) (n + 0x20000) argument
/linux-4.1.27/sound/pci/ctxfi/
Dctresource.c30 int i, j, k, n; in get_resource() local
64 unsigned int i, j, k, n; in put_resource() local
77 int mgr_get_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int *ridx) in mgr_get_resource()
91 int mgr_put_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int idx) in mgr_put_resource()
/linux-4.1.27/drivers/md/persistent-data/
Ddm-btree-internal.h108 static inline __le64 *key_ptr(struct btree_node *n, uint32_t index) in key_ptr()
113 static inline void *value_base(struct btree_node *n) in value_base()
118 static inline void *value_ptr(struct btree_node *n, uint32_t index) in value_ptr()
127 static inline uint64_t value64(struct btree_node *n, uint32_t index) in value64()
Ddm-btree-remove.c56 static void node_shift(struct btree_node *n, int shift) in node_shift()
111 static void delete_at(struct btree_node *n, unsigned index) in delete_at()
131 static unsigned merge_threshold(struct btree_node *n) in merge_threshold()
139 struct btree_node *n; member
422 struct btree_node *n; in get_nr_entries() local
440 struct btree_node *n; in rebalance_children() local
485 static int do_leaf(struct btree_node *n, uint64_t key, unsigned *index) in do_leaf()
508 struct btree_node *n; in remove_raw() local
558 struct btree_node *n; in dm_btree_remove() local
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_qp.c55 unsigned n) in find_next_offset()
132 unsigned n; in alloc_qpn() local
227 unsigned n = qpn_hash(dev, qp->ibqp.qp_num); in insert_qp() local
251 unsigned n = qpn_hash(dev, qp->ibqp.qp_num); in remove_qp() local
300 unsigned n, qp_inuse = 0; in qib_free_all_qps() local
353 unsigned n = qpn_hash(dev, qpn); in qib_lookup_qpn() local
420 unsigned n; in clear_mr_refs() local
1318 int n; member
1341 int n = iter->n; in qib_qp_iter_next() local
Dqib_keys.c53 u32 n; in qib_alloc_lkey() local
159 unsigned n, m; in qib_lkey_ok() local
257 unsigned n, m; in qib_rkey_ok() local
347 unsigned i, n, m; in qib_fast_reg_mr() local
/linux-4.1.27/drivers/video/fbdev/core/
Dsysfillrect.c26 unsigned long pat, unsigned n, int bits) in bitfill_aligned()
82 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned()
136 unsigned long pat, unsigned n, int bits) in bitfill_aligned_rev()
192 unsigned long pat, int left, int right, unsigned n, in bitfill_unaligned_rev()
/linux-4.1.27/drivers/staging/ozwpan/
Dozeltbuf.c30 struct oz_elt_info *ei, *n; in oz_elt_buf_term() local
68 struct oz_elt_info *ei, *n; in oz_elt_info_free_chain() local
97 struct list_head *e, *n; in oz_elt_stream_delete() local
213 struct oz_elt_info *ei, *n; in oz_select_elts_for_tx() local
/linux-4.1.27/Documentation/auxdisplay/
Dcfag12864b-example.c44 #define CFAG12864B_BIT(n) (((unsigned char) 1) << (n)) argument
167 unsigned char i, j, n; in cfag12864b_format() local
200 static void example(unsigned char n) in example()
258 unsigned char n; in main() local
/linux-4.1.27/net/netfilter/ipset/
Dip_set_hash_gen.h47 u32 n; in tune_ahash_max() local
121 hbucket_elem_add(struct hbucket *n, u8 ahash_max, size_t dsize) in hbucket_elem_add()
296 mtype_add_cidr(struct htype *h, u8 cidr, u8 nets_length, u8 n) in mtype_add_cidr()
320 mtype_del_cidr(struct htype *h, u8 cidr, u8 nets_length, u8 n) in mtype_del_cidr()
358 #define ahash_data(n, i, dsize) \ argument
362 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup()
376 struct hbucket *n; in mtype_flush() local
400 struct hbucket *n; in mtype_ahash_destroy() local
471 struct hbucket *n; in mtype_expire() local
547 struct hbucket *n, *m; in mtype_resize() local
[all …]
/linux-4.1.27/drivers/hwmon/
Dgl520sm.c220 int n = to_sensor_dev_attr(attr)->index; in get_in_input() local
233 int n = to_sensor_dev_attr(attr)->index; in get_in_min() local
246 int n = to_sensor_dev_attr(attr)->index; in get_in_max() local
261 int n = to_sensor_dev_attr(attr)->index; in set_in_min() local
295 int n = to_sensor_dev_attr(attr)->index; in set_in_max() local
358 int n = to_sensor_dev_attr(attr)->index; in get_fan_input() local
368 int n = to_sensor_dev_attr(attr)->index; in get_fan_min() local
378 int n = to_sensor_dev_attr(attr)->index; in get_fan_div() local
396 int n = to_sensor_dev_attr(attr)->index; in set_fan_min() local
435 int n = to_sensor_dev_attr(attr)->index; in set_fan_div() local
[all …]
/linux-4.1.27/arch/arm/kernel/
Dearly_printk.c17 static void early_write(const char *s, unsigned n) in early_write()
27 static void early_console_write(struct console *con, const char *s, unsigned n) in early_console_write()
/linux-4.1.27/arch/um/os-Linux/
Dsigio.c55 int i, n, respond_fd; in write_sigio_thread() local
103 static int need_poll(struct pollfds *polls, int n) in need_poll()
132 int n; in update_thread() local
170 int err = 0, i, n; in add_sigio_fd() local
205 int err = 0, i, n = 0; in ignore_sigio_fd() local
493 int n; in tty_output() local
Dstart_up.c95 int pid, n, status; in start_ptraced_child() local
123 int status, n, ret = 0; in stop_ptraced_child() local
167 int pid, n, status, count=0; in check_sysemu() local
261 int pid, syscall, n, status; in check_ptrace() local
/linux-4.1.27/include/uapi/linux/usb/
Dvideo.h203 #define UVC_DT_HEADER_SIZE(n) (12+(n)) argument
205 #define UVC_HEADER_DESCRIPTOR(n) \ argument
208 #define DECLARE_UVC_HEADER_DESCRIPTOR(n) \ argument
263 #define UVC_DT_CAMERA_TERMINAL_SIZE(n) (15+(n)) argument
276 #define UVC_DT_SELECTOR_UNIT_SIZE(n) (6+(n)) argument
278 #define UVC_SELECTOR_UNIT_DESCRIPTOR(n) \ argument
281 #define DECLARE_UVC_SELECTOR_UNIT_DESCRIPTOR(n) \ argument
305 #define UVC_DT_PROCESSING_UNIT_SIZE(n) (9+(n)) argument
322 #define UVC_DT_EXTENSION_UNIT_SIZE(p, n) (24+(p)+(n)) argument
324 #define UVC_EXTENSION_UNIT_DESCRIPTOR(p, n) \ argument
[all …]
/linux-4.1.27/drivers/media/i2c/
Ds5k5baf.c104 #define REG_I_OPCLK_4KHZ(n) ((n) * 6 + 0x01cc) argument
105 #define REG_I_MIN_OUTRATE_4KHZ(n) ((n) * 6 + 0x01ce) argument
106 #define REG_I_MAX_OUTRATE_4KHZ(n) ((n) * 6 + 0x01d0) argument
146 #define PREG(n, x) ((n) * 0x26 + x) argument
147 #define REG_P_OUT_WIDTH(n) PREG(n, 0x0242) argument
148 #define REG_P_OUT_HEIGHT(n) PREG(n, 0x0244) argument
149 #define REG_P_FMT(n) PREG(n, 0x0246) argument
150 #define REG_P_MAX_OUT_RATE(n) PREG(n, 0x0248) argument
151 #define REG_P_MIN_OUT_RATE(n) PREG(n, 0x024a) argument
152 #define REG_P_PVI_MASK(n) PREG(n, 0x024c) argument
[all …]
/linux-4.1.27/drivers/atm/
DuPD98401.h109 #define uPD98401_MSH(n) (0x10+(n)) /* Mailbox n Start Address High */ argument
110 #define uPD98401_MSL(n) (0x14+(n)) /* Mailbox n Start Address High */ argument
111 #define uPD98401_MBA(n) (0x18+(n)) /* Mailbox n Bottom Address */ argument
112 #define uPD98401_MTA(n) (0x1c+(n)) /* Mailbox n Tail Address */ argument
113 #define uPD98401_MWA(n) (0x20+(n)) /* Mailbox n Write Address */ argument
160 #define uPD98401_IM(n) (0x40000+(n)) /* Scheduler n I and M */ argument
161 #define uPD98401_X(n) (0x40010+(n)) /* Scheduler n X */ argument
162 #define uPD98401_Y(n) (0x40020+(n)) /* Scheduler n Y */ argument
163 #define uPD98401_PC(n) (0x40030+(n)) /* Scheduler n P, C, p and c */ argument
164 #define uPD98401_PS(n) (0x40040+(n)) /* Scheduler n priority and status */ argument
/linux-4.1.27/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.c63 unsigned n; in mvebu_pinctrl_find_group_by_pid() local
76 unsigned n; in mvebu_pinctrl_find_group_by_name() local
88 unsigned n; in mvebu_pinctrl_find_setting_by_val() local
103 unsigned n; in mvebu_pinctrl_find_setting_by_name() local
117 unsigned n; in mvebu_pinctrl_find_gpio_setting() local
132 unsigned n; in mvebu_pinctrl_find_function_by_name() local
179 unsigned n; in mvebu_pinconf_group_dbg_show() local
382 int ret, nmaps, n; in mvebu_pinctrl_dt_node_to_map() local
478 int n, s; in mvebu_pinctrl_build_functions() local
553 unsigned gid, n, k; in mvebu_pinctrl_probe() local
/linux-4.1.27/drivers/gpu/drm/shmobile/
Dshmob_drm_regs.h154 #define LDBCR_UPC(n) (1 << ((n) + 16)) argument
155 #define LDBCR_UPF(n) (1 << ((n) + 8)) argument
156 #define LDBCR_UPD(n) (1 << ((n) + 0)) argument
157 #define LDBnBSIFR(n) (0xb20 + (n) * 0x20 + 0x00) argument
188 #define LDBnBSSZR(n) (0xb20 + (n) * 0x20 + 0x04) argument
193 #define LDBnBLOCR(n) (0xb20 + (n) * 0x20 + 0x08) argument
198 #define LDBnBSMWR(n) (0xb20 + (n) * 0x20 + 0x0c) argument
203 #define LDBnBSAYR(n) (0xb20 + (n) * 0x20 + 0x10) argument
212 #define LDBnBSACR(n) (0xb20 + (n) * 0x20 + 0x14) argument
221 #define LDBnBSAAR(n) (0xb20 + (n) * 0x20 + 0x18) argument
[all …]
/linux-4.1.27/arch/um/drivers/
Dnet_user.c97 int n; in net_read() local
110 int n; in net_recvfrom() local
125 int n; in net_write() local
138 int n; in net_send() local
153 int n; in net_sendto() local
/linux-4.1.27/fs/cifs/
Dcifs_unicode.h224 UniStrncat(wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncat()
242 UniStrncmp(const wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncmp()
257 UniStrncmp_le(const wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncmp_le()
272 UniStrncpy(wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncpy()
289 UniStrncpy_le(wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncpy_le()
/linux-4.1.27/sound/core/seq/
Dseq_midi_emul.c601 int n; in all_sounds_off() local
619 int n; in all_notes_off() local
632 static void snd_midi_channel_init(struct snd_midi_channel *p, int n) in snd_midi_channel_init()
653 static struct snd_midi_channel *snd_midi_channel_init_set(int n) in snd_midi_channel_init_set()
692 struct snd_midi_channel_set *snd_midi_channel_alloc_set(int n) in snd_midi_channel_alloc_set()
/linux-4.1.27/arch/sh/include/asm/
Duaccess.h115 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user()
121 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user()
135 #define clear_user(addr,n) \ argument
148 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user()
160 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user()
/linux-4.1.27/arch/sh/kernel/cpu/sh4/
Dfpu.c150 static void denormal_to_double(struct sh_fpu_hard_struct *fpu, int n) in denormal_to_double()
247 int n, m, prec; in ieee_fpe_handler() local
285 int n, m, prec; in ieee_fpe_handler() local
329 int n, m, prec; in ieee_fpe_handler() local
/linux-4.1.27/drivers/clocksource/
Dmxs_timer.c63 #define HW_TIMROT_TIMCTRLn(n) (0x20 + (n) * 0x40) argument
65 #define HW_TIMROT_TIMCOUNTn(n) (0x30 + (n) * 0x40) argument
67 #define HW_TIMROT_RUNNING_COUNTn(n) (0x30 + (n) * 0x40) argument
68 #define HW_TIMROT_FIXED_COUNTn(n) (0x40 + (n) * 0x40) argument

12345678910>>...16