| /include/linux/isdn/ |
| A D | capiutil.h | 19 #define CAPIMSG_U8(m, off) (m[off]) argument 20 #define CAPIMSG_U16(m, off) (m[off]|(m[(off)+1]<<8)) argument 21 #define CAPIMSG_U32(m, off) (m[off]|(m[(off)+1]<<8)|(m[(off)+2]<<16)|(m[(off)+3]<<24)) argument 22 #define CAPIMSG_LEN(m) CAPIMSG_U16(m,0) argument 23 #define CAPIMSG_APPID(m) CAPIMSG_U16(m,2) argument 24 #define CAPIMSG_COMMAND(m) CAPIMSG_U8(m,4) argument 26 #define CAPIMSG_CMD(m) (((m[4])<<8)|(m[5])) argument 27 #define CAPIMSG_MSGID(m) CAPIMSG_U16(m,6) argument 28 #define CAPIMSG_CONTROLLER(m) (m[8] & 0x7f) argument 29 #define CAPIMSG_CONTROL(m) CAPIMSG_U32(m, 8) argument [all …]
|
| /include/linux/ |
| A D | seq_file.h | 52 return m->count == m->size; in seq_has_overflowed() 65 BUG_ON(m->count > m->size); in seq_get_buf() 66 if (m->count < m->size) in seq_get_buf() 67 *bufp = m->buf + m->count; in seq_get_buf() 71 return m->size - m->count; in seq_get_buf() 86 m->count = m->size; in seq_commit() 88 BUG_ON(m->count + num > m->size); in seq_commit() 89 m->count += num; in seq_commit() 103 m->pad_until = m->count + size; in seq_setwidth() 125 __seq_puts(m, s); in seq_puts() [all …]
|
| A D | win_minmax.h | 22 static inline u32 minmax_get(const struct minmax *m) in minmax_get() argument 24 return m->s[0].v; in minmax_get() 27 static inline u32 minmax_reset(struct minmax *m, u32 t, u32 meas) in minmax_reset() argument 31 m->s[2] = m->s[1] = m->s[0] = val; in minmax_reset() 32 return m->s[0].v; in minmax_reset() 35 u32 minmax_running_max(struct minmax *m, u32 win, u32 t, u32 meas); 36 u32 minmax_running_min(struct minmax *m, u32 win, u32 t, u32 meas);
|
| A D | dma-direct.h | 29 const struct bus_dma_region *m; in translate_phys_to_dma() local 31 for (m = dev->dma_range_map; m->size; m++) { in translate_phys_to_dma() 32 u64 offset = paddr - m->cpu_start; in translate_phys_to_dma() 34 if (paddr >= m->cpu_start && offset < m->size) in translate_phys_to_dma() 35 return m->dma_start + offset; in translate_phys_to_dma() 45 const struct bus_dma_region *m; in translate_dma_to_phys() local 47 for (m = dev->dma_range_map; m->size; m++) { in translate_dma_to_phys() 48 u64 offset = dma_addr - m->dma_start; in translate_dma_to_phys() 50 if (dma_addr >= m->dma_start && offset < m->size) in translate_dma_to_phys() 51 return m->cpu_start + offset; in translate_dma_to_phys()
|
| A D | crash_dump.h | 139 struct vmcore_range *m = kzalloc(sizeof(*m), GFP_KERNEL); in vmcore_alloc_add_range() local 141 if (!m) in vmcore_alloc_add_range() 143 m->paddr = paddr; in vmcore_alloc_add_range() 144 m->size = size; in vmcore_alloc_add_range() 145 list_add_tail(&m->list, list); in vmcore_alloc_add_range() 152 struct vmcore_range *m, *tmp; in vmcore_free_ranges() local 154 list_for_each_entry_safe(m, tmp, list, list) { in vmcore_free_ranges() 155 list_del(&m->list); in vmcore_free_ranges() 156 kfree(m); in vmcore_free_ranges()
|
| A D | jiffies.h | 454 extern unsigned long __msecs_to_jiffies(const unsigned int m); 461 static inline unsigned long _msecs_to_jiffies(const unsigned int m) in _msecs_to_jiffies() argument 463 return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ); in _msecs_to_jiffies() 472 static inline unsigned long _msecs_to_jiffies(const unsigned int m) in _msecs_to_jiffies() argument 474 if (m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies() 476 return m * (HZ / MSEC_PER_SEC); in _msecs_to_jiffies() 485 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies() 520 if (__builtin_constant_p(m)) { in msecs_to_jiffies() 521 if ((int)m < 0) in msecs_to_jiffies() 523 return _msecs_to_jiffies(m); in msecs_to_jiffies() [all …]
|
| A D | reciprocal_div.h | 24 u32 m; member 35 u32 t = (u32)(((u64)a * R.m) >> 32); in reciprocal_divide() 40 u32 m; member
|
| A 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 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
|
| A D | prandom.h | 30 static inline u32 __seed(u32 x, u32 m) in __seed() argument 32 return (x < m) ? x + m : x; in __seed()
|
| A D | ratelimit.h | 54 int m; in ratelimit_state_exit() local 59 m = ratelimit_state_reset_miss(rs); in ratelimit_state_exit() 60 if (m) in ratelimit_state_exit() 61 pr_warn("%s: %d output lines suppressed due to ratelimiting\n", current->comm, m); in ratelimit_state_exit()
|
| A D | container_of.h | 8 #define typeof_member(T, m) typeof(((T*)0)->m) argument
|
| A D | memblock.h | 279 return m->flags & MEMBLOCK_HOTPLUG; in memblock_is_hotpluggable() 282 static inline bool memblock_is_mirror(struct memblock_region *m) in memblock_is_mirror() argument 284 return m->flags & MEMBLOCK_MIRROR; in memblock_is_mirror() 287 static inline bool memblock_is_nomap(struct memblock_region *m) in memblock_is_nomap() argument 289 return m->flags & MEMBLOCK_NOMAP; in memblock_is_nomap() 294 return m->flags & MEMBLOCK_RSRV_NOINIT; in memblock_is_reserved_noinit() 299 return m->flags & MEMBLOCK_DRIVER_MANAGED; in memblock_is_driver_managed() 302 static inline bool memblock_is_kho_scratch(struct memblock_region *m) in memblock_is_kho_scratch() argument 304 return m->flags & MEMBLOCK_KHO_SCRATCH; in memblock_is_kho_scratch() 629 void memtest_report_meminfo(struct seq_file *m); [all …]
|
| A D | bch.h | 39 unsigned int m; member 58 struct bch_control *bch_init(int m, int t, unsigned int prim_poly,
|
| A D | plist.h | 184 #define plist_for_each_entry_continue(pos, head, m) \ argument 185 list_for_each_entry_continue(pos, &(head)->node_list, m.node_list) 196 #define plist_for_each_entry_safe(pos, n, head, m) \ argument 197 list_for_each_entry_safe(pos, n, &(head)->node_list, m.node_list)
|
| A D | nodemask.h | 106 static __always_inline unsigned int __nodemask_pr_numnodes(const nodemask_t *m) in __nodemask_pr_numnodes() argument 108 return m ? MAX_NUMNODES : 0; in __nodemask_pr_numnodes() 110 static __always_inline const unsigned long *__nodemask_pr_bits(const nodemask_t *m) in __nodemask_pr_bits() argument 112 return m ? m->bits : NULL; in __nodemask_pr_bits() 284 typeof(_unused_nodemask_arg_) m; \ 285 if (sizeof(m) == sizeof(unsigned long)) { \ 286 m.bits[0] = 1UL << (node); \ 288 init_nodemask_of_node(&m, (node)); \ 290 m; \ 523 #define NODEMASK_FREE(m) kfree(m) argument [all …]
|
| /include/trace/events/ |
| A D | mce.h | 53 __entry->addr = err->m.addr; 54 __entry->misc = err->m.misc; 55 __entry->synd = err->m.synd; 56 __entry->ipid = err->m.ipid; 57 __entry->ip = err->m.ip; 58 __entry->tsc = err->m.tsc; 59 __entry->ppin = err->m.ppin; 61 __entry->cpu = err->m.extcpu; 62 __entry->cpuid = err->m.cpuid; 65 __entry->cs = err->m.cs; [all …]
|
| /include/uapi/linux/ |
| A D | stat.h | 21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) argument 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) argument 23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) argument 24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) argument 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) argument 26 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) argument 27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) argument
|
| A D | mroute.h | 51 #define VIFM_SET(n,m) ((m)|=(1<<(n))) argument 52 #define VIFM_CLR(n,m) ((m)&=~(1<<(n))) argument 53 #define VIFM_ISSET(n,m) ((m)&(1<<(n))) argument 54 #define VIFM_CLRALL(m) ((m)=0) argument
|
| A D | stddef.h | 62 #define __counted_by(m) argument 66 #define __counted_by_le(m) argument 70 #define __counted_by_be(m) argument
|
| /include/net/9p/ |
| A D | transport.h | 57 int (*show_options)(struct seq_file *m, struct p9_client *client); 60 void v9fs_register_trans(struct p9_trans_module *m); 61 void v9fs_unregister_trans(struct p9_trans_module *m); 64 void v9fs_put_trans(struct p9_trans_module *m);
|
| /include/drm/ |
| A D | drm_modes.h | 431 #define DRM_MODE_ARG(m) \ argument 432 (m)->name, drm_mode_vrefresh(m), (m)->clock, \ 433 (m)->hdisplay, (m)->hsync_start, (m)->hsync_end, (m)->htotal, \ 434 (m)->vdisplay, (m)->vsync_start, (m)->vsync_end, (m)->vtotal, \ 435 (m)->type, (m)->flags
|
| /include/asm-generic/ |
| A D | div64.h | 142 uint64_t __arch_xprod_64(const uint64_t m, uint64_t n, bool bias) in __arch_xprod_64() argument 144 uint32_t m_lo = m; in __arch_xprod_64() 145 uint32_t m_hi = m >> 32; in __arch_xprod_64() 151 bool no_ovf = __builtin_constant_p(m) && in __arch_xprod_64() 152 ((m >> 32) + (m & 0xffffffff) < 0x100000000); in __arch_xprod_64() 155 x = (uint64_t)m_lo * n_lo + (bias ? m : 0); in __arch_xprod_64()
|
| /include/cxl/ |
| A D | einj.h | 20 int einj_cxl_available_error_type_show(struct seq_file *m, void *v); 25 static inline int einj_cxl_available_error_type_show(struct seq_file *m, in einj_cxl_available_error_type_show() argument
|
| /include/video/ |
| A D | tgafb.h | 256 BT463_WRITE(struct tga_par *par, u32 m, u16 a, u8 v) in BT463_WRITE() argument 259 TGA_WRITE_REG(par, m << 2, TGA_RAMDAC_SETUP_REG); in BT463_WRITE() 260 TGA_WRITE_REG(par, m << 10 | v, TGA_RAMDAC_REG); in BT463_WRITE() 273 BT459_WRITE(struct tga_par *par, u32 m, u16 a, u8 v) in BT459_WRITE() argument 276 TGA_WRITE_REG(par, m << 2, TGA_RAMDAC_SETUP_REG); in BT459_WRITE()
|
| /include/linux/spi/ |
| A D | spi.h | 1211 INIT_LIST_HEAD(&m->transfers); in spi_message_init_no_memset() 1212 INIT_LIST_HEAD(&m->resources); in spi_message_init_no_memset() 1217 memset(m, 0, sizeof *m); in spi_message_init() 1218 spi_message_init_no_memset(m); in spi_message_init() 1254 spi_message_init(m); in spi_message_init_with_transfers() 1256 spi_message_add_tail(&xfers[i], m); in spi_message_init_with_transfers() 1266 struct spi_message m; in spi_message_alloc() member 1275 spi_message_init_no_memset(&mwt->m); in spi_message_alloc() 1277 spi_message_add_tail(&mwt->t[i], &mwt->m); in spi_message_alloc() 1279 return &mwt->m; in spi_message_alloc() [all …]
|