Home
last modified time | relevance | path

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

12

/linux-2.6.39/drivers/staging/rt2860/
Drt_linux.h146 #define NDIS_SET_PACKET_STATUS(_p, _status) do{} while(0) argument
624 #define GET_SG_LIST_FROM_PACKET(_p, _sc) \ argument
625 rt_get_sg_list_from_packet(_p, _sc)
637 #define RTPKT_TO_OSPKT(_p) ((struct sk_buff *)(_p)) argument
638 #define OSPKT_TO_RTPKT(_p) ((void *)(_p)) argument
686 #define RTMP_SET_PACKET_UP(_p, _prio) (RTPKT_TO_OSPKT(_p)->cb[CB_OFF+0] = _prio) argument
687 #define RTMP_GET_PACKET_UP(_p) (RTPKT_TO_OSPKT(_p)->cb[CB_OFF+0]) argument
690 #define RTMP_SET_PACKET_FRAGMENTS(_p, _num) (RTPKT_TO_OSPKT(_p)->cb[CB_OFF+1] = _num) argument
691 #define RTMP_GET_PACKET_FRAGMENTS(_p) (RTPKT_TO_OSPKT(_p)->cb[CB_OFF+1]) argument
696 #define RTMP_SET_PACKET_WCID(_p, _wdsidx) (RTPKT_TO_OSPKT(_p)->cb[CB_OFF+2] = _wdsidx) argument
[all …]
Drtmp.h253 #define STA_NO_SECURITY_ON(_p) (_p->StaCfg.WepStatus == Ndis802_11EncryptionDisabled) argument
254 #define STA_WEP_ON(_p) (_p->StaCfg.WepStatus == Ndis802_11Encryption1Enabled) argument
255 #define STA_TKIP_ON(_p) (_p->StaCfg.WepStatus == Ndis802_11Encryption2Enabled) argument
256 #define STA_AES_ON(_p) (_p->StaCfg.WepStatus == Ndis802_11Encryption3Enabled) argument
258 #define STA_TGN_WIFI_ON(_p) (_p->StaCfg.bTGnWifiTest == TRUE) argument
260 #define CKIP_KP_ON(_p) ((((_p)->StaCfg.CkipFlag) & 0x10) && ((_p)->StaCfg.bCkipCmicOn == TRUE)) argument
261 #define CKIP_CMIC_ON(_p) ((((_p)->StaCfg.CkipFlag) & 0x08) && ((_p)->StaCfg.bCkipCmicOn == TRUE)) argument
332 #define INFRA_ON(_p) (OPSTATUS_TEST_FLAG(_p, fOP_STATUS_INFRA_ON)) argument
333 #define ADHOC_ON(_p) (OPSTATUS_TEST_FLAG(_p, fOP_STATUS_ADHOC_ON)) argument
334 #define MONITOR_ON(_p) (((_p)->StaCfg.BssType) == BSS_MONITOR) argument
[all …]
/linux-2.6.39/arch/blackfin/include/asm/
Duaccess.h92 typeof(*(p)) *_p = (p); \
93 if (!access_ok(VERIFY_WRITE, _p, sizeof(*(_p)))) {\
97 switch (sizeof (*(_p))) { \
99 __put_user_asm(_x, _p, B); \
102 __put_user_asm(_x, _p, W); \
105 __put_user_asm(_x, _p, ); \
111 __put_user_asm(_xl, ((long *)_p)+0, ); \
112 __put_user_asm(_xh, ((long *)_p)+1, ); \
150 const typeof(*(ptr)) __user *_p = (ptr); \
151 const size_t ptr_size = sizeof(*(_p)); \
[all …]
/linux-2.6.39/drivers/net/fs_enet/
Dmac-scc.c68 #define W32(_p, _m, _v) __fs_out32(&(_p)->_m, (_v)) argument
69 #define R32(_p, _m) __fs_in32(&(_p)->_m) argument
70 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument
71 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) argument
73 #define W16(_p, _m, _v) __fs_out16(&(_p)->_m, (_v)) argument
74 #define R16(_p, _m) __fs_in16(&(_p)->_m) argument
75 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) argument
76 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) argument
78 #define W8(_p, _m, _v) __fs_out8(&(_p)->_m, (_v)) argument
79 #define R8(_p, _m) __fs_in8(&(_p)->_m) argument
[all …]
Dmac-fcc.c53 #define W32(_p, _m, _v) out_be32(&(_p)->_m, (_v)) argument
54 #define R32(_p, _m) in_be32(&(_p)->_m) argument
55 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument
56 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) argument
58 #define W16(_p, _m, _v) out_be16(&(_p)->_m, (_v)) argument
59 #define R16(_p, _m) in_be16(&(_p)->_m) argument
60 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) argument
61 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) argument
63 #define W8(_p, _m, _v) out_8(&(_p)->_m, (_v)) argument
64 #define R8(_p, _m) in_8(&(_p)->_m) argument
[all …]
/linux-2.6.39/drivers/net/
D8390p.c6 #define ei_inb(_p) inb(_p) argument
7 #define ei_outb(_v, _p) outb(_v, _p) argument
8 #define ei_inb_p(_p) inb_p(_p) argument
9 #define ei_outb_p(_v, _p) outb_p(_v, _p) argument
D8390.h150 #define ei_inb(_p) inb(_p) argument
151 #define ei_outb(_v,_p) outb(_v,_p) argument
152 #define ei_inb_p(_p) inb(_p) argument
153 #define ei_outb_p(_v,_p) outb(_v,_p) argument
/linux-2.6.39/arch/frv/include/asm/
Duaccess.h122 typeof(*(ptr)) __user *_p = (ptr); \
125 _e = __range_ok(_p, sizeof(*_p)); \
127 _e = __put_user((x), _p); \
214 const typeof(*(ptr)) __user *_p = (ptr);\
217 _e = __range_ok(_p, sizeof(*_p)); \
219 _e = __get_user((x), _p); \
/linux-2.6.39/arch/ia64/include/asm/xen/
Dhypervisor.h52 #define scrub_pages(_p, _n) memset((void *)(_p), 0, (_n) << PAGE_SHIFT) argument
54 #define scrub_pages(_p, _n) ((void)0) argument
/linux-2.6.39/security/keys/
Dproc.c186 struct rb_node *_p = v; in proc_keys_show() local
187 struct key *key = rb_entry(_p, struct key, serial_node); in proc_keys_show()
306 struct rb_node *_p; in proc_key_users_start() local
311 _p = key_user_first(&key_user_tree); in proc_key_users_start()
312 while (pos > 0 && _p) { in proc_key_users_start()
314 _p = key_user_next(_p); in proc_key_users_start()
317 return _p; in proc_key_users_start()
334 struct rb_node *_p = v; in proc_key_users_show() local
335 struct key_user *user = rb_entry(_p, struct key_user, node); in proc_key_users_show()
/linux-2.6.39/drivers/staging/ath6kl/reorder/
Daggr_rx_internal.h47 #define AGGR_GET_RXTID_STATS(_p, _x) (&(_p->stat[(_x)])) argument
48 #define AGGR_GET_RXTID(_p, _x) (&(_p->RxTid[(_x)])) argument
/linux-2.6.39/arch/frv/mm/
Dmmu-context.c46 struct list_head *_p; in get_cxn() local
64 list_for_each(_p, &cxn_owners_lru) { in get_cxn()
65 p = list_entry(_p, mm_context_t, id_link); in get_cxn()
70 BUG_ON(_p == &cxn_owners_lru); in get_cxn()
/linux-2.6.39/drivers/staging/zcache/
Dtmem.h80 #define is_persistent(_p) (_p->persistent) argument
81 #define is_ephemeral(_p) (!(_p->persistent)) argument
/linux-2.6.39/scripts/kconfig/
Dkconfig_load.c7 #define P(name,type,arg) type (*name ## _p) arg
27 name ## _p = dlsym(handle, #name); \ in kconfig_load()
/linux-2.6.39/arch/arm/plat-samsung/include/plat/
Dcpu-freq.h88 #define PLLVAL(_m, _p, _s) (((_m) << 12) | ((_p) << 4) | (_s)) argument
/linux-2.6.39/drivers/misc/sgi-xp/
Dxpc.h847 #define XPC_DEACTIVATE_PARTITION(_p, _reason) \ argument
848 xpc_deactivate_partition(__LINE__, (_p), (_reason))
871 #define XPC_PARTID(_p) ((short)((_p) - &xpc_partitions[0])) argument
998 #define XPC_SET_REASON(_p, _reason, _line) \ argument
1000 (_p)->reason = _reason; \
1001 (_p)->reason_line = _line; \
/linux-2.6.39/arch/powerpc/include/asm/
Dbitops.h62 volatile unsigned long *_p) \
65 unsigned long *p = (unsigned long *)_p; \
109 volatile unsigned long *_p) \
112 unsigned long *p = (unsigned long *)_p; \
/linux-2.6.39/lib/
Dbch.c78 #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
82 #define GF_M(_p) ((_p)->m) argument
83 #define GF_T(_p) ((_p)->t) argument
84 #define GF_N(_p) ((_p)->n) argument
87 #define BCH_ECC_WORDS(_p) DIV_ROUND_UP(GF_M(_p)*GF_T(_p), 32) argument
88 #define BCH_ECC_BYTES(_p) DIV_ROUND_UP(GF_M(_p)*GF_T(_p), 8) argument
941 #define find_poly_roots(_p, _k, _elp, _loc) chien_search(_p, len, _elp, _loc) argument
/linux-2.6.39/arch/arm/mach-s5p6442/include/mach/
Dregs-clock.h68 #define S5P_EPLLVAL(_m, _p, _s) ((_m) << 16 | ((_p) << 8) | ((_s))) argument
/linux-2.6.39/virt/kvm/
Deventfd.c519 struct _ioeventfd *_p; in ioeventfd_check_collision() local
521 list_for_each_entry(_p, &kvm->ioeventfds, list) in ioeventfd_check_collision()
522 if (_p->addr == p->addr && _p->length == p->length && in ioeventfd_check_collision()
523 (_p->wildcard || p->wildcard || in ioeventfd_check_collision()
524 _p->datamatch == p->datamatch)) in ioeventfd_check_collision()
/linux-2.6.39/fs/proc/
Dtask_nommu.c185 static int show_map(struct seq_file *m, void *_p) in show_map() argument
187 struct rb_node *p = _p; in show_map()
231 static void *m_next(struct seq_file *m, void *_p, loff_t *pos) in m_next() argument
233 struct rb_node *p = _p; in m_next()
Dnommu.c80 static int nommu_region_list_show(struct seq_file *m, void *_p) in nommu_region_list_show() argument
82 struct rb_node *p = _p; in nommu_region_list_show()
/linux-2.6.39/drivers/net/arm/
Detherh.c54 #define ei_inb(_p) readb((void __iomem *)_p) argument
55 #define ei_outb(_v,_p) writeb(_v,(void __iomem *)_p) argument
56 #define ei_inb_p(_p) readb((void __iomem *)_p) argument
57 #define ei_outb_p(_v,_p) writeb(_v,(void __iomem *)_p) argument
/linux-2.6.39/arch/arm/mach-s3c2410/include/mach/
Dregs-clock.h18 #define S3C2410_PLLVAL(_m,_p,_s) ((_m) << 12 | ((_p) << 4) | ((_s))) argument
/linux-2.6.39/fs/cachefiles/
Dnamei.c155 struct rb_node **_p, *_parent = NULL; in cachefiles_mark_object_active() local
170 _p = &cache->active_nodes.rb_node; in cachefiles_mark_object_active()
171 while (*_p) { in cachefiles_mark_object_active()
172 _parent = *_p; in cachefiles_mark_object_active()
179 _p = &(*_p)->rb_left; in cachefiles_mark_object_active()
181 _p = &(*_p)->rb_right; in cachefiles_mark_object_active()
186 rb_link_node(&object->active_node, _parent, _p); in cachefiles_mark_object_active()

12