Home
last modified time | relevance | path

Searched refs:word_count (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/sound/pci/asihpi/
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()
Dhpidspcd.h51 u32 word_count; member
/Linux-v5.4/drivers/ide/
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()
/Linux-v5.4/drivers/tty/
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 << 1); in isicom_interrupt()
[all …]
/Linux-v5.4/drivers/iio/chemical/
Dsgp30.c204 union sgp_reading *buf, size_t word_count) in sgp_verify_buffer() argument
206 size_t size = word_count * (SGP_WORD_LEN + SGP_CRC8_LEN); in sgp_verify_buffer()
234 union sgp_reading *buf, size_t word_count, in sgp_read_cmd() argument
239 size_t size = word_count * (SGP_WORD_LEN + SGP_CRC8_LEN); in sgp_read_cmd()
247 if (word_count == 0) in sgp_read_cmd()
257 return sgp_verify_buffer(data, buf, word_count); in sgp_read_cmd()
/Linux-v5.4/drivers/net/wireless/ralink/rt2x00/
Drt2x00debug.h39 unsigned int word_count; \
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()
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),
Drt2500usb.c230 .word_count = CSR_REG_SIZE / sizeof(u16),
237 .word_count = EEPROM_SIZE / sizeof(u16),
244 .word_count = BBP_SIZE / sizeof(u8),
251 .word_count = RF_SIZE / sizeof(u32),
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),
Drt73usb.c150 .word_count = CSR_REG_SIZE / sizeof(u32),
157 .word_count = EEPROM_SIZE / sizeof(u16),
164 .word_count = BBP_SIZE / sizeof(u8),
171 .word_count = RF_SIZE / sizeof(u32),
Drt61pci.c205 .word_count = CSR_REG_SIZE / sizeof(u32),
212 .word_count = EEPROM_SIZE / sizeof(u16),
219 .word_count = BBP_SIZE / sizeof(u8),
226 .word_count = RF_SIZE / sizeof(u32),
Drt2800lib.c1454 .word_count = CSR_REG_SIZE / sizeof(u32),
1464 .word_count = EEPROM_SIZE / sizeof(u16),
1471 .word_count = BBP_SIZE / sizeof(u8),
1478 .word_count = RF_SIZE / sizeof(u32),
1485 .word_count = RFCSR_SIZE / sizeof(u8),
/Linux-v5.4/drivers/staging/qlge/
Dqlge_mpi.c785 u32 ram_addr, int word_count) in ql_dump_risc_ram_area() argument
791 my_buf = pci_alloc_consistent(qdev->pdev, word_count * sizeof(u32), in ql_dump_risc_ram_area()
796 status = ql_mb_dump_ram(qdev, buf_dma, ram_addr, word_count); in ql_dump_risc_ram_area()
798 memcpy(buf, my_buf, word_count * sizeof(u32)); in ql_dump_risc_ram_area()
800 pci_free_consistent(qdev->pdev, word_count * sizeof(u32), my_buf, in ql_dump_risc_ram_area()
Dqlge.h2252 int word_count);
/Linux-v5.4/drivers/media/pci/bt8xx/
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()
/Linux-v5.4/fs/cifs/
Dmisc.c244 const struct cifs_tcon *treeCon, int word_count in header_assemble() argument
252 (2 * word_count) + sizeof(struct smb_hdr) - in header_assemble()
287 buffer->WordCount = (char) word_count; in header_assemble()
/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/
Ddsi.c3732 u16 word_count; in dsi_enable_video_output() local
3764 word_count = DIV_ROUND_UP(dsi->vm.hactive * bpp, 8); in dsi_enable_video_output()
3767 word_count, 0); in dsi_enable_video_output()
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c3812 u16 word_count; in dsi_enable_video_output() local
3849 word_count = DIV_ROUND_UP(dsi->timings.x_res * bpp, 8); in dsi_enable_video_output()
3852 word_count, 0); in dsi_enable_video_output()
/Linux-v5.4/drivers/usb/dwc2/
Dhcd.c411 int word_count = (bytes + 3) / 4; in dwc2_read_packet() local
422 for (i = 0; i < word_count; i++, data_buf++) in dwc2_read_packet()