Home
last modified time | relevance | path

Searched refs:words (Results 1 - 7 of 7) sorted by relevance

/device/qemu/riscv32_virt/liteos_m/board/driver/cfiflash/
H A Dcfiflash.c70 static inline unsigned W2B(unsigned words) in W2B() argument
72 return words << BYTE_WORD_SHIFT; in W2B()
124 static void CfiFlashWriteBuf(unsigned wordOffset, const uint32_t *buffer, size_t words, uint32_t *p) in CfiFlashWriteBuf() argument
130 unsigned wordCount = (i > words) ? words : i; in CfiFlashWriteBuf()
132 while (words) { in CfiFlashWriteBuf()
137 /* write words count, 0-based */ in CfiFlashWriteBuf()
150 words -= wordCount; in CfiFlashWriteBuf()
151 wordCount = (words >= CFIFLASH_PAGE_WORDS) ? CFIFLASH_PAGE_WORDS : words; in CfiFlashWriteBuf()
226 unsigned int words = B2W(nbytes); CfiFlashRead() local
250 unsigned int words = B2W(nbytes); CfiFlashWrite() local
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/spi/
H A Dspi-rockchip.c309 u32 words = min(rs->tx_left, tx_free); in rockchip_spi_pio_writer() local
311 rs->tx_left -= words; in rockchip_spi_pio_writer()
312 for (; words; words--) { in rockchip_spi_pio_writer()
328 u32 words = readl_relaxed(rs->regs + ROCKCHIP_SPI_RXFLR); in rockchip_spi_pio_reader() local
329 u32 rx_left = (rs->rx_left > words) ? rs->rx_left - words : 0; in rockchip_spi_pio_reader()
333 * enough words in the rx fifo to get the last interrupt in rockchip_spi_pio_reader()
334 * exactly when all words have been received in rockchip_spi_pio_reader()
340 words in rockchip_spi_pio_reader()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_tlstream.c41 u32 words[2] = { in kbasep_packet_header_setup() local
45 memcpy(buffer, words, sizeof(words)); in kbasep_packet_header_setup()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_tlstream.c45 u32 words[2] = { in kbasep_packet_header_setup() local
49 memcpy(buffer, words, sizeof(words)); in kbasep_packet_header_setup()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Devent_log_payload.h200 * TxStatus entries are 8 or 16 bytes, size in words (2 or 4) givent in
202 * Array is uint32 words
207 uint8 entry_size; /* num uint32 words per entry */
209 uint32 w[1]; /* var len array of words */
213 #define XTLV_UCTXSTATUS_FULL_LEN(words) (XTLV_UCTXSTATUS_LEN + (words) * sizeof(uint32))
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dbcmutils.c603 * First hierarchy uses a multiword bitmap to identify 32bit words in the
609 * BCM_MWBMAP_WORDS_MAX: Maximum number of bitmap words needed for free IDs.
660 uint16 wmaps; /* Total number of words in free wd bitmap */
661 uint16 imaps; /* Total number of words in free id bitmap */
680 uint32 wordix, size, words, extra; in bcm_mwbmap_init() local
690 /* Determine the number of words needed in the multiword bitmap */ in bcm_mwbmap_init()
692 words = BCM_MWBMAP_DIVOP(items_max) + ((extra != 0U) ? 1U : 0U); in bcm_mwbmap_init()
696 size = sizeof(bcm_mwbmap_t) + (sizeof(uint32) * words); in bcm_mwbmap_init()
705 mwbmap_p->imaps = (uint16)words; in bcm_mwbmap_init()
732 words in bcm_mwbmap_init()
[all...]
/device/soc/rockchip/common/sdk_linux/
H A DMakefile150 ifneq ($(words $(subst :, ,$(abs_srctree))), 1)
297 ifneq ($(words $(MAKECMDGOALS)),1)

Completed in 11 milliseconds