Home
last modified time | relevance | path

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

/drivers/gpu/drm/bridge/
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 …]
/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()
/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 …]
/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()
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()
/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()
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),
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),
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),
/drivers/staging/qlge/
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()
Dqlge.h2263 int word_count);
/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()
/drivers/staging/media/tegra-video/
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()
/drivers/gpu/drm/omapdrm/dss/
Ddsi.c3737 u16 word_count; in dsi_enable_video_output() local
3769 word_count = DIV_ROUND_UP(dsi->vm.hactive * bpp, 8); in dsi_enable_video_output()
3772 word_count, 0); in dsi_enable_video_output()
/drivers/video/fbdev/omap2/omapfb/dss/
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()
/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()