Home
last modified time | relevance | path

Searched refs:word_count (Results 1 - 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/sound/pci/asihpi/
H A Dhpidspcd.c82 dsp_code->word_count = sizeof(header) / sizeof(u32); in hpi_dsp_code_open()
104 dsp_code->word_count = sizeof(struct code_header) / sizeof(u32); in hpi_dsp_code_rewind()
110 if (dsp_code->word_count + 1 > dsp_code->block_length) in hpi_dsp_code_read_word()
114 word_count]; in hpi_dsp_code_read_word()
115 dsp_code->word_count++; in hpi_dsp_code_read_word()
123 if (dsp_code->word_count + words_requested > dsp_code->block_length) in hpi_dsp_code_read_block()
128 dsp_code->word_count; in hpi_dsp_code_read_block()
129 dsp_code->word_count += words_requested; in hpi_dsp_code_read_block()
H A Dhpidspcd.h51 u32 word_count; member
/kernel/linux/linux-6.6/sound/pci/asihpi/
H A Dhpidspcd.c82 dsp_code->word_count = sizeof(header) / sizeof(u32); in hpi_dsp_code_open()
104 dsp_code->word_count = sizeof(struct code_header) / sizeof(u32); in hpi_dsp_code_rewind()
110 if (dsp_code->word_count + 1 > dsp_code->block_length) in hpi_dsp_code_read_word()
114 word_count]; in hpi_dsp_code_read_word()
115 dsp_code->word_count++; in hpi_dsp_code_read_word()
123 if (dsp_code->word_count + words_requested > dsp_code->block_length) in hpi_dsp_code_read_block()
128 dsp_code->word_count; in hpi_dsp_code_read_block()
129 dsp_code->word_count += words_requested; in hpi_dsp_code_read_block()
H A Dhpidspcd.h51 u32 word_count; member
/kernel/linux/linux-5.10/drivers/ide/
H A Dpdc202xx_old.c156 u32 word_count = 0; in pdc202xx_dma_start() local
160 word_count = (blk_rq_sectors(rq) << 8); in pdc202xx_dma_start()
161 word_count = (rq_data_dir(rq) == READ) ? in pdc202xx_dma_start()
162 word_count | 0x05000000 : in pdc202xx_dma_start()
163 word_count | 0x06000000; in pdc202xx_dma_start()
164 outl(word_count, atapi_reg); in pdc202xx_dma_start()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
H A Dnwl-dsi.c385 u16 word_count; in nwl_dsi_read_packet() local
399 word_count = NWL_DSI_WC(val); in nwl_dsi_read_packet()
416 payload[1] = word_count >> 8; in nwl_dsi_read_packet()
424 payload[0] = word_count & 0xff; in nwl_dsi_read_packet()
430 word_count &= 0xff; in nwl_dsi_read_packet()
432 xfer->cmd, word_count); in nwl_dsi_read_packet()
437 if (word_count > xfer->msg->rx_len) { in nwl_dsi_read_packet()
440 xfer->cmd, xfer->msg->rx_len, word_count); in nwl_dsi_read_packet()
445 xfer->rx_word_count = word_count; in nwl_dsi_read_packet()
447 /* Set word_count fro in nwl_dsi_read_packet()
521 u16 word_count; nwl_dsi_begin_transmission() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
H A Dnwl-dsi.c372 u16 word_count; in nwl_dsi_read_packet() local
386 word_count = NWL_DSI_WC(val); in nwl_dsi_read_packet()
403 payload[1] = word_count >> 8; in nwl_dsi_read_packet()
411 payload[0] = word_count & 0xff; in nwl_dsi_read_packet()
417 word_count &= 0xff; in nwl_dsi_read_packet()
419 xfer->cmd, word_count); in nwl_dsi_read_packet()
424 if (word_count > xfer->msg->rx_len) { in nwl_dsi_read_packet()
427 xfer->cmd, xfer->msg->rx_len, word_count); in nwl_dsi_read_packet()
432 xfer->rx_word_count = word_count; in nwl_dsi_read_packet()
434 /* Set word_count fro in nwl_dsi_read_packet()
508 u16 word_count; nwl_dsi_begin_transmission() local
[all...]
/kernel/linux/linux-5.10/drivers/iio/chemical/
H A Dsgp30.c199 * @word_count: Num data words stored in the buffer, excluding CRC bytes
204 union sgp_reading *buf, size_t word_count) in sgp_verify_buffer()
206 size_t size = word_count * (SGP_WORD_LEN + SGP_CRC8_LEN); in sgp_verify_buffer()
229 * @word_count: Num words to read, excluding CRC bytes
235 union sgp_reading *buf, size_t word_count, in sgp_read_cmd()
240 size_t size = word_count * (SGP_WORD_LEN + SGP_CRC8_LEN); in sgp_read_cmd()
248 if (word_count == 0) in sgp_read_cmd()
258 return sgp_verify_buffer(data, buf, word_count); in sgp_read_cmd()
203 sgp_verify_buffer(const struct sgp_data *data, union sgp_reading *buf, size_t word_count) sgp_verify_buffer() argument
234 sgp_read_cmd(struct sgp_data *data, enum sgp_cmd cmd, union sgp_reading *buf, size_t word_count, unsigned long duration_us) sgp_read_cmd() argument
/kernel/linux/linux-6.6/drivers/iio/chemical/
H A Dsgp30.c199 * @word_count: Num data words stored in the buffer, excluding CRC bytes
204 union sgp_reading *buf, size_t word_count) in sgp_verify_buffer()
206 size_t size = word_count * (SGP_WORD_LEN + SGP_CRC8_LEN); in sgp_verify_buffer()
229 * @word_count: Num words to read, excluding CRC bytes
235 union sgp_reading *buf, size_t word_count, in sgp_read_cmd()
240 size_t size = word_count * (SGP_WORD_LEN + SGP_CRC8_LEN); in sgp_read_cmd()
248 if (word_count == 0) in sgp_read_cmd()
258 return sgp_verify_buffer(data, buf, word_count); in sgp_read_cmd()
203 sgp_verify_buffer(const struct sgp_data *data, union sgp_reading *buf, size_t word_count) sgp_verify_buffer() argument
234 sgp_read_cmd(struct sgp_data *data, enum sgp_cmd cmd, union sgp_reading *buf, size_t word_count, unsigned long duration_us) sgp_read_cmd() argument
/kernel/linux/linux-5.10/drivers/tty/
H A Disicom.c398 short txcount, wrd, residue, word_count, cnt; in isicom_tx() local
471 word_count = cnt >> 1; in isicom_tx()
472 outsw(base, port->port.xmit_buf+port->xmit_tail, word_count); in isicom_tx()
474 + (word_count << 1)) & (SERIAL_XMIT_SIZE - 1); in isicom_tx()
475 txcount -= (word_count << 1); in isicom_tx()
476 port->xmit_cnt -= (word_count << 1); in isicom_tx()
513 u16 header, word_count, count, channel; in isicom_interrupt() local
648 word_count = count >> 1; in isicom_interrupt()
649 insw(base, rp, word_count); in isicom_interrupt()
650 byte_count -= (word_count << in isicom_interrupt()
1341 u16 word_count, status; load_firmware() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00debug.h39 unsigned int word_count; \
H A Drt2x00debug.c425 if (index >= debug->__name.word_count) \
457 if (index >= debug->__name.word_count) \
620 debug->__name.word_count, \ in rt2x00debug_create_file_chipset()
H A Drt2500pci.c167 .word_count = CSR_REG_SIZE / sizeof(u32),
174 .word_count = EEPROM_SIZE / sizeof(u16),
181 .word_count = BBP_SIZE / sizeof(u8),
188 .word_count = RF_SIZE / sizeof(u32),
H A Drt2400pci.c167 .word_count = CSR_REG_SIZE / sizeof(u32),
174 .word_count = EEPROM_SIZE / sizeof(u16),
181 .word_count = BBP_SIZE / sizeof(u8),
188 .word_count = RF_SIZE / sizeof(u32),
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00debug.h39 unsigned int word_count; \
H A Drt2x00debug.c425 if (index >= debug->__name.word_count) \
457 if (index >= debug->__name.word_count) \
620 debug->__name.word_count, \ in rt2x00debug_create_file_chipset()
/kernel/linux/linux-5.10/drivers/staging/qlge/
H A Dqlge_mpi.c780 u32 ram_addr, int word_count) in ql_dump_risc_ram_area()
787 word_count * sizeof(u32), &buf_dma, in ql_dump_risc_ram_area()
792 status = ql_mb_dump_ram(qdev, buf_dma, ram_addr, word_count); in ql_dump_risc_ram_area()
794 memcpy(buf, my_buf, word_count * sizeof(u32)); in ql_dump_risc_ram_area()
796 dma_free_coherent(&qdev->pdev->dev, word_count * sizeof(u32), my_buf, in ql_dump_risc_ram_area()
779 ql_dump_risc_ram_area(struct ql_adapter *qdev, void *buf, u32 ram_addr, int word_count) ql_dump_risc_ram_area() argument
/kernel/linux/linux-6.6/drivers/staging/qlge/
H A Dqlge_mpi.c780 u32 ram_addr, int word_count) in qlge_dump_risc_ram_area()
787 word_count * sizeof(u32), &buf_dma, in qlge_dump_risc_ram_area()
792 status = qlge_mb_dump_ram(qdev, buf_dma, ram_addr, word_count); in qlge_dump_risc_ram_area()
794 memcpy(buf, my_buf, word_count * sizeof(u32)); in qlge_dump_risc_ram_area()
796 dma_free_coherent(&qdev->pdev->dev, word_count * sizeof(u32), my_buf, in qlge_dump_risc_ram_area()
779 qlge_dump_risc_ram_area(struct qlge_adapter *qdev, void *buf, u32 ram_addr, int word_count) qlge_dump_risc_ram_area() argument
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
H A Ddst_ca.c366 u8 length_field = 0, word_count = 0, count = 0; in asn_1_decode() local
375 word_count = length_field & 0x7f; in asn_1_decode()
376 for (count = 0; count < word_count; count++) { in asn_1_decode()
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/
H A Ddst_ca.c366 u8 length_field = 0, word_count = 0, count = 0; in asn_1_decode() local
375 word_count = length_field & 0x7f; in asn_1_decode()
376 for (count = 0; count < word_count; count++) { in asn_1_decode()
/kernel/linux/linux-5.10/fs/cifs/
H A Dmisc.c248 const struct cifs_tcon *treeCon, int word_count in header_assemble()
256 (2 * word_count) + sizeof(struct smb_hdr) - in header_assemble()
291 buffer->WordCount = (char) word_count; in header_assemble()
/kernel/linux/linux-6.6/fs/smb/client/
H A Dmisc.c257 const struct cifs_tcon *treeCon, int word_count in header_assemble()
265 (2 * word_count) + sizeof(struct smb_hdr) - in header_assemble()
301 buffer->WordCount = (char) word_count; in header_assemble()
/kernel/linux/linux-6.6/drivers/staging/media/tegra-video/
H A Dtegra210.c267 u32 word_count = (width * chan->fmtinfo->bit_width) / 8; in tegra_channel_capture_setup() local
289 word_count = (width * chan->fmtinfo->bit_width) / 8; in tegra_channel_capture_setup()
298 vi_csi_write(chan, portno, TEGRA_VI_CSI_IMAGE_SIZE_WC, word_count); in tegra_channel_capture_setup()
/kernel/linux/linux-6.6/drivers/gpu/drm/kmb/
H A Dkmb_dsi.c713 u32 word_count = 0; in mipi_tx_init_cntrl() local
733 * so bits_per_pclk and word_count are only set once in mipi_tx_init_cntrl()
742 &word_count); in mipi_tx_init_cntrl()
749 bits_per_pclk, word_count, in mipi_tx_init_cntrl()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-video/
H A Dtegra210.c180 u32 word_count = (width * chan->fmtinfo->bit_width) / 8; in tegra_channel_capture_setup() local
188 vi_csi_write(chan, TEGRA_VI_CSI_IMAGE_SIZE_WC, word_count); in tegra_channel_capture_setup()

Completed in 28 milliseconds

12