Home
last modified time | relevance | path

Searched refs:nr_words (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/
H A Dpio.c244 unsigned int nr_words; in hci_pio_do_rx() local
256 xfer->data_left -= nr_words * 4; in hci_pio_do_rx()
258 while (nr_words--) in hci_pio_do_rx()
280 xfer->data_left -= nr_words * 4; in hci_pio_do_trailing_rx()
282 while (nr_words--) in hci_pio_do_trailing_rx()
310 unsigned int nr_words; in hci_pio_do_tx() local
323 xfer->data_left -= nr_words * 4; in hci_pio_do_tx()
325 while (nr_words--) in hci_pio_do_tx()
774 nr_words = thresh_val; in hci_pio_get_ibi_segment()
775 ibi->seg_cnt -= nr_words * 4; in hci_pio_get_ibi_segment()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-clone-metadata.c123 unsigned long nr_words; member
236 unsigned int i, nr_words; in __superblock_all_zeroes() local
255 nr_words = dm_bm_block_size(bm) / sizeof(__le64); in __superblock_all_zeroes()
256 for (i = 0; i < nr_words; i++) { in __superblock_all_zeroes()
473 dmap->dirty_words = kvzalloc(bitmap_size(nr_words), GFP_KERNEL); in __dirty_map_init()
494 if (__dirty_map_init(&cmd->dmap[0], cmd->nr_words, cmd->nr_regions)) { in dirty_map_init()
499 if (__dirty_map_init(&cmd->dmap[1], cmd->nr_words, cmd->nr_regions)) { in dirty_map_init()
569 cmd->nr_words = BITS_TO_LONGS(cmd->nr_regions); in dm_clone_metadata_open()
744 word = find_next_bit(dmap->dirty_words, cmd->nr_words, word); in __flush_dmap()
746 if (word == cmd->nr_words) in __flush_dmap()
[all …]
/openbmc/linux/arch/riscv/kvm/
H A Daia_aplic.c36 u32 nr_words; member
403 (off < (APLIC_SETIP_BASE + aplic->nr_words * 4))) { in aplic_mmio_read_offset()
409 (off < (APLIC_CLRIP_BASE + aplic->nr_words * 4))) { in aplic_mmio_read_offset()
415 (off < (APLIC_SETIE_BASE + aplic->nr_words * 4))) { in aplic_mmio_read_offset()
421 (off < (APLIC_CLRIE_BASE + aplic->nr_words * 4))) { in aplic_mmio_read_offset()
468 (off < (APLIC_SETIP_BASE + aplic->nr_words * 4))) { in aplic_mmio_write_offset()
474 (off < (APLIC_CLRIP_BASE + aplic->nr_words * 4))) { in aplic_mmio_write_offset()
480 (off < (APLIC_SETIE_BASE + aplic->nr_words * 4))) { in aplic_mmio_write_offset()
486 (off < (APLIC_CLRIE_BASE + aplic->nr_words * 4))) { in aplic_mmio_write_offset()
589 aplic->nr_words = DIV_ROUND_UP(aplic->nr_irqs, 32); in kvm_riscv_aia_aplic_init()
/openbmc/linux/fs/xfs/scrub/
H A Drtsummary.c107 unsigned int nr_words) in xfsum_copyout() argument
109 return xfile_obj_load(sc->xfile, info, nr_words << XFS_WORDLOG, in xfsum_copyout()
/openbmc/linux/drivers/net/can/
H A Dkvaser_pciefd.c757 int nr_words; in kvaser_pciefd_start_xmit() local
763 nr_words = kvaser_pciefd_prepare_tx_packet(&packet, can, skb); in kvaser_pciefd_start_xmit()
778 if (nr_words) { in kvaser_pciefd_start_xmit()
779 u32 data_last = ((u32 *)packet.data)[nr_words - 1]; in kvaser_pciefd_start_xmit()
784 nr_words - 1); in kvaser_pciefd_start_xmit()
/openbmc/linux/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c11614 static u16 drx_u_code_compute_crc(u8 *block_data, u16 nr_words) in drx_u_code_compute_crc() argument
11621 while (i < nr_words) { in drx_u_code_compute_crc()