Home
last modified time | relevance | path

Searched refs:byte_cnt (Results 1 – 25 of 39) sorted by relevance

12

/drivers/staging/skein/
Dskein_base.c198 size_t i, n, byte_cnt; in skein_256_final() local
215 byte_cnt = (ctx->h.hash_bit_len + 7) >> 3; in skein_256_final()
222 for (i = 0; i*SKEIN_256_BLOCK_BYTES < byte_cnt; i++) { in skein_256_final()
229 n = byte_cnt - i*SKEIN_256_BLOCK_BYTES; in skein_256_final()
425 size_t i, n, byte_cnt; in skein_512_final() local
442 byte_cnt = (ctx->h.hash_bit_len + 7) >> 3; in skein_512_final()
449 for (i = 0; i*SKEIN_512_BLOCK_BYTES < byte_cnt; i++) { in skein_512_final()
456 n = byte_cnt - i*SKEIN_512_BLOCK_BYTES; in skein_512_final()
647 size_t i, n, byte_cnt; in skein_1024_final() local
664 byte_cnt = (ctx->h.hash_bit_len + 7) >> 3; in skein_1024_final()
[all …]
/drivers/net/wireless/ath/ath9k/
Dwow.c55 int ret, i, byte_cnt = 0; in ath9k_wow_add_disassoc_deauth_pattern() local
95 dis_deauth_pattern[byte_cnt] = 0xa0; in ath9k_wow_add_disassoc_deauth_pattern()
96 byte_cnt++; in ath9k_wow_add_disassoc_deauth_pattern()
99 byte_cnt += 3; in ath9k_wow_add_disassoc_deauth_pattern()
105 byte_cnt += 6; in ath9k_wow_add_disassoc_deauth_pattern()
108 memcpy((dis_deauth_pattern + byte_cnt), common->curbssid, ETH_ALEN); in ath9k_wow_add_disassoc_deauth_pattern()
110 byte_cnt += 6; in ath9k_wow_add_disassoc_deauth_pattern()
113 memcpy((dis_deauth_pattern + byte_cnt), common->curbssid, ETH_ALEN); in ath9k_wow_add_disassoc_deauth_pattern()
121 pattern_count, byte_cnt); in ath9k_wow_add_disassoc_deauth_pattern()
133 pattern_count, byte_cnt); in ath9k_wow_add_disassoc_deauth_pattern()
/drivers/parisc/
Dccio-dma.c629 ccio_clear_io_tlb(struct ioc *ioc, dma_addr_t iovp, size_t byte_cnt) in ccio_clear_io_tlb() argument
634 byte_cnt += chain_size; in ccio_clear_io_tlb()
636 while(byte_cnt > chain_size) { in ccio_clear_io_tlb()
639 byte_cnt -= chain_size; in ccio_clear_io_tlb()
662 ccio_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) in ccio_mark_invalid() argument
668 saved_byte_cnt = byte_cnt = ALIGN(byte_cnt, IOVP_SIZE); in ccio_mark_invalid()
670 while(byte_cnt > 0) { in ccio_mark_invalid()
688 byte_cnt -= IOVP_SIZE; in ccio_mark_invalid()
Dsba_iommu.c609 sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) in sba_mark_invalid() argument
626 if (byte_cnt > IOVP_SIZE) in sba_mark_invalid()
636 iovp |= get_order(byte_cnt) + PAGE_SHIFT; in sba_mark_invalid()
648 byte_cnt -= IOVP_SIZE; in sba_mark_invalid()
649 } while (byte_cnt > IOVP_SIZE); in sba_mark_invalid()
/drivers/crypto/marvell/
Dtdma.c145 tdma->byte_cnt = cpu_to_le32(size | BIT(31)); in mv_cesa_dma_add_op()
162 tdma->byte_cnt = cpu_to_le32(size | BIT(31)); in mv_cesa_dma_add_data_transfer()
191 tdma->byte_cnt = cpu_to_le32(BIT(31)); in mv_cesa_dma_add_dummy_end()
Dcesa.h296 __le32 byte_cnt; member
/drivers/mmc/host/
Drtsx_usb_sdmmc.c104 u16 byte_cnt, u8 *buf, int buf_len, int timeout) in sd_read_data() argument
136 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt); in sd_read_data()
138 0xFF, (u8)(byte_cnt >> 8)); in sd_read_data()
193 err = rtsx_usb_read_ppbuf(ucr, buf, byte_cnt - (byte_cnt % 2)); in sd_read_data()
201 if (byte_cnt % 2) in sd_read_data()
203 PPBUF_BASE2 + byte_cnt, in sd_read_data()
204 buf + byte_cnt - 1); in sd_read_data()
211 u16 byte_cnt, u8 *buf, int buf_len, int timeout) in sd_write_data() argument
248 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt); in sd_write_data()
250 0xFF, (u8)(byte_cnt >> 8)); in sd_write_data()
Drtsx_pci_sdmmc.c342 u16 byte_cnt, u8 *buf, int buf_len, int timeout) in sd_read_data() argument
361 sd_cmd_set_data_len(pcr, 1, byte_cnt); in sd_read_data()
395 struct mmc_command *cmd, u16 byte_cnt, u8 *buf, int buf_len, in sd_write_data() argument
421 sd_cmd_set_data_len(pcr, 1, byte_cnt); in sd_write_data()
/drivers/staging/wilc1000/
Dwilc_spi.c1049 u32 byte_cnt; in spi_read_size() local
1051 ret = spi_read_reg(WILC_VMM_TO_HOST_SIZE, &byte_cnt); in spi_read_size()
1056 tmp = (byte_cnt >> 2) & IRQ_DMA_WD_CNT_MASK; in spi_read_size()
1076 u32 byte_cnt; in spi_read_int() local
1078 ret = spi_read_reg(WILC_VMM_TO_HOST_SIZE, &byte_cnt); in spi_read_int()
1083 tmp = (byte_cnt >> 2) & IRQ_DMA_WD_CNT_MASK; in spi_read_int()
/drivers/net/ethernet/marvell/
Dmv643xx_eth.c204 u16 byte_cnt; /* Descriptor buffer byte count */ member
212 u16 byte_cnt; /* buffer byte count */ member
222 u16 byte_cnt; /* Descriptor buffer byte count */ member
230 u16 byte_cnt; /* buffer byte count */ member
532 u16 byte_cnt; in rxq_process() local
555 byte_cnt = rx_desc->byte_cnt; in rxq_process()
566 stats->rx_bytes += byte_cnt - 2; in rxq_process()
581 skb_put(skb, byte_cnt - 2 - 4); in rxq_process()
761 desc->byte_cnt = length; in txq_put_data_tso()
817 desc->byte_cnt = hdr_len; in txq_put_hdr_tso()
[all …]
Dpxa168_eth.c189 u16 byte_cnt; /* Descriptor buffer byte count */ member
198 u16 byte_cnt; /* buffer byte count */ member
739 count = desc->byte_cnt; in txq_reclaim()
820 stats->rx_bytes += rx_desc->byte_cnt; in rxq_process()
844 skb_put(skb, rx_desc->byte_cnt - 4); in rxq_process()
1285 desc->byte_cnt = length; in pxa168_eth_start_xmit()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c108 u16 tot_len = be32_to_cpu(cqe->byte_cnt) - ETH_HLEN; in mlx5e_lro_update_hdr()
191 u32 cqe_bcnt = be32_to_cpu(cqe->byte_cnt); in mlx5e_build_rx_skb()
/drivers/net/usb/
Dsr9800.h166 struct {unsigned short size, byte_cnt, threshold; } SR9800_BULKIN_SIZE[] = { member
Dsr9800.c809 SR9800_BULKIN_SIZE[SR9800_MAX_BULKIN_4K].byte_cnt, in sr9800_bind()
820 SR9800_BULKIN_SIZE[SR9800_MAX_BULKIN_2K].byte_cnt, in sr9800_bind()
/drivers/staging/rts5208/
Drtsx_card.c858 u32 byte_cnt, u8 pack_size) in trans_dma_enable() argument
865 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC3, 0xFF, (u8)(byte_cnt >> 24)); in trans_dma_enable()
866 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC2, 0xFF, (u8)(byte_cnt >> 16)); in trans_dma_enable()
867 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC1, 0xFF, (u8)(byte_cnt >> 8)); in trans_dma_enable()
868 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC0, 0xFF, (u8)byte_cnt); in trans_dma_enable()
Dsd.c284 u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, argument
311 (u8)byte_cnt);
313 (u8)(byte_cnt >> 8));
356 u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, argument
392 (u8)byte_cnt);
394 (u8)(byte_cnt >> 8));
2984 u16 byte_cnt; local
2998 byte_cnt = 8;
3003 byte_cnt = 4;
3014 NULL, 0, byte_cnt, 1, bus_width, buf, len, 100);
[all …]
/drivers/net/ethernet/i825xx/
Dsun3_82586.h230 unsigned char byte_cnt; /* size of the config-cmd */ member
/drivers/scsi/csiostor/
Dcsio_hw.c392 csio_hw_sf1_read(struct csio_hw *hw, uint32_t byte_cnt, int32_t cont, in csio_hw_sf1_read() argument
397 if (!byte_cnt || byte_cnt > 4) in csio_hw_sf1_read()
403 BYTECNT_V(byte_cnt - 1), SF_OP_A); in csio_hw_sf1_read()
424 csio_hw_sf1_write(struct csio_hw *hw, uint32_t byte_cnt, uint32_t cont, in csio_hw_sf1_write() argument
427 if (!byte_cnt || byte_cnt > 4) in csio_hw_sf1_write()
433 csio_wr_reg32(hw, SF_CONT_V(cont) | BYTECNT_V(byte_cnt - 1) | in csio_hw_sf1_write()
/drivers/net/wireless/iwlwifi/mvm/
Dfw-api-tx.h492 __le16 byte_cnt; member
/drivers/infiniband/hw/mthca/
Dmthca_cq.c125 __be32 byte_cnt; member
601 entry->byte_len = be32_to_cpu(cqe->byte_cnt); in mthca_poll_one()
619 entry->byte_len = be32_to_cpu(cqe->byte_cnt); in mthca_poll_one()
/drivers/dma/
Dmmp_tdma.c92 u32 byte_cnt; member
465 desc->byte_cnt = period_len; in mmp_tdma_prep_dma_cyclic()
/drivers/infiniband/hw/mlx5/
Dcq.c139 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in handle_good_req()
202 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in handle_responder()
341 byte_count = be32_to_cpu(cqe64->byte_cnt); in handle_atomic()
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c766 static int sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_read() argument
771 if (!byte_cnt || byte_cnt > 4) in sf1_read()
775 t3_write_reg(adapter, A_SF_OP, V_CONT(cont) | V_BYTECNT(byte_cnt - 1)); in sf1_read()
793 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_write() argument
796 if (!byte_cnt || byte_cnt > 4) in sf1_write()
802 V_CONT(cont) | V_BYTECNT(byte_cnt - 1) | V_OP(1)); in sf1_write()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.h440 u16 addr, u16 byte_cnt, u8 *o_buf);
/drivers/scsi/
DFlashPoint.c5920 unsigned char ret_data, byte_cnt, bit_cnt, defer; in FPT_scsendi() local
5924 for (byte_cnt = 0; byte_cnt < ID_STRING_LENGTH; byte_cnt++) { in FPT_scsendi()
5931 else if (p_id_string[byte_cnt] & bit_cnt) in FPT_scsendi()
5971 unsigned char ret_data, the_data, byte_cnt, bit_cnt; in FPT_sciso() local
5975 for (byte_cnt = 0; byte_cnt < ID_STRING_LENGTH; byte_cnt++) { in FPT_sciso()
6003 if (byte_cnt) in FPT_sciso()
6011 p_id_string[byte_cnt] = the_data; in FPT_sciso()

12