raw_desc 70 drivers/net/ethernet/apm/xgene-v2/main.c struct xge_raw_desc *raw_desc; raw_desc 79 drivers/net/ethernet/apm/xgene-v2/main.c raw_desc = &ring->raw_desc[tail]; raw_desc 96 drivers/net/ethernet/apm/xgene-v2/main.c addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); raw_desc 97 drivers/net/ethernet/apm/xgene-v2/main.c addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); raw_desc 98 drivers/net/ethernet/apm/xgene-v2/main.c raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, addr_lo) | raw_desc 104 drivers/net/ethernet/apm/xgene-v2/main.c raw_desc->m0 = cpu_to_le64(SET_BITS(PKT_ADDRL, dma_addr) | raw_desc 163 drivers/net/ethernet/apm/xgene-v2/main.c static bool is_tx_slot_available(struct xge_raw_desc *raw_desc) raw_desc 165 drivers/net/ethernet/apm/xgene-v2/main.c if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && raw_desc 166 drivers/net/ethernet/apm/xgene-v2/main.c (GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)) == SLOT_EMPTY)) raw_desc 177 drivers/net/ethernet/apm/xgene-v2/main.c struct xge_raw_desc *raw_desc; raw_desc 187 drivers/net/ethernet/apm/xgene-v2/main.c raw_desc = &tx_ring->raw_desc[tail]; raw_desc 189 drivers/net/ethernet/apm/xgene-v2/main.c if (!is_tx_slot_available(raw_desc)) { raw_desc 203 drivers/net/ethernet/apm/xgene-v2/main.c addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); raw_desc 204 drivers/net/ethernet/apm/xgene-v2/main.c addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); raw_desc 205 drivers/net/ethernet/apm/xgene-v2/main.c raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, addr_lo) | raw_desc 216 drivers/net/ethernet/apm/xgene-v2/main.c raw_desc->m0 = cpu_to_le64(SET_BITS(PKT_ADDRL, dma_addr) | raw_desc 227 drivers/net/ethernet/apm/xgene-v2/main.c static bool is_tx_hw_done(struct xge_raw_desc *raw_desc) raw_desc 229 drivers/net/ethernet/apm/xgene-v2/main.c if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && raw_desc 230 drivers/net/ethernet/apm/xgene-v2/main.c !GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0))) raw_desc 241 drivers/net/ethernet/apm/xgene-v2/main.c struct xge_raw_desc *raw_desc; raw_desc 256 drivers/net/ethernet/apm/xgene-v2/main.c raw_desc = &tx_ring->raw_desc[head]; raw_desc 258 drivers/net/ethernet/apm/xgene-v2/main.c if (!is_tx_hw_done(raw_desc)) raw_desc 272 drivers/net/ethernet/apm/xgene-v2/main.c raw_desc->m0 = cpu_to_le64(SET_BITS(E, 1) | raw_desc 290 drivers/net/ethernet/apm/xgene-v2/main.c struct xge_raw_desc *raw_desc; raw_desc 307 drivers/net/ethernet/apm/xgene-v2/main.c raw_desc = &rx_ring->raw_desc[head]; raw_desc 309 drivers/net/ethernet/apm/xgene-v2/main.c if (GET_BITS(E, le64_to_cpu(raw_desc->m0))) raw_desc 317 drivers/net/ethernet/apm/xgene-v2/main.c len = GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)); raw_desc 321 drivers/net/ethernet/apm/xgene-v2/main.c rx_error = GET_BITS(D, le64_to_cpu(raw_desc->m2)); raw_desc 543 drivers/net/ethernet/apm/xgene-v2/main.c static bool is_tx_pending(struct xge_raw_desc *raw_desc) raw_desc 545 drivers/net/ethernet/apm/xgene-v2/main.c if (!GET_BITS(E, le64_to_cpu(raw_desc->m0))) raw_desc 556 drivers/net/ethernet/apm/xgene-v2/main.c struct xge_raw_desc *raw_desc; raw_desc 565 drivers/net/ethernet/apm/xgene-v2/main.c raw_desc = &tx_ring->raw_desc[i]; raw_desc 567 drivers/net/ethernet/apm/xgene-v2/main.c if (!is_tx_pending(raw_desc)) raw_desc 15 drivers/net/ethernet/apm/xgene-v2/ring.c struct xge_raw_desc *raw_desc; raw_desc 21 drivers/net/ethernet/apm/xgene-v2/ring.c raw_desc = &ring->raw_desc[i]; raw_desc 26 drivers/net/ethernet/apm/xgene-v2/ring.c raw_desc->m0 = cpu_to_le64(SET_BITS(E, 1) | raw_desc 29 drivers/net/ethernet/apm/xgene-v2/ring.c raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, next_dma) | raw_desc 80 drivers/net/ethernet/apm/xgene-v2/ring.h struct xge_raw_desc *raw_desc; raw_desc 152 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c xgene_enet_mark_desc_slot_empty(&ring->raw_desc[i]); raw_desc 22 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_raw_desc16 *raw_desc; raw_desc 29 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc = &buf_pool->raw_desc16[i]; raw_desc 32 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc->m0 = cpu_to_le64(i | raw_desc 70 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_raw_desc16 *raw_desc; raw_desc 90 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc = &buf_pool->raw_desc16[tail]; raw_desc 104 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc->m1 = cpu_to_le64(SET_VAL(DATAADDR, dma_addr) | raw_desc 122 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_raw_desc16 *raw_desc; raw_desc 140 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc = &buf_pool->raw_desc16[tail]; raw_desc 155 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc->m1 = cpu_to_le64(SET_VAL(DATAADDR, dma_addr) | raw_desc 177 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_raw_desc16 *raw_desc; raw_desc 186 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc = &buf_pool->raw_desc16[i]; raw_desc 187 drivers/net/ethernet/apm/xgene/xgene_enet_main.c dma_addr = GET_VAL(DATAADDR, le64_to_cpu(raw_desc->m1)); raw_desc 226 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_raw_desc *raw_desc) raw_desc 238 drivers/net/ethernet/apm/xgene/xgene_enet_main.c skb_index = GET_VAL(USERINFO, le64_to_cpu(raw_desc->m0)); raw_desc 243 drivers/net/ethernet/apm/xgene/xgene_enet_main.c dma_unmap_single(dev, GET_VAL(DATAADDR, le64_to_cpu(raw_desc->m1)), raw_desc 253 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (GET_BIT(ET, le64_to_cpu(raw_desc->m3))) { raw_desc 254 drivers/net/ethernet/apm/xgene/xgene_enet_main.c mss_index = GET_VAL(MSS, le64_to_cpu(raw_desc->m3)); raw_desc 261 drivers/net/ethernet/apm/xgene/xgene_enet_main.c status = GET_VAL(LERR, le64_to_cpu(raw_desc->m0)); raw_desc 411 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_raw_desc *raw_desc; raw_desc 424 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc = &tx_ring->raw_desc[tail]; raw_desc 426 drivers/net/ethernet/apm/xgene/xgene_enet_main.c memset(raw_desc, 0, sizeof(struct xgene_enet_raw_desc)); raw_desc 432 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc->m3 = cpu_to_le64(SET_VAL(HENQNUM, tx_ring->dst_ring_num) | raw_desc 445 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc->m1 = cpu_to_le64(SET_VAL(DATAADDR, dma_addr) | raw_desc 454 drivers/net/ethernet/apm/xgene/xgene_enet_main.c exp_desc = (void *)&tx_ring->raw_desc[tail]; raw_desc 536 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc->m2 = cpu_to_le64(SET_VAL(LL_BYTES_LSB, ell_bytes)); raw_desc 540 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc->m0 = cpu_to_le64(SET_VAL(LL, ll) | SET_VAL(NV, nv) | raw_desc 609 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_raw_desc *raw_desc, raw_desc 620 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (!buf_pool || !raw_desc || !exp_desc || raw_desc 621 drivers/net/ethernet/apm/xgene/xgene_enet_main.c (!GET_VAL(NV, le64_to_cpu(raw_desc->m0)))) raw_desc 669 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_raw_desc *raw_desc, raw_desc 692 drivers/net/ethernet/apm/xgene/xgene_enet_main.c dma_unmap_single(dev, GET_VAL(DATAADDR, le64_to_cpu(raw_desc->m1)), raw_desc 694 drivers/net/ethernet/apm/xgene/xgene_enet_main.c skb_index = GET_VAL(USERINFO, le64_to_cpu(raw_desc->m0)); raw_desc 698 drivers/net/ethernet/apm/xgene/xgene_enet_main.c datalen = xgene_enet_get_data_len(le64_to_cpu(raw_desc->m1)); raw_desc 704 drivers/net/ethernet/apm/xgene/xgene_enet_main.c status = (GET_VAL(ELERR, le64_to_cpu(raw_desc->m0)) << LERR_LEN) | raw_desc 705 drivers/net/ethernet/apm/xgene/xgene_enet_main.c GET_VAL(LERR, le64_to_cpu(raw_desc->m0)); raw_desc 713 drivers/net/ethernet/apm/xgene/xgene_enet_main.c xgene_enet_free_pagepool(page_pool, raw_desc, exp_desc); raw_desc 720 drivers/net/ethernet/apm/xgene/xgene_enet_main.c nv = GET_VAL(NV, le64_to_cpu(raw_desc->m0)); raw_desc 776 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static bool is_rx_desc(struct xgene_enet_raw_desc *raw_desc) raw_desc 778 drivers/net/ethernet/apm/xgene/xgene_enet_main.c return GET_VAL(FPQNUM, le64_to_cpu(raw_desc->m0)) ? true : false; raw_desc 786 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_raw_desc *raw_desc, *exp_desc; raw_desc 793 drivers/net/ethernet/apm/xgene/xgene_enet_main.c raw_desc = &ring->raw_desc[head]; raw_desc 797 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (unlikely(xgene_enet_is_desc_slot_empty(raw_desc))) raw_desc 802 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (GET_BIT(NV, le64_to_cpu(raw_desc->m0))) { raw_desc 804 drivers/net/ethernet/apm/xgene/xgene_enet_main.c exp_desc = &ring->raw_desc[head]; raw_desc 814 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (is_rx_desc(raw_desc)) { raw_desc 815 drivers/net/ethernet/apm/xgene/xgene_enet_main.c ret = xgene_enet_rx_frame(ring, raw_desc, exp_desc); raw_desc 817 drivers/net/ethernet/apm/xgene/xgene_enet_main.c ret = xgene_enet_tx_completion(ring, raw_desc); raw_desc 820 drivers/net/ethernet/apm/xgene/xgene_enet_main.c xgene_enet_mark_desc_slot_empty(raw_desc); raw_desc 124 drivers/net/ethernet/apm/xgene/xgene_enet_main.h struct xgene_enet_raw_desc *raw_desc; raw_desc 147 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c xgene_enet_mark_desc_slot_empty(&ring->raw_desc[i]); raw_desc 1719 sound/usb/mixer.c static void build_feature_ctl(struct mixer_build *state, void *raw_desc, raw_desc 1724 sound/usb/mixer.c struct uac_feature_unit_descriptor *desc = raw_desc; raw_desc 2087 sound/usb/mixer.c void *raw_desc) raw_desc 2093 sound/usb/mixer.c struct uac2_input_terminal_descriptor *d_v2 = raw_desc; raw_desc 2098 sound/usb/mixer.c struct uac3_input_terminal_descriptor *d_v3 = raw_desc; raw_desc 2120 sound/usb/mixer.c void *raw_desc) raw_desc 2122 sound/usb/mixer.c struct uac_mixer_unit_descriptor *desc = raw_desc; raw_desc 2340 sound/usb/mixer.c void *raw_desc, struct procunit_info *list, raw_desc 2343 sound/usb/mixer.c struct uac_processing_unit_descriptor *desc = raw_desc; raw_desc 2491 sound/usb/mixer.c void *raw_desc) raw_desc 2497 sound/usb/mixer.c return build_audio_procunit(state, unitid, raw_desc, raw_desc 2500 sound/usb/mixer.c return build_audio_procunit(state, unitid, raw_desc, raw_desc 2506 sound/usb/mixer.c void *raw_desc) raw_desc 2512 sound/usb/mixer.c return build_audio_procunit(state, unitid, raw_desc, extunits, true); raw_desc 2606 sound/usb/mixer.c void *raw_desc) raw_desc 2608 sound/usb/mixer.c struct uac_selector_unit_descriptor *desc = raw_desc;