| /include/linux/ |
| D | log2.h | 26 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
|
| D | uaccess.h | 62 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic() 70 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() 92 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() 100 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() 110 _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() 129 _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() 144 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user() 152 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user() 160 copy_in_user(void __user *to, const void __user *from, unsigned long n) in copy_in_user() 226 const void __user *from, unsigned long n) in __copy_from_user_inatomic_nocache()
|
| D | rculist_bl.h | 12 struct hlist_bl_node *n) in hlist_bl_set_first_rcu() 47 static inline void hlist_bl_del_init_rcu(struct hlist_bl_node *n) in hlist_bl_del_init_rcu() 74 static inline void hlist_bl_del_rcu(struct hlist_bl_node *n) in hlist_bl_del_rcu() 99 static inline void hlist_bl_add_head_rcu(struct hlist_bl_node *n, in hlist_bl_add_head_rcu()
|
| D | rculist_nulls.h | 33 static inline void hlist_nulls_del_init_rcu(struct hlist_nulls_node *n) in hlist_nulls_del_init_rcu() 66 static inline void hlist_nulls_del_rcu(struct hlist_nulls_node *n) in hlist_nulls_del_rcu() 91 static inline void hlist_nulls_add_head_rcu(struct hlist_nulls_node *n, in hlist_nulls_add_head_rcu() 122 static inline void hlist_nulls_add_tail_rcu(struct hlist_nulls_node *n, in hlist_nulls_add_tail_rcu()
|
| D | list_bl.h | 64 struct hlist_bl_node *n) in hlist_bl_set_first() 77 static inline void hlist_bl_add_head(struct hlist_bl_node *n, in hlist_bl_add_head() 89 static inline void __hlist_bl_del(struct hlist_bl_node *n) in __hlist_bl_del() 105 static inline void hlist_bl_del(struct hlist_bl_node *n) in hlist_bl_del() 112 static inline void hlist_bl_del_init(struct hlist_bl_node *n) in hlist_bl_del_init() 157 #define hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) \ argument
|
| D | list.h | 472 #define list_for_each_safe(pos, n, head) \ argument 482 #define list_for_each_prev_safe(pos, n, head) \ argument 580 #define list_for_each_entry_safe(pos, n, head, member) \ argument 596 #define list_for_each_entry_safe_continue(pos, n, head, member) \ argument 612 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument 627 #define list_for_each_entry_safe_reverse(pos, n, head, member) \ argument 645 #define list_safe_reset_next(pos, n, member) \ argument 674 static inline void __hlist_del(struct hlist_node *n) in __hlist_del() 684 static inline void hlist_del(struct hlist_node *n) in hlist_del() 691 static inline void hlist_del_init(struct hlist_node *n) in hlist_del_init() [all …]
|
| D | build_bug.h | 8 #define __BUILD_BUG_ON_NOT_POWER_OF_2(n) (0) argument 9 #define BUILD_BUG_ON_NOT_POWER_OF_2(n) (0) argument 19 #define __BUILD_BUG_ON_NOT_POWER_OF_2(n) \ argument 21 #define BUILD_BUG_ON_NOT_POWER_OF_2(n) \ argument
|
| D | ioport.h | 220 #define request_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name), 0) argument 221 #define request_muxed_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name),… argument 222 #define __request_mem_region(start,n,name, excl) __request_region(&iomem_resource, (start), (n), (n… argument 223 #define request_mem_region(start,n,name) __request_region(&iomem_resource, (start), (n), (name), 0) argument 224 #define request_mem_region_exclusive(start,n,name) \ argument 234 #define release_region(start,n) __release_region(&ioport_resource, (start), (n)) argument 235 #define release_mem_region(start,n) __release_region(&iomem_resource, (start), (n)) argument 251 #define devm_request_region(dev,start,n,name) \ argument 253 #define devm_request_mem_region(dev,start,n,name) \ argument 260 #define devm_release_region(dev, start, n) \ argument [all …]
|
| D | profile.h | 113 static inline int task_handoff_register(struct notifier_block * n) in task_handoff_register() 118 static inline int task_handoff_unregister(struct notifier_block * n) in task_handoff_unregister() 123 static inline int profile_event_register(enum profile_type t, struct notifier_block * n) in profile_event_register() 128 static inline int profile_event_unregister(enum profile_type t, struct notifier_block * n) in profile_event_unregister()
|
| D | rio_regs.h | 228 #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 …]
|
| D | skb_array.h | 101 struct sk_buff **array, int n) in skb_array_consume_batched() 112 struct sk_buff **array, int n) in skb_array_consume_batched_irq() 123 struct sk_buff **array, int n) in skb_array_consume_batched_any() 135 struct sk_buff **array, int n) in skb_array_consume_batched_bh() 185 struct sk_buff **skbs, int n) in skb_array_unconsume()
|
| D | rculist.h | 154 static inline void hlist_del_init_rcu(struct hlist_node *n) in hlist_del_init_rcu() 425 static inline void hlist_del_rcu(struct hlist_node *n) in hlist_del_rcu() 477 static inline void hlist_add_head_rcu(struct hlist_node *n, in hlist_add_head_rcu() 508 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()
|
| D | kfifo.h | 501 #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
|
| /include/video/ |
| D | exynos5433_decon.h | 15 #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/media/ |
| D | cec-notifier.h | 106 static inline void cec_notifier_put(struct cec_notifier *n) in cec_notifier_put() 110 static inline void cec_notifier_set_phys_addr(struct cec_notifier *n, u16 pa) in cec_notifier_set_phys_addr() 114 static inline void cec_notifier_set_phys_addr_from_edid(struct cec_notifier *n, in cec_notifier_set_phys_addr_from_edid() 119 static inline void cec_notifier_register(struct cec_notifier *n, in cec_notifier_register() 125 static inline void cec_notifier_unregister(struct cec_notifier *n) in cec_notifier_unregister() 143 static inline void cec_notifier_phys_addr_invalidate(struct cec_notifier *n) in cec_notifier_phys_addr_invalidate()
|
| /include/asm-generic/ |
| D | div64.h | 29 # define do_div(n,base) ({ \ argument 55 #define __div64_const32(n, ___b) \ argument 161 static inline uint64_t __arch_xprod_64(const uint64_t m, uint64_t n, bool bias) in __arch_xprod_64() 205 # define do_div(n,base) ({ \ argument
|
| D | cmpxchg.h | 96 #define cmpxchg_local(ptr, o, n) ({ \ argument 103 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument 106 #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) argument 107 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
|
| D | delay.h | 20 #define udelay(n) \ argument 33 #define ndelay(n) \ argument
|
| D | uaccess.h | 189 #define __strnlen_user(s, n) (strnlen((s), (n)) + 1) argument 197 static inline long strnlen_user(const char __user *src, long n) in strnlen_user() 209 __clear_user(void __user *to, unsigned long n) in __clear_user() 217 clear_user(void __user *to, unsigned long n) in clear_user()
|
| /include/linux/mfd/ |
| D | da8xx-cfgchip.h | 23 #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
|
| D | mxs-lradc.h | 62 #define LRADC_CTRL1_LRADC_IRQ_EN(n) (1 << ((n) + 16)) argument 67 #define LRADC_CTRL1_LRADC_IRQ(n) BIT(n) argument 79 #define LRADC_CH(n) (0x50 + (0x10 * (n))) argument 88 #define LRADC_DELAY(n) (0xd0 + (0x10 * (n))) argument 112 #define LRADC_CTRL4_LRADCSELECT_MASK(n) (0xf << ((n) * 4)) argument 113 #define LRADC_CTRL4_LRADCSELECT_OFFSET(n) ((n) * 4) argument 114 #define LRADC_CTRL4_LRADCSELECT(n, x) \ argument
|
| /include/linux/clk/ |
| D | at91_pmc.h | 66 #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 195 #define AT91_PMC_AUDIO_PLL_ND(n) ((n) << AT91_PMC_AUDIO_PLL_ND_OFFSET) argument 198 #define AT91_PMC_AUDIO_PLL_QDPMC(n) ((n) << AT91_PMC_AUDIO_PLL_QDPMC_OFFSET) argument 204 #define AT91_PMC_AUDIO_PLL_QDPAD(n) ((n) << AT91_PMC_AUDIO_PLL_QDPAD_OFFSET) argument [all …]
|
| /include/uapi/linux/usb/ |
| D | video.h | 205 #define UVC_DT_HEADER_SIZE(n) (12+(n)) argument 207 #define UVC_HEADER_DESCRIPTOR(n) \ argument 210 #define DECLARE_UVC_HEADER_DESCRIPTOR(n) \ argument 265 #define UVC_DT_CAMERA_TERMINAL_SIZE(n) (15+(n)) argument 278 #define UVC_DT_SELECTOR_UNIT_SIZE(n) (6+(n)) argument 280 #define UVC_SELECTOR_UNIT_DESCRIPTOR(n) \ argument 283 #define DECLARE_UVC_SELECTOR_UNIT_DESCRIPTOR(n) \ argument 307 #define UVC_DT_PROCESSING_UNIT_SIZE(n) (9+(n)) argument 324 #define UVC_DT_EXTENSION_UNIT_SIZE(p, n) (24+(p)+(n)) argument 326 #define UVC_EXTENSION_UNIT_DESCRIPTOR(p, n) \ argument [all …]
|
| /include/linux/usb/ |
| D | msm_hsusb_hw.h | 51 #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/ceph/ |
| D | decode.h | 43 static inline void ceph_decode_copy(void **p, void *pv, size_t n) in ceph_decode_copy() 52 static inline bool ceph_has_room(void **p, void *end, size_t n) in ceph_has_room() 57 #define ceph_decode_need(p, end, n, bad) \ argument 84 #define ceph_decode_copy_safe(p, end, pv, n, bad) \ argument 139 #define ceph_decode_skip_n(p, end, n, bad) \ argument 336 #define ceph_encode_need(p, end, n, bad) \ argument 363 #define ceph_encode_copy_safe(p, end, pv, n, bad) \ argument 368 #define ceph_encode_string_safe(p, end, s, n, bad) \ argument
|