Home
last modified time | relevance | path

Searched refs:desc_info (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/ethernet/rocker/
A Drocker_tlv.h122 const struct rocker_desc_info *desc_info) in rocker_tlv_parse_desc() argument
124 rocker_tlv_parse(tb, maxtype, desc_info->data, in rocker_tlv_parse_desc()
125 desc_info->desc->tlv_size); in rocker_tlv_parse_desc()
129 rocker_tlv_start(struct rocker_desc_info *desc_info) in rocker_tlv_start() argument
131 return (struct rocker_tlv *) ((char *) desc_info->data + in rocker_tlv_start()
132 desc_info->tlv_size); in rocker_tlv_start()
135 int rocker_tlv_put(struct rocker_desc_info *desc_info,
143 return rocker_tlv_put(desc_info, attrtype, sizeof(u8), &tmp); in rocker_tlv_put_u8()
189 struct rocker_tlv *start = rocker_tlv_start(desc_info); in rocker_tlv_nest_start()
191 if (rocker_tlv_put(desc_info, attrtype, 0, NULL) < 0) in rocker_tlv_nest_start()
[all …]
A Drocker_main.c373 desc_info = &info->desc_info[info->head]; in rocker_desc_head_get()
377 return desc_info; in rocker_desc_head_get()
382 desc_info->desc->buf_size = desc_info->data_size; in rocker_desc_commit()
383 desc_info->desc->tlv_size = desc_info->tlv_size; in rocker_desc_commit()
405 desc_info = &info->desc_info[info->tail]; in rocker_desc_tail_get()
409 desc_info->tlv_size = desc_info->desc->tlv_size; in rocker_desc_tail_get()
410 return desc_info; in rocker_desc_tail_get()
439 info->desc_info = kcalloc(info->size, sizeof(*info->desc_info), in rocker_dma_ring_create()
498 struct rocker_desc_info *desc_info = &info->desc_info[i]; in rocker_dma_ring_bufs_alloc() local
528 const struct rocker_desc_info *desc_info = &info->desc_info[i]; in rocker_dma_ring_bufs_alloc() local
[all …]
A Drocker_ofdpa.c476 if (rocker_tlv_put_u8(desc_info, in ofdpa_cmd_flow_tbl_add_acl()
483 if (rocker_tlv_put_u8(desc_info, in ofdpa_cmd_flow_tbl_add_acl()
490 if (rocker_tlv_put_u8(desc_info, in ofdpa_cmd_flow_tbl_add_acl()
506 struct rocker_desc_info *desc_info, in ofdpa_cmd_flow_tbl_add() argument
557 rocker_tlv_nest_end(desc_info, cmd_info); in ofdpa_cmd_flow_tbl_add()
563 struct rocker_desc_info *desc_info, in ofdpa_cmd_flow_tbl_del() argument
577 rocker_tlv_nest_end(desc_info, cmd_info); in ofdpa_cmd_flow_tbl_del()
672 struct rocker_desc_info *desc_info, in ofdpa_cmd_group_tbl_add() argument
711 rocker_tlv_nest_end(desc_info, cmd_info); in ofdpa_cmd_group_tbl_add()
717 struct rocker_desc_info *desc_info, in ofdpa_cmd_group_tbl_del() argument
[all …]
A Drocker_tlv.c32 int rocker_tlv_put(struct rocker_desc_info *desc_info, in rocker_tlv_put() argument
35 int tail_room = desc_info->data_size - desc_info->tlv_size; in rocker_tlv_put()
42 tlv = rocker_tlv_start(desc_info); in rocker_tlv_put()
43 desc_info->tlv_size += total_size; in rocker_tlv_put()
A Drocker.h34 struct rocker_desc_info *desc_info; member
76 struct rocker_desc_info *desc_info,
80 const struct rocker_desc_info *desc_info,
/linux/drivers/net/wireless/realtek/rtw89/
A Dcore.c298 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info; in rtw89_core_tx_update_ampdu_info() local
328 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info; in rtw89_core_tx_update_sec_key() local
400 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info; in rtw89_core_tx_update_mgmt_info() local
425 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info; in rtw89_core_tx_update_h2c_info() local
523 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info; in rtw89_core_tx_update_he_qos_htc() local
551 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info; in rtw89_core_tx_update_data_info() local
1078 iter_data.desc_info = desc_info; in rtw89_core_rx_stats()
1224 if (!desc_info->addr1_match || !desc_info->long_rxdesc) in rtw89_core_stats_sta_rx_status()
1232 iter_data.desc_info = desc_info; in rtw89_core_stats_sta_rx_status()
1251 if (desc_info->icv_err || desc_info->crc32_err) in rtw89_core_update_rx_status()
[all …]
A Dpci.c189 copy_len = desc_info->pkt_size; in rtw89_skb_put_rx_data()
234 if (desc_info->ready) { in rtw89_pci_rxbd_deliver_skbs()
248 offset = desc_info->offset; in rtw89_pci_rxbd_deliver_skbs()
263 if (!desc_info->ready) { in rtw89_pci_rxbd_deliver_skbs()
268 rtw89_core_rx(rtwdev, desc_info, new); in rtw89_pci_rxbd_deliver_skbs()
270 desc_info->ready = false; in rtw89_pci_rxbd_deliver_skbs()
282 desc_info->ready = false; in rtw89_pci_rxbd_deliver_skbs()
519 offset = desc_info.offset; in rtw89_pci_release_tx_skbs()
921 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info; in rtw89_pci_txwd_submit() local
981 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info; in rtw89_pci_fwcmd_submit() local
[all …]
A Dcore.h700 struct rtw89_tx_desc_info desc_info; member
3338 struct rtw89_tx_desc_info *desc_info,
3341 struct rtw89_rx_desc_info *desc_info,
3344 struct rtw89_rx_desc_info *desc_info,
/linux/drivers/net/ethernet/pensando/ionic/
A Dionic_txrx.c337 ionic_rx_clean(q, desc_info, cq_info, desc_info->cb_arg); in ionic_rx_service()
339 desc_info->cb = NULL; in ionic_rx_service()
435 desc_info->nbufs = 0; in ionic_rx_empty()
436 desc_info->cb = NULL; in ionic_rx_empty()
754 desc_info->bytes = 0; in ionic_tx_service()
757 ionic_tx_clean(q, desc_info, cq_info, desc_info->cb_arg); in ionic_tx_service()
762 desc_info->cb = NULL; in ionic_tx_service()
793 desc_info->bytes = 0; in ionic_tx_empty()
795 ionic_tx_clean(q, desc_info, NULL, desc_info->cb_arg); in ionic_tx_empty()
800 desc_info->cb = NULL; in ionic_tx_empty()
[all …]
A Dionic_main.c193 struct ionic_desc_info *desc_info; in ionic_adminq_flush() local
206 desc_info = &q->info[q->tail_idx]; in ionic_adminq_flush()
207 memset(desc_info->desc, 0, sizeof(union ionic_adminq_cmd)); in ionic_adminq_flush()
208 desc_info->cb = NULL; in ionic_adminq_flush()
209 desc_info->cb_arg = NULL; in ionic_adminq_flush()
246 struct ionic_desc_info *desc_info, in ionic_adminq_cb() argument
268 struct ionic_desc_info *desc_info; in ionic_adminq_post() local
290 desc_info = &q->info[q->head_idx]; in ionic_adminq_post()
291 memcpy(desc_info->desc, &ctx->cmd, sizeof(ctx->cmd)); in ionic_adminq_post()
A Dionic_dev.c651 struct ionic_desc_info *desc_info; in ionic_q_post() local
655 desc_info = &q->info[q->head_idx]; in ionic_q_post()
656 desc_info->cb = cb; in ionic_q_post()
657 desc_info->cb_arg = cb_arg; in ionic_q_post()
684 struct ionic_desc_info *desc_info; in ionic_q_service() local
700 desc_info = &q->info[q->tail_idx]; in ionic_q_service()
704 cb = desc_info->cb; in ionic_q_service()
705 cb_arg = desc_info->cb_arg; in ionic_q_service()
707 desc_info->cb = NULL; in ionic_q_service()
708 desc_info->cb_arg = NULL; in ionic_q_service()
[all …]
A Dionic_dev.h174 struct ionic_desc_info *desc_info,
/linux/drivers/ata/
A Dsata_fsl.c227 u32 desc_info; member
407 unsigned int tag, u32 desc_info, in sata_fsl_setup_cmd_hdr_entry() argument
422 pp->cmdslot[tag].desc_info = cpu_to_le32(desc_info | (tag & 0x1F)); in sata_fsl_setup_cmd_hdr_entry()
427 pp->cmdslot[tag].ttl, pp->cmdslot[tag].desc_info); in sata_fsl_setup_cmd_hdr_entry()
513 u32 desc_info = CMD_DESC_RES | CMD_DESC_SNOOP_ENABLE; in sata_fsl_qc_prep() local
533 desc_info |= ATAPI_CMD; in sata_fsl_qc_prep()
544 desc_info |= FPDMA_QUEUED_CMD; in sata_fsl_qc_prep()
546 sata_fsl_setup_cmd_hdr_entry(pp, tag, desc_info, ttl_dwords, in sata_fsl_qc_prep()
550 desc_info, ttl_dwords, num_prde); in sata_fsl_qc_prep()
/linux/drivers/net/ethernet/ti/
A Dnetcp_core.c117 static void get_desc_info(u32 *desc_info, u32 *pkt_info, in get_desc_info() argument
120 *desc_info = le32_to_cpu(desc->desc_info); in get_desc_info()
159 static void set_desc_info(u32 desc_info, u32 pkt_info, in set_desc_info() argument
162 desc->desc_info = cpu_to_le32(desc_info); in set_desc_info()
856 u32 desc_info, pkt_info; in netcp_allocate_rx_buf() local
909 desc_info = KNAV_DMA_DESC_PS_INFO_IN_DESC; in netcp_allocate_rx_buf()
910 desc_info |= buf_len & KNAV_DMA_DESC_PKT_LEN_MASK; in netcp_allocate_rx_buf()
918 set_desc_info(desc_info, pkt_info, hwdesc); in netcp_allocate_rx_buf()
1162 set_words(&pkt_len, 1, &desc->desc_info); in netcp_tx_map_skb()
/linux/include/linux/soc/ti/
A Dknav_dma.h153 __le32 desc_info; member
/linux/drivers/net/ethernet/micrel/
A Dksz884x.c3756 u32 phys = desc_info->ring_phys; in hw_init_desc()
3758 struct ksz_desc *cur = desc_info->ring; in hw_init_desc()
3761 for (i = 0; i < desc_info->alloc; i++) { in hw_init_desc()
3763 phys += desc_info->size; in hw_init_desc()
3771 desc_info->avail = desc_info->alloc; in hw_init_desc()
3772 desc_info->last = desc_info->next = 0; in hw_init_desc()
3774 desc_info->cur = desc_info->ring; in hw_init_desc()
4291 desc_info->ring = kcalloc(desc_info->alloc, sizeof(struct ksz_desc), in ksz_alloc_soft_desc()
4293 if (!desc_info->ring) in ksz_alloc_soft_desc()
4295 hw_init_desc(desc_info, transmit); in ksz_alloc_soft_desc()
[all …]
/linux/drivers/mtd/nand/raw/
A Dqcom_nandc.c285 struct desc_info { struct
786 struct desc_info *desc; in prepare_bam_async_desc()
951 struct desc_info *desc; in prep_adm_dma_desc()
1371 struct desc_info *desc; in submit_descs()
1427 struct desc_info *desc, *n; in free_descs()

Completed in 98 milliseconds