/drivers/usb/gadget/udc/aspeed-vhub/ |
D | epn.c | 60 req->last_desc = 1; in ast_vhub_epn_kick() 63 req, act, len, chunk, req->last_desc); in ast_vhub_epn_kick() 135 req->last_desc = 1; in ast_vhub_epn_handle_ack() 138 if (req->last_desc >= 0) { in ast_vhub_epn_handle_ack() 178 if (req->last_desc >= 0) in ast_vhub_epn_kick_desc() 185 while (ast_vhub_count_free_descs(ep) && req->last_desc < 0) { in ast_vhub_epn_kick_desc() 205 req->last_desc = d_num; in ast_vhub_epn_kick_desc() 211 act, len, chunk, req->last_desc, d_num, in ast_vhub_epn_kick_desc() 228 if (req->last_desc >= 0 || !ast_vhub_count_free_descs(ep)) in ast_vhub_epn_kick_desc() 292 is_last_desc = req->last_desc == d_num; in ast_vhub_epn_handle_ack_desc() [all …]
|
D | ep0.c | 192 req->last_desc = 1; in ast_vhub_ep0_do_send() 195 if (req->last_desc >= 0) { in ast_vhub_ep0_do_send() 212 req->last_desc = 1; in ast_vhub_ep0_do_send() 215 chunk, req->last_desc, req->req.actual, ep->ep.maxpacket); in ast_vhub_ep0_do_send() 399 req->last_desc = -1; in ast_vhub_ep0_queue()
|
D | vhub.h | 245 int last_desc; member
|
/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()
|
/drivers/crypto/chelsio/ |
D | chcr_ipsec.c | 745 int last_desc; in chcr_ipsec_xmit() local 751 last_desc = q->q.pidx + ndesc - 1; in chcr_ipsec_xmit() 752 if (last_desc >= q->q.size) in chcr_ipsec_xmit() 753 last_desc -= q->q.size; in chcr_ipsec_xmit() 754 q->q.sdesc[last_desc].skb = skb; in chcr_ipsec_xmit() 755 q->q.sdesc[last_desc].sgl = (struct ulptx_sgl *)sgl; in chcr_ipsec_xmit()
|
/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()
|
/drivers/usb/gadget/udc/ |
D | gr_udc.c | 177 } 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
|
/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() 992 pkt->addr[0].last_desc = 1; in qib_user_sdma_queue_pkts() 1223 if (pkt->addr[idx].last_desc) { in qib_user_sdma_send_frag() 1271 if (pkt->addr[i].last_desc == 0) in qib_user_sdma_send_desc()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1607 int last_desc; in cxgb4_eth_xmit() local 1612 last_desc = q->q.pidx + ndesc - 1; in cxgb4_eth_xmit() 1613 if (last_desc >= q->q.size) in cxgb4_eth_xmit() 1614 last_desc -= q->q.size; in cxgb4_eth_xmit() 1615 q->q.sdesc[last_desc].skb = skb; in cxgb4_eth_xmit() 1616 q->q.sdesc[last_desc].sgl = (struct ulptx_sgl *)sgl; in cxgb4_eth_xmit() 1954 int last_desc; in cxgb4_vf_eth_xmit() local 1971 last_desc = tq->pidx + ndesc - 1; in cxgb4_vf_eth_xmit() 1972 if (last_desc >= tq->size) in cxgb4_vf_eth_xmit() 1973 last_desc -= tq->size; in cxgb4_vf_eth_xmit() [all …]
|
/drivers/crypto/ccree/ |
D | cc_cipher.c | 741 bool last_desc = (ctx_p->key_type == CC_POLICY_PROTECTED_KEY || in cc_setup_flow_desc() local 754 nbytes, NS_BIT, (!last_desc ? 0 : 1)); in cc_setup_flow_desc() 755 if (last_desc) in cc_setup_flow_desc() 772 (!last_desc ? 0 : 1)); in cc_setup_flow_desc() 783 (!last_desc ? 0 : 1)); in cc_setup_flow_desc() 785 if (last_desc) in cc_setup_flow_desc()
|
/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2.h | 497 (((index) < (q)->last_desc) ? ((index) + 1) : 0) 1131 int last_desc; member 1154 int last_desc; member
|
D | mvpp2_main.c | 2012 txq->next_desc_to_proc = txq->last_desc - 1; in mvpp2_txq_desc_put() 2328 aggr_txq->last_desc = MVPP2_AGGR_TXQ_SIZE - 1; in mvpp2_aggr_txq_init() 2367 rxq->last_desc = rxq->size - 1; in mvpp2_rxq_init() 2437 rxq->last_desc = 0; in mvpp2_rxq_deinit() 2470 txq->last_desc = txq->size - 1; in mvpp2_txq_init() 2570 txq->last_desc = 0; in mvpp2_txq_deinit()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1421 int last_desc; in t4vf_eth_xmit() local 1438 last_desc = tq->pidx + ndesc - 1; in t4vf_eth_xmit() 1439 if (last_desc >= tq->size) in t4vf_eth_xmit() 1440 last_desc -= tq->size; in t4vf_eth_xmit() 1441 tq->sdesc[last_desc].skb = skb; in t4vf_eth_xmit() 1442 tq->sdesc[last_desc].sgl = sgl; in t4vf_eth_xmit()
|
/drivers/net/ethernet/marvell/ |
D | mvneta.c | 260 (((index) < (q)->last_desc) ? ((index) + 1) : 0) 581 int last_desc; member 616 int last_desc; member 887 txq->next_desc_to_proc = txq->last_desc - 1; in mvneta_txq_desc_put() 2891 rxq->last_desc = rxq->size - 1; in mvneta_rxq_sw_init() 2960 rxq->last_desc = 0; in mvneta_rxq_deinit() 2990 txq->last_desc = txq->size - 1; in mvneta_txq_sw_init() 3073 txq->last_desc = 0; in mvneta_txq_sw_deinit()
|
/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()
|
/drivers/atm/ |
D | iphase.h | 270 u_short last_desc; member
|
D | iphase.c | 252 if( eabr_vc->last_desc ) { in clear_lockup() 256 if ((eabr_vc->last_desc)&&((abr_vc->status & 0x07)==ABR_STATE)) in clear_lockup()
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 834 u32 last_desc:1; member 862 u32 last_desc:1; 5050 if (status.rx.last_desc && status.rx.first_desc) { in dev_rcv_packets() 5095 if (status.rx.last_desc && status.rx.first_desc) { in port_rcv_packets() 5140 if (status.rx.last_desc && status.rx.first_desc) { in dev_rcv_special()
|