/include/linux/ |
D | log2.h | 22 int __ilog2_u32(u32 n) in __ilog2_u32() 30 int __ilog2_u64(u64 n) in __ilog2_u64() 45 bool is_power_of_2(unsigned long n) in is_power_of_2() 55 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two() 65 unsigned long __rounddown_pow_of_two(unsigned long n) in __rounddown_pow_of_two() 77 #define const_ilog2(n) \ argument 156 #define ilog2(n) \ argument 173 #define roundup_pow_of_two(n) \ argument 190 #define rounddown_pow_of_two(n) \ argument 198 int __order_base_2(unsigned long n) in __order_base_2() [all …]
|
D | uaccess.h | 59 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic() 67 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() 89 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() 97 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() 107 _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() 126 _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() 141 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user() 149 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user() 157 copy_in_user(void __user *to, const void __user *from, unsigned long n) in copy_in_user() 227 unsigned long n) in __copy_from_user_inatomic_nocache()
|
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_add_before(struct hlist_bl_node *n, in hlist_bl_add_before() 104 static inline void hlist_bl_add_behind(struct hlist_bl_node *n, in hlist_bl_add_behind() 115 static inline void __hlist_bl_del(struct hlist_bl_node *n) in __hlist_bl_del() 131 static inline void hlist_bl_del(struct hlist_bl_node *n) in hlist_bl_del() 138 static inline void hlist_bl_del_init(struct hlist_bl_node *n) in hlist_bl_del_init() 183 #define hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) \ argument
|
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.h | 555 #define list_for_each_safe(pos, n, head) \ argument 565 #define list_for_each_prev_safe(pos, n, head) \ argument 663 #define list_for_each_entry_safe(pos, n, head, member) \ argument 679 #define list_for_each_entry_safe_continue(pos, n, head, member) \ argument 695 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument 710 #define list_for_each_entry_safe_reverse(pos, n, head, member) \ argument 728 #define list_safe_reset_next(pos, n, member) \ argument 757 static inline void __hlist_del(struct hlist_node *n) in __hlist_del() 767 static inline void hlist_del(struct hlist_node *n) in hlist_del() 774 static inline void hlist_del_init(struct hlist_node *n) in hlist_del_init() [all …]
|
D | ioport.h | 229 #define request_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name), 0) argument 230 #define request_muxed_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name),… argument 231 #define __request_mem_region(start,n,name, excl) __request_region(&iomem_resource, (start), (n), (n… argument 232 #define request_mem_region(start,n,name) __request_region(&iomem_resource, (start), (n), (name), 0) argument 233 #define request_mem_region_exclusive(start,n,name) \ argument 243 #define release_region(start,n) __release_region(&ioport_resource, (start), (n)) argument 244 #define release_mem_region(start,n) __release_region(&iomem_resource, (start), (n)) argument 260 #define devm_request_region(dev,start,n,name) \ argument 262 #define devm_request_mem_region(dev,start,n,name) \ argument 269 #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 | 224 #define RIO_PORT_N_MNT_REQ_CSR(n, m) (0x40 + (n) * (0x20 * (m))) argument 227 #define RIO_PORT_N_MNT_RSP_CSR(n, m) (0x44 + (n) * (0x20 * (m))) argument 231 #define RIO_PORT_N_ACK_STS_CSR(n) (0x48 + (n) * 0x20) /* Only in RM-I */ argument 236 #define RIO_PORT_N_CTL2_CSR(n, m) (0x54 + (n) * (0x20 * (m))) argument 238 #define RIO_PORT_N_ERR_STS_CSR(n, m) (0x58 + (n) * (0x20 * (m))) argument 246 #define RIO_PORT_N_CTL_CSR(n, m) (0x5c + (n) * (0x20 * (m))) argument 255 #define RIO_PORT_N_OB_ACK_CSR(n) (0x60 + (n) * 0x40) /* Only in RM-II */ argument 259 #define RIO_PORT_N_IB_ACK_CSR(n) (0x64 + (n) * 0x40) /* Only in RM-II */ argument 267 #define RIO_DEV_PORT_N_MNT_REQ_CSR(d, n) \ argument 270 #define RIO_DEV_PORT_N_MNT_RSP_CSR(d, n) \ argument [all …]
|
D | skb_array.h | 107 struct sk_buff **array, int n) in skb_array_consume_batched() 118 struct sk_buff **array, int n) in skb_array_consume_batched_irq() 129 struct sk_buff **array, int n) in skb_array_consume_batched_any() 141 struct sk_buff **array, int n) in skb_array_consume_batched_bh() 191 struct sk_buff **skbs, int n) in skb_array_unconsume()
|
D | kfifo.h | 488 #define kfifo_in(fifo, buf, n) \ argument 510 #define kfifo_in_spinlocked(fifo, buf, n, lock) \ argument 521 #define kfifo_in_locked(fifo, buf, n, lock) \ argument 536 #define kfifo_out(fifo, buf, n) \ argument 560 #define kfifo_out_spinlocked(fifo, buf, n, lock) \ argument 573 #define kfifo_out_locked(fifo, buf, n, lock) \ argument 744 #define kfifo_out_peek(fifo, buf, n) \ argument
|
D | rculist.h | 172 static inline void hlist_del_init_rcu(struct hlist_node *n) in hlist_del_init_rcu() 473 static inline void hlist_del_rcu(struct hlist_node *n) in hlist_del_rcu() 525 static inline void hlist_add_head_rcu(struct hlist_node *n, in hlist_add_head_rcu() 556 static inline void hlist_add_tail_rcu(struct hlist_node *n, in hlist_add_tail_rcu() 592 static inline void hlist_add_before_rcu(struct hlist_node *n, in hlist_add_before_rcu() 619 static inline void hlist_add_behind_rcu(struct hlist_node *n, in hlist_add_behind_rcu()
|
D | list_nulls.h | 69 static inline void hlist_nulls_add_head(struct hlist_nulls_node *n, in hlist_nulls_add_head() 81 static inline void __hlist_nulls_del(struct hlist_nulls_node *n) in __hlist_nulls_del() 91 static inline void hlist_nulls_del(struct hlist_nulls_node *n) in hlist_nulls_del()
|
/include/linux/soundwire/ |
D | sdw_registers.h | 12 #define SDW_REG_SHIFT(n) (ffs(n) - 1) argument 124 #define SDW_DPN_INT(n) (0x0 + SDW_DPN_SIZE * (n)) argument 125 #define SDW_DPN_INTMASK(n) (0x1 + SDW_DPN_SIZE * (n)) argument 126 #define SDW_DPN_PORTCTRL(n) (0x2 + SDW_DPN_SIZE * (n)) argument 127 #define SDW_DPN_BLOCKCTRL1(n) (0x3 + SDW_DPN_SIZE * (n)) argument 128 #define SDW_DPN_PREPARESTATUS(n) (0x4 + SDW_DPN_SIZE * (n)) argument 129 #define SDW_DPN_PREPARECTRL(n) (0x5 + SDW_DPN_SIZE * (n)) argument 145 #define SDW_DPN_CHANNELEN_B0(n) (0x20 + SDW_DPN_SIZE * (n)) argument 146 #define SDW_DPN_CHANNELEN_B1(n) (0x30 + SDW_DPN_SIZE * (n)) argument 148 #define SDW_DPN_BLOCKCTRL2_B0(n) (0x21 + SDW_DPN_SIZE * (n)) argument [all …]
|
/include/media/ |
D | cec-notifier.h | 139 static inline void cec_notifier_put(struct cec_notifier *n) in cec_notifier_put() 151 static inline void cec_notifier_conn_unregister(struct cec_notifier *n) in cec_notifier_conn_unregister() 163 static inline void cec_notifier_cec_adap_unregister(struct cec_notifier *n) in cec_notifier_cec_adap_unregister() 167 static inline void cec_notifier_set_phys_addr(struct cec_notifier *n, u16 pa) in cec_notifier_set_phys_addr() 171 static inline void cec_notifier_set_phys_addr_from_edid(struct cec_notifier *n, in cec_notifier_set_phys_addr_from_edid() 208 static inline void cec_notifier_phys_addr_invalidate(struct cec_notifier *n) in cec_notifier_phys_addr_invalidate()
|
/include/asm-generic/ |
D | div64.h | 43 # define do_div(n,base) ({ \ argument 69 #define __div64_const32(n, ___b) \ argument 175 static inline uint64_t __arch_xprod_64(const uint64_t m, uint64_t n, bool bias) in __arch_xprod_64() 223 # 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 | uaccess.h | 14 raw_copy_from_user(void *to, const void __user * from, unsigned long n) in raw_copy_from_user() 40 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() 244 #define __strnlen_user(s, n) (strnlen((s), (n)) + 1) argument 252 static inline long strnlen_user(const char __user *src, long n) in strnlen_user() 264 __clear_user(void __user *to, unsigned long n) in __clear_user() 272 clear_user(void __user *to, unsigned long n) in clear_user()
|
D | delay.h | 20 #define udelay(n) \ argument 33 #define ndelay(n) \ argument
|
/include/linux/mfd/ |
D | da8xx-cfgchip.h | 14 #define CFGCHIP(n) ((n) * 4) argument 18 #define CFGCHIP0_EDMA30TC1DBS(n) ((n) << 2) argument 23 #define CFGCHIP0_EDMA30TC0DBS(n) ((n) << 0) argument 30 #define CFGCHIP1_CAP2SRC(n) ((n) << 27) argument 47 #define CFGCHIP1_CAP1SRC(n) ((n) << 22) argument 64 #define CFGCHIP1_CAP0SRC(n) ((n) << 17) argument 83 #define CFGCHIP0_EDMA31TC0DBS(n) ((n) << 13) argument 89 #define CFGCHIP1_AMUTESEL0(n) ((n) << 0) argument 105 #define CFGCHIP2_OTGMODE(n) ((n) << 13) argument 120 #define CFGCHIP2_REFFREQ(n) ((n) << 0) argument
|
D | mxs-lradc.h | 53 #define LRADC_CTRL1_LRADC_IRQ_EN(n) (1 << ((n) + 16)) argument 58 #define LRADC_CTRL1_LRADC_IRQ(n) BIT(n) argument 70 #define LRADC_CH(n) (0x50 + (0x10 * (n))) argument 79 #define LRADC_DELAY(n) (0xd0 + (0x10 * (n))) argument 103 #define LRADC_CTRL4_LRADCSELECT_MASK(n) (0xf << ((n) * 4)) argument 104 #define LRADC_CTRL4_LRADCSELECT_OFFSET(n) ((n) * 4) argument 105 #define LRADC_CTRL4_LRADCSELECT(n, x) \ argument
|
/include/soc/qcom/ |
D | rpmh.h | 30 const struct tcs_cmd *cmd, u32 n) in rpmh_write() 35 const struct tcs_cmd *cmd, u32 n) in rpmh_write_async() 40 const struct tcs_cmd *cmd, u32 *n) in rpmh_write_batch()
|
/include/linux/clk/ |
D | at91_pmc.h | 64 #define AT91_PMC_MUL_GET(n) ((n) >> 16 & 0x7ff) argument 66 #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 159 #define AT91_PMC_FSTT(n) BIT(n) argument 201 #define AT91_PMC_AUDIO_PLL_ND(n) ((n) << AT91_PMC_AUDIO_PLL_ND_OFFSET) argument 204 #define AT91_PMC_AUDIO_PLL_QDPMC(n) ((n) << AT91_PMC_AUDIO_PLL_QDPMC_OFFSET) argument 210 #define AT91_PMC_AUDIO_PLL_QDPAD(n) ((n) << AT91_PMC_AUDIO_PLL_QDPAD_OFFSET) argument 213 #define AT91_PMC_AUDIO_PLL_QDPAD_DIV(n) ((n) << AT91_PMC_AUDIO_PLL_QDPAD_DIV_OFFSET) argument 217 #define AT91_PMC_AUDIO_PLL_QDPAD_EXTDIV(n) ((n) << AT91_PMC_AUDIO_PLL_QDPAD_EXTDIV_OFFSET) argument
|
/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/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 351 #define ceph_encode_need(p, end, n, bad) \ argument 378 #define ceph_encode_copy_safe(p, end, pv, n, bad) \ argument 383 #define ceph_encode_string_safe(p, end, s, n, bad) \ argument
|