Home
last modified time | relevance | path

Searched refs:member (Results 1 – 25 of 2465) sorted by relevance

12345678910>>...99

/linux/drivers/gpu/drm/nouveau/include/nvif/
A Dlist.h316 &pos->member != (head); \
317 pos = __container_of(pos->member.next, pos, member))
328 tmp = __container_of(pos->member.next, pos, member); \
329 &pos->member != (head); \
330 pos = tmp, tmp = __container_of(pos->member.next, tmp, member))
336 pos = __container_of(pos->member.prev, pos, member))
339 for (pos = __container_of(pos->member.next, pos, member); \
341 pos = __container_of(pos->member.next, pos, member))
344 for (pos = __container_of(pos->member.prev, pos, member); \
346 pos = __container_of(pos->member.prev, pos, member))
[all …]
/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_wqe.h26 << HINIC_CMDQ_CTRL_##member##_SHIFT)
30 & HINIC_CMDQ_CTRL_##member##_MASK)
86 << HINIC_SQ_CTRL_##member##_SHIFT)
90 & HINIC_SQ_CTRL_##member##_MASK)
94 << HINIC_SQ_CTRL_##member##_SHIFT)))
182 HINIC_RQ_CQE_SGE_##member##_MASK)
196 HINIC_RQ_CTRL_##member##_SHIFT)
217 RQ_CQE_STATUS_##member##_SHIFT) & \
218 RQ_CQE_STATUS_##member##_MASK)
242 RQ_CQE_SGE_##member##_SHIFT) & \
[all …]
A Dhinic_hw_if.h31 HINIC_DMA_ATTR_##member##_SHIFT)
51 (((val) >> HINIC_FA0_##member##_SHIFT) & HINIC_FA0_##member##_MASK)
71 (((val) >> HINIC_FA1_##member##_SHIFT) & HINIC_FA1_##member##_MASK)
77 (((val) >> HINIC_FA2_##member##_SHIFT) & HINIC_FA2_##member##_MASK)
86 (((val) >> HINIC_FA4_##member##_SHIFT) & HINIC_FA4_##member##_MASK)
89 ((((u32)val) & HINIC_FA4_##member##_MASK) << HINIC_FA4_##member##_SHIFT)
92 ((val) & (~(HINIC_FA4_##member##_MASK << HINIC_FA4_##member##_SHIFT)))
98 (((u32)(val) & HINIC_FA5_##member##_MASK) << HINIC_FA5_##member##_SHIFT)
101 ((val) & (~(HINIC_FA5_##member##_MASK << HINIC_FA5_##member##_SHIFT)))
132 HINIC_MSIX_##member##_SHIFT)
[all …]
A Dhinic_hw_api_cmd.h21 HINIC_API_CMD_PI_##member##_SHIFT)
25 << HINIC_API_CMD_PI_##member##_SHIFT)))
33 HINIC_API_CMD_CHAIN_REQ_##member##_SHIFT)
37 HINIC_API_CMD_CHAIN_REQ_##member##_MASK)
41 << HINIC_API_CMD_CHAIN_REQ_##member##_SHIFT)))
59 HINIC_API_CMD_CHAIN_CTRL_##member##_SHIFT)
63 << HINIC_API_CMD_CHAIN_CTRL_##member##_SHIFT)))
77 HINIC_API_CMD_CELL_CTRL_##member##_SHIFT)
95 HINIC_API_CMD_DESC_##member##_SHIFT)
103 HINIC_API_CMD_STATUS_HEADER_##member##_MASK)
[all …]
A Dhinic_hw_cmdq.h32 << HINIC_CMDQ_CTXT_##member##_SHIFT)
36 & HINIC_CMDQ_CTXT_##member##_MASK)
40 << HINIC_CMDQ_CTXT_##member##_SHIFT)))
50 << HINIC_CMDQ_CTXT_##member##_SHIFT)
54 & HINIC_CMDQ_CTXT_##member##_MASK)
58 << HINIC_CMDQ_CTXT_##member##_SHIFT)))
66 << HINIC_SAVED_DATA_##member##_SHIFT)
70 & HINIC_SAVED_DATA_##member##_MASK)
73 ((val) & (~(HINIC_SAVED_DATA_##member##_MASK \
74 << HINIC_SAVED_DATA_##member##_SHIFT)))
[all …]
A Dhinic_hw_eqs.h31 HINIC_AEQ_CTRL_0_##member##_SHIFT)
35 << HINIC_AEQ_CTRL_0_##member##_SHIFT)))
47 HINIC_AEQ_CTRL_1_##member##_SHIFT)
51 << HINIC_AEQ_CTRL_1_##member##_SHIFT)))
67 HINIC_CEQ_CTRL_0_##member##_SHIFT)
71 << HINIC_CEQ_CTRL_0_##member##_SHIFT)))
81 HINIC_CEQ_CTRL_1_##member##_SHIFT)
99 HINIC_EQ_ELEM_DESC_##member##_SHIFT)
103 HINIC_EQ_ELEM_DESC_##member##_MASK)
117 HINIC_EQ_CI_##member##_SHIFT)
[all …]
A Dhinic_hw_qp_ctxt.h22 << HINIC_SQ_CTXT_CEQ_ATTR_##member##_SHIFT)
31 (((u32)(val) & HINIC_SQ_CTXT_CI_##member##_MASK) \
32 << HINIC_SQ_CTXT_CI_##member##_SHIFT)
42 << HINIC_SQ_CTXT_WQ_PAGE_##member##_SHIFT)
60 << HINIC_SQ_CTXT_PREF_##member##_SHIFT)
68 << HINIC_SQ_CTXT_WQ_BLOCK_##member##_SHIFT)
78 << HINIC_RQ_CTXT_CEQ_ATTR_##member##_SHIFT)
88 HINIC_RQ_CTXT_PI_##member##_SHIFT)
98 HINIC_RQ_CTXT_WQ_PAGE_##member##_SHIFT)
116 HINIC_RQ_CTXT_PREF_##member##_SHIFT)
[all …]
/linux/tools/include/linux/
A Dlist.h352 container_of(ptr, type, member)
393 list_entry((pos)->member.next, typeof(*(pos)), member)
401 list_entry((pos)->member.prev, typeof(*(pos)), member)
448 &pos->member != (head); \
484 &pos->member != (head); \
586 n = list_next_entry(pos, member)
694 #define hlist_entry(ptr, type, member) container_of(ptr,type,member) argument
717 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
725 for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\
727 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
[all …]
A Dhashtable.h105 #define hash_for_each(name, bkt, obj, member) \ argument
108 hlist_for_each_entry(obj, &name[bkt], member)
119 #define hash_for_each_safe(name, bkt, tmp, obj, member) \ argument
122 hlist_for_each_entry_safe(obj, tmp, &name[bkt], member)
132 #define hash_for_each_possible(name, obj, member, key) \ argument
133 hlist_for_each_entry(obj, &name[hash_min(key, HASH_BITS(name))], member)
144 #define hash_for_each_possible_safe(name, obj, tmp, member, key) \ argument
146 &name[hash_min(key, HASH_BITS(name))], member)
/linux/include/linux/
A Drculist.h393 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
412 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
710 &(pos)->member)), typeof(*(pos)), member))
731 &(pos)->member)), typeof(*(pos)), member))
751 &(pos)->member)), typeof(*(pos)), member))
768 &(pos)->member)), typeof(*(pos)), member))
777 &(pos)->member)), typeof(*(pos)), member); \
780 &(pos)->member)), typeof(*(pos)), member))
789 &(pos)->member)), typeof(*(pos)), member); \
792 &(pos)->member)), typeof(*(pos)), member))
[all …]
A Dlist.h513 container_of(ptr, type, member)
524 list_entry((ptr)->next, type, member)
557 list_entry((pos)->member.next, typeof(*(pos)), member)
565 list_entry((pos)->member.prev, typeof(*(pos)), member)
621 (&pos->member == (head))
782 n = list_next_entry(pos, member)
974 #define hlist_entry(ptr, type, member) container_of(ptr,type,member) argument
997 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
1005 for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\
1007 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
[all …]
A Dllist.h82 #define llist_entry(ptr, type, member) \ argument
83 container_of(ptr, type, member)
99 #define member_address_is_nonnull(ptr, member) \ argument
100 ((uintptr_t)(ptr) + offsetof(typeof(*(ptr)), member) != 0)
153 #define llist_for_each_entry(pos, node, member) \ argument
154 for ((pos) = llist_entry((node), typeof(*(pos)), member); \
155 member_address_is_nonnull(pos, member); \
156 (pos) = llist_entry((pos)->member.next, typeof(*(pos)), member))
176 for (pos = llist_entry((node), typeof(*pos), member); \
177 member_address_is_nonnull(pos, member) && \
[all …]
A Dhashtable.h126 #define hash_for_each(name, bkt, obj, member) \ argument
129 hlist_for_each_entry(obj, &name[bkt], member)
138 #define hash_for_each_rcu(name, bkt, obj, member) \ argument
141 hlist_for_each_entry_rcu(obj, &name[bkt], member)
152 #define hash_for_each_safe(name, bkt, tmp, obj, member) \ argument
155 hlist_for_each_entry_safe(obj, tmp, &name[bkt], member)
165 #define hash_for_each_possible(name, obj, member, key) \ argument
178 member, ## cond)
193 &name[hash_min(key, HASH_BITS(name))], member)
204 #define hash_for_each_possible_safe(name, obj, tmp, member, key) \ argument
[all …]
A Dvirtio_config.h330 #define __virtio_native_type(structname, member) \ argument
331 typeof(virtio_to_cpu(NULL, ((structname*)0)->member))
336 typeof(((structname*)0)->member) virtio_cread_v; \
347 offsetof(structname, member), \
353 offsetof(structname, member), \
365 typeof(((structname*)0)->member) virtio_cwrite_v = \
400 typeof(((structname*)0)->member) virtio_cread_v; \
411 offsetof(structname, member), \
417 offsetof(structname, member), \
428 typeof(((structname*)0)->member) virtio_cwrite_v = \
[all …]
A Dlist_nulls.h32 #define hlist_nulls_entry(ptr, type, member) container_of(ptr,type,member) argument
34 #define hlist_nulls_entry_safe(ptr, type, member) \ argument
36 !is_a_nulls(____ptr) ? hlist_nulls_entry(____ptr, type, member) : NULL; \
127 #define hlist_nulls_for_each_entry(tpos, pos, head, member) \ argument
130 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \
140 #define hlist_nulls_for_each_entry_from(tpos, pos, member) \ argument
142 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \
/linux/drivers/isdn/mISDN/
A Ddsp_cmx.c184 member->dsp->name, member->dsp->pcm_slot_tx, in dsp_cmx_debug()
185 member->dsp->pcm_bank_tx, member->dsp->pcm_slot_rx, in dsp_cmx_debug()
186 member->dsp->pcm_bank_rx, member->dsp->hfc_conf, in dsp_cmx_debug()
187 member->dsp->tx_data, member->dsp->rx_is_off, in dsp_cmx_debug()
241 if (!member) { in dsp_cmx_add_conf_member()
255 dsp->member = member; in dsp_cmx_add_conf_member()
802 member->dsp->pcm_slot_tx, member->dsp->pcm_bank_tx, in dsp_cmx_hardware()
803 member->dsp->pcm_slot_rx, member->dsp->pcm_bank_rx); in dsp_cmx_hardware()
912 member->dsp->pcm_slot_tx, member->dsp->pcm_bank_tx, in dsp_cmx_hardware()
913 member->dsp->pcm_slot_rx, member->dsp->pcm_bank_rx); in dsp_cmx_hardware()
[all …]
/linux/drivers/infiniband/core/
A Dmulticast.c382 return member->multicast.callback(status, &member->multicast); in fail_join()
412 deref_member(member); in process_group_error()
469 deref_member(member); in mcast_work_handler()
503 ret = member->multicast.callback(status, &member->multicast); in process_join_error()
624 member = kmalloc(sizeof *member, gfp_mask); in ib_sa_join_multicast()
625 if (!member) in ib_sa_join_multicast()
640 if (!member->group) { in ib_sa_join_multicast()
652 queue_join(member); in ib_sa_join_multicast()
657 kfree(member); in ib_sa_join_multicast()
686 deref_member(member); in ib_sa_free_multicast()
[all …]
/linux/scripts/kconfig/
A Dlist.h20 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
21 (type *)( (char *)__mptr - offsetof(type,member) );})
40 #define list_entry(ptr, type, member) \ argument
41 container_of(ptr, type, member)
49 #define list_for_each_entry(pos, head, member) \ argument
51 &pos->member != (head); \
52 pos = list_entry(pos->member.next, typeof(*pos), member))
61 #define list_for_each_entry_safe(pos, n, head, member) \ argument
63 n = list_entry(pos->member.next, typeof(*pos), member); \
64 &pos->member != (head); \
[all …]
/linux/tools/firewire/
A Dlist.h47 #define list_entry(link, type, member) \ argument
50 #define list_head(list, type, member) \ argument
51 list_entry((list)->next, type, member)
53 #define list_tail(list, type, member) \ argument
54 list_entry((list)->prev, type, member)
56 #define list_next(elm, member) \ argument
57 list_entry((elm)->member.next, typeof(*elm), member)
59 #define list_for_each_entry(pos, list, member) \ argument
60 for (pos = list_head(list, typeof(*pos), member); \
61 &pos->member != (list); \
[all …]
/linux/security/tomoyo/
A Dgroup.c134 struct tomoyo_path_group *member; in tomoyo_path_matches_group() local
138 if (member->head.is_deleted) in tomoyo_path_matches_group()
142 return member->member_name; in tomoyo_path_matches_group()
162 struct tomoyo_number_group *member; in tomoyo_number_matches_group() local
167 if (member->head.is_deleted) in tomoyo_number_matches_group()
169 if (min > member->number.values[1] || in tomoyo_number_matches_group()
170 max < member->number.values[0]) in tomoyo_number_matches_group()
192 struct tomoyo_address_group *member; in tomoyo_address_matches_group() local
198 if (member->head.is_deleted) in tomoyo_address_matches_group()
200 if (member->address.is_ipv6 != is_ipv6) in tomoyo_address_matches_group()
[all …]
/linux/arch/powerpc/include/asm/
A Dfs_pd.h24 #define cpm2_map(member) (&cpm2_immr->member) argument
25 #define cpm2_map_size(member, size) (&cpm2_immr->member) argument
34 #define immr_map(member) (&mpc8xx_immr->member) argument
35 #define immr_map_size(member, size) (&mpc8xx_immr->member) argument
/linux/drivers/gpu/drm/
A Ddrm_prime.c104 struct drm_prime_member *member; in drm_prime_add_buf_handle() local
107 member = kmalloc(sizeof(*member), GFP_KERNEL); in drm_prime_add_buf_handle()
108 if (!member) in drm_prime_add_buf_handle()
112 member->dma_buf = dma_buf; in drm_prime_add_buf_handle()
113 member->handle = handle; in drm_prime_add_buf_handle()
155 struct drm_prime_member *member; in drm_prime_lookup_buf_by_handle() local
158 if (member->handle == handle) in drm_prime_lookup_buf_by_handle()
159 return member->dma_buf; in drm_prime_lookup_buf_by_handle()
177 struct drm_prime_member *member; in drm_prime_lookup_buf_handle() local
181 *handle = member->handle; in drm_prime_lookup_buf_handle()
[all …]
/linux/drivers/net/dsa/
A Drtl8366.c86 vlanmc->member = vlan4k.member; in rtl8366_obtain_mc()
117 vlanmc->member = vlan4k.member; in rtl8366_obtain_mc()
149 vid, member, untag); in rtl8366_set_vlan()
156 vlan4k.member |= member; in rtl8366_set_vlan()
165 vid, vlan4k.member, vlan4k.untag); in rtl8366_set_vlan()
174 vlanmc.member |= member; in rtl8366_set_vlan()
282 vlanmc.member = 0; in rtl8366_reset_vlan()
302 u32 member = 0; in rtl8366_vlan_add() local
325 member |= BIT(port); in rtl8366_vlan_add()
367 vlanmc.member &= ~BIT(port); in rtl8366_vlan_del()
[all …]
/linux/arch/alpha/kernel/
A Dsetup.c876 if (member < ARRAY_SIZE(alcor_indices)) in get_sysvec()
880 if (member < ARRAY_SIZE(eb164_indices)) in get_sysvec()
888 if (member < ARRAY_SIZE(eb64p_indices)) in get_sysvec()
892 if (member < ARRAY_SIZE(eb66_indices)) in get_sysvec()
893 vec = eb66_vecs[eb66_indices[member]]; in get_sysvec()
901 if (member < ARRAY_SIZE(titan_indices)) in get_sysvec()
989 unsigned long member; in get_sysnames() local
1030 if (member < ARRAY_SIZE(alcor_indices)) in get_sysnames()
1034 if (member < ARRAY_SIZE(eb64p_indices)) in get_sysnames()
1038 if (member < ARRAY_SIZE(eb66_indices)) in get_sysnames()
[all …]
/linux/drivers/clk/sprd/
A Dpll.c18 #define pindex(pll, member) \ argument
21 #define pshift(pll, member) \ argument
24 #define pwidth(pll, member) \ argument
25 pll->factors[member].width
27 #define pmask(pll, member) \ argument
28 ((pwidth(pll, member)) ? \
29 GENMASK(pwidth(pll, member) + pshift(pll, member) - 1, \
30 pshift(pll, member)) : 0)
32 #define pinternal(pll, cfg, member) \ argument
33 (cfg[pindex(pll, member)] & pmask(pll, member))
[all …]

Completed in 48 milliseconds

12345678910>>...99