Home
last modified time | relevance | path

Searched refs:wr_size (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/spi/
Dspi-qcom-qspi.c574 unsigned int wr_size; in pio_write() local
582 wr_size = min(wr_fifo_bytes, ctrl->xfer.rem_bytes); in pio_write()
583 ctrl->xfer.rem_bytes -= wr_size; in pio_write()
586 while (wr_size--) in pio_write()
599 wr_size = min(rem_words, wr_fifo_words); in pio_write()
600 ctrl->xfer.rem_bytes -= wr_size * QSPI_BYTES_PER_WORD; in pio_write()
603 iowrite32_rep(ctrl->base + PIO_DATAOUT_4B, word_buf, wr_size); in pio_write()
604 ctrl->xfer.tx_buf = word_buf + wr_size; in pio_write()
/linux-6.6.21/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c112 static bool run_test(int wr_size, int wp_size, int wr, int wp) in run_test() argument
125 child(wr_size, wr); in run_test()
/linux-6.6.21/drivers/i2c/busses/
Di2c-npcm7xx.c311 u16 wr_size; member
354 bus->wr_size = 0; in npcm_i2c_init_params()
403 return bus->wr_size == 0 && bus->rd_size == 0; in npcm_i2c_is_quick()
775 if (bus->wr_ind < bus->wr_size) in npcm_i2c_write_to_fifo_master()
1357 if (bus->wr_ind == bus->wr_size) { in npcm_i2c_irq_master_handler_write()
1399 if (!bus->fifo_use || bus->wr_size == 1) { in npcm_i2c_irq_master_handler_write()
1402 wcount = bus->wr_size - bus->wr_ind; in npcm_i2c_irq_master_handler_write()
1594 if (bus->wr_size == 0 && bus->rd_size == 1) in npcm_i2c_irq_handle_sda()
1620 if (bus->wr_size) in npcm_i2c_irq_handle_sda()
1621 npcm_i2c_set_fifo(bus, -1, bus->wr_size); in npcm_i2c_irq_handle_sda()
[all …]
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c543 int wr_size; in chtls_wr_size() local
545 wr_size = TLS_WR_CPL_LEN; in chtls_wr_size()
546 wr_size += KEY_ON_MEM_SZ; in chtls_wr_size()
547 wr_size += ivs_size(csk->sk, skb); in chtls_wr_size()
550 return wr_size; in chtls_wr_size()
556 return wr_size; in chtls_wr_size()
603 int wr_size; in chtls_push_frames() local
605 wr_size = sizeof(struct fw_ofld_tx_data_wr); in chtls_push_frames()
631 wr_size = chtls_wr_size(csk, skb, false); in chtls_push_frames()
635 wr_size = chtls_wr_size(csk, skb, false); in chtls_push_frames()
[all …]
/linux-6.6.21/arch/mips/kernel/
Dptrace.c626 const unsigned int wr_size = NUM_FPU_REGS * regset->size; in msa_get() local
642 membuf_write(&to, &target->thread.fpu.fpr, wr_size); in msa_get()
657 const unsigned int wr_size = NUM_FPU_REGS * regset->size; in msa_set() local
668 0, wr_size); in msa_set()
684 wr_size, wr_size + sizeof(ctrl_regs)); in msa_set()
/linux-6.6.21/drivers/scsi/csiostor/
Dcsio_lnode.c1734 uint32_t wr_size = 0; in csio_ln_mgmt_submit_wr() local
1741 wr_size = sizeof(struct fw_fcoe_els_ct_wr); in csio_ln_mgmt_submit_wr()
1745 wr_size += ALIGN(pld_len, 8); in csio_ln_mgmt_submit_wr()
1748 wr_size += sizeof(struct ulptx_sgl); in csio_ln_mgmt_submit_wr()
1751 wr_size = ALIGN(wr_size, 16); in csio_ln_mgmt_submit_wr()
1754 ret = csio_wr_get(hw, mgmtm->eq_idx, wr_size, &wrp); in csio_ln_mgmt_submit_wr()
1762 csio_ln_prep_ecwr(io_req, wr_size, im_len, sub_op, in csio_ln_mgmt_submit_wr()
/linux-6.6.21/drivers/gpu/drm/sti/
Dsti_hqvdp.c906 int wr_size; in sti_hqvdp_start_xp70() member
935 if ((sizeof(*header) + header->rd_size + header->wr_size + in sti_hqvdp_start_xp70()
938 sizeof(*header), header->rd_size, header->wr_size, in sti_hqvdp_start_xp70()
949 data += header->wr_size; in sti_hqvdp_start_xp70()
976 for (i = 0; i < header->wr_size / 4; i++) in sti_hqvdp_start_xp70()
/linux-6.6.21/arch/loongarch/kernel/
Dptrace.c282 const unsigned int wr_size = NUM_FPU_REGS * regset->size; in simd_get() local
299 membuf_write(&to, &target->thread.fpu.fpr, wr_size); in simd_get()
313 const unsigned int wr_size = NUM_FPU_REGS * regset->size; in simd_set() local
323 0, wr_size); in simd_set()
/linux-6.6.21/drivers/infiniband/core/
Duverbs_cmd.c1982 static void *alloc_wr(size_t wr_size, __u32 num_sge) in alloc_wr() argument
1984 if (num_sge >= (U32_MAX - ALIGN(wr_size, sizeof(struct ib_sge))) / in alloc_wr()
1988 return kmalloc(ALIGN(wr_size, sizeof(struct ib_sge)) + in alloc_wr()