/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 120 int last; member in struct:myri10ge_tx_buffer_state 1304 /* unmap the recvd page if we're the only or last user of it */ 1420 if (tx->info[idx].last) { 1422 tx->info[idx].last = 0; 2699 /* re-write the last 32-bits with the valid flags */ 2847 * after the last cut in the request. All previous 2848 * segments before the last cut implicitly have 1 RDMA. 2945 tx->info[idx].last = 1; 3580 * when the driver was loaded, or the last time the
|
/drivers/net/ethernet/sun/ |
H A D | cassini.c | 469 /* cp->lock held. note: the last put_page will free the buffer */ 2222 unsigned int entry, last, count, released; local 2233 last = RX_DESC_ENTRY(ring, num ? entry + num - 4: entry - 4); 2235 while (entry != last) { 2413 int last, entry; local 2415 last = cp->rx_cur[ring]; 2422 while (last != entry) { 2423 cas_rxc_init(rxc + last); 2424 last = RX_COMP_ENTRY(ring, last 2739 cas_write_txd(struct cas *cp, int ring, int entry, dma_addr_t mapping, int len, u64 ctrl, int last) argument [all...] |
/drivers/net/wireless/b43/ |
H A D | phy_n.c | 3730 u16 tmp, core, type, count, max, numb, last = 0, cmd; local 3890 last = (dev->phy.rev < 3) ? 6 : 7; 3892 if (!mphase || nphy->mphase_cal_phase_id == last) { 3934 if (dev->phy.rev < 2 && (!mphase || nphy->mphase_cal_phase_id == last))
|
/drivers/tty/ |
H A D | synclink_gt.c | 461 static void free_rbufs(struct slgt_info *info, unsigned int first, unsigned int last); 2283 * search backwards from last loaded buffer (precedes tbuf_current) 4607 * free range of receive DMA buffers (i to last) 4609 static void free_rbufs(struct slgt_info *info, unsigned int i, unsigned int last) argument 4617 if (i == last) 4830 /* if tx DMA active, last zero count buffer is in use */ 4854 * Record buf_count of last buffer with zero count starting 4873 /* if tx DMA active, last zero count buffer is in use */ 4926 * set EOF bit for last buffer of HDLC frame or
|
H A D | synclinkmp.c | 580 static void rx_free_frame_buffers(SLMP_INFO *info, unsigned int first, unsigned int last); 4170 /* set new last rx descriptor address */ 4235 /* set TX EDA (last descriptor address) */ 4804 * last index of last receive buffer of frame 4806 static void rx_free_frame_buffers(SLMP_INFO *info, unsigned int first, unsigned int last) argument 4814 if (first == last) { 4816 /* set new last rx descriptor address */ 4825 /* set current buffer to next buffer after last buffer of frame */ 4836 unsigned int StartIndex, EndIndex; /* index of 1st and last buffer [all...] |
/drivers/tty/vt/ |
H A D | vt.c | 69 * original codes or '?' as a last resort if replacement glyph is undefined 118 int last; member in struct:con_driver 186 * last_console is the last used one, 2069 uint32_t last; member in struct:interval 2077 if (ucs < table[0].first || ucs > table[max].last) 2081 if (ucs > table[mid].last) 2906 con_driver->last = MAX_NR_CONSOLES - 1; 3020 static int bind_con_driver(const struct consw *csw, int first, int last, argument 3061 last = min(last, con_drive 3122 con_is_graphics(const struct consw *csw, int first, int last) argument 3155 unbind_con_driver(const struct consw *csw, int first, int last, int deflt) argument 3245 int i, more = 1, first = -1, last = -1, deflt = 0; local 3296 int i, more = 1, first = -1, last = -1, deflt = 0; local 3522 register_con_driver(const struct consw *csw, int first, int last) argument 3645 take_over_console(const struct consw *csw, int first, int last, int deflt) argument [all...] |
/drivers/usb/gadget/ |
H A D | pch_udc.c | 398 * @td_data_last: last dma desc. of chain 1554 struct pch_udc_data_dma_desc *td = req->td_data, *last; local 1572 last = td; 1579 last->next = dma_addr;
|
/drivers/ata/ |
H A D | libata-core.c | 317 * The last entry which has matching port number is used, so it 2626 /* This is the last chance, better to slow 3456 u32 last, cur; local 3467 last = cur; 3477 if (cur == last) { 3487 last = cur; 4369 * Check this last so that we know if the transfer rate was 4692 /* the last tag is reserved for internal command. */ 5673 * last entry will be used for the remaining ports.
|
H A D | sata_mv.c | 1751 * Populate the SG list and mark the last entry. 1793 static void mv_crqb_pack_cmd(__le16 *cmdw, u8 data, u8 addr, unsigned last) argument 1796 (last ? CRQB_CMD_LAST : 0); 2087 mv_crqb_pack_cmd(cw++, tf->command, ATA_REG_CMD, 1); /* last */ 2783 /* Process new responses from since the last time we looked */
|
/drivers/atm/ |
H A D | idt77252.h | 164 struct scqe *last; member in struct:scq_info 270 struct rsq_entry *last; member in struct:rsq_info 305 struct tsq_entry *last; member in struct:tsq_info 755 #define SAR_RCTE_LCD 0x01000000 /* last cell data */
|
/drivers/crypto/ |
H A D | hifn_795x.c | 1284 unsigned int offset, unsigned int size, int last) 1296 HIFN_D_MASKDONEIRQ | (last ? HIFN_D_LAST : 0)); 1301 (last ? HIFN_D_LAST : 0)); 1342 unsigned offset, unsigned size, int last) 1353 HIFN_D_MASKDONEIRQ | (last ? HIFN_D_LAST : 0)); 1358 (last ? HIFN_D_LAST : 0)); 1283 hifn_setup_src_desc(struct hifn_device *dev, struct page *page, unsigned int offset, unsigned int size, int last) argument 1341 hifn_setup_dst_desc(struct hifn_device *dev, struct page *page, unsigned offset, unsigned size, int last) argument
|
/drivers/dma/ |
H A D | pl330.c | 330 * The PL330 core does not modify this and uses the last 368 * The last xfer in the req must point to NULL. 392 /* If NULL, req will be done at last set parameters. */ 414 /* Location of last load */ 416 /* Location of last store */ 486 /* Index of the last enqueued request */ 488 /* Index of the last submitted request or -1 if the DMA is stopped */ 1577 /* Use last settings, if not provided */ 2330 /* Try to submit a req imm. next to the last completed cookie */ 2496 * We returned the last on 2502 struct dma_pl330_desc *desc, *last = to_desc(tx); local [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_iba7220.c | 2866 u32 i, last; local 2873 last = dd->piobcnt2k + dd->piobcnt4k; 2877 for (i = 0; i < last; i++) { 3019 * The EgrOvfl list needs to be last so we truncate them at the configured 4188 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; local 4200 /* try 4k if all 2k busy, so same last for both sizes */ 4201 last = dd->cspec->lastbuf_for_pio; 4202 buf = qib_getsendbuf_range(dd, pbufnum, first, last); 4377 * based on the length of the previous packet, use the last delay computed
|
H A D | qib_iba7322.c | 2312 * in reset from above). Writes new value of ibcctrl_a as last step. 4342 u32 i, last; local 4345 last = dd->piobcnt2k + dd->piobcnt4k + NUM_VL15_BUFS; 4351 for (i = 0; i < last; i++) { 4542 * The EgrOvfl list needs to be last so we truncate them at the configured 5270 /* do IPG MAD again after linkdown, even if last time failed */ 5752 * The last specific match is used (actually, all are used, but last 6413 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; local 6416 /* last i 6654 const int last = start + len - 1; local [all...] |
/drivers/media/video/ivtv/ |
H A D | ivtv-driver.h | 209 unsigned long last_jiffies; /* when last command was issued */ 210 u32 data[CX2341X_MBOX_MAX_DATA]; /* last sent api data */ 301 unsigned long last; member in struct:ivtv_dma_page_info 687 u32 last_vsync_field; /* last seen vsync field */ 712 u32 pgm_info_write_idx; /* last index written by the card that was transferred to pgm_info[] */ 713 u32 pgm_info_read_idx; /* last index in pgm_info read by the application */ 724 u32 last_dec_timing[3]; /* cache last retrieved pts/scr/frame values */
|
/drivers/net/ethernet/broadcom/ |
H A D | bnx2.c | 2823 int i, last; local 2851 last = tx_buf->nr_frags; 2853 for (i = 0; i < last; i++) { 2912 * last one in the frags array, so we need to recycle that page 5372 int k, last; local 5386 last = tx_buf->nr_frags; 5388 for (k = 0; k < last; k++, j++) {
|
H A D | tg3.c | 5644 * buffers the cpu only reads the last cacheline of the RX descriptor 6684 static void tg3_tx_skb_unmap(struct tg3_napi *tnapi, u32 entry, int last) argument 6704 for (i = 0; i <= last; i++) { 6832 unsigned int last; local 6963 last = skb_shinfo(skb)->nr_frags - 1; 6964 for (i = 0; i <= last; i++) { 6980 ((i == last) ? TXD_FLAG_END : 0), 10402 /* read bytes up to the last 4 byte boundary */ 10415 /* read last bytes not ending on 4 byte boundary */
|
/drivers/net/wireless/bcmdhd/ |
H A D | dhd_sdio.c | 170 uint last; /* Last buffer read index */ member in struct:dhd_console 232 uint16 nextlen; /* Next Read Len from last header */ 254 uint lastintrs; /* Count as of last watchdog timer */ 2608 /* Read last word in memory to determine address of sdpcm_shared structure */ 2695 if (idx == c->last) 2703 while (c->last != idx) { 2705 if (c->last == idx) { 2709 if (c->last >= n) 2710 c->last -= n; 2712 c->last [all...] |
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | dhd_sdio.c | 429 uint last; /* Last buffer read index */ member in struct:brcmf_console 481 u16 nextlen; /* Next Read Len from last header */ 506 uint lastintrs; /* Count as of last watchdog timer */ 1060 brcmf_dbg(ERROR, "count growing: last 0x%04x now 0x%04x\n", 1067 brcmf_dbg(ERROR, "count never zeroed: last 0x%04x\n", lastrbc); 1185 /* For last frame, adjust read len so total 2809 if (idx == c->last) 2818 while (c->last != idx) { 2820 if (c->last == idx) { 2826 if (c->last > [all...] |
/drivers/scsi/aic7xxx/ |
H A D | aic79xx_core.c | 98 * exclude the last element from the count. 415 void *sgptr, dma_addr_t addr, bus_size_t len, int last) 424 sg->len = ahd_htole32(len | (last ? AHD_DMA_LAST_SEG : 0)); 432 | (last ? AHD_DMA_LAST_SEG : 0)); 1058 * The packetized bit refers to the last 1834 * CRC error with P0 asserted on last 2752 * The bus is currently hung on the last ACK. 2753 * Hit LQIRETRY to release the last ack, and 2763 * this last ack until the LQI manager sees a 2797 * stream (P0 asserted during the last packe 414 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, void *sgptr, dma_addr_t addr, bus_size_t len, int last) argument [all...] |
/drivers/scsi/bfa/ |
H A D | bfi.h | 101 BFI_SGE_DATA = 0, /* data address, not last */ 102 BFI_SGE_DATA_CPL = 1, /* data addr, last in current page */ 103 BFI_SGE_DATA_LAST = 3, /* data address, last */ 877 u8 last; member in struct:bfi_flash_write_req_s 1097 u8 last; member in struct:bfi_phy_write_req_s
|
H A D | bfa_fc.h | 160 FCTL_LS_EXCH = 0x100000, /* last sequence of xchg */ 161 FCTL_END_SEQ = 0x080000, /* last frame of sequence */ 1344 u8 last:1; /* last port identifier flag */ member in struct:fcgs_gidft_resp_s
|
/drivers/video/ |
H A D | amifb.c | 32 * - 14 Jul 96: Rework and hopefully last ECS bugs fixed 2605 unsigned long first, last; local 2615 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); 2622 if (last) 2623 first &= last; 2652 if (last) 2653 *dst = comp(*src, *dst, last); 2663 if (last) 2664 first &= last; 2722 if (last) { 2745 unsigned long first, last; local 2897 unsigned long first, last; local 3037 unsigned long first, last; local 3093 unsigned long first, last; local [all...] |
/drivers/gpu/drm/vmwgfx/ |
H A D | svga3d_reg.h | 1435 * in an SVGA3dArray that will be used. If 'last' is zero, it is assumed 1443 uint32 last; member in struct:__anon754 1886 SVGA3D_DEVCAP_MAX /* This must be the last index. */
|
/drivers/scsi/aacraid/ |
H A D | aacraid.h | 832 u64 last; member in struct:fsa_dev_info 1296 struct sgmap sg; // Must be last in struct because it is variable 1307 struct sgmap64 sg; // Must be last in struct because it is variable 1323 struct sgmap sg; // Must be last in struct because it is variable 1337 struct sgmap64 sg; // Must be last in struct because it is variable 1546 #define MAX_VMCOMMAND_NUM 23 /* used for sizing stats array - leave last */
|