/linux/drivers/clk/samsung/ |
A D | clk-pll.h | 51 _m, _p, _s, 0, 16), \ 53 .pdiv = (_p), \ 62 .pdiv = (_p), \ 71 .pdiv = (_p), \ 78 _m, _p, _s, _k, 16), \ 80 .pdiv = (_p), \ 90 .pdiv = (_p), \ 98 _m, _p, _s, _k, 16), \ 100 .pdiv = (_p), \ 109 _m, _p, _s, _k, 10), \ [all …]
|
/linux/drivers/net/ethernet/freescale/fs_enet/ |
A D | mac-scc.c | 62 #define W32(_p, _m, _v) __fs_out32(&(_p)->_m, (_v)) argument 63 #define R32(_p, _m) __fs_in32(&(_p)->_m) argument 64 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument 65 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) argument 68 #define R16(_p, _m) __fs_in16(&(_p)->_m) argument 69 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) argument 70 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) argument 72 #define W8(_p, _m, _v) __fs_out8(&(_p)->_m, (_v)) argument 73 #define R8(_p, _m) __fs_in8(&(_p)->_m) argument 74 #define S8(_p, _m, _v) W8(_p, _m, R8(_p, _m) | (_v)) argument [all …]
|
A D | mac-fcc.c | 54 #define W32(_p, _m, _v) out_be32(&(_p)->_m, (_v)) argument 55 #define R32(_p, _m) in_be32(&(_p)->_m) argument 56 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument 57 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) argument 60 #define R16(_p, _m) in_be16(&(_p)->_m) argument 61 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) argument 62 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) argument 64 #define W8(_p, _m, _v) out_8(&(_p)->_m, (_v)) argument 65 #define R8(_p, _m) in_8(&(_p)->_m) argument 66 #define S8(_p, _m, _v) W8(_p, _m, R8(_p, _m) | (_v)) argument [all …]
|
/linux/drivers/net/ethernet/8390/ |
A D | 8390p.c | 7 #define ei_inb(_p) inb(_p) argument 8 #define ei_outb(_v, _p) outb(_v, _p) argument 9 #define ei_inb_p(_p) inb_p(_p) argument 10 #define ei_outb_p(_v, _p) outb_p(_v, _p) argument
|
A D | 8390.h | 155 #define ei_inb(_p) inb(_p) argument 156 #define ei_outb(_v, _p) outb(_v, _p) argument 157 #define ei_inb_p(_p) inb(_p) argument 158 #define ei_outb_p(_v, _p) outb(_v, _p) argument
|
/linux/arch/arm/include/asm/ |
A D | cacheflush.h | 389 char *_p = (char *)p; in __sync_cache_range_w() local 391 __cpuc_clean_dcache_area(_p, size); in __sync_cache_range_w() 392 outer_clean_range(__pa(_p), __pa(_p + size)); in __sync_cache_range_w() 403 char *_p = (char *)p; in __sync_cache_range_r() local 411 __cpuc_clean_dcache_area(_p, size); in __sync_cache_range_r() 414 outer_flush_range(__pa(_p), __pa(_p + size)); in __sync_cache_range_r() 419 __cpuc_flush_dcache_area(_p, size); in __sync_cache_range_r()
|
/linux/drivers/clk/sunxi-ng/ |
A D | ccu_mp.c | 19 unsigned int _m, _p; in ccu_mp_find_best() local 21 for (_p = 1; _p <= max_p; _p <<= 1) { in ccu_mp_find_best() 23 unsigned long tmp_rate = parent / _p / _m; in ccu_mp_find_best() 31 best_p = _p; in ccu_mp_find_best() 49 unsigned int _m, _p, div; in ccu_mp_find_best_with_parent_adj() local 61 for (_p = 1; _p <= max_p; _p <<= 1) { in ccu_mp_find_best_with_parent_adj() 63 div = _m * _p; in ccu_mp_find_best_with_parent_adj()
|
A D | ccu_nkmp.c | 37 unsigned long _n, _k, _m, _p; in ccu_nkmp_find_best() local 42 for (_p = nkmp->min_p; _p <= nkmp->max_p; _p <<= 1) { in ccu_nkmp_find_best() 47 _m, _p); in ccu_nkmp_find_best() 57 best_p = _p; in ccu_nkmp_find_best()
|
/linux/include/linux/ |
A D | sh_clk.h | 126 #define SH_CLK_MSTP32(_p, _r, _b, _f) \ argument 127 SH_CLK_MSTP(_p, _r, _b, 0, _f | CLK_ENABLE_REG_32BIT) 129 #define SH_CLK_MSTP32_STS(_p, _r, _b, _s, _f) \ argument 130 SH_CLK_MSTP(_p, _r, _b, _s, _f | CLK_ENABLE_REG_32BIT) 132 #define SH_CLK_MSTP16(_p, _r, _b, _f) \ argument 133 SH_CLK_MSTP(_p, _r, _b, 0, _f | CLK_ENABLE_REG_16BIT) 135 #define SH_CLK_MSTP8(_p, _r, _b, _f) \ argument 136 SH_CLK_MSTP(_p, _r, _b, 0, _f | CLK_ENABLE_REG_8BIT)
|
A D | generic-radix-tree.h | 199 #define genradix_for_each_from(_radix, _iter, _p, _start) \ argument 201 (_p = genradix_iter_peek(&_iter, _radix)) != NULL; \ 213 #define genradix_for_each(_radix, _iter, _p) \ argument 214 genradix_for_each_from(_radix, _iter, _p, 0)
|
/linux/security/keys/ |
A D | proc.c | 155 struct rb_node *_p = v; in proc_keys_show() local 156 struct key *key = rb_entry(_p, struct key, serial_node); in proc_keys_show() 277 struct rb_node *_p; in proc_key_users_start() local 282 _p = key_user_first(seq_user_ns(p), &key_user_tree); in proc_key_users_start() 283 while (pos > 0 && _p) { in proc_key_users_start() 285 _p = key_user_next(seq_user_ns(p), _p); in proc_key_users_start() 288 return _p; in proc_key_users_start() 305 struct rb_node *_p = v; in proc_key_users_show() local 306 struct key_user *user = rb_entry(_p, struct key_user, node); in proc_key_users_show()
|
/linux/drivers/clk/sunxi/ |
A D | clk-sun9i-core.c | 156 u32 _p; in sun9i_a80_get_ahb_factors() local 161 _p = order_base_2(DIV_ROUND_UP(req->parent_rate, req->rate)); in sun9i_a80_get_ahb_factors() 164 if (_p > 3) in sun9i_a80_get_ahb_factors() 165 _p = 3; in sun9i_a80_get_ahb_factors() 167 req->rate = req->parent_rate >> _p; in sun9i_a80_get_ahb_factors() 168 req->p = _p; in sun9i_a80_get_ahb_factors()
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
A D | os.h | 19 u32 __iomem *_p = (u32 __iomem *)(p); \ 21 iowrite32_native(lower_32_bits(_v), &_p[0]); \ 22 iowrite32_native(upper_32_bits(_v), &_p[1]); \
|
/linux/drivers/misc/sgi-xp/ |
A D | xpc.h | 586 #define XPC_DEACTIVATE_PARTITION(_p, _reason) \ argument 587 xpc_deactivate_partition(__LINE__, (_p), (_reason)) 602 #define XPC_PARTID(_p) ((short)((_p) - &xpc_partitions[0])) argument 726 #define XPC_SET_REASON(_p, _reason, _line) \ argument 728 (_p)->reason = _reason; \ 729 (_p)->reason_line = _line; \
|
/linux/drivers/gpu/drm/nouveau/include/nvif/ |
A D | push.h | 83 struct nvif_push *_p = (p); \ 85 PUSH_ASSERT(_p->cur < _p->seg, "segment overrun"); \ 86 PUSH_ASSERT(_p->cur < _p->end, "pushbuf overrun"); \ 87 PUSH_PRINTF(_p, "%08x"f, _d, ##a); \ 88 *_p->cur++ = _d; \ 117 struct nvif_push *_p = (p); \ 119 PUSH_ASSERT(_p->cur + _s <= _p->seg, "segment overrun"); \ 120 PUSH_ASSERT(_p->cur + _s <= _p->end, "pushbuf overrun"); \ 121 memcpy(_p->cur, (d), _s << 2); \ 122 _p->cur += _s; \
|
A D | printf.h | 9 struct nvif_parent *_p = _o->parent; \ 10 _p->func->l(_o, "[%s/%08x:%s] "f"\n", _o->client->object.name, _o->handle, _o->name, ##a); \
|
/linux/drivers/iio/imu/inv_icm42600/ |
A D | inv_icm42600_timestamp.c | 18 #define INV_ICM42600_TIMESTAMP_MIN_PERIOD(_p) \ argument 19 (((_p) * (100 - INV_ICM42600_TIMESTAMP_JITTER)) / 100) 20 #define INV_ICM42600_TIMESTAMP_MAX_PERIOD(_p) \ argument 21 (((_p) * (100 + INV_ICM42600_TIMESTAMP_JITTER)) / 100)
|
/linux/arch/powerpc/include/asm/ |
A D | bitops.h | 67 volatile unsigned long *_p) \ 70 unsigned long *p = (unsigned long *)_p; \ 112 volatile unsigned long *_p) \ 115 unsigned long *p = (unsigned long *)_p; \
|
/linux/drivers/net/ethernet/sfc/ |
A D | ef100_rx.c | 25 #define PREFIX_WORD(_p, _f) le32_to_cpu((__force __le32)(_p)[PREFIX_OFFSET_W(_f)]) argument 26 #define PREFIX_FIELD(_p, _f) ((PREFIX_WORD(_p, _f) >> PREFIX_OFFSET_B(_f)) & \ argument
|
/linux/lib/ |
A D | bch.c | 78 #define GF_M(_p) (CONFIG_BCH_CONST_M) argument 79 #define GF_T(_p) (CONFIG_BCH_CONST_T) argument 80 #define GF_N(_p) ((1 << (CONFIG_BCH_CONST_M))-1) argument 84 #define GF_M(_p) ((_p)->m) argument 85 #define GF_T(_p) ((_p)->t) argument 86 #define GF_N(_p) ((_p)->n) argument 91 #define BCH_ECC_WORDS(_p) DIV_ROUND_UP(GF_M(_p)*GF_T(_p), 32) argument 92 #define BCH_ECC_BYTES(_p) DIV_ROUND_UP(GF_M(_p)*GF_T(_p), 8) argument 1008 #define find_poly_roots(_p, _k, _elp, _loc) chien_search(_p, len, _elp, _loc) argument
|
A D | crc64.c | 48 const unsigned char *_p = p; in crc64_be() local 51 t = ((crc >> 56) ^ (*_p++)) & 0xFF; in crc64_be()
|
/linux/drivers/irqchip/ |
A D | irq-mscc-ocelot.c | 15 #define ICPU_CFG_INTR_DST_INTR_IDENT(_p, x) ((_p)->reg_off_ident + 0x4 * (x)) argument 16 #define ICPU_CFG_INTR_INTR_TRIGGER(_p, x) ((_p)->reg_off_trigger + 0x4 * (x)) argument
|
/linux/net/tipc/ |
A D | name_distr.c | 246 struct publication *_p; in tipc_publ_purge() local 252 _p = tipc_nametbl_remove_publ(net, &ua, &p->sk, p->key); in tipc_publ_purge() 253 if (_p) in tipc_publ_purge() 254 tipc_node_unsubscribe(net, &_p->binding_node, addr); in tipc_publ_purge() 256 if (_p) in tipc_publ_purge() 257 kfree_rcu(_p, rcu); in tipc_publ_purge()
|
/linux/include/linux/soc/samsung/ |
A D | s3c-cpu-freq.h | 86 #define PLLVAL(_m, _p, _s) (((_m) << 12) | ((_p) << 4) | (_s)) argument
|
/linux/tools/perf/util/ |
A D | perf_event_attr_fprintf.c | 83 #define PRINT_ATTRn(_n, _f, _p) \ argument 86 _p(attr->_f); \ 91 #define PRINT_ATTRf(_f, _p) PRINT_ATTRn(#_f, _f, _p) argument
|