Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-qcom-qspi.c380 unsigned int wr_size; in pio_write() local
388 wr_size = min(wr_fifo_bytes, ctrl->xfer.rem_bytes); in pio_write()
389 ctrl->xfer.rem_bytes -= wr_size; in pio_write()
392 while (wr_size--) in pio_write()
405 wr_size = min(rem_words, wr_fifo_words); in pio_write()
406 ctrl->xfer.rem_bytes -= wr_size * QSPI_BYTES_PER_WORD; in pio_write()
409 iowrite32_rep(ctrl->base + PIO_DATAOUT_4B, word_buf, wr_size); in pio_write()
410 ctrl->xfer.tx_buf = word_buf + wr_size; in pio_write()
/drivers/i2c/busses/
Di2c-npcm7xx.c293 u16 wr_size; member
335 bus->wr_size = 0; in npcm_i2c_init_params()
384 return bus->wr_size == 0 && bus->rd_size == 0; in npcm_i2c_is_quick()
754 if (bus->wr_ind < bus->wr_size) in npcm_i2c_write_to_fifo_master()
1336 if (bus->wr_ind == bus->wr_size) { in npcm_i2c_irq_master_handler_write()
1378 if (!bus->fifo_use || bus->wr_size == 1) { in npcm_i2c_irq_master_handler_write()
1381 wcount = bus->wr_size - bus->wr_ind; in npcm_i2c_irq_master_handler_write()
1573 if (bus->wr_size == 0 && bus->rd_size == 1) in npcm_i2c_irq_handle_sda()
1599 if (bus->wr_size) in npcm_i2c_irq_handle_sda()
1600 npcm_i2c_set_fifo(bus, -1, bus->wr_size); in npcm_i2c_irq_handle_sda()
[all …]
/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 …]
/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()
/drivers/gpu/drm/sti/
Dsti_hqvdp.c904 int wr_size; in sti_hqvdp_start_xp70() member
933 if ((sizeof(*header) + header->rd_size + header->wr_size + in sti_hqvdp_start_xp70()
936 sizeof(*header), header->rd_size, header->wr_size, in sti_hqvdp_start_xp70()
947 data += header->wr_size; in sti_hqvdp_start_xp70()
974 for (i = 0; i < header->wr_size / 4; i++) in sti_hqvdp_start_xp70()
/drivers/infiniband/core/
Duverbs_cmd.c1983 static void *alloc_wr(size_t wr_size, __u32 num_sge) in alloc_wr() argument
1985 if (num_sge >= (U32_MAX - ALIGN(wr_size, sizeof(struct ib_sge))) / in alloc_wr()
1989 return kmalloc(ALIGN(wr_size, sizeof(struct ib_sge)) + in alloc_wr()