Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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()
448 word_count = xfer->rx_word_count; in nwl_dsi_read_packet()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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 << 1); in isicom_interrupt()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A Dgen_atmel_mci.c296 u32 word_count, block_count; local
316 word_count = 0;
319 word_count++;
321 } while (!status && word_count < (data->blocksize/4));
325 u32 cnt = word_count * 4;
332 if (!status && word_count < (sys_blocksize / 4))
336 while (!status && word_count < (sys_blocksize / 4)) {
339 word_count++;
/OK3568_Linux_fs/kernel/drivers/iio/chemical/
H A 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()
235 union sgp_reading *buf, size_t word_count, in sgp_read_cmd() argument
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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/hwif/sdio/
H A Dsdio.c313 u32 word_count,i; in ssv6xxx_sdio_load_firmware_openfile() local
375 word_count = (len / sizeof(u32)); in ssv6xxx_sdio_load_firmware_openfile()
377 for (i = 0; i < word_count; i++){ in ssv6xxx_sdio_load_firmware_openfile()
397 word_count = (cks_blk_cnt * CHECKSUM_BLOCK_SIZE / sizeof(u32)); in ssv6xxx_sdio_load_firmware_openfile()
399 for (i = 0; i < word_count; i++) in ssv6xxx_sdio_load_firmware_openfile()
403 word_count = (CHECKSUM_BLOCK_SIZE / sizeof(u32)); in ssv6xxx_sdio_load_firmware_openfile()
404 for (i = 0; i < word_count; i++) { in ssv6xxx_sdio_load_firmware_openfile()
521 int word_count = (int)(block_count * CHECKSUM_BLOCK_SIZE / sizeof(u32)); in ssv6xxx_sdio_load_firmware_request() local
524 for (i = 0; i < word_count; i++) in ssv6xxx_sdio_load_firmware_request()
530 word_count = (int)(CHECKSUM_BLOCK_SIZE / sizeof(u32)); in ssv6xxx_sdio_load_firmware_request()
[all …]
/OK3568_Linux_fs/kernel/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 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),
H A 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),
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 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),
H A 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),
H A 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),
/OK3568_Linux_fs/kernel/drivers/staging/qlge/
H A Dqlge_mpi.c780 u32 ram_addr, int word_count) in ql_dump_risc_ram_area() argument
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()
H A Dqlge.h2263 int word_count);
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dmisc.c248 const struct cifs_tcon *treeCon, int word_count in header_assemble() argument
256 (2 * word_count) + sizeof(struct smb_hdr) - in header_assemble()
291 buffer->WordCount = (char) word_count; in header_assemble()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dit6616.c1155 u32 word_count) in it6616_mipi_tx_setup_long_packet_header() argument
1159 pheader->word_count_h = word_count >> 8; in it6616_mipi_tx_setup_long_packet_header()
1160 pheader->word_count_l = (u8)word_count; in it6616_mipi_tx_setup_long_packet_header()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddsi.c3815 u16 word_count; in dsi_enable_video_output() local
3852 word_count = DIV_ROUND_UP(dsi->timings.x_res * bpp, 8); in dsi_enable_video_output()
3855 word_count, 0); in dsi_enable_video_output()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/dss/
H A Ddsi.c3731 u16 word_count; in dsi_enable_video_output() local
3763 word_count = DIV_ROUND_UP(dsi->vm.hactive * bpp, 8); in dsi_enable_video_output()
3766 word_count, 0); in dsi_enable_video_output()
/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A 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()