Home
last modified time | relevance | path

Searched full:member (Results 1 – 25 of 2176) sorted by relevance

12345678910>>...88

/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wqe.h24 #define HINIC_CMDQ_CTRL_SET(val, member) \ argument
25 (((u32)(val) & HINIC_CMDQ_CTRL_##member##_MASK) \
26 << HINIC_CMDQ_CTRL_##member##_SHIFT)
28 #define HINIC_CMDQ_CTRL_GET(val, member) \ argument
29 (((val) >> HINIC_CMDQ_CTRL_##member##_SHIFT) \
30 & HINIC_CMDQ_CTRL_##member##_MASK)
48 #define HINIC_CMDQ_WQE_HEADER_SET(val, member) \ argument
49 (((u32)(val) & HINIC_CMDQ_WQE_HEADER_##member##_MASK) \
50 << HINIC_CMDQ_WQE_HEADER_##member##_SHIFT)
52 #define HINIC_CMDQ_WQE_HEADER_GET(val, member) \ argument
[all …]
Dhinic_hw_api_cmd.h19 #define HINIC_API_CMD_PI_SET(val, member) \ argument
20 (((u32)(val) & HINIC_API_CMD_PI_##member##_MASK) << \
21 HINIC_API_CMD_PI_##member##_SHIFT)
23 #define HINIC_API_CMD_PI_CLEAR(val, member) \ argument
24 ((val) & (~(HINIC_API_CMD_PI_##member##_MASK \
25 << HINIC_API_CMD_PI_##member##_SHIFT)))
31 #define HINIC_API_CMD_CHAIN_REQ_SET(val, member) \ argument
32 (((u32)(val) & HINIC_API_CMD_CHAIN_REQ_##member##_MASK) << \
33 HINIC_API_CMD_CHAIN_REQ_##member##_SHIFT)
35 #define HINIC_API_CMD_CHAIN_REQ_GET(val, member) \ argument
[all …]
Dhinic_hw_if.h29 #define HINIC_DMA_ATTR_SET(val, member) \ argument
30 (((u32)(val) & HINIC_DMA_ATTR_##member##_MASK) << \
31 HINIC_DMA_ATTR_##member##_SHIFT)
33 #define HINIC_DMA_ATTR_CLEAR(val, member) \ argument
34 ((val) & (~(HINIC_DMA_ATTR_##member##_MASK \
35 << HINIC_DMA_ATTR_##member##_SHIFT)))
50 #define HINIC_FA0_GET(val, member) \ argument
51 (((val) >> HINIC_FA0_##member##_SHIFT) & HINIC_FA0_##member##_MASK)
70 #define HINIC_FA1_GET(val, member) \ argument
71 (((val) >> HINIC_FA1_##member##_SHIFT) & HINIC_FA1_##member##_MASK)
[all …]
Dhinic_hw_cmdq.h30 #define HINIC_CMDQ_CTXT_PAGE_INFO_SET(val, member) \ argument
31 (((u64)(val) & HINIC_CMDQ_CTXT_##member##_MASK) \
32 << HINIC_CMDQ_CTXT_##member##_SHIFT)
34 #define HINIC_CMDQ_CTXT_PAGE_INFO_GET(val, member) \ argument
35 (((u64)(val) >> HINIC_CMDQ_CTXT_##member##_SHIFT) \
36 & HINIC_CMDQ_CTXT_##member##_MASK)
38 #define HINIC_CMDQ_CTXT_PAGE_INFO_CLEAR(val, member) \ argument
39 ((val) & (~((u64)HINIC_CMDQ_CTXT_##member##_MASK \
40 << HINIC_CMDQ_CTXT_##member##_SHIFT)))
48 #define HINIC_CMDQ_CTXT_BLOCK_INFO_SET(val, member) \ argument
[all …]
Dhinic_hw_eqs.h29 #define HINIC_AEQ_CTRL_0_SET(val, member) \ argument
30 (((u32)(val) & HINIC_AEQ_CTRL_0_##member##_MASK) << \
31 HINIC_AEQ_CTRL_0_##member##_SHIFT)
33 #define HINIC_AEQ_CTRL_0_CLEAR(val, member) \ argument
34 ((val) & (~(HINIC_AEQ_CTRL_0_##member##_MASK \
35 << HINIC_AEQ_CTRL_0_##member##_SHIFT)))
45 #define HINIC_AEQ_CTRL_1_SET(val, member) \ argument
46 (((u32)(val) & HINIC_AEQ_CTRL_1_##member##_MASK) << \
47 HINIC_AEQ_CTRL_1_##member##_SHIFT)
49 #define HINIC_AEQ_CTRL_1_CLEAR(val, member) \ argument
[all …]
Dhinic_hw_qp_ctxt.h20 #define HINIC_SQ_CTXT_CEQ_ATTR_SET(val, member) \ argument
21 (((u32)(val) & HINIC_SQ_CTXT_CEQ_ATTR_##member##_MASK) \
22 << HINIC_SQ_CTXT_CEQ_ATTR_##member##_SHIFT)
30 #define HINIC_SQ_CTXT_CI_SET(val, member) \ argument
31 (((u32)(val) & HINIC_SQ_CTXT_CI_##member##_MASK) \
32 << HINIC_SQ_CTXT_CI_##member##_SHIFT)
40 #define HINIC_SQ_CTXT_WQ_PAGE_SET(val, member) \ argument
41 (((u32)(val) & HINIC_SQ_CTXT_WQ_PAGE_##member##_MASK) \
42 << HINIC_SQ_CTXT_WQ_PAGE_##member##_SHIFT)
58 #define HINIC_SQ_CTXT_PREF_SET(val, member) \ argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wqe.h24 #define HINIC_CMDQ_CTRL_SET(val, member) \ argument
25 (((u32)(val) & HINIC_CMDQ_CTRL_##member##_MASK) \
26 << HINIC_CMDQ_CTRL_##member##_SHIFT)
28 #define HINIC_CMDQ_CTRL_GET(val, member) \ argument
29 (((val) >> HINIC_CMDQ_CTRL_##member##_SHIFT) \
30 & HINIC_CMDQ_CTRL_##member##_MASK)
48 #define HINIC_CMDQ_WQE_HEADER_SET(val, member) \ argument
49 (((u32)(val) & HINIC_CMDQ_WQE_HEADER_##member##_MASK) \
50 << HINIC_CMDQ_WQE_HEADER_##member##_SHIFT)
52 #define HINIC_CMDQ_WQE_HEADER_GET(val, member) \ argument
[all …]
Dhinic_hw_if.h29 #define HINIC_DMA_ATTR_SET(val, member) \ argument
30 (((u32)(val) & HINIC_DMA_ATTR_##member##_MASK) << \
31 HINIC_DMA_ATTR_##member##_SHIFT)
33 #define HINIC_DMA_ATTR_CLEAR(val, member) \ argument
34 ((val) & (~(HINIC_DMA_ATTR_##member##_MASK \
35 << HINIC_DMA_ATTR_##member##_SHIFT)))
50 #define HINIC_FA0_GET(val, member) \ argument
51 (((val) >> HINIC_FA0_##member##_SHIFT) & HINIC_FA0_##member##_MASK)
70 #define HINIC_FA1_GET(val, member) \ argument
71 (((val) >> HINIC_FA1_##member##_SHIFT) & HINIC_FA1_##member##_MASK)
[all …]
Dhinic_hw_api_cmd.h19 #define HINIC_API_CMD_PI_SET(val, member) \ argument
20 (((u32)(val) & HINIC_API_CMD_PI_##member##_MASK) << \
21 HINIC_API_CMD_PI_##member##_SHIFT)
23 #define HINIC_API_CMD_PI_CLEAR(val, member) \ argument
24 ((val) & (~(HINIC_API_CMD_PI_##member##_MASK \
25 << HINIC_API_CMD_PI_##member##_SHIFT)))
31 #define HINIC_API_CMD_CHAIN_REQ_SET(val, member) \ argument
32 (((u32)(val) & HINIC_API_CMD_CHAIN_REQ_##member##_MASK) << \
33 HINIC_API_CMD_CHAIN_REQ_##member##_SHIFT)
35 #define HINIC_API_CMD_CHAIN_REQ_GET(val, member) \ argument
[all …]
Dhinic_hw_cmdq.h30 #define HINIC_CMDQ_CTXT_PAGE_INFO_SET(val, member) \ argument
31 (((u64)(val) & HINIC_CMDQ_CTXT_##member##_MASK) \
32 << HINIC_CMDQ_CTXT_##member##_SHIFT)
34 #define HINIC_CMDQ_CTXT_PAGE_INFO_GET(val, member) \ argument
35 (((u64)(val) >> HINIC_CMDQ_CTXT_##member##_SHIFT) \
36 & HINIC_CMDQ_CTXT_##member##_MASK)
38 #define HINIC_CMDQ_CTXT_PAGE_INFO_CLEAR(val, member) \ argument
39 ((val) & (~((u64)HINIC_CMDQ_CTXT_##member##_MASK \
40 << HINIC_CMDQ_CTXT_##member##_SHIFT)))
48 #define HINIC_CMDQ_CTXT_BLOCK_INFO_SET(val, member) \ argument
[all …]
Dhinic_hw_eqs.h29 #define HINIC_AEQ_CTRL_0_SET(val, member) \ argument
30 (((u32)(val) & HINIC_AEQ_CTRL_0_##member##_MASK) << \
31 HINIC_AEQ_CTRL_0_##member##_SHIFT)
33 #define HINIC_AEQ_CTRL_0_CLEAR(val, member) \ argument
34 ((val) & (~(HINIC_AEQ_CTRL_0_##member##_MASK \
35 << HINIC_AEQ_CTRL_0_##member##_SHIFT)))
45 #define HINIC_AEQ_CTRL_1_SET(val, member) \ argument
46 (((u32)(val) & HINIC_AEQ_CTRL_1_##member##_MASK) << \
47 HINIC_AEQ_CTRL_1_##member##_SHIFT)
49 #define HINIC_AEQ_CTRL_1_CLEAR(val, member) \ argument
[all …]
Dhinic_hw_qp_ctxt.h20 #define HINIC_SQ_CTXT_CEQ_ATTR_SET(val, member) \ argument
21 (((u32)(val) & HINIC_SQ_CTXT_CEQ_ATTR_##member##_MASK) \
22 << HINIC_SQ_CTXT_CEQ_ATTR_##member##_SHIFT)
30 #define HINIC_SQ_CTXT_CI_SET(val, member) \ argument
31 (((u32)(val) & HINIC_SQ_CTXT_CI_##member##_MASK) \
32 << HINIC_SQ_CTXT_CI_##member##_SHIFT)
40 #define HINIC_SQ_CTXT_WQ_PAGE_SET(val, member) \ argument
41 (((u32)(val) & HINIC_SQ_CTXT_WQ_PAGE_##member##_MASK) \
42 << HINIC_SQ_CTXT_WQ_PAGE_##member##_SHIFT)
58 #define HINIC_SQ_CTXT_PREF_SET(val, member) \ argument
[all …]
/kernel/linux/linux-5.10/tools/include/linux/
Dlist.h198 * in the process of modifying either member (next or prev)
349 * @member: the name of the list_head within the struct.
351 #define list_entry(ptr, type, member) \ argument
352 container_of(ptr, type, member)
358 * @member: the name of the list_head within the struct.
362 #define list_first_entry(ptr, type, member) \ argument
363 list_entry((ptr)->next, type, member)
369 * @member: the name of the list_head within the struct.
373 #define list_last_entry(ptr, type, member) \ argument
374 list_entry((ptr)->prev, type, member)
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
Dlist.h250 * @param member Member name of the struct list_head field in the list element.
254 #define container_of(ptr, type, member) \ argument
255 (type *)((char *)(ptr) - (char *) &((type *)0)->member)
261 #define list_entry(ptr, type, member) \ argument
262 container_of(ptr, type, member)
273 * @param member Member name of the struct list_head field in the list element.
276 #define list_first_entry(ptr, type, member) \ argument
277 list_entry((ptr)->next, type, member)
288 * @param member Member name of the struct list_head field in the list element.
291 #define list_last_entry(ptr, type, member) \ argument
[all …]
/kernel/linux/linux-6.6/tools/include/linux/
Dlist.h198 * in the process of modifying either member (next or prev)
349 * @member: the name of the list_head within the struct.
351 #define list_entry(ptr, type, member) \ argument
352 container_of(ptr, type, member)
358 * @member: the name of the list_head within the struct.
362 #define list_first_entry(ptr, type, member) \ argument
363 list_entry((ptr)->next, type, member)
369 * @member: the name of the list_head within the struct.
373 #define list_last_entry(ptr, type, member) \ argument
374 list_entry((ptr)->prev, type, member)
[all …]
/kernel/linux/linux-6.6/scripts/kconfig/
Dlist.h10 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
13 * container_of - cast a member of a structure out to the containing structure
14 * @ptr: the pointer to the member.
16 * @member: the name of the member within the struct.
19 #define container_of(ptr, type, member) ({ \ argument
20 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
21 (type *)( (char *)__mptr - offsetof(type,member) );})
38 * @member: the name of the list_head within the struct.
40 #define list_entry(ptr, type, member) \ argument
41 container_of(ptr, type, member)
[all …]
/kernel/linux/linux-5.10/scripts/kconfig/
Dlist.h10 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
13 * container_of - cast a member of a structure out to the containing structure
14 * @ptr: the pointer to the member.
16 * @member: the name of the member within the struct.
19 #define container_of(ptr, type, member) ({ \ argument
20 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
21 (type *)( (char *)__mptr - offsetof(type,member) );})
38 * @member: the name of the list_head within the struct.
40 #define list_entry(ptr, type, member) \ argument
41 container_of(ptr, type, member)
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/core/
Dmulticast.c200 static void deref_member(struct mcast_member *member) in deref_member() argument
202 if (refcount_dec_and_test(&member->refcount)) in deref_member()
203 complete(&member->comp); in deref_member()
206 static void queue_join(struct mcast_member *member) in queue_join() argument
208 struct mcast_group *group = member->group; in queue_join()
212 list_add_tail(&member->list, &group->pending_list); in queue_join()
222 * A multicast group has four types of members: full member, non member,
223 * sendonly non member and sendonly full member.
239 * the group is still a member with the SA, we need to leave that join state.
330 static int send_join(struct mcast_group *group, struct mcast_member *member) in send_join() argument
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dmulticast.c200 static void deref_member(struct mcast_member *member) in deref_member() argument
202 if (atomic_dec_and_test(&member->refcount)) in deref_member()
203 complete(&member->comp); in deref_member()
206 static void queue_join(struct mcast_member *member) in queue_join() argument
208 struct mcast_group *group = member->group; in queue_join()
212 list_add_tail(&member->list, &group->pending_list); in queue_join()
222 * A multicast group has four types of members: full member, non member,
223 * sendonly non member and sendonly full member.
239 * the group is still a member with the SA, we need to leave that join state.
330 static int send_join(struct mcast_group *group, struct mcast_member *member) in send_join() argument
[all …]
/kernel/linux/linux-6.6/scripts/mod/
Dlist.h12 * container_of - cast a member of a structure out to the containing structure
13 * @ptr: the pointer to the member.
15 * @member: the name of the member within the struct.
18 #define container_of(ptr, type, member) ({ \ argument
20 _Static_assert(__same_type(*(ptr), ((type *)0)->member) || \
23 ((type *)(__mptr - offsetof(type, member))); })
156 * @member: the name of the list_head within the struct.
158 #define list_entry(ptr, type, member) \ argument
159 container_of(ptr, type, member)
165 * @member: the name of the list_head within the struct.
[all …]
/kernel/linux/linux-5.10/include/linux/
Dstddef.h17 #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) argument
19 #define offsetof(TYPE, MEMBER) ((size_t)&((TYPE *)0)->MEMBER) argument
23 * sizeof_field(TYPE, MEMBER)
26 * @MEMBER: The field to return the size of
28 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument
31 * offsetofend(TYPE, MEMBER)
34 * @MEMBER: The member within the structure to get the end offset of
36 #define offsetofend(TYPE, MEMBER) \ argument
37 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
43 * @MEMBERS: The member declarations for the mirrored structs
[all …]
Dlist.h309 * in the process of modifying either member (next or prev)
508 * @member: the name of the list_head within the struct.
510 #define list_entry(ptr, type, member) \ argument
511 container_of(ptr, type, member)
517 * @member: the name of the list_head within the struct.
521 #define list_first_entry(ptr, type, member) \ argument
522 list_entry((ptr)->next, type, member)
528 * @member: the name of the list_head within the struct.
532 #define list_last_entry(ptr, type, member) \ argument
533 list_entry((ptr)->prev, type, member)
[all …]
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Ddsp_cmx.c32 * There are 3 types of interaction: One member is alone, in this case only
54 * individual member. This is only the case if data needs to be dejittered
87 * If a member joins a conference:
89 * - If a member joins, its rx_buff is set to silence and change read pointer
109 * If tones are generated by hardware, this conference member is removed for
162 struct dsp_conf_member *member; in dsp_cmx_debug() local
179 list_for_each_entry(member, &conf->mlist, list) { in dsp_cmx_debug()
181 " - member = %s (slot_tx %d, bank_tx %d, " in dsp_cmx_debug()
184 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()
[all …]
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
Ddsp_cmx.c32 * There are 3 types of interaction: One member is alone, in this case only
54 * individual member. This is only the case if data needs to be dejittered
87 * If a member joins a conference:
89 * - If a member joins, its rx_buff is set to silence and change read pointer
109 * If tones are generated by hardware, this conference member is removed for
151 struct dsp_conf_member *member; in dsp_cmx_debug() local
168 list_for_each_entry(member, &conf->mlist, list) { in dsp_cmx_debug()
170 " - member = %s (slot_tx %d, bank_tx %d, " in dsp_cmx_debug()
173 member->dsp->name, member->dsp->pcm_slot_tx, in dsp_cmx_debug()
174 member->dsp->pcm_bank_tx, member->dsp->pcm_slot_rx, in dsp_cmx_debug()
[all …]
/kernel/linux/linux-6.6/include/linux/
Dlist.h400 * in the process of modifying either member (next or prev)
598 * @member: the name of the list_head within the struct.
600 #define list_entry(ptr, type, member) \ argument
601 container_of(ptr, type, member)
607 * @member: the name of the list_head within the struct.
611 #define list_first_entry(ptr, type, member) \ argument
612 list_entry((ptr)->next, type, member)
618 * @member: the name of the list_head within the struct.
622 #define list_last_entry(ptr, type, member) \ argument
623 list_entry((ptr)->prev, type, member)
[all …]

12345678910>>...88