Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/spi/
Dspi-davinci.c117 int wcount; member
524 if (dspi->wcount > 0 && !(buf & SPIBUF_TXFULL_MASK)) { in davinci_spi_process_events()
526 dspi->wcount--; in davinci_spi_process_events()
542 if (!dspi->wcount && !dspi->rcount) in davinci_spi_dma_rx_callback()
550 dspi->wcount = 0; in davinci_spi_dma_tx_callback()
552 if (!dspi->wcount && !dspi->rcount) in davinci_spi_dma_tx_callback()
585 dspi->wcount = t->len / data_type; in davinci_spi_bufs()
586 dspi->rcount = dspi->wcount; in davinci_spi_bufs()
599 dspi->wcount--; in davinci_spi_bufs()
667 while (dspi->rcount > 0 || dspi->wcount > 0) { in davinci_spi_bufs()
[all …]
/Linux-v6.6/drivers/dma/
Dtegra20-apb-dma.c137 u32 wcount; member
438 tdc_write(tdc, TEGRA_APBDMA_CHAN_WCOUNT, ch_regs->wcount); in tegra_dma_start()
480 nsg_req->ch_regs.wcount); in tegra_dma_configure_for_next()
742 u32 status, wcount; in tegra_dma_terminate_all() local
760 wcount = tdc_read(tdc, TEGRA_APBDMA_CHAN_WORD_TRANSFER); in tegra_dma_terminate_all()
762 wcount = status; in tegra_dma_terminate_all()
771 get_current_xferred_count(tdc, sgreq, wcount); in tegra_dma_terminate_all()
830 u32 status, wcount = 0; in tegra_dma_sg_bytes_xferred() local
836 wcount = tdc_read(tdc, TEGRA_APBDMA_CHAN_WORD_TRANSFER); in tegra_dma_sg_bytes_xferred()
841 wcount = status; in tegra_dma_sg_bytes_xferred()
[all …]
Dtegra186-gpc-dma.c195 u32 wcount; member
495 tdc_write(tdc, TEGRA_GPCDMA_CHAN_WCOUNT, ch_regs->wcount); in tegra_dma_configure_next_sg()
526 tdc_write(tdc, TEGRA_GPCDMA_CHAN_WCOUNT, ch_regs->wcount); in tegra_dma_start()
733 u32 wcount = 0, status; in tegra_dma_get_residual() local
735 wcount = tdc_read(tdc, TEGRA_GPCDMA_CHAN_XFER_COUNT); in tegra_dma_get_residual()
744 wcount = 0; in tegra_dma_get_residual()
747 sg_req[dma_desc->sg_idx].len - (wcount * 4); in tegra_dma_get_residual()
912 sg_req[0].ch_regs.wcount = ((len - 4) >> 2); in tegra_dma_prep_dma_memset()
982 sg_req[0].ch_regs.wcount = ((len - 4) >> 2); in tegra_dma_prep_dma_memcpy()
1101 sg_req[i].ch_regs.wcount = ((len - 4) >> 2); in tegra_dma_prep_slave_sg()
[all …]
/Linux-v6.6/drivers/w1/slaves/
Dw1_ds28e17.c302 const u8 *wbuffer, size_t wcount, u8 *rbuffer, size_t rcount) in w1_f19_i2c_write_read() argument
309 if (wcount == 0 || rcount == 0) in w1_f19_i2c_write_read()
315 w1_buf[2] = wcount; in w1_f19_i2c_write_read()
319 crc = crc16(crc, wbuffer, wcount); in w1_f19_i2c_write_read()
320 w1_write_block(sl->master, wbuffer, wcount); in w1_f19_i2c_write_read()
329 if (w1_f19_i2c_busy_wait(sl, wcount + rcount + 2) < 0) in w1_f19_i2c_write_read()
/Linux-v6.6/kernel/debug/
Dgdbstub.c198 int wcount; in gdbstub_msg_write() local
213 wcount = (BUFMAX - 2) >> 1; in gdbstub_msg_write()
215 wcount = len; in gdbstub_msg_write()
218 for (i = 0; i < wcount; i++) in gdbstub_msg_write()
223 s += wcount; in gdbstub_msg_write()
224 len -= wcount; in gdbstub_msg_write()
/Linux-v6.6/include/trace/events/
Dfilelock.h178 __field(int, wcount)
190 __entry->wcount = atomic_read(&inode->i_writecount);
200 __entry->i_ino, __entry->wcount, __entry->rcount,
/Linux-v6.6/drivers/i2c/busses/
Di2c-npcm7xx.c1351 u16 wcount; in npcm_i2c_irq_master_handler_write() local
1402 wcount = bus->wr_size - bus->wr_ind; in npcm_i2c_irq_master_handler_write()
1403 npcm_i2c_set_fifo(bus, -1, wcount); in npcm_i2c_irq_master_handler_write()
1404 if (wcount) in npcm_i2c_irq_master_handler_write()
1405 npcm_i2c_write_to_fifo_master(bus, wcount); in npcm_i2c_irq_master_handler_write()