Home
last modified time | relevance | path

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

1234567

/include/linux/
Dlog2.h26 int __ilog2_u32(u32 n) in __ilog2_u32()
34 int __ilog2_u64(u64 n) in __ilog2_u64()
46 bool is_power_of_2(unsigned long n) in is_power_of_2()
55 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two()
64 unsigned long __rounddown_pow_of_two(unsigned long n) in __rounddown_pow_of_two()
79 #define ilog2(n) \ argument
159 #define roundup_pow_of_two(n) \ argument
176 #define rounddown_pow_of_two(n) \ argument
198 int __order_base_2(unsigned long n) in __order_base_2()
203 #define order_base_2(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.h428 #define list_for_each_safe(pos, n, head) \ argument
438 #define list_for_each_prev_safe(pos, n, head) \ argument
523 #define list_for_each_entry_safe(pos, n, head, member) \ argument
539 #define list_for_each_entry_safe_continue(pos, n, head, member) \ argument
555 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument
570 #define list_for_each_entry_safe_reverse(pos, n, head, member) \ argument
588 #define list_safe_reset_next(pos, n, member) \ argument
617 static inline void __hlist_del(struct hlist_node *n) in __hlist_del()
627 static inline void hlist_del(struct hlist_node *n) in hlist_del()
634 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()
104 static inline void hlist_bl_del(struct hlist_bl_node *n) in hlist_bl_del()
111 static inline void hlist_bl_del_init(struct hlist_bl_node *n) in hlist_bl_del_init()
156 #define hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) \ argument
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()
Dioport.h217 #define request_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name), 0) argument
218 #define request_muxed_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name),… argument
219 #define __request_mem_region(start,n,name, excl) __request_region(&iomem_resource, (start), (n), (n… argument
220 #define request_mem_region(start,n,name) __request_region(&iomem_resource, (start), (n), (name), 0) argument
221 #define request_mem_region_exclusive(start,n,name) \ argument
231 #define release_region(start,n) __release_region(&ioport_resource, (start), (n)) argument
232 #define release_mem_region(start,n) __release_region(&iomem_resource, (start), (n)) argument
248 #define devm_request_region(dev,start,n,name) \ argument
250 #define devm_request_mem_region(dev,start,n,name) \ argument
257 #define devm_release_region(dev, start, n) \ argument
[all …]
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()
Drio_regs.h228 #define RIO_PORT_N_MNT_REQ_CSR(n, m) (0x40 + (n) * (0x20 * (m))) argument
231 #define RIO_PORT_N_MNT_RSP_CSR(n, m) (0x44 + (n) * (0x20 * (m))) argument
235 #define RIO_PORT_N_ACK_STS_CSR(n) (0x48 + (n) * 0x20) /* Only in RM-I */ argument
240 #define RIO_PORT_N_CTL2_CSR(n, m) (0x54 + (n) * (0x20 * (m))) argument
242 #define RIO_PORT_N_ERR_STS_CSR(n, m) (0x58 + (n) * (0x20 * (m))) argument
250 #define RIO_PORT_N_CTL_CSR(n, m) (0x5c + (n) * (0x20 * (m))) argument
259 #define RIO_PORT_N_OB_ACK_CSR(n) (0x60 + (n) * 0x40) /* Only in RM-II */ argument
263 #define RIO_PORT_N_IB_ACK_CSR(n) (0x64 + (n) * 0x40) /* Only in RM-II */ argument
271 #define RIO_DEV_PORT_N_MNT_REQ_CSR(d, n) \ argument
274 #define RIO_DEV_PORT_N_MNT_RSP_CSR(d, n) \ argument
[all …]
Dbug.h16 #define __BUILD_BUG_ON_NOT_POWER_OF_2(n) (0) argument
17 #define BUILD_BUG_ON_NOT_POWER_OF_2(n) (0) argument
28 #define __BUILD_BUG_ON_NOT_POWER_OF_2(n) \ argument
30 #define BUILD_BUG_ON_NOT_POWER_OF_2(n) \ argument
Drculist.h155 static inline void hlist_del_init_rcu(struct hlist_node *n) in hlist_del_init_rcu()
426 static inline void hlist_del_rcu(struct hlist_node *n) in hlist_del_rcu()
478 static inline void hlist_add_head_rcu(struct hlist_node *n, in hlist_add_head_rcu()
509 static inline void hlist_add_tail_rcu(struct hlist_node *n, in hlist_add_tail_rcu()
544 static inline void hlist_add_before_rcu(struct hlist_node *n, in hlist_add_before_rcu()
571 static inline void hlist_add_behind_rcu(struct hlist_node *n, in hlist_add_behind_rcu()
Dlist_nulls.h63 static inline void hlist_nulls_add_head(struct hlist_nulls_node *n, in hlist_nulls_add_head()
75 static inline void __hlist_nulls_del(struct hlist_nulls_node *n) in __hlist_nulls_del()
85 static inline void hlist_nulls_del(struct hlist_nulls_node *n) in hlist_nulls_del()
Dkfifo.h501 #define kfifo_in(fifo, buf, n) \ argument
523 #define kfifo_in_spinlocked(fifo, buf, n, lock) \ argument
534 #define kfifo_in_locked(fifo, buf, n, lock) \ argument
549 #define kfifo_out(fifo, buf, n) \ argument
573 #define kfifo_out_spinlocked(fifo, buf, n, lock) \ argument
586 #define kfifo_out_locked(fifo, buf, n, lock) \ argument
757 #define kfifo_out_peek(fifo, buf, n) \ argument
Dpmem.h29 static inline void arch_memcpy_to_pmem(void *dst, const void *src, size_t n) in arch_memcpy_to_pmem()
34 static inline int arch_memcpy_from_pmem(void *dst, const void *src, size_t n) in arch_memcpy_from_pmem()
97 static inline void memcpy_to_pmem(void *dst, const void *src, size_t n) in memcpy_to_pmem()
/include/video/
Dexynos5433_decon.h15 #define DECON_WINCONx(n) (0x0020 + ((n) * 4)) argument
16 #define DECON_VIDOSDxH(n) (0x0080 + ((n) * 4)) argument
18 #define DECON_VIDOSDxA(n) (0x00B0 + ((n) * 0x20)) argument
19 #define DECON_VIDOSDxB(n) (0x00B4 + ((n) * 0x20)) argument
20 #define DECON_VIDOSDxC(n) (0x00B8 + ((n) * 0x20)) argument
21 #define DECON_VIDOSDxD(n) (0x00BC + ((n) * 0x20)) argument
22 #define DECON_VIDOSDxE(n) (0x00C0 + ((n) * 0x20)) argument
23 #define DECON_VIDW0xADD0B0(n) (0x0150 + ((n) * 0x10)) argument
24 #define DECON_VIDW0xADD0B1(n) (0x0154 + ((n) * 0x10)) argument
25 #define DECON_VIDW0xADD0B2(n) (0x0158 + ((n) * 0x10)) argument
[all …]
/include/asm-generic/
Ddiv64.h28 # define do_div(n,base) ({ \ argument
54 #define __div64_const32(n, ___b) \ argument
160 static inline uint64_t __arch_xprod_64(const uint64_t m, uint64_t n, bool bias) in __arch_xprod_64()
204 # define do_div(n,base) ({ \ argument
Duaccess.h77 const void __user * from, unsigned long n) in __copy_from_user()
107 const void *from, unsigned long n) in __copy_to_user()
236 size_t n = __copy_from_user(x, ptr, size); in __get_user_fn() local
259 const void __user * from, unsigned long n) in copy_from_user()
271 const void *from, unsigned long n) in copy_to_user()
309 #define __strnlen_user(s, n) (strnlen((s), (n)) + 1) argument
317 static inline long strnlen_user(const char __user *src, long n) in strnlen_user()
334 __clear_user(void __user *to, unsigned long n) in __clear_user()
342 clear_user(void __user *to, unsigned long n) in clear_user()
Dcmpxchg.h95 #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
/include/linux/mfd/
Dda8xx-cfgchip.h23 #define CFGCHIP(n) ((n) * 4) argument
27 #define CFGCHIP0_EDMA30TC1DBS(n) ((n) << 2) argument
32 #define CFGCHIP0_EDMA30TC0DBS(n) ((n) << 0) argument
39 #define CFGCHIP1_CAP2SRC(n) ((n) << 27) argument
56 #define CFGCHIP1_CAP1SRC(n) ((n) << 22) argument
73 #define CFGCHIP1_CAP0SRC(n) ((n) << 17) argument
92 #define CFGCHIP0_EDMA31TC0DBS(n) ((n) << 13) argument
98 #define CFGCHIP1_AMUTESEL0(n) ((n) << 0) argument
114 #define CFGCHIP2_OTGMODE(n) ((n) << 13) argument
129 #define CFGCHIP2_REFFREQ(n) ((n) << 0) argument
/include/uapi/linux/usb/
Dvideo.h204 #define UVC_DT_HEADER_SIZE(n) (12+(n)) argument
206 #define UVC_HEADER_DESCRIPTOR(n) \ argument
209 #define DECLARE_UVC_HEADER_DESCRIPTOR(n) \ argument
264 #define UVC_DT_CAMERA_TERMINAL_SIZE(n) (15+(n)) argument
277 #define UVC_DT_SELECTOR_UNIT_SIZE(n) (6+(n)) argument
279 #define UVC_SELECTOR_UNIT_DESCRIPTOR(n) \ argument
282 #define DECLARE_UVC_SELECTOR_UNIT_DESCRIPTOR(n) \ argument
306 #define UVC_DT_PROCESSING_UNIT_SIZE(n) (9+(n)) argument
323 #define UVC_DT_EXTENSION_UNIT_SIZE(p, n) (24+(p)+(n)) argument
325 #define UVC_EXTENSION_UNIT_DESCRIPTOR(p, n) \ argument
[all …]
/include/linux/ceph/
Ddecode.h42 static inline void ceph_decode_copy(void **p, void *pv, size_t n) in ceph_decode_copy()
51 static inline bool ceph_has_room(void **p, void *end, size_t n) in ceph_has_room()
56 #define ceph_decode_need(p, end, n, bad) \ argument
83 #define ceph_decode_copy_safe(p, end, pv, n, bad) \ argument
275 #define ceph_encode_need(p, end, n, bad) \ argument
302 #define ceph_encode_copy_safe(p, end, pv, n, bad) \ argument
307 #define ceph_encode_string_safe(p, end, s, n, bad) \ argument
/include/linux/clk/
Dat91_pmc.h66 #define AT91_PMC_MUL_GET(n) ((n) >> 16 & 0x7ff) argument
68 #define AT91_PMC3_MUL_GET(n) ((n) >> 18 & 0x7f) argument
130 #define AT91_PMC_SMDDIV(n) (((n) << 8) & AT91_PMC_SMD_DIV) argument
132 #define AT91_PMC_PCKR(n) (0x40 + ((n) * 4)) /* Programmable Clock 0-N Registers */ argument
177 #define AT91_PMC_PCR_GCKCSS(n) ((n) << AT91_PMC_PCR_GCKCSS_OFFSET) /* GCK Clock Source Selection… argument
181 #define AT91_PMC_PCR_DIV(n) ((n) << AT91_PMC_PCR_DIV_OFFSET) /* Divisor Value */ argument
184 #define AT91_PMC_PCR_GCKDIV(n) ((n) << AT91_PMC_PCR_GCKDIV_OFFSET) /* Generated Clock Divisor Va… argument
/include/linux/usb/
Dmsm_hsusb_hw.h51 #define ULPI_ADDR(n) (((n) & 255) << 16) argument
52 #define ULPI_DATA(n) ((n) & 255) argument
53 #define ULPI_DATA_READ(n) (((n) >> 8) & 255) argument
/include/linux/mfd/syscon/
Datmel-mc.h33 #define AT91_MC_MST(n) BIT(16 + (n)) argument
34 #define AT91_MC_SVMST(n) BIT(24 + (n)) argument
39 #define AT91_MPR_MSTP(n) GENMASK(2 + ((x) * 4), ((x) * 4)) argument
43 #define AT91_MC_EBI_CS(n) BIT(x) argument
50 #define AT91_MC_SMC_CSR(n) (0x70 + ((n) * 4)) argument

1234567