Home
last modified time | relevance | path

Searched refs:raw_desc (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene-v2/
Dmain.c70 struct xge_raw_desc *raw_desc; in xge_refill_buffers() local
79 raw_desc = &ring->raw_desc[tail]; in xge_refill_buffers()
96 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers()
97 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers()
98 raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, addr_lo) | in xge_refill_buffers()
104 raw_desc->m0 = cpu_to_le64(SET_BITS(PKT_ADDRL, dma_addr) | in xge_refill_buffers()
163 static bool is_tx_slot_available(struct xge_raw_desc *raw_desc) in is_tx_slot_available() argument
165 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_slot_available()
166 (GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)) == SLOT_EMPTY)) in is_tx_slot_available()
177 struct xge_raw_desc *raw_desc; in xge_start_xmit() local
[all …]
Dring.c15 struct xge_raw_desc *raw_desc; in xge_setup_desc() local
21 raw_desc = &ring->raw_desc[i]; in xge_setup_desc()
26 raw_desc->m0 = cpu_to_le64(SET_BITS(E, 1) | in xge_setup_desc()
29 raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, next_dma) | in xge_setup_desc()
Dring.h80 struct xge_raw_desc *raw_desc; member
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c22 struct xgene_enet_raw_desc16 *raw_desc; in xgene_enet_init_bufpool() local
29 raw_desc = &buf_pool->raw_desc16[i]; in xgene_enet_init_bufpool()
32 raw_desc->m0 = cpu_to_le64(i | in xgene_enet_init_bufpool()
70 struct xgene_enet_raw_desc16 *raw_desc; in xgene_enet_refill_pagepool() local
90 raw_desc = &buf_pool->raw_desc16[tail]; in xgene_enet_refill_pagepool()
104 raw_desc->m1 = cpu_to_le64(SET_VAL(DATAADDR, dma_addr) | in xgene_enet_refill_pagepool()
122 struct xgene_enet_raw_desc16 *raw_desc; in xgene_enet_refill_bufpool() local
140 raw_desc = &buf_pool->raw_desc16[tail]; in xgene_enet_refill_bufpool()
155 raw_desc->m1 = cpu_to_le64(SET_VAL(DATAADDR, dma_addr) | in xgene_enet_refill_bufpool()
177 struct xgene_enet_raw_desc16 *raw_desc; in xgene_enet_delete_bufpool() local
[all …]
Dxgene_enet_ring2.c147 xgene_enet_mark_desc_slot_empty(&ring->raw_desc[i]); in xgene_enet_setup_ring()
Dxgene_enet_main.h123 struct xgene_enet_raw_desc *raw_desc; member
Dxgene_enet_hw.c152 xgene_enet_mark_desc_slot_empty(&ring->raw_desc[i]); in xgene_enet_setup_ring()
/kernel/linux/linux-5.10/sound/usb/
Dmixer.c1757 static void build_feature_ctl(struct mixer_build *state, void *raw_desc, in build_feature_ctl() argument
1762 struct uac_feature_unit_descriptor *desc = raw_desc; in build_feature_ctl()
2125 void *raw_desc) in parse_audio_input_terminal() argument
2131 struct uac2_input_terminal_descriptor *d_v2 = raw_desc; in parse_audio_input_terminal()
2136 struct uac3_input_terminal_descriptor *d_v3 = raw_desc; in parse_audio_input_terminal()
2158 void *raw_desc) in parse_audio_mixer_unit() argument
2160 struct uac_mixer_unit_descriptor *desc = raw_desc; in parse_audio_mixer_unit()
2378 void *raw_desc, const struct procunit_info *list, in build_audio_procunit() argument
2381 struct uac_processing_unit_descriptor *desc = raw_desc; in build_audio_procunit()
2535 void *raw_desc) in parse_audio_processing_unit() argument
[all …]