Searched refs:wcount (Results 1 - 7 of 7) sorted by relevance

/linux-master/drivers/spi/
H A Dspi-davinci.c117 int wcount; member in struct:davinci_spi
524 if (dspi->wcount > 0 && !(buf & SPIBUF_TXFULL_MASK)) {
526 dspi->wcount--;
542 if (!dspi->wcount && !dspi->rcount)
550 dspi->wcount = 0;
552 if (!dspi->wcount && !dspi->rcount)
585 dspi->wcount = t->len / data_type;
586 dspi->rcount = dspi->wcount;
599 dspi->wcount--;
667 while (dspi->rcount > 0 || dspi->wcount >
[all...]
/linux-master/drivers/dma/
H A Dtegra20-apb-dma.c137 u32 wcount; member in struct:tegra_dma_channel_regs
438 tdc_write(tdc, TEGRA_APBDMA_CHAN_WCOUNT, ch_regs->wcount);
480 nsg_req->ch_regs.wcount);
742 u32 status, wcount; local
760 wcount = tdc_read(tdc, TEGRA_APBDMA_CHAN_WORD_TRANSFER);
762 wcount = status;
771 get_current_xferred_count(tdc, sgreq, wcount);
830 u32 status, wcount = 0; local
836 wcount = tdc_read(tdc, TEGRA_APBDMA_CHAN_WORD_TRANSFER);
841 wcount
[all...]
H A Dtegra186-gpc-dma.c195 u32 wcount; member in struct:tegra_dma_channel_regs
495 tdc_write(tdc, TEGRA_GPCDMA_CHAN_WCOUNT, ch_regs->wcount);
526 tdc_write(tdc, TEGRA_GPCDMA_CHAN_WCOUNT, ch_regs->wcount);
733 u32 wcount = 0, status; local
735 wcount = tdc_read(tdc, TEGRA_GPCDMA_CHAN_XFER_COUNT);
738 * Set wcount = 0 if EOC bit is set. The transfer would have
744 wcount = 0;
747 sg_req[dma_desc->sg_idx].len - (wcount * 4);
915 sg_req[0].ch_regs.wcount = ((len - 4) >> 2);
985 sg_req[0].ch_regs.wcount
[all...]
/linux-master/kernel/debug/
H A Dgdbstub.c198 int wcount; local
213 wcount = (BUFMAX - 2) >> 1;
215 wcount = len;
218 for (i = 0; i < wcount; i++)
223 s += wcount;
224 len -= wcount;
/linux-master/drivers/w1/slaves/
H A Dw1_ds28e17.c302 const u8 *wbuffer, size_t wcount, u8 *rbuffer, size_t rcount)
309 if (wcount == 0 || rcount == 0)
315 w1_buf[2] = wcount;
319 crc = crc16(crc, wbuffer, wcount);
320 w1_write_block(sl->master, wbuffer, wcount);
329 if (w1_f19_i2c_busy_wait(sl, wcount + rcount + 2) < 0)
301 w1_f19_i2c_write_read(struct w1_slave *sl, u16 i2c_address, const u8 *wbuffer, size_t wcount, u8 *rbuffer, size_t rcount) argument
/linux-master/include/trace/events/
H A Dfilelock.h178 __field(int, wcount)
190 __entry->wcount = atomic_read(&inode->i_writecount);
198 TP_printk("dev=0x%x:0x%x ino=0x%lx wcount=%d rcount=%d icount=%d fl_owner=%p fl_flags=%s fl_type=%s",
200 __entry->i_ino, __entry->wcount, __entry->rcount,
/linux-master/drivers/i2c/busses/
H A Di2c-npcm7xx.c1347 u16 wcount; local
1398 wcount = bus->wr_size - bus->wr_ind;
1399 npcm_i2c_set_fifo(bus, -1, wcount);
1400 if (wcount)
1401 npcm_i2c_write_to_fifo_master(bus, wcount);

Completed in 137 milliseconds