Searched refs:byte_cnt (Results 1 - 25 of 35) sorted by relevance

12

/drivers/net/wireless/ath/ath9k/
H A Dwow.c48 int i, byte_cnt; local
85 byte_cnt = 0;
93 dis_deauth_pattern[byte_cnt] = 0xa0;
94 byte_cnt++;
97 byte_cnt += 3;
103 byte_cnt += 6;
106 memcpy((dis_deauth_pattern + byte_cnt), common->curbssid, ETH_ALEN);
108 byte_cnt += 6;
112 memcpy((dis_deauth_pattern + byte_cnt), common->curbssid, ETH_ALEN);
123 pattern_count, byte_cnt);
[all...]
/drivers/staging/skein/
H A Dskein.c199 size_t i, n, byte_cnt; local
216 byte_cnt = (ctx->h.hash_bit_len + 7) >> 3;
223 for (i = 0; i*SKEIN_256_BLOCK_BYTES < byte_cnt; i++) {
230 n = byte_cnt - i*SKEIN_256_BLOCK_BYTES;
428 size_t i, n, byte_cnt; local
445 byte_cnt = (ctx->h.hash_bit_len + 7) >> 3;
452 for (i = 0; i*SKEIN_512_BLOCK_BYTES < byte_cnt; i++) {
459 n = byte_cnt - i*SKEIN_512_BLOCK_BYTES;
652 size_t i, n, byte_cnt; local
669 byte_cnt
771 size_t i, n, byte_cnt; local
810 size_t i, n, byte_cnt; local
849 size_t i, n, byte_cnt; local
[all...]
/drivers/net/usb/
H A Dsr9800.h166 struct {unsigned short size, byte_cnt, threshold; } SR9800_BULKIN_SIZE[] = { member in struct:__anon4050
H A Dsr9800.c809 SR9800_BULKIN_SIZE[SR9800_MAX_BULKIN_4K].byte_cnt,
820 SR9800_BULKIN_SIZE[SR9800_MAX_BULKIN_2K].byte_cnt,
/drivers/parisc/
H A Dccio-dma.c624 * @byte_cnt: The requested number of bytes to be freed from the I/O Pdir.
628 * FIXME: Can we change the byte_cnt to pages_mapped?
631 ccio_clear_io_tlb(struct ioc *ioc, dma_addr_t iovp, size_t byte_cnt) argument
636 byte_cnt += chain_size;
638 while(byte_cnt > chain_size) {
641 byte_cnt -= chain_size;
649 * @byte_cnt: The requested number of bytes to be freed from the I/O Pdir.
661 * FIXME: Can we change byte_cnt to pages_mapped?
664 ccio_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) argument
670 saved_byte_cnt = byte_cnt
[all...]
H A Dsba_iommu.c597 * @byte_cnt: number of bytes this mapping covers.
610 sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) argument
627 if (byte_cnt > IOVP_SIZE)
637 iovp |= get_order(byte_cnt) + PAGE_SHIFT;
649 byte_cnt -= IOVP_SIZE;
650 } while (byte_cnt > IOVP_SIZE);
/drivers/mmc/host/
H A Drtsx_usb_sdmmc.c104 u16 byte_cnt, u8 *buf, int buf_len, int timeout)
136 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt);
138 0xFF, (u8)(byte_cnt >> 8));
193 err = rtsx_usb_read_ppbuf(ucr, buf, byte_cnt - (byte_cnt % 2));
201 if (byte_cnt % 2)
203 PPBUF_BASE2 + byte_cnt,
204 buf + byte_cnt - 1);
211 u16 byte_cnt, u8 *buf, int buf_len, int timeout)
248 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt);
103 sd_read_data(struct rtsx_usb_sdmmc *host, struct mmc_command *cmd, u16 byte_cnt, u8 *buf, int buf_len, int timeout) argument
210 sd_write_data(struct rtsx_usb_sdmmc *host, struct mmc_command *cmd, u16 byte_cnt, u8 *buf, int buf_len, int timeout) argument
[all...]
H A Drtsx_pci_sdmmc.c169 static int sd_read_data(struct realtek_pci_sdmmc *host, u8 *cmd, u16 byte_cnt, argument
191 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt);
193 0xFF, (u8)(byte_cnt >> 8));
229 static int sd_write_data(struct realtek_pci_sdmmc *host, u8 *cmd, u16 byte_cnt, argument
260 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt);
262 0xFF, (u8)(byte_cnt >> 8));
/drivers/net/ethernet/i825xx/
H A Dsun3_82586.h230 unsigned char byte_cnt; /* size of the config-cmd */ member in struct:configure_cmd_struct
/drivers/staging/rts5208/
H A Drtsx_card.c820 u32 byte_cnt, u8 pack_size)
827 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC3, 0xFF, (u8)(byte_cnt >> 24));
828 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC2, 0xFF, (u8)(byte_cnt >> 16));
829 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC1, 0xFF, (u8)(byte_cnt >> 8));
830 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC0, 0xFF, (u8)byte_cnt);
819 trans_dma_enable(enum dma_data_direction dir, struct rtsx_chip *chip, u32 byte_cnt, u8 pack_size) argument
H A Dsd.c272 u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt,
297 (u8)byte_cnt);
299 (u8)(byte_cnt >> 8));
339 u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width,
372 (u8)byte_cnt);
374 (u8)(byte_cnt >> 8));
2491 u16 byte_cnt; local
2503 byte_cnt = 8;
2508 byte_cnt = 4;
2517 NULL, 0, byte_cnt,
271 sd_read_data(struct rtsx_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, int timeout) argument
338 sd_write_data(struct rtsx_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, int timeout) argument
3899 u16 byte_cnt, blk_cnt; local
[all...]
/drivers/net/ethernet/marvell/
H A Dpxa168_eth.c183 u16 byte_cnt; /* Descriptor buffer byte count */ member in struct:rx_desc
192 u16 byte_cnt; /* buffer byte count */ member in struct:tx_desc
755 count = desc->byte_cnt;
836 stats->rx_bytes += rx_desc->byte_cnt;
860 skb_put(skb, rx_desc->byte_cnt - 4);
1269 desc->byte_cnt = length;
H A Dmv643xx_eth.c200 u16 byte_cnt; /* Descriptor buffer byte count */ member in struct:rx_desc
208 u16 byte_cnt; /* buffer byte count */ member in struct:tx_desc
218 u16 byte_cnt; /* Descriptor buffer byte count */ member in struct:rx_desc
226 u16 byte_cnt; /* buffer byte count */ member in struct:tx_desc
527 u16 byte_cnt; local
550 byte_cnt = rx_desc->byte_cnt;
561 stats->rx_bytes += byte_cnt - 2;
576 skb_put(skb, byte_cnt - 2 - 4);
755 desc->byte_cnt
[all...]
/drivers/net/wireless/iwlwifi/mvm/
H A Dfw-api-tx.h451 * @byte_cnt: byte count from the Tx cmd
480 __le16 byte_cnt; member in struct:iwl_mvm_tx_resp
/drivers/dma/
H A Dmmp_tdma.c93 u32 byte_cnt; member in struct:mmp_tdma_desc
434 desc->byte_cnt = period_len;
/drivers/scsi/csiostor/
H A Dcsio_hw.c408 * @byte_cnt: number of bytes to read
418 csio_hw_sf1_read(struct csio_hw *hw, uint32_t byte_cnt, int32_t cont, argument
423 if (!byte_cnt || byte_cnt > 4)
431 csio_wr_reg32(hw, lock | cont | BYTECNT(byte_cnt - 1), SF_OP);
442 * @byte_cnt: number of bytes to write
452 csio_hw_sf1_write(struct csio_hw *hw, uint32_t byte_cnt, uint32_t cont, argument
455 if (!byte_cnt || byte_cnt > 4)
464 csio_wr_reg32(hw, cont | BYTECNT(byte_cnt
[all...]
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.h434 /* Read "byte_cnt" bytes from address "addr" from the SFP+ EEPROM */
437 u16 addr, u16 byte_cnt, u8 *o_buf);
H A Dbnx2x_link.c32 u8 dev_addr, u16 addr, u8 byte_cnt,
7797 u8 dev_addr, u16 addr, u8 byte_cnt,
7803 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) {
7811 (byte_cnt | (dev_addr << 8)));
7843 for (i = 0; i < byte_cnt; i++) {
7886 u16 addr, u8 byte_cnt,
7895 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) {
7910 rc = bnx2x_bsc_read(params, bp, dev_addr, addr32, 0, byte_cnt,
7915 for (i = (addr - addr32); i < byte_cnt + (addr - addr32); i++) {
7926 u8 dev_addr, u16 addr, u8 byte_cnt,
7795 bnx2x_8726_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u8 dev_addr, u16 addr, u8 byte_cnt, u8 *o_buf, u8 is_init) argument
7883 bnx2x_warpcore_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u8 dev_addr, u16 addr, u8 byte_cnt, u8 *o_buf, u8 is_init) argument
7924 bnx2x_8727_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u8 dev_addr, u16 addr, u8 byte_cnt, u8 *o_buf, u8 is_init) argument
8019 bnx2x_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u8 dev_addr, u16 addr, u16 byte_cnt, u8 *o_buf) argument
[all...]
/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c125 __be32 byte_cnt; member in struct:mthca_cqe
601 entry->byte_len = be32_to_cpu(cqe->byte_cnt);
619 entry->byte_len = be32_to_cpu(cqe->byte_cnt);
/drivers/infiniband/hw/mlx5/
H A Dcq.c138 wc->byte_len = be32_to_cpu(cqe->byte_cnt);
201 wc->byte_len = be32_to_cpu(cqe->byte_cnt);
333 byte_count = be32_to_cpu(cqe64->byte_cnt);
/drivers/infiniband/hw/mlx4/
H A Dcq.c734 wc->byte_len = be32_to_cpu(cqe->byte_cnt);
766 wc->byte_len = be32_to_cpu(cqe->byte_cnt);
/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c758 * @byte_cnt: number of bytes to read
766 static int sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, argument
771 if (!byte_cnt || byte_cnt > 4)
775 t3_write_reg(adapter, A_SF_OP, V_CONT(cont) | V_BYTECNT(byte_cnt - 1));
785 * @byte_cnt: number of bytes to write
793 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, argument
796 if (!byte_cnt || byte_cnt > 4)
802 V_CONT(cont) | V_BYTECNT(byte_cnt
[all...]
/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c746 * @byte_cnt: number of bytes to read
755 static int sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, argument
760 if (!byte_cnt || byte_cnt > 4)
766 t4_write_reg(adapter, SF_OP, lock | cont | BYTECNT(byte_cnt - 1));
776 * @byte_cnt: number of bytes to write
785 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, argument
788 if (!byte_cnt || byte_cnt > 4)
796 cont | BYTECNT(byte_cnt
[all...]
/drivers/scsi/
H A DFlashPoint.c5920 unsigned char ret_data, byte_cnt, bit_cnt, defer; local
5924 for (byte_cnt = 0; byte_cnt < ID_STRING_LENGTH; byte_cnt++) {
5931 else if (p_id_string[byte_cnt] & bit_cnt)
5971 unsigned char ret_data, the_data, byte_cnt, bit_cnt; local
5975 for (byte_cnt = 0; byte_cnt < ID_STRING_LENGTH; byte_cnt++) {
5996 byte_cnt
[all...]
/drivers/net/wireless/iwlegacy/
H A D4965.c1550 u16 byte_cnt)
1555 int len = byte_cnt + IL_TX_CRC_SIZE + IL_TX_DELIMITER_SIZE;
1549 il4965_txq_update_byte_cnt_tbl(struct il_priv *il, struct il_tx_queue *txq, u16 byte_cnt) argument

Completed in 585 milliseconds

12