desc_info 227 drivers/ata/sata_fsl.c u32 desc_info; desc_info 407 drivers/ata/sata_fsl.c unsigned int tag, u32 desc_info, desc_info 422 drivers/ata/sata_fsl.c pp->cmdslot[tag].desc_info = cpu_to_le32(desc_info | (tag & 0x1F)); desc_info 427 drivers/ata/sata_fsl.c pp->cmdslot[tag].ttl, pp->cmdslot[tag].desc_info); desc_info 513 drivers/ata/sata_fsl.c u32 desc_info = CMD_DESC_RES | CMD_DESC_SNOOP_ENABLE; desc_info 533 drivers/ata/sata_fsl.c desc_info |= ATAPI_CMD; desc_info 544 drivers/ata/sata_fsl.c desc_info |= FPDMA_QUEUED_CMD; desc_info 546 drivers/ata/sata_fsl.c sata_fsl_setup_cmd_hdr_entry(pp, tag, desc_info, ttl_dwords, desc_info 550 drivers/ata/sata_fsl.c desc_info, ttl_dwords, num_prde); desc_info 731 drivers/mtd/nand/raw/qcom_nandc.c struct desc_info *desc; desc_info 896 drivers/mtd/nand/raw/qcom_nandc.c struct desc_info *desc; desc_info 1285 drivers/mtd/nand/raw/qcom_nandc.c struct desc_info *desc; desc_info 1341 drivers/mtd/nand/raw/qcom_nandc.c struct desc_info *desc, *n; desc_info 3826 drivers/net/ethernet/micrel/ksz884x.c static void hw_init_desc(struct ksz_desc_info *desc_info, int transmit) desc_info 3829 drivers/net/ethernet/micrel/ksz884x.c u32 phys = desc_info->ring_phys; desc_info 3830 drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc *desc = desc_info->ring_virt; desc_info 3831 drivers/net/ethernet/micrel/ksz884x.c struct ksz_desc *cur = desc_info->ring; desc_info 3834 drivers/net/ethernet/micrel/ksz884x.c for (i = 0; i < desc_info->alloc; i++) { desc_info 3836 drivers/net/ethernet/micrel/ksz884x.c phys += desc_info->size; desc_info 3840 drivers/net/ethernet/micrel/ksz884x.c previous->phw->next = cpu_to_le32(desc_info->ring_phys); desc_info 3844 drivers/net/ethernet/micrel/ksz884x.c desc_info->avail = desc_info->alloc; desc_info 3845 drivers/net/ethernet/micrel/ksz884x.c desc_info->last = desc_info->next = 0; desc_info 3847 drivers/net/ethernet/micrel/ksz884x.c desc_info->cur = desc_info->ring; desc_info 4362 drivers/net/ethernet/micrel/ksz884x.c static int ksz_alloc_soft_desc(struct ksz_desc_info *desc_info, int transmit) desc_info 4364 drivers/net/ethernet/micrel/ksz884x.c desc_info->ring = kcalloc(desc_info->alloc, sizeof(struct ksz_desc), desc_info 4366 drivers/net/ethernet/micrel/ksz884x.c if (!desc_info->ring) desc_info 4368 drivers/net/ethernet/micrel/ksz884x.c hw_init_desc(desc_info, transmit); desc_info 4570 drivers/net/ethernet/micrel/ksz884x.c struct ksz_desc_info *desc_info, int direction) desc_info 4574 drivers/net/ethernet/micrel/ksz884x.c struct ksz_desc *desc = desc_info->ring; desc_info 4576 drivers/net/ethernet/micrel/ksz884x.c for (i = 0; i < desc_info->alloc; i++) { desc_info 473 drivers/net/ethernet/pensando/ionic/ionic_dev.c struct ionic_desc_info *desc_info; desc_info 488 drivers/net/ethernet/pensando/ionic/ionic_dev.c desc_info = q->tail; desc_info 489 drivers/net/ethernet/pensando/ionic/ionic_dev.c q->tail = desc_info->next; desc_info 491 drivers/net/ethernet/pensando/ionic/ionic_dev.c cb = desc_info->cb; desc_info 492 drivers/net/ethernet/pensando/ionic/ionic_dev.c cb_arg = desc_info->cb_arg; desc_info 494 drivers/net/ethernet/pensando/ionic/ionic_dev.c desc_info->cb = NULL; desc_info 495 drivers/net/ethernet/pensando/ionic/ionic_dev.c desc_info->cb_arg = NULL; desc_info 498 drivers/net/ethernet/pensando/ionic/ionic_dev.c cb(q, desc_info, cq_info, cb_arg); desc_info 499 drivers/net/ethernet/pensando/ionic/ionic_dev.c } while (desc_info->index != stop_index); desc_info 151 drivers/net/ethernet/pensando/ionic/ionic_dev.h struct ionic_desc_info *desc_info, desc_info 215 drivers/net/ethernet/pensando/ionic/ionic_main.c struct ionic_desc_info *desc_info, desc_info 13 drivers/net/ethernet/pensando/ionic/ionic_txrx.c static void ionic_rx_clean(struct ionic_queue *q, struct ionic_desc_info *desc_info, desc_info 37 drivers/net/ethernet/pensando/ionic/ionic_txrx.c static void ionic_rx_recycle(struct ionic_queue *q, struct ionic_desc_info *desc_info, desc_info 40 drivers/net/ethernet/pensando/ionic/ionic_txrx.c struct ionic_rxq_desc *old = desc_info->desc; desc_info 49 drivers/net/ethernet/pensando/ionic/ionic_txrx.c static bool ionic_rx_copybreak(struct ionic_queue *q, struct ionic_desc_info *desc_info, desc_info 53 drivers/net/ethernet/pensando/ionic/ionic_txrx.c struct ionic_rxq_desc *desc = desc_info->desc; desc_info 79 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ionic_rx_recycle(q, desc_info, *skb); desc_info 85 drivers/net/ethernet/pensando/ionic/ionic_txrx.c static void ionic_rx_clean(struct ionic_queue *q, struct ionic_desc_info *desc_info, desc_info 98 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ionic_rx_recycle(q, desc_info, skb); desc_info 104 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ionic_rx_recycle(q, desc_info, skb); desc_info 111 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ionic_rx_copybreak(q, desc_info, cq_info, &skb); desc_info 163 drivers/net/ethernet/pensando/ionic/ionic_txrx.c struct ionic_desc_info *desc_info; desc_info 172 drivers/net/ethernet/pensando/ionic/ionic_txrx.c desc_info = q->tail; desc_info 173 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (desc_info->index != le16_to_cpu(comp->comp_index)) desc_info 176 drivers/net/ethernet/pensando/ionic/ionic_txrx.c q->tail = desc_info->next; desc_info 179 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ionic_rx_clean(q, desc_info, cq_info, desc_info->cb_arg); desc_info 181 drivers/net/ethernet/pensando/ionic/ionic_txrx.c desc_info->cb = NULL; desc_info 182 drivers/net/ethernet/pensando/ionic/ionic_txrx.c desc_info->cb_arg = NULL; desc_info 369 drivers/net/ethernet/pensando/ionic/ionic_txrx.c static void ionic_tx_clean(struct ionic_queue *q, struct ionic_desc_info *desc_info, desc_info 372 drivers/net/ethernet/pensando/ionic/ionic_txrx.c struct ionic_txq_sg_desc *sg_desc = desc_info->sg_desc; desc_info 375 drivers/net/ethernet/pensando/ionic/ionic_txrx.c struct ionic_txq_desc *desc = desc_info->desc; desc_info 421 drivers/net/ethernet/pensando/ionic/ionic_txrx.c struct ionic_desc_info *desc_info; desc_info 432 drivers/net/ethernet/pensando/ionic/ionic_txrx.c desc_info = q->tail; desc_info 433 drivers/net/ethernet/pensando/ionic/ionic_txrx.c q->tail = desc_info->next; desc_info 434 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ionic_tx_clean(q, desc_info, cq->tail, desc_info 435 drivers/net/ethernet/pensando/ionic/ionic_txrx.c desc_info->cb_arg); desc_info 436 drivers/net/ethernet/pensando/ionic/ionic_txrx.c desc_info->cb = NULL; desc_info 437 drivers/net/ethernet/pensando/ionic/ionic_txrx.c desc_info->cb_arg = NULL; desc_info 438 drivers/net/ethernet/pensando/ionic/ionic_txrx.c } while (desc_info->index != le16_to_cpu(comp->comp_index)); desc_info 34 drivers/net/ethernet/rocker/rocker.h struct rocker_desc_info *desc_info; desc_info 76 drivers/net/ethernet/rocker/rocker.h struct rocker_desc_info *desc_info, desc_info 80 drivers/net/ethernet/rocker/rocker.h const struct rocker_desc_info *desc_info, desc_info 315 drivers/net/ethernet/rocker/rocker_main.c static int rocker_desc_err(const struct rocker_desc_info *desc_info) desc_info 317 drivers/net/ethernet/rocker/rocker_main.c int err = desc_info->desc->comp_err & ~ROCKER_DMA_DESC_COMP_ERR_GEN; desc_info 343 drivers/net/ethernet/rocker/rocker_main.c static void rocker_desc_gen_clear(const struct rocker_desc_info *desc_info) desc_info 345 drivers/net/ethernet/rocker/rocker_main.c desc_info->desc->comp_err &= ~ROCKER_DMA_DESC_COMP_ERR_GEN; desc_info 348 drivers/net/ethernet/rocker/rocker_main.c static bool rocker_desc_gen(const struct rocker_desc_info *desc_info) desc_info 350 drivers/net/ethernet/rocker/rocker_main.c u32 comp_err = desc_info->desc->comp_err; desc_info 356 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_cookie_ptr_get(const struct rocker_desc_info *desc_info) desc_info 358 drivers/net/ethernet/rocker/rocker_main.c return (void *)(uintptr_t)desc_info->desc->cookie; desc_info 361 drivers/net/ethernet/rocker/rocker_main.c static void rocker_desc_cookie_ptr_set(const struct rocker_desc_info *desc_info, desc_info 364 drivers/net/ethernet/rocker/rocker_main.c desc_info->desc->cookie = (uintptr_t) ptr; desc_info 370 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info; desc_info 373 drivers/net/ethernet/rocker/rocker_main.c desc_info = &info->desc_info[info->head]; desc_info 376 drivers/net/ethernet/rocker/rocker_main.c desc_info->tlv_size = 0; desc_info 377 drivers/net/ethernet/rocker/rocker_main.c return desc_info; desc_info 380 drivers/net/ethernet/rocker/rocker_main.c static void rocker_desc_commit(const struct rocker_desc_info *desc_info) desc_info 382 drivers/net/ethernet/rocker/rocker_main.c desc_info->desc->buf_size = desc_info->data_size; desc_info 383 drivers/net/ethernet/rocker/rocker_main.c desc_info->desc->tlv_size = desc_info->tlv_size; desc_info 388 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info) desc_info 393 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_commit(desc_info); desc_info 401 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info; desc_info 405 drivers/net/ethernet/rocker/rocker_main.c desc_info = &info->desc_info[info->tail]; desc_info 406 drivers/net/ethernet/rocker/rocker_main.c if (!rocker_desc_gen(desc_info)) desc_info 409 drivers/net/ethernet/rocker/rocker_main.c desc_info->tlv_size = desc_info->desc->tlv_size; desc_info 410 drivers/net/ethernet/rocker/rocker_main.c return desc_info; desc_info 439 drivers/net/ethernet/rocker/rocker_main.c info->desc_info = kcalloc(info->size, sizeof(*info->desc_info), desc_info 441 drivers/net/ethernet/rocker/rocker_main.c if (!info->desc_info) desc_info 448 drivers/net/ethernet/rocker/rocker_main.c kfree(info->desc_info); desc_info 453 drivers/net/ethernet/rocker/rocker_main.c info->desc_info[i].desc = &info->desc[i]; desc_info 471 drivers/net/ethernet/rocker/rocker_main.c kfree(info->desc_info); desc_info 485 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_head_set(rocker, info, &info->desc_info[i]); desc_info 486 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_commit(&info->desc_info[i]); desc_info 498 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info = &info->desc_info[i]; desc_info 516 drivers/net/ethernet/rocker/rocker_main.c desc_info->data = buf; desc_info 517 drivers/net/ethernet/rocker/rocker_main.c desc_info->data_size = buf_size; desc_info 518 drivers/net/ethernet/rocker/rocker_main.c dma_unmap_addr_set(desc_info, mapaddr, dma_handle); desc_info 527 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info = &info->desc_info[i]; desc_info 529 drivers/net/ethernet/rocker/rocker_main.c pci_unmap_single(pdev, dma_unmap_addr(desc_info, mapaddr), desc_info 530 drivers/net/ethernet/rocker/rocker_main.c desc_info->data_size, direction); desc_info 531 drivers/net/ethernet/rocker/rocker_main.c kfree(desc_info->data); desc_info 544 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info = &info->desc_info[i]; desc_info 549 drivers/net/ethernet/rocker/rocker_main.c pci_unmap_single(pdev, dma_unmap_addr(desc_info, mapaddr), desc_info 550 drivers/net/ethernet/rocker/rocker_main.c desc_info->data_size, direction); desc_info 551 drivers/net/ethernet/rocker/rocker_main.c kfree(desc_info->data); desc_info 555 drivers/net/ethernet/rocker/rocker_main.c static int rocker_dma_cmd_ring_wait_alloc(struct rocker_desc_info *desc_info) desc_info 562 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_cookie_ptr_set(desc_info, wait); desc_info 567 drivers/net/ethernet/rocker/rocker_main.c rocker_dma_cmd_ring_wait_free(const struct rocker_desc_info *desc_info) desc_info 569 drivers/net/ethernet/rocker/rocker_main.c struct rocker_wait *wait = rocker_desc_cookie_ptr_get(desc_info); desc_info 581 drivers/net/ethernet/rocker/rocker_main.c err = rocker_dma_cmd_ring_wait_alloc(&cmd_ring->desc_info[i]); desc_info 589 drivers/net/ethernet/rocker/rocker_main.c rocker_dma_cmd_ring_wait_free(&cmd_ring->desc_info[i]); desc_info 599 drivers/net/ethernet/rocker/rocker_main.c rocker_dma_cmd_ring_wait_free(&cmd_ring->desc_info[i]); desc_info 671 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info, desc_info 682 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u64(desc_info, ROCKER_TLV_RX_FRAG_ADDR, dma_handle)) desc_info 684 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_RX_FRAG_MAX_LEN, buf_len)) desc_info 690 drivers/net/ethernet/rocker/rocker_main.c desc_info->tlv_size = 0; desc_info 700 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info) desc_info 710 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_cookie_ptr_set(desc_info, NULL); desc_info 711 drivers/net/ethernet/rocker/rocker_main.c desc_info->tlv_size = 0; desc_info 716 drivers/net/ethernet/rocker/rocker_main.c err = rocker_dma_rx_ring_skb_map(rocker_port, desc_info, skb, buf_len); desc_info 721 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_cookie_ptr_set(desc_info, skb); desc_info 741 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info) desc_info 744 drivers/net/ethernet/rocker/rocker_main.c struct sk_buff *skb = rocker_desc_cookie_ptr_get(desc_info); desc_info 748 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_parse_desc(attrs, ROCKER_TLV_RX_MAX, desc_info); desc_info 762 drivers/net/ethernet/rocker/rocker_main.c &rx_ring->desc_info[i]); desc_info 770 drivers/net/ethernet/rocker/rocker_main.c rocker_dma_rx_ring_skb_free(rocker, &rx_ring->desc_info[i]); desc_info 781 drivers/net/ethernet/rocker/rocker_main.c rocker_dma_rx_ring_skb_free(rocker, &rx_ring->desc_info[i]); desc_info 877 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info; desc_info 882 drivers/net/ethernet/rocker/rocker_main.c while ((desc_info = rocker_desc_tail_get(&rocker->cmd_ring))) { desc_info 883 drivers/net/ethernet/rocker/rocker_main.c wait = rocker_desc_cookie_ptr_get(desc_info); desc_info 885 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_gen_clear(desc_info); desc_info 970 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info) desc_info 976 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_parse_desc(attrs, ROCKER_TLV_EVENT_MAX, desc_info); desc_info 998 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info; desc_info 1002 drivers/net/ethernet/rocker/rocker_main.c while ((desc_info = rocker_desc_tail_get(&rocker->event_ring))) { desc_info 1003 drivers/net/ethernet/rocker/rocker_main.c err = rocker_desc_err(desc_info); desc_info 1008 drivers/net/ethernet/rocker/rocker_main.c err = rocker_event_process(rocker, desc_info); desc_info 1013 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_gen_clear(desc_info); desc_info 1014 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_head_set(rocker, &rocker->event_ring, desc_info); desc_info 1047 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info; desc_info 1054 drivers/net/ethernet/rocker/rocker_main.c desc_info = rocker_desc_head_get(&rocker->cmd_ring); desc_info 1055 drivers/net/ethernet/rocker/rocker_main.c if (!desc_info) { desc_info 1060 drivers/net/ethernet/rocker/rocker_main.c wait = rocker_desc_cookie_ptr_get(desc_info); desc_info 1064 drivers/net/ethernet/rocker/rocker_main.c err = prepare(rocker_port, desc_info, prepare_priv); desc_info 1070 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_head_set(rocker, &rocker->cmd_ring, desc_info); desc_info 1080 drivers/net/ethernet/rocker/rocker_main.c err = rocker_desc_err(desc_info); desc_info 1085 drivers/net/ethernet/rocker/rocker_main.c err = process(rocker_port, desc_info, process_priv); desc_info 1087 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_gen_clear(desc_info); desc_info 1093 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info, desc_info 1098 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_CMD_TYPE, desc_info 1101 drivers/net/ethernet/rocker/rocker_main.c cmd_info = rocker_tlv_nest_start(desc_info, ROCKER_TLV_CMD_INFO); desc_info 1104 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_CMD_PORT_SETTINGS_PPORT, desc_info 1107 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_nest_end(desc_info, cmd_info); desc_info 1113 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info, desc_info 1123 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_parse_desc(attrs, ROCKER_TLV_CMD_MAX, desc_info); desc_info 1152 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info, desc_info 1160 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_parse_desc(attrs, ROCKER_TLV_CMD_MAX, desc_info); desc_info 1179 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info, desc_info 1187 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_parse_desc(attrs, ROCKER_TLV_CMD_MAX, desc_info); desc_info 1208 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info, desc_info 1218 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_parse_desc(attrs, ROCKER_TLV_CMD_MAX, desc_info); desc_info 1249 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info, desc_info 1255 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_CMD_TYPE, desc_info 1258 drivers/net/ethernet/rocker/rocker_main.c cmd_info = rocker_tlv_nest_start(desc_info, ROCKER_TLV_CMD_INFO); desc_info 1261 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_CMD_PORT_SETTINGS_PPORT, desc_info 1264 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_CMD_PORT_SETTINGS_SPEED, desc_info 1267 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u8(desc_info, ROCKER_TLV_CMD_PORT_SETTINGS_DUPLEX, desc_info 1270 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u8(desc_info, ROCKER_TLV_CMD_PORT_SETTINGS_AUTONEG, desc_info 1273 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_nest_end(desc_info, cmd_info); desc_info 1279 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info, desc_info 1285 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_CMD_TYPE, desc_info 1288 drivers/net/ethernet/rocker/rocker_main.c cmd_info = rocker_tlv_nest_start(desc_info, ROCKER_TLV_CMD_INFO); desc_info 1291 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_CMD_PORT_SETTINGS_PPORT, desc_info 1294 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put(desc_info, ROCKER_TLV_CMD_PORT_SETTINGS_MACADDR, desc_info 1297 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_nest_end(desc_info, cmd_info); desc_info 1303 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info, desc_info 1309 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_CMD_TYPE, desc_info 1312 drivers/net/ethernet/rocker/rocker_main.c cmd_info = rocker_tlv_nest_start(desc_info, ROCKER_TLV_CMD_INFO); desc_info 1315 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_CMD_PORT_SETTINGS_PPORT, desc_info 1318 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_CMD_PORT_SETTINGS_MTU, desc_info 1321 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_nest_end(desc_info, cmd_info); desc_info 1327 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info, desc_info 1333 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_CMD_TYPE, desc_info 1336 drivers/net/ethernet/rocker/rocker_main.c cmd_info = rocker_tlv_nest_start(desc_info, ROCKER_TLV_CMD_INFO); desc_info 1339 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_CMD_PORT_SETTINGS_PPORT, desc_info 1342 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u8(desc_info, ROCKER_TLV_CMD_PORT_SETTINGS_LEARNING, desc_info 1345 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_nest_end(desc_info, cmd_info); desc_info 1836 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info) desc_info 1844 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_parse_desc(attrs, ROCKER_TLV_TX_MAX, desc_info); desc_info 1866 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info, desc_info 1880 drivers/net/ethernet/rocker/rocker_main.c frag = rocker_tlv_nest_start(desc_info, ROCKER_TLV_TX_FRAG); desc_info 1883 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u64(desc_info, ROCKER_TLV_TX_FRAG_ATTR_ADDR, desc_info 1886 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_TX_FRAG_ATTR_LEN, desc_info 1889 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_nest_end(desc_info, frag); desc_info 1893 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_nest_cancel(desc_info, frag); desc_info 1903 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info; desc_info 1908 drivers/net/ethernet/rocker/rocker_main.c desc_info = rocker_desc_head_get(&rocker_port->tx_ring); desc_info 1909 drivers/net/ethernet/rocker/rocker_main.c if (unlikely(!desc_info)) { desc_info 1915 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_cookie_ptr_set(desc_info, skb); desc_info 1917 drivers/net/ethernet/rocker/rocker_main.c frags = rocker_tlv_nest_start(desc_info, ROCKER_TLV_TX_FRAGS); desc_info 1920 drivers/net/ethernet/rocker/rocker_main.c err = rocker_tx_desc_frag_map_put(rocker_port, desc_info, desc_info 1933 drivers/net/ethernet/rocker/rocker_main.c err = rocker_tx_desc_frag_map_put(rocker_port, desc_info, desc_info 1939 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_nest_end(desc_info, frags); desc_info 1941 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_gen_clear(desc_info); desc_info 1942 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_head_set(rocker, &rocker_port->tx_ring, desc_info); desc_info 1944 drivers/net/ethernet/rocker/rocker_main.c desc_info = rocker_desc_head_get(&rocker_port->tx_ring); desc_info 1945 drivers/net/ethernet/rocker/rocker_main.c if (!desc_info) desc_info 1951 drivers/net/ethernet/rocker/rocker_main.c rocker_tx_desc_frags_unmap(rocker_port, desc_info); desc_info 1953 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_nest_cancel(desc_info, frags); desc_info 2306 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info, desc_info 2311 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_CMD_TYPE, desc_info 2315 drivers/net/ethernet/rocker/rocker_main.c cmd_stats = rocker_tlv_nest_start(desc_info, ROCKER_TLV_CMD_INFO); desc_info 2319 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_CMD_PORT_STATS_PPORT, desc_info 2323 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_nest_end(desc_info, cmd_stats); desc_info 2330 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info, desc_info 2340 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_parse_desc(attrs, ROCKER_TLV_CMD_MAX, desc_info); desc_info 2421 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_desc_info *desc_info; desc_info 2426 drivers/net/ethernet/rocker/rocker_main.c while ((desc_info = rocker_desc_tail_get(&rocker_port->tx_ring))) { desc_info 2429 drivers/net/ethernet/rocker/rocker_main.c err = rocker_desc_err(desc_info); desc_info 2433 drivers/net/ethernet/rocker/rocker_main.c rocker_tx_desc_frags_unmap(rocker_port, desc_info); desc_info 2435 drivers/net/ethernet/rocker/rocker_main.c skb = rocker_desc_cookie_ptr_get(desc_info); desc_info 2458 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info) desc_info 2461 drivers/net/ethernet/rocker/rocker_main.c struct sk_buff *skb = rocker_desc_cookie_ptr_get(desc_info); desc_info 2468 drivers/net/ethernet/rocker/rocker_main.c rocker_tlv_parse_desc(attrs, ROCKER_TLV_RX_MAX, desc_info); desc_info 2488 drivers/net/ethernet/rocker/rocker_main.c return rocker_dma_rx_ring_skb_alloc(rocker_port, desc_info); desc_info 2500 drivers/net/ethernet/rocker/rocker_main.c struct rocker_desc_info *desc_info; desc_info 2506 drivers/net/ethernet/rocker/rocker_main.c (desc_info = rocker_desc_tail_get(&rocker_port->rx_ring))) { desc_info 2507 drivers/net/ethernet/rocker/rocker_main.c err = rocker_desc_err(desc_info); desc_info 2514 drivers/net/ethernet/rocker/rocker_main.c desc_info); desc_info 2522 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_gen_clear(desc_info); desc_info 2523 drivers/net/ethernet/rocker/rocker_main.c rocker_desc_head_set(rocker, &rocker_port->rx_ring, desc_info); desc_info 305 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_cmd_flow_tbl_add_ig_port(struct rocker_desc_info *desc_info, desc_info 308 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_IN_PPORT, desc_info 311 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_IN_PPORT_MASK, desc_info 314 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_OF_DPA_GOTO_TABLE_ID, desc_info 322 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_cmd_flow_tbl_add_vlan(struct rocker_desc_info *desc_info, desc_info 325 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_IN_PPORT, desc_info 328 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_VLAN_ID, desc_info 331 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_VLAN_ID_MASK, desc_info 334 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_OF_DPA_GOTO_TABLE_ID, desc_info 338 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_NEW_VLAN_ID, desc_info 346 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_cmd_flow_tbl_add_term_mac(struct rocker_desc_info *desc_info, desc_info 349 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_IN_PPORT, desc_info 352 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_IN_PPORT_MASK, desc_info 355 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_ETHERTYPE, desc_info 358 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put(desc_info, ROCKER_TLV_OF_DPA_DST_MAC, desc_info 361 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put(desc_info, ROCKER_TLV_OF_DPA_DST_MAC_MASK, desc_info 364 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_VLAN_ID, desc_info 367 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_VLAN_ID_MASK, desc_info 370 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_OF_DPA_GOTO_TABLE_ID, desc_info 374 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put_u8(desc_info, ROCKER_TLV_OF_DPA_COPY_CPU_ACTION, desc_info 382 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_cmd_flow_tbl_add_ucast_routing(struct rocker_desc_info *desc_info, desc_info 385 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_ETHERTYPE, desc_info 388 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_be32(desc_info, ROCKER_TLV_OF_DPA_DST_IP, desc_info 391 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_be32(desc_info, ROCKER_TLV_OF_DPA_DST_IP_MASK, desc_info 394 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_OF_DPA_GOTO_TABLE_ID, desc_info 397 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_GROUP_ID, desc_info 405 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_cmd_flow_tbl_add_bridge(struct rocker_desc_info *desc_info, desc_info 409 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put(desc_info, ROCKER_TLV_OF_DPA_DST_MAC, desc_info 413 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put(desc_info, ROCKER_TLV_OF_DPA_DST_MAC_MASK, desc_info 417 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_VLAN_ID, desc_info 421 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_TUNNEL_ID, desc_info 424 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_OF_DPA_GOTO_TABLE_ID, desc_info 427 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_GROUP_ID, desc_info 431 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put_u8(desc_info, ROCKER_TLV_OF_DPA_COPY_CPU_ACTION, desc_info 439 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_cmd_flow_tbl_add_acl(struct rocker_desc_info *desc_info, desc_info 442 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_IN_PPORT, desc_info 445 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_IN_PPORT_MASK, desc_info 448 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put(desc_info, ROCKER_TLV_OF_DPA_SRC_MAC, desc_info 451 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put(desc_info, ROCKER_TLV_OF_DPA_SRC_MAC_MASK, desc_info 454 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put(desc_info, ROCKER_TLV_OF_DPA_DST_MAC, desc_info 457 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put(desc_info, ROCKER_TLV_OF_DPA_DST_MAC_MASK, desc_info 460 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_ETHERTYPE, desc_info 463 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_VLAN_ID, desc_info 466 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_VLAN_ID_MASK, desc_info 473 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u8(desc_info, ROCKER_TLV_OF_DPA_IP_PROTO, desc_info 476 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u8(desc_info, desc_info 480 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u8(desc_info, ROCKER_TLV_OF_DPA_IP_DSCP, desc_info 483 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u8(desc_info, desc_info 487 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u8(desc_info, ROCKER_TLV_OF_DPA_IP_ECN, desc_info 490 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u8(desc_info, desc_info 498 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_GROUP_ID, desc_info 506 drivers/net/ethernet/rocker/rocker_ofdpa.c struct rocker_desc_info *desc_info, desc_info 513 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_CMD_TYPE, entry->cmd)) desc_info 515 drivers/net/ethernet/rocker/rocker_ofdpa.c cmd_info = rocker_tlv_nest_start(desc_info, ROCKER_TLV_CMD_INFO); desc_info 518 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_OF_DPA_TABLE_ID, desc_info 521 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_PRIORITY, desc_info 524 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_HARDTIME, 0)) desc_info 526 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u64(desc_info, ROCKER_TLV_OF_DPA_COOKIE, desc_info 532 drivers/net/ethernet/rocker/rocker_ofdpa.c err = ofdpa_cmd_flow_tbl_add_ig_port(desc_info, entry); desc_info 535 drivers/net/ethernet/rocker/rocker_ofdpa.c err = ofdpa_cmd_flow_tbl_add_vlan(desc_info, entry); desc_info 538 drivers/net/ethernet/rocker/rocker_ofdpa.c err = ofdpa_cmd_flow_tbl_add_term_mac(desc_info, entry); desc_info 541 drivers/net/ethernet/rocker/rocker_ofdpa.c err = ofdpa_cmd_flow_tbl_add_ucast_routing(desc_info, entry); desc_info 544 drivers/net/ethernet/rocker/rocker_ofdpa.c err = ofdpa_cmd_flow_tbl_add_bridge(desc_info, entry); desc_info 547 drivers/net/ethernet/rocker/rocker_ofdpa.c err = ofdpa_cmd_flow_tbl_add_acl(desc_info, entry); desc_info 557 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_nest_end(desc_info, cmd_info); desc_info 563 drivers/net/ethernet/rocker/rocker_ofdpa.c struct rocker_desc_info *desc_info, desc_info 569 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_CMD_TYPE, entry->cmd)) desc_info 571 drivers/net/ethernet/rocker/rocker_ofdpa.c cmd_info = rocker_tlv_nest_start(desc_info, ROCKER_TLV_CMD_INFO); desc_info 574 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u64(desc_info, ROCKER_TLV_OF_DPA_COOKIE, desc_info 577 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_nest_end(desc_info, cmd_info); desc_info 583 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_cmd_group_tbl_add_l2_interface(struct rocker_desc_info *desc_info, desc_info 586 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_OUT_PPORT, desc_info 589 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u8(desc_info, ROCKER_TLV_OF_DPA_POP_VLAN, desc_info 597 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_cmd_group_tbl_add_l2_rewrite(struct rocker_desc_info *desc_info, desc_info 600 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_GROUP_ID_LOWER, desc_info 604 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put(desc_info, ROCKER_TLV_OF_DPA_SRC_MAC, desc_info 608 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put(desc_info, ROCKER_TLV_OF_DPA_DST_MAC, desc_info 612 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_VLAN_ID, desc_info 620 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_cmd_group_tbl_add_group_ids(struct rocker_desc_info *desc_info, desc_info 626 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_OF_DPA_GROUP_COUNT, desc_info 630 drivers/net/ethernet/rocker/rocker_ofdpa.c group_ids = rocker_tlv_nest_start(desc_info, desc_info 637 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, i + 1, entry->group_ids[i])) desc_info 640 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_nest_end(desc_info, group_ids); desc_info 646 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_cmd_group_tbl_add_l3_unicast(struct rocker_desc_info *desc_info, desc_info 650 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put(desc_info, ROCKER_TLV_OF_DPA_SRC_MAC, desc_info 654 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put(desc_info, ROCKER_TLV_OF_DPA_DST_MAC, desc_info 658 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_put_be16(desc_info, ROCKER_TLV_OF_DPA_VLAN_ID, desc_info 661 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u8(desc_info, ROCKER_TLV_OF_DPA_TTL_CHECK, desc_info 664 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_GROUP_ID_LOWER, desc_info 672 drivers/net/ethernet/rocker/rocker_ofdpa.c struct rocker_desc_info *desc_info, desc_info 679 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_CMD_TYPE, entry->cmd)) desc_info 681 drivers/net/ethernet/rocker/rocker_ofdpa.c cmd_info = rocker_tlv_nest_start(desc_info, ROCKER_TLV_CMD_INFO); desc_info 685 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_GROUP_ID, desc_info 691 drivers/net/ethernet/rocker/rocker_ofdpa.c err = ofdpa_cmd_group_tbl_add_l2_interface(desc_info, entry); desc_info 694 drivers/net/ethernet/rocker/rocker_ofdpa.c err = ofdpa_cmd_group_tbl_add_l2_rewrite(desc_info, entry); desc_info 698 drivers/net/ethernet/rocker/rocker_ofdpa.c err = ofdpa_cmd_group_tbl_add_group_ids(desc_info, entry); desc_info 701 drivers/net/ethernet/rocker/rocker_ofdpa.c err = ofdpa_cmd_group_tbl_add_l3_unicast(desc_info, entry); desc_info 711 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_nest_end(desc_info, cmd_info); desc_info 717 drivers/net/ethernet/rocker/rocker_ofdpa.c struct rocker_desc_info *desc_info, desc_info 723 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_CMD_TYPE, entry->cmd)) desc_info 725 drivers/net/ethernet/rocker/rocker_ofdpa.c cmd_info = rocker_tlv_nest_start(desc_info, ROCKER_TLV_CMD_INFO); desc_info 728 drivers/net/ethernet/rocker/rocker_ofdpa.c if (rocker_tlv_put_u32(desc_info, ROCKER_TLV_OF_DPA_GROUP_ID, desc_info 731 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_tlv_nest_end(desc_info, cmd_info); desc_info 32 drivers/net/ethernet/rocker/rocker_tlv.c int rocker_tlv_put(struct rocker_desc_info *desc_info, desc_info 35 drivers/net/ethernet/rocker/rocker_tlv.c int tail_room = desc_info->data_size - desc_info->tlv_size; desc_info 42 drivers/net/ethernet/rocker/rocker_tlv.c tlv = rocker_tlv_start(desc_info); desc_info 43 drivers/net/ethernet/rocker/rocker_tlv.c desc_info->tlv_size += total_size; desc_info 122 drivers/net/ethernet/rocker/rocker_tlv.h const struct rocker_desc_info *desc_info) desc_info 124 drivers/net/ethernet/rocker/rocker_tlv.h rocker_tlv_parse(tb, maxtype, desc_info->data, desc_info 125 drivers/net/ethernet/rocker/rocker_tlv.h desc_info->desc->tlv_size); desc_info 129 drivers/net/ethernet/rocker/rocker_tlv.h rocker_tlv_start(struct rocker_desc_info *desc_info) desc_info 131 drivers/net/ethernet/rocker/rocker_tlv.h return (struct rocker_tlv *) ((char *) desc_info->data + desc_info 132 drivers/net/ethernet/rocker/rocker_tlv.h desc_info->tlv_size); desc_info 135 drivers/net/ethernet/rocker/rocker_tlv.h int rocker_tlv_put(struct rocker_desc_info *desc_info, desc_info 139 drivers/net/ethernet/rocker/rocker_tlv.h rocker_tlv_put_u8(struct rocker_desc_info *desc_info, int attrtype, u8 value) desc_info 143 drivers/net/ethernet/rocker/rocker_tlv.h return rocker_tlv_put(desc_info, attrtype, sizeof(u8), &tmp); desc_info 147 drivers/net/ethernet/rocker/rocker_tlv.h rocker_tlv_put_u16(struct rocker_desc_info *desc_info, int attrtype, u16 value) desc_info 151 drivers/net/ethernet/rocker/rocker_tlv.h return rocker_tlv_put(desc_info, attrtype, sizeof(u16), &tmp); desc_info 155 drivers/net/ethernet/rocker/rocker_tlv.h rocker_tlv_put_be16(struct rocker_desc_info *desc_info, int attrtype, __be16 value) desc_info 159 drivers/net/ethernet/rocker/rocker_tlv.h return rocker_tlv_put(desc_info, attrtype, sizeof(__be16), &tmp); desc_info 163 drivers/net/ethernet/rocker/rocker_tlv.h rocker_tlv_put_u32(struct rocker_desc_info *desc_info, int attrtype, u32 value) desc_info 167 drivers/net/ethernet/rocker/rocker_tlv.h return rocker_tlv_put(desc_info, attrtype, sizeof(u32), &tmp); desc_info 171 drivers/net/ethernet/rocker/rocker_tlv.h rocker_tlv_put_be32(struct rocker_desc_info *desc_info, int attrtype, __be32 value) desc_info 175 drivers/net/ethernet/rocker/rocker_tlv.h return rocker_tlv_put(desc_info, attrtype, sizeof(__be32), &tmp); desc_info 179 drivers/net/ethernet/rocker/rocker_tlv.h rocker_tlv_put_u64(struct rocker_desc_info *desc_info, int attrtype, u64 value) desc_info 183 drivers/net/ethernet/rocker/rocker_tlv.h return rocker_tlv_put(desc_info, attrtype, sizeof(u64), &tmp); desc_info 187 drivers/net/ethernet/rocker/rocker_tlv.h rocker_tlv_nest_start(struct rocker_desc_info *desc_info, int attrtype) desc_info 189 drivers/net/ethernet/rocker/rocker_tlv.h struct rocker_tlv *start = rocker_tlv_start(desc_info); desc_info 191 drivers/net/ethernet/rocker/rocker_tlv.h if (rocker_tlv_put(desc_info, attrtype, 0, NULL) < 0) desc_info 197 drivers/net/ethernet/rocker/rocker_tlv.h static inline void rocker_tlv_nest_end(struct rocker_desc_info *desc_info, desc_info 200 drivers/net/ethernet/rocker/rocker_tlv.h start->len = (char *) rocker_tlv_start(desc_info) - (char *) start; desc_info 203 drivers/net/ethernet/rocker/rocker_tlv.h static inline void rocker_tlv_nest_cancel(struct rocker_desc_info *desc_info, desc_info 206 drivers/net/ethernet/rocker/rocker_tlv.h desc_info->tlv_size = (const char *) start - desc_info->data; desc_info 117 drivers/net/ethernet/ti/netcp_core.c static void get_desc_info(u32 *desc_info, u32 *pkt_info, desc_info 120 drivers/net/ethernet/ti/netcp_core.c *desc_info = le32_to_cpu(desc->desc_info); desc_info 159 drivers/net/ethernet/ti/netcp_core.c static void set_desc_info(u32 desc_info, u32 pkt_info, desc_info 162 drivers/net/ethernet/ti/netcp_core.c desc->desc_info = cpu_to_le32(desc_info); desc_info 856 drivers/net/ethernet/ti/netcp_core.c u32 desc_info, pkt_info; desc_info 909 drivers/net/ethernet/ti/netcp_core.c desc_info = KNAV_DMA_DESC_PS_INFO_IN_DESC; desc_info 910 drivers/net/ethernet/ti/netcp_core.c desc_info |= buf_len & KNAV_DMA_DESC_PKT_LEN_MASK; desc_info 918 drivers/net/ethernet/ti/netcp_core.c set_desc_info(desc_info, pkt_info, hwdesc); desc_info 1162 drivers/net/ethernet/ti/netcp_core.c set_words(&pkt_len, 1, &desc->desc_info); desc_info 153 include/linux/soc/ti/knav_dma.h __le32 desc_info;