Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sparc/include/asm/
Dide.h24 #define __ide_insl(data_reg, buffer, wcount) \ argument
25 __ide_insw(data_reg, buffer, (wcount)<<1)
26 #define __ide_outsl(data_reg, buffer, wcount) \ argument
27 __ide_outsw(data_reg, buffer, (wcount)<<1)
/linux-6.1.9/drivers/spi/
Dspi-davinci.c118 int wcount; member
525 if (dspi->wcount > 0 && !(buf & SPIBUF_TXFULL_MASK)) { in davinci_spi_process_events()
527 dspi->wcount--; in davinci_spi_process_events()
543 if (!dspi->wcount && !dspi->rcount) in davinci_spi_dma_rx_callback()
551 dspi->wcount = 0; in davinci_spi_dma_tx_callback()
553 if (!dspi->wcount && !dspi->rcount) in davinci_spi_dma_tx_callback()
586 dspi->wcount = t->len / data_type; in davinci_spi_bufs()
587 dspi->rcount = dspi->wcount; in davinci_spi_bufs()
600 dspi->wcount--; in davinci_spi_bufs()
668 while (dspi->rcount > 0 || dspi->wcount > 0) { in davinci_spi_bufs()
[all …]
/linux-6.1.9/drivers/dma/
Dtegra20-apb-dma.c138 u32 wcount; member
444 tdc_write(tdc, TEGRA_APBDMA_CHAN_WCOUNT, ch_regs->wcount); in tegra_dma_start()
486 nsg_req->ch_regs.wcount); in tegra_dma_configure_for_next()
748 u32 status, wcount; in tegra_dma_terminate_all() local
766 wcount = tdc_read(tdc, TEGRA_APBDMA_CHAN_WORD_TRANSFER); in tegra_dma_terminate_all()
768 wcount = status; in tegra_dma_terminate_all()
777 get_current_xferred_count(tdc, sgreq, wcount); in tegra_dma_terminate_all()
836 u32 status, wcount = 0; in tegra_dma_sg_bytes_xferred() local
842 wcount = tdc_read(tdc, TEGRA_APBDMA_CHAN_WORD_TRANSFER); in tegra_dma_sg_bytes_xferred()
847 wcount = status; in tegra_dma_sg_bytes_xferred()
[all …]
Dtegra186-gpc-dma.c192 u32 wcount; member
491 tdc_write(tdc, TEGRA_GPCDMA_CHAN_WCOUNT, ch_regs->wcount); in tegra_dma_configure_next_sg()
522 tdc_write(tdc, TEGRA_GPCDMA_CHAN_WCOUNT, ch_regs->wcount); in tegra_dma_start()
729 u32 wcount = 0, status; in tegra_dma_get_residual() local
731 wcount = tdc_read(tdc, TEGRA_GPCDMA_CHAN_XFER_COUNT); in tegra_dma_get_residual()
740 wcount = 0; in tegra_dma_get_residual()
743 sg_req[dma_desc->sg_idx].len - (wcount * 4); in tegra_dma_get_residual()
908 sg_req[0].ch_regs.wcount = ((len - 4) >> 2); in tegra_dma_prep_dma_memset()
978 sg_req[0].ch_regs.wcount = ((len - 4) >> 2); in tegra_dma_prep_dma_memcpy()
1097 sg_req[i].ch_regs.wcount = ((len - 4) >> 2); in tegra_dma_prep_slave_sg()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/i2c/busses/
Di2c-npcm7xx.c1356 u16 wcount; in npcm_i2c_irq_master_handler_write() local
1407 wcount = bus->wr_size - bus->wr_ind; in npcm_i2c_irq_master_handler_write()
1408 npcm_i2c_set_fifo(bus, -1, wcount); in npcm_i2c_irq_master_handler_write()
1409 if (wcount) in npcm_i2c_irq_master_handler_write()
1410 npcm_i2c_write_to_fifo_master(bus, wcount); in npcm_i2c_irq_master_handler_write()