last_desc 252 drivers/atm/iphase.c if( eabr_vc->last_desc ) { last_desc 256 drivers/atm/iphase.c if ((eabr_vc->last_desc)&&((abr_vc->status & 0x07)==ABR_STATE)) last_desc 270 drivers/atm/iphase.h u_short last_desc; last_desc 781 drivers/crypto/ccree/cc_cipher.c bool last_desc = (ctx_p->key_type == CC_POLICY_PROTECTED_KEY || last_desc 794 drivers/crypto/ccree/cc_cipher.c nbytes, NS_BIT, (!last_desc ? 0 : 1)); last_desc 795 drivers/crypto/ccree/cc_cipher.c if (last_desc) last_desc 812 drivers/crypto/ccree/cc_cipher.c (!last_desc ? 0 : 1)); last_desc 823 drivers/crypto/ccree/cc_cipher.c (!last_desc ? 0 : 1)); last_desc 825 drivers/crypto/ccree/cc_cipher.c if (last_desc) last_desc 745 drivers/crypto/chelsio/chcr_ipsec.c int last_desc; last_desc 751 drivers/crypto/chelsio/chcr_ipsec.c last_desc = q->q.pidx + ndesc - 1; last_desc 752 drivers/crypto/chelsio/chcr_ipsec.c if (last_desc >= q->q.size) last_desc 753 drivers/crypto/chelsio/chcr_ipsec.c last_desc -= q->q.size; last_desc 754 drivers/crypto/chelsio/chcr_ipsec.c q->q.sdesc[last_desc].skb = skb; last_desc 755 drivers/crypto/chelsio/chcr_ipsec.c q->q.sdesc[last_desc].sgl = (struct ulptx_sgl *)sgl; last_desc 88 drivers/infiniband/hw/qib/qib_user_sdma.c u16 last_desc; /* last desc */ last_desc 256 drivers/infiniband/hw/qib/qib_user_sdma.c u16 first_desc, u16 last_desc, last_desc 264 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->addr[i].last_desc = last_desc; last_desc 992 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->addr[0].last_desc = 1; last_desc 1223 drivers/infiniband/hw/qib/qib_user_sdma.c if (pkt->addr[idx].last_desc) { last_desc 1271 drivers/infiniband/hw/qib/qib_user_sdma.c if (pkt->addr[i].last_desc == 0) last_desc 1604 drivers/net/ethernet/chelsio/cxgb4/sge.c int last_desc; last_desc 1609 drivers/net/ethernet/chelsio/cxgb4/sge.c last_desc = q->q.pidx + ndesc - 1; last_desc 1610 drivers/net/ethernet/chelsio/cxgb4/sge.c if (last_desc >= q->q.size) last_desc 1611 drivers/net/ethernet/chelsio/cxgb4/sge.c last_desc -= q->q.size; last_desc 1612 drivers/net/ethernet/chelsio/cxgb4/sge.c q->q.sdesc[last_desc].skb = skb; last_desc 1613 drivers/net/ethernet/chelsio/cxgb4/sge.c q->q.sdesc[last_desc].sgl = (struct ulptx_sgl *)sgl; last_desc 1942 drivers/net/ethernet/chelsio/cxgb4/sge.c int last_desc; last_desc 1959 drivers/net/ethernet/chelsio/cxgb4/sge.c last_desc = tq->pidx + ndesc - 1; last_desc 1960 drivers/net/ethernet/chelsio/cxgb4/sge.c if (last_desc >= tq->size) last_desc 1961 drivers/net/ethernet/chelsio/cxgb4/sge.c last_desc -= tq->size; last_desc 1962 drivers/net/ethernet/chelsio/cxgb4/sge.c tq->sdesc[last_desc].skb = skb; last_desc 1963 drivers/net/ethernet/chelsio/cxgb4/sge.c tq->sdesc[last_desc].sgl = sgl; last_desc 2294 drivers/net/ethernet/chelsio/cxgb4/sge.c int last_desc, hdr_len = skb_transport_offset(skb); last_desc 2327 drivers/net/ethernet/chelsio/cxgb4/sge.c last_desc = q->q.pidx + ndesc - 1; last_desc 2328 drivers/net/ethernet/chelsio/cxgb4/sge.c if (last_desc >= q->q.size) last_desc 2329 drivers/net/ethernet/chelsio/cxgb4/sge.c last_desc -= q->q.size; last_desc 2330 drivers/net/ethernet/chelsio/cxgb4/sge.c q->q.sdesc[last_desc].skb = skb; last_desc 1421 drivers/net/ethernet/chelsio/cxgb4vf/sge.c int last_desc; last_desc 1438 drivers/net/ethernet/chelsio/cxgb4vf/sge.c last_desc = tq->pidx + ndesc - 1; last_desc 1439 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (last_desc >= tq->size) last_desc 1440 drivers/net/ethernet/chelsio/cxgb4vf/sge.c last_desc -= tq->size; last_desc 1441 drivers/net/ethernet/chelsio/cxgb4vf/sge.c tq->sdesc[last_desc].skb = skb; last_desc 1442 drivers/net/ethernet/chelsio/cxgb4vf/sge.c tq->sdesc[last_desc].sgl = sgl; last_desc 260 drivers/net/ethernet/marvell/mvneta.c (((index) < (q)->last_desc) ? ((index) + 1) : 0) last_desc 583 drivers/net/ethernet/marvell/mvneta.c int last_desc; last_desc 618 drivers/net/ethernet/marvell/mvneta.c int last_desc; last_desc 892 drivers/net/ethernet/marvell/mvneta.c txq->next_desc_to_proc = txq->last_desc - 1; last_desc 2905 drivers/net/ethernet/marvell/mvneta.c rxq->last_desc = rxq->size - 1; last_desc 2974 drivers/net/ethernet/marvell/mvneta.c rxq->last_desc = 0; last_desc 3004 drivers/net/ethernet/marvell/mvneta.c txq->last_desc = txq->size - 1; last_desc 3087 drivers/net/ethernet/marvell/mvneta.c txq->last_desc = 0; last_desc 497 drivers/net/ethernet/marvell/mvpp2/mvpp2.h (((index) < (q)->last_desc) ? ((index) + 1) : 0) last_desc 1131 drivers/net/ethernet/marvell/mvpp2/mvpp2.h int last_desc; last_desc 1154 drivers/net/ethernet/marvell/mvpp2/mvpp2.h int last_desc; last_desc 2012 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c txq->next_desc_to_proc = txq->last_desc - 1; last_desc 2328 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c aggr_txq->last_desc = MVPP2_AGGR_TXQ_SIZE - 1; last_desc 2367 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c rxq->last_desc = rxq->size - 1; last_desc 2437 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c rxq->last_desc = 0; last_desc 2470 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c txq->last_desc = txq->size - 1; last_desc 2570 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c txq->last_desc = 0; last_desc 834 drivers/net/ethernet/micrel/ksz884x.c u32 last_desc:1; last_desc 862 drivers/net/ethernet/micrel/ksz884x.c u32 last_desc:1; last_desc 5050 drivers/net/ethernet/micrel/ksz884x.c if (status.rx.last_desc && status.rx.first_desc) { last_desc 5095 drivers/net/ethernet/micrel/ksz884x.c if (status.rx.last_desc && status.rx.first_desc) { last_desc 5140 drivers/net/ethernet/micrel/ksz884x.c if (status.rx.last_desc && status.rx.first_desc) { last_desc 72 drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c p->tdes23.tx_rd_des23.last_desc = 1; last_desc 93 drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c return p->tdes23.tx_rd_des23.last_desc; last_desc 254 drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c return p->rdes23.rx_wb_des23.last_desc; last_desc 51 drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h u16 last_desc:1; last_desc 115 drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h u32 last_desc:1; last_desc 135 drivers/net/wireless/ath/carl9170/fw.c const struct carl9170fw_last_desc *last_desc; last_desc 141 drivers/net/wireless/ath/carl9170/fw.c last_desc = carl9170_fw_find_desc(ar, LAST_MAGIC, last_desc 142 drivers/net/wireless/ath/carl9170/fw.c sizeof(*last_desc), CARL9170FW_LAST_DESC_CUR_VER); last_desc 143 drivers/net/wireless/ath/carl9170/fw.c if (!last_desc) last_desc 165 drivers/net/wireless/ath/carl9170/fw.c fin = (unsigned long) last_desc + sizeof(*last_desc); last_desc 1598 drivers/net/wireless/ti/wl18xx/main.c struct wl1271_tx_hw_descr *last_desc; last_desc 1601 drivers/net/wireless/ti/wl18xx/main.c last_desc = (struct wl1271_tx_hw_descr *)(wl->aggr_buf + last_desc 1605 drivers/net/wireless/ti/wl18xx/main.c last_desc->wl18xx_mem.ctrl &= ~WL18XX_TX_CTRL_NOT_PADDED; last_desc 192 drivers/usb/gadget/udc/aspeed-vhub/ep0.c req->last_desc = 1; last_desc 195 drivers/usb/gadget/udc/aspeed-vhub/ep0.c if (req->last_desc >= 0) { last_desc 212 drivers/usb/gadget/udc/aspeed-vhub/ep0.c req->last_desc = 1; last_desc 215 drivers/usb/gadget/udc/aspeed-vhub/ep0.c chunk, req->last_desc, req->req.actual, ep->ep.maxpacket); last_desc 399 drivers/usb/gadget/udc/aspeed-vhub/ep0.c req->last_desc = -1; last_desc 60 drivers/usb/gadget/udc/aspeed-vhub/epn.c req->last_desc = 1; last_desc 63 drivers/usb/gadget/udc/aspeed-vhub/epn.c req, act, len, chunk, req->last_desc); last_desc 135 drivers/usb/gadget/udc/aspeed-vhub/epn.c req->last_desc = 1; last_desc 138 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (req->last_desc >= 0) { last_desc 178 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (req->last_desc >= 0) last_desc 185 drivers/usb/gadget/udc/aspeed-vhub/epn.c while (ast_vhub_count_free_descs(ep) && req->last_desc < 0) { last_desc 205 drivers/usb/gadget/udc/aspeed-vhub/epn.c req->last_desc = d_num; last_desc 211 drivers/usb/gadget/udc/aspeed-vhub/epn.c act, len, chunk, req->last_desc, d_num, last_desc 228 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (req->last_desc >= 0 || !ast_vhub_count_free_descs(ep)) last_desc 292 drivers/usb/gadget/udc/aspeed-vhub/epn.c is_last_desc = req->last_desc == d_num; last_desc 400 drivers/usb/gadget/udc/aspeed-vhub/epn.c req->last_desc = -1; last_desc 245 drivers/usb/gadget/udc/aspeed-vhub/vhub.h int last_desc; last_desc 177 drivers/usb/gadget/udc/gr_udc.c } while (desc != req->last_desc); last_desc 267 drivers/usb/gadget/udc/gr_udc.c } while (desc != req->last_desc); last_desc 271 drivers/usb/gadget/udc/gr_udc.c req->last_desc = NULL; last_desc 386 drivers/usb/gadget/udc/gr_udc.c req->last_desc->data = ep->tailbuf_paddr; last_desc 456 drivers/usb/gadget/udc/gr_udc.c req->last_desc->next_desc = desc; last_desc 457 drivers/usb/gadget/udc/gr_udc.c req->last_desc->next = desc->paddr; last_desc 458 drivers/usb/gadget/udc/gr_udc.c req->last_desc->ctrl |= GR_DESC_OUT_CTRL_NX; last_desc 460 drivers/usb/gadget/udc/gr_udc.c req->last_desc = desc; last_desc 565 drivers/usb/gadget/udc/gr_udc.c req->last_desc->ctrl |= GR_DESC_IN_CTRL_PI; last_desc 1241 drivers/usb/gadget/udc/gr_udc.c if (!req->last_desc) last_desc 1244 drivers/usb/gadget/udc/gr_udc.c if (READ_ONCE(req->last_desc->ctrl) & GR_DESC_IN_CTRL_EN) last_desc 168 drivers/usb/gadget/udc/gr_udc.h struct gr_dma_desc *last_desc; /* Last in the chain */ last_desc 1094 sound/sparc/dbri.c int last_desc = -1; last_desc 1188 sound/sparc/dbri.c dbri->next_desc[last_desc] = desc; last_desc 1189 sound/sparc/dbri.c dbri->dma->desc[last_desc].nda = last_desc 1193 sound/sparc/dbri.c last_desc = desc; last_desc 1198 sound/sparc/dbri.c if (first_desc == -1 || last_desc == -1) { last_desc 1204 sound/sparc/dbri.c dbri->dma->desc[last_desc].nda = last_desc 1206 sound/sparc/dbri.c dbri->next_desc[last_desc] = first_desc;