Home
last modified time | relevance | path

Searched refs:_p (Results 1 – 25 of 75) sorted by relevance

123

/linux/drivers/clk/samsung/
H A Dclk-pll.h54 #define PLL_RATE(_fin, _m, _p, _s, _k, _ks) \ argument
55 ((u64)(_fin) * (BIT(_ks) * (_m) + (_k)) / BIT(_ks) / ((_p) << (_s)))
56 #define PLL_VALID_RATE(_fin, _fout, _m, _p, _s, _k, _ks) ((_fout) + \ argument
57 BUILD_BUG_ON_ZERO(PLL_RATE(_fin, _m, _p, _s, _k, _ks) != (_fout)))
59 #define PLL_35XX_RATE(_fin, _rate, _m, _p, _s) \ argument
62 _m, _p, _s, 0, 16), \
64 .pdiv = (_p), \
68 #define PLL_36XX_RATE(_fin, _rate, _m, _p, _s, _k) \ argument
71 _m, _p, _s, _k, 16), \
73 .pdiv = (_p), \
78 PLL_4508_RATE(_fin,_rate,_m,_p,_s,_afc) global() argument
88 PLL_4600_RATE(_fin,_rate,_m,_p,_s,_k,_vsel) global() argument
99 PLL_4650_RATE(_fin,_rate,_m,_p,_s,_k,_mfr,_mrr,_vsel) global() argument
[all...]
/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dmac-scc.c57 #define W32(_p, _m, _v) __fs_out32(&(_p)->_m, (_v)) argument
58 #define R32(_p, _m) __fs_in32(&(_p)->_m) argument
59 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument
60 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _ argument
62 W16(_p,_m,_v) global() argument
63 R16(_p,_m) global() argument
64 S16(_p,_m,_v) global() argument
65 C16(_p,_m,_v) global() argument
67 W8(_p,_m,_v) global() argument
68 R8(_p,_m) global() argument
69 S8(_p,_m,_v) global() argument
70 C8(_p,_m,_v) global() argument
[all...]
H A Dmac-fcc.c48 #define W32(_p, _m, _v) out_be32(&(_p)->_m, (_v)) argument
49 #define R32(_p, _m) in_be32(&(_p)->_m) argument
50 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument
51 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _ argument
53 W16(_p,_m,_v) global() argument
54 R16(_p,_m) global() argument
55 S16(_p,_m,_v) global() argument
56 C16(_p,_m,_v) global() argument
58 W8(_p,_m,_v) global() argument
59 R8(_p,_m) global() argument
60 S8(_p,_m,_v) global() argument
61 C8(_p,_m,_v) global() argument
[all...]
/linux/fs/bcachefs/
H A Dsiphash.h76 #define SipHash24_Update(_c, _p, _l) SipHash_Update((_c), 2, 4, (_p), (_l)) argument
79 #define SipHash24(_k, _p, _l) SipHash((_k), 2, 4, (_p), (_l)) argument
82 #define SipHash48_Update(_c, _p, _l) SipHash_Update((_c), 4, 8, (_p), (_l)) argument
85 #define SipHash48(_k, _p, _l) SipHash((_k), 4, 8, (_p), (_l)) argument
H A Dextents.h302 #define bkey_extent_entry_for_each_from(_p, _entry, _start) \ argument
303 __bkey_extent_entry_for_each_from(_start, (_p).end, _entry)
305 #define bkey_extent_entry_for_each(_p, _entry) \ argument
306 bkey_extent_entry_for_each_from(_p, _entry, _p.start)
313 #define bkey_ptr_next(_p, _ptr) \ argument
314 __bkey_ptr_next(_ptr, (_p).end)
316 #define bkey_for_each_ptr(_p, _ptr) \ argument
317 __bkey_for_each_ptr(&(_p).start->ptr, (_p)
356 bkey_for_each_ptr_decode(_k,_p,_ptr,_entry) global() argument
378 bkey_for_each_crc(_k,_p,_crc,_iter) global() argument
[all...]
/linux/drivers/net/ethernet/8390/
H A D8390.h153 * - the _p for generates no delay by default 8390p.c overrides this.
157 #define ei_inb(_p) inb(_p) argument
158 #define ei_outb(_v, _p) outb(_v, _p) argument
159 #define ei_inb_p(_p) inb(_p) argument
160 #define ei_outb_p(_v, _p) outb(_v, _p) argument
/linux/arch/arm/include/asm/
H A Dcacheflush.h390 char *_p = (char *)p; in __sync_cache_range_w() local
392 __cpuc_clean_dcache_area(_p, size); in __sync_cache_range_w()
393 outer_clean_range(__pa(_p), __pa(_p + size)); in __sync_cache_range_w()
404 char *_p = (char *)p; in __sync_cache_range_r() local
412 __cpuc_clean_dcache_area(_p, size); in __sync_cache_range_r()
415 outer_flush_range(__pa(_p), __pa(_p + size)); in __sync_cache_range_r()
420 __cpuc_flush_dcache_area(_p, size); in __sync_cache_range_r()
/linux/drivers/clk/sunxi-ng/
H A Dccu_mp.c27 unsigned int _m, _p; in ccu_mp_find_best() local
29 for (_p = 1; _p <= max_p; _p = next_div(_p, shift)) { in ccu_mp_find_best()
31 unsigned long tmp_rate = parent / _p / _m; in ccu_mp_find_best()
39 best_p = _p; in ccu_mp_find_best()
60 unsigned int _m, _p, div; in ccu_mp_find_best_with_parent_adj() local
72 for (_p = 1; _p < in ccu_mp_find_best_with_parent_adj()
[all...]
H A Dccu_nkmp.c37 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/arch/powerpc/include/asm/
H A Dbitops.h67 volatile unsigned long *_p) \
70 unsigned long *p = (unsigned long *)_p; \
97 static inline void fn(unsigned long mask, volatile unsigned long *_p) \
100 unsigned long *p = (unsigned long *)_p; \
154 volatile unsigned long *_p) \
157 unsigned long *p = (unsigned long *)_p; \
178 static inline unsigned long test_and_clear_bits(unsigned long mask, volatile unsigned long *_p) in test_and_clear_bits() argument
181 unsigned long *p = (unsigned long *)_p; in test_and_clear_bits()
/linux/include/linux/
H A Dsh_clk.h126 #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)
H A Dgeneric-radix-tree.h352 #define genradix_for_each_from(_radix, _iter, _p, _start) \ argument
354 (_p = genradix_iter_peek(&_iter, _radix)) != NULL; \
361 * @_p: pointer to genradix entry type
363 * On every iteration, @_p will point to the current entry, and @_iter.pos
366 #define genradix_for_each(_radix, _iter, _p) \ argument
367 genradix_for_each_from(_radix, _iter, _p, 0)
376 * @_p: pointer to genradix entry type
378 * On every iteration, @_p will point to the current entry, and @_iter.pos
381 #define genradix_for_each_reverse(_radix, _iter, _p) \ argument
383 (_p
[all...]
/linux/security/keys/
H A Dproc.c155 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, struc in proc_key_users_show()
[all...]
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dos.h51 u32 __iomem *_p = (u32 __iomem *)(p); \
53 iowrite32_native(lower_32_bits(_v), &_p[0]); \
54 iowrite32_native(upper_32_bits(_v), &_p[1]); \
H A Dpush.h93 struct nvif_push *_p = (p); \
95 PUSH_ASSERT(_p->cur < _p->seg, "segment overrun"); \
96 PUSH_ASSERT(_p->cur < _p->end, "pushbuf overrun"); \
97 PUSH_PRINTF(_p, "%08x"f, _d, ##a); \
98 *_p->cur++ = _d; \
127 struct nvif_push *_p = (p); \
129 PUSH_ASSERT(_p->cur + _s <= _p
[all...]
H A Dprintf.h9 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/clk/sunxi/
H A Dclk-sun9i-core.c156 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/
H A Dos.h20 typeof(p) _p = NULL; \
23 _p = p; \
27 _p; \
/linux/drivers/misc/sgi-xp/
H A Dxpc.h586 #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/iio/potentiometer/
H A Dx9250.c32 #define X9250_CMD_RD_WCR(_p) (0x90 | (_p)) argument
33 #define X9250_CMD_WR_WCR(_p) (0xa0 | (_p)) argument
/linux/drivers/irqchip/
H A Dirq-mscc-ocelot.c15 #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/
H A Dname_distr.c238 struct publication *_p; in tipc_publ_purge() local
244 _p = tipc_nametbl_remove_publ(net, &ua, &p->sk, p->key); in tipc_publ_purge()
245 if (_p) in tipc_publ_purge()
246 tipc_node_unsubscribe(net, &_p->binding_node, addr); in tipc_publ_purge()
248 if (_p) in tipc_publ_purge()
249 kfree_rcu(_p, rcu); in tipc_publ_purge()
/linux/lib/
H A Dbch.c79 #define GF_M(_p) (CONFIG_BCH_CONST_M) argument
80 #define GF_T(_p) (CONFIG_BCH_CONST_T) argument
81 #define GF_N(_p) ((1 << (CONFIG_BCH_CONST_M))-1) argument
85 #define GF_M(_p) ((_p)->m) argument
86 #define GF_T(_p) ((_p)->t) argument
87 #define GF_N(_p) ((_p)->n) argument
92 #define BCH_ECC_WORDS(_p) DIV_ROUND_U argument
93 BCH_ECC_BYTES(_p) global() argument
964 find_poly_roots(_p,_k,_elp,_loc) global() argument
[all...]
/linux/drivers/net/ethernet/sfc/
H A Def100_rx.c25 #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/scripts/package/
H A DPKGBUILD126 for _p in "${pkgname[@]}"; do
127 eval "package_$_p() {
128 $(declare -f "_package${_p#$pkgbase}")
129 _package${_p#$pkgbase}

123