Home
last modified time | relevance | path

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

/openbmc/linux/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
/openbmc/linux/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()
443 while (word_count >= 4) { in nwl_dsi_read_packet()
451 word_count -= 4; in nwl_dsi_read_packet()
454 if (word_count > 0) { in nwl_dsi_read_packet()
456 switch (word_count) { in nwl_dsi_read_packet()
[all …]
/openbmc/linux/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()
/openbmc/u-boot/drivers/mmc/
H A Dgen_atmel_mci.c303 u32 word_count, block_count; local
321 word_count = 0;
324 word_count++;
326 } while (!status && word_count < (data->blocksize/4));
330 u32 cnt = word_count * 4;
/openbmc/linux/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 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 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 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.c1487 .word_count = CSR_REG_SIZE / sizeof(u32),
1497 .word_count = EEPROM_SIZE / sizeof(u16),
1504 .word_count = BBP_SIZE / sizeof(u8),
1511 .word_count = RF_SIZE / sizeof(u32),
1518 .word_count = RFCSR_SIZE / sizeof(u8),
/openbmc/linux/drivers/staging/qlge/
H A Dqlge_mpi.c780 u32 ram_addr, int word_count) in qlge_dump_risc_ram_area() argument
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()
H A Dqlge.h2274 int word_count);
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/fs/smb/client/
H A Dmisc.c257 const struct cifs_tcon *treeCon, int word_count in header_assemble() argument
265 (2 * word_count) + sizeof(struct smb_hdr) - in header_assemble()
301 buffer->WordCount = (char) word_count; in header_assemble()
/openbmc/linux/drivers/gpu/drm/kmb/
H A Dkmb_dsi.c713 u32 word_count = 0; in mipi_tx_init_cntrl() local
742 &word_count); in mipi_tx_init_cntrl()
749 bits_per_pclk, word_count, in mipi_tx_init_cntrl()
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddsi.c2998 u16 word_count; in dsi_enable_video_mode() local
3023 word_count = DIV_ROUND_UP(dsi->vm.hactive * bpp, 8); in dsi_enable_video_mode()
3026 word_count, 0); in dsi_enable_video_mode()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddsi.c3817 u16 word_count; in dsi_enable_video_output() local
3854 word_count = DIV_ROUND_UP(dsi->timings.x_res * bpp, 8); in dsi_enable_video_output()
3857 word_count, 0); in dsi_enable_video_output()
/openbmc/linux/drivers/usb/dwc2/
H A Dhcd.c376 int word_count = (bytes + 3) / 4; in dwc2_read_packet() local
387 for (i = 0; i < word_count; i++, data_buf++) in dwc2_read_packet()