/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/ |
D | epn.c | 54 req->last_desc = 1; in ast_vhub_epn_kick() 57 req, act, len, chunk, req->last_desc); in ast_vhub_epn_kick() 124 req->last_desc = 1; in ast_vhub_epn_handle_ack() 136 req->last_desc = 1; in ast_vhub_epn_handle_ack() 140 if (req->last_desc >= 0) { in ast_vhub_epn_handle_ack() 180 if (req->last_desc >= 0) in ast_vhub_epn_kick_desc() 187 while (ast_vhub_count_free_descs(ep) && req->last_desc < 0) { in ast_vhub_epn_kick_desc() 207 req->last_desc = d_num; in ast_vhub_epn_kick_desc() 213 act, len, chunk, req->last_desc, d_num, in ast_vhub_epn_kick_desc() 230 if (req->last_desc >= 0 || !ast_vhub_count_free_descs(ep)) in ast_vhub_epn_kick_desc() [all …]
|
D | ep0.c | 186 req->last_desc = 1; in ast_vhub_ep0_do_send() 189 if (req->last_desc >= 0) { in ast_vhub_ep0_do_send() 206 req->last_desc = 1; in ast_vhub_ep0_do_send() 209 chunk, req->last_desc, req->req.actual, ep->ep.maxpacket); in ast_vhub_ep0_do_send() 400 req->last_desc = -1; in ast_vhub_ep0_queue()
|
D | vhub.h | 245 int last_desc; member
|
/Linux-v6.6/drivers/net/wireless/ath/carl9170/ |
D | fw.c | 135 const struct carl9170fw_last_desc *last_desc; in carl9170_fw_checksum() local 141 last_desc = carl9170_fw_find_desc(ar, LAST_MAGIC, in carl9170_fw_checksum() 142 sizeof(*last_desc), CARL9170FW_LAST_DESC_CUR_VER); in carl9170_fw_checksum() 143 if (!last_desc) in carl9170_fw_checksum() 165 fin = (unsigned long) last_desc + sizeof(*last_desc); in carl9170_fw_checksum()
|
/Linux-v6.6/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 1109 int credits, left, last_desc; in chcr_ktls_xmit_wr_complete() local 1138 last_desc = q->q.pidx + ndesc - 1; in chcr_ktls_xmit_wr_complete() 1139 if (last_desc >= q->q.size) in chcr_ktls_xmit_wr_complete() 1140 last_desc -= q->q.size; in chcr_ktls_xmit_wr_complete() 1141 sgl_sdesc = &q->q.sdesc[last_desc]; in chcr_ktls_xmit_wr_complete() 1285 int credits, left, last_desc; in chcr_ktls_xmit_wr_short() local 1323 last_desc = q->q.pidx + ndesc - 1; in chcr_ktls_xmit_wr_short() 1324 if (last_desc >= q->q.size) in chcr_ktls_xmit_wr_short() 1325 last_desc -= q->q.size; in chcr_ktls_xmit_wr_short() 1326 sgl_sdesc = &q->q.sdesc[last_desc]; in chcr_ktls_xmit_wr_short() [all …]
|
/Linux-v6.6/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_desc.h | 51 u16 last_desc:1; member 115 u32 last_desc:1; member
|
D | sxgbe_desc.c | 72 p->tdes23.tx_rd_des23.last_desc = 1; in sxgbe_close_tx_desc() 93 return p->tdes23.tx_rd_des23.last_desc; in sxgbe_get_tx_ls() 254 return p->rdes23.rx_wb_des23.last_desc; in sxgbe_get_rx_ld_status()
|
/Linux-v6.6/drivers/infiniband/hw/hfi1/ |
D | sdma.h | 642 u16 last_desc = tx->num_desc - 1; in _sdma_close_tx() local 644 tx->descp[last_desc].qw[0] |= SDMA_DESC0_LAST_DESC_FLAG; in _sdma_close_tx() 645 tx->descp[last_desc].qw[1] |= dd->default_desc1; in _sdma_close_tx() 647 tx->descp[last_desc].qw[1] |= (SDMA_DESC1_HEAD_TO_HOST_FLAG | in _sdma_close_tx()
|
/Linux-v6.6/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
D | chcr_ipsec.c | 713 unsigned int last_desc, ndesc, flits = 0; in ch_ipsec_xmit() local 755 last_desc = q->q.pidx + ndesc - 1; in ch_ipsec_xmit() 756 if (last_desc >= q->q.size) in ch_ipsec_xmit() 757 last_desc -= q->q.size; in ch_ipsec_xmit() 758 sgl_sdesc = &q->q.sdesc[last_desc]; in ch_ipsec_xmit()
|
/Linux-v6.6/drivers/usb/gadget/udc/ |
D | gr_udc.c | 176 } while (desc != req->last_desc); in gr_seq_ep_show() 267 } while (desc != req->last_desc); in gr_free_dma_desc_chain() 271 req->last_desc = NULL; in gr_free_dma_desc_chain() 386 req->last_desc->data = ep->tailbuf_paddr; in gr_start_dma() 456 req->last_desc->next_desc = desc; in gr_add_dma_desc() 457 req->last_desc->next = desc->paddr; in gr_add_dma_desc() 458 req->last_desc->ctrl |= GR_DESC_OUT_CTRL_NX; in gr_add_dma_desc() 460 req->last_desc = desc; in gr_add_dma_desc() 565 req->last_desc->ctrl |= GR_DESC_IN_CTRL_PI; in gr_setup_in_desc_list() 1241 if (!req->last_desc) in gr_handle_in_ep() [all …]
|
D | gr_udc.h | 168 struct gr_dma_desc *last_desc; /* Last in the chain */ member
|
/Linux-v6.6/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 88 u16 last_desc; /* last desc */ member 256 u16 first_desc, u16 last_desc, in qib_user_sdma_init_frag() argument 264 pkt->addr[i].last_desc = last_desc; in qib_user_sdma_init_frag() 1000 pkt->addr[0].last_desc = 1; in qib_user_sdma_queue_pkts() 1231 if (pkt->addr[idx].last_desc) { in qib_user_sdma_send_frag() 1279 if (pkt->addr[i].last_desc == 0) in qib_user_sdma_send_desc()
|
/Linux-v6.6/drivers/crypto/ccree/ |
D | cc_cipher.c | 806 bool last_desc = (ctx_p->key_type == CC_POLICY_PROTECTED_KEY || in cc_setup_flow_desc() local 819 nbytes, NS_BIT, (!last_desc ? 0 : 1)); in cc_setup_flow_desc() 820 if (last_desc) in cc_setup_flow_desc() 837 (!last_desc ? 0 : 1)); in cc_setup_flow_desc() 848 (!last_desc ? 0 : 1)); in cc_setup_flow_desc() 850 if (last_desc) in cc_setup_flow_desc()
|
/Linux-v6.6/sound/sparc/ |
D | dbri.c | 1093 int last_desc = -1; in setup_descs() local 1187 dbri->next_desc[last_desc] = desc; in setup_descs() 1188 dbri->dma->desc[last_desc].nda = in setup_descs() 1192 last_desc = desc; in setup_descs() 1197 if (first_desc == -1 || last_desc == -1) { in setup_descs() 1203 dbri->dma->desc[last_desc].nda = in setup_descs() 1205 dbri->next_desc[last_desc] = first_desc; in setup_descs()
|
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1505 unsigned int last_desc, flits, ndesc; in cxgb4_eth_xmit() local 1580 last_desc = q->q.pidx + ndesc - 1; in cxgb4_eth_xmit() 1581 if (last_desc >= q->q.size) in cxgb4_eth_xmit() 1582 last_desc -= q->q.size; in cxgb4_eth_xmit() 1583 sgl_sdesc = &q->q.sdesc[last_desc]; in cxgb4_eth_xmit() 1826 unsigned int last_desc, flits, ndesc; in cxgb4_vf_eth_xmit() local 1886 last_desc = txq->q.pidx + ndesc - 1; in cxgb4_vf_eth_xmit() 1887 if (last_desc >= txq->q.size) in cxgb4_vf_eth_xmit() 1888 last_desc -= txq->q.size; in cxgb4_vf_eth_xmit() 1889 sgl_sdesc = &txq->q.sdesc[last_desc]; in cxgb4_vf_eth_xmit() [all …]
|
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1418 int last_desc; in t4vf_eth_xmit() local 1435 last_desc = tq->pidx + ndesc - 1; in t4vf_eth_xmit() 1436 if (last_desc >= tq->size) in t4vf_eth_xmit() 1437 last_desc -= tq->size; in t4vf_eth_xmit() 1438 tq->sdesc[last_desc].skb = skb; in t4vf_eth_xmit() 1439 tq->sdesc[last_desc].sgl = sgl; in t4vf_eth_xmit()
|
/Linux-v6.6/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2.h | 596 (((index) < (q)->last_desc) ? ((index) + 1) : 0) 1455 int last_desc; member 1478 int last_desc; member
|
D | mvpp2_main.c | 2552 txq->next_desc_to_proc = txq->last_desc - 1; in mvpp2_txq_desc_put() 2895 aggr_txq->last_desc = MVPP2_AGGR_TXQ_SIZE - 1; in mvpp2_aggr_txq_init() 2935 rxq->last_desc = rxq->size - 1; in mvpp2_rxq_init() 3050 rxq->last_desc = 0; in mvpp2_rxq_deinit() 3083 txq->last_desc = txq->size - 1; in mvpp2_txq_init() 3183 txq->last_desc = 0; in mvpp2_txq_deinit()
|
/Linux-v6.6/drivers/net/wireless/ti/wl18xx/ |
D | main.c | 1598 struct wl1271_tx_hw_descr *last_desc; in wl18xx_pre_pkt_send() local 1601 last_desc = (struct wl1271_tx_hw_descr *)(wl->aggr_buf + in wl18xx_pre_pkt_send() 1605 last_desc->wl18xx_mem.ctrl &= ~WL18XX_TX_CTRL_NOT_PADDED; in wl18xx_pre_pkt_send()
|
/Linux-v6.6/drivers/net/ethernet/marvell/ |
D | mvneta.c | 296 (((index) < (q)->last_desc) ? ((index) + 1) : 0) 693 int last_desc; member 732 int last_desc; member 996 txq->next_desc_to_proc = txq->last_desc - 1; in mvneta_txq_desc_put() 3451 rxq->last_desc = rxq->size - 1; in mvneta_rxq_sw_init() 3517 rxq->last_desc = 0; in mvneta_rxq_deinit() 3545 txq->last_desc = txq->size - 1; in mvneta_txq_sw_init() 3616 txq->last_desc = 0; in mvneta_txq_sw_deinit()
|
/Linux-v6.6/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 766 u32 last_desc:1; member 794 u32 last_desc:1; 4675 if (status.rx.last_desc && status.rx.first_desc) { in dev_rcv_packets() 4720 if (status.rx.last_desc && status.rx.first_desc) { in port_rcv_packets() 4765 if (status.rx.last_desc && status.rx.first_desc) { in dev_rcv_special()
|
/Linux-v6.6/drivers/atm/ |
D | iphase.h | 269 u_short last_desc; member
|
D | iphase.c | 251 if( eabr_vc->last_desc ) { in clear_lockup() 255 if ((eabr_vc->last_desc)&&((abr_vc->status & 0x07)==ABR_STATE)) in clear_lockup()
|