/drivers/parisc/ |
H A D | ccio-dma.c | 624 * @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 D | sba_iommu.c | 597 * @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/net/ethernet/i825xx/ |
H A D | 3c523.h | 201 unsigned char byte_cnt; /* size of the config-cmd */ member in struct:configure_cmd_struct
|
H A D | sun3_82586.h | 230 unsigned char byte_cnt; /* size of the config-cmd */ member in struct:configure_cmd_struct
|
H A D | ni52.h | 222 u8 byte_cnt; /* size of the config-cmd */ member in struct:configure_cmd_struct
|
/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 191 u16 byte_cnt; /* Descriptor buffer byte count */ member in struct:rx_desc 199 u16 byte_cnt; /* buffer byte count */ member in struct:tx_desc 209 u16 byte_cnt; /* Descriptor buffer byte count */ member in struct:rx_desc 217 u16 byte_cnt; /* buffer byte count */ member in struct:tx_desc 566 u16 byte_cnt; local 589 byte_cnt = rx_desc->byte_cnt; 600 stats->rx_bytes += byte_cnt - 2; 615 skb_put(skb, byte_cnt - 2 - 4); 759 desc->byte_cnt [all...] |
H A D | pxa168_eth.c | 180 u16 byte_cnt; /* Descriptor buffer byte count */ member in struct:rx_desc 189 u16 byte_cnt; /* buffer byte count */ member in struct:tx_desc 741 count = desc->byte_cnt; 823 stats->rx_bytes += rx_desc->byte_cnt; 848 skb_put(skb, rx_desc->byte_cnt - 4); 1266 desc->byte_cnt = length;
|
/drivers/staging/rts5139/ |
H A D | rts51x_card.c | 783 u32 byte_cnt, u8 pack_size) 792 (u8) (byte_cnt >> 24)); 794 (u8) (byte_cnt >> 16)); 796 (u8) (byte_cnt >> 8)); 797 rts51x_add_cmd(chip, WRITE_REG_CMD, MC_DMA_TC0, 0xFF, (u8) byte_cnt); 782 trans_dma_enable(enum dma_data_direction dir, struct rts51x_chip *chip, u32 byte_cnt, u8 pack_size) argument
|
H A D | sd.h | 300 int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width,
|
H A D | sd.c | 296 u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, 321 rts51x_add_cmd(chip, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8) byte_cnt); 323 (u8) (byte_cnt >> 8)); 368 u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, 399 rts51x_add_cmd(chip, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8) byte_cnt); 401 (u8) (byte_cnt >> 8)); 2404 u16 byte_cnt; local 2416 byte_cnt = 8; 2421 byte_cnt = 4; 2426 NULL, 0, byte_cnt, 295 sd_read_data(struct rts51x_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 367 sd_write_data(struct rts51x_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 [all...] |
H A D | sd_cprm.c | 442 u16 byte_cnt, blk_cnt; local 447 byte_cnt = (u16) (data_len & 0x3FF); 460 retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, byte_cnt,
|
H A D | rts51x_card.h | 761 u32 byte_cnt, u8 pack_size);
|
/drivers/staging/rts_pstor/ |
H A D | rtsx_card.c | 907 void trans_dma_enable(enum dma_data_direction dir, struct rtsx_chip *chip, u32 byte_cnt, u8 pack_size) argument 914 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC3, 0xFF, (u8)(byte_cnt >> 24)); 915 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC2, 0xFF, (u8)(byte_cnt >> 16)); 916 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC1, 0xFF, (u8)(byte_cnt >> 8)); 917 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC0, 0xFF, (u8)byte_cnt);
|
H A D | sd.c | 313 u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, 338 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt); 339 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_BYTE_CNT_H, 0xFF, (u8)(byte_cnt >> 8)); 375 u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, 408 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt); 409 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_BYTE_CNT_H, 0xFF, (u8)(byte_cnt >> 8)); 2659 u16 byte_cnt; local 2671 byte_cnt = 8; 2676 byte_cnt = 4; 2687 NULL, 0, byte_cnt, 312 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 374 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 4129 u16 byte_cnt, blk_cnt; local [all...] |
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 443 * @byte_cnt: number of bytes to read 452 static int sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, argument 457 if (!byte_cnt || byte_cnt > 4) 463 t4_write_reg(adapter, SF_OP, lock | cont | BYTECNT(byte_cnt - 1)); 473 * @byte_cnt: number of bytes to write 482 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, argument 485 if (!byte_cnt || byte_cnt > 4) 493 cont | BYTECNT(byte_cnt [all...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.h | 375 /* Read "byte_cnt" bytes from address "addr" from the SFP+ EEPROM */ 378 u8 byte_cnt, u8 *o_buf);
|
H A D | bnx2x_link.c | 7709 u16 addr, u8 byte_cnt, u8 *o_buf) 7714 if (byte_cnt > 16) { 7722 (byte_cnt | 0xa000)); 7754 for (i = 0; i < byte_cnt; i++) { 7775 u16 addr, u8 byte_cnt, 7785 addr, byte_cnt);*/ 7786 if (byte_cnt > 16) { 7795 rc = bnx2x_bsc_read(params, phy, 0xa0, addr32, 0, byte_cnt, 7800 for (i = (addr - addr32); i < byte_cnt + (addr - addr32); i++) { 7811 u16 addr, u8 byte_cnt, u 7707 bnx2x_8726_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u16 addr, u8 byte_cnt, u8 *o_buf) argument 7773 bnx2x_warpcore_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u16 addr, u8 byte_cnt, u8 *o_buf) argument 7809 bnx2x_8727_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u16 addr, u8 byte_cnt, u8 *o_buf) argument 7896 bnx2x_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u16 addr, u8 byte_cnt, u8 *o_buf) argument [all...] |
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-trans-pcie-int.h | 333 u16 byte_cnt);
|
H A D | iwl-trans-pcie-tx.c | 86 u16 byte_cnt) 95 u16 len = byte_cnt + IWL_TX_CRC_SIZE + IWL_TX_DELIMITER_SIZE; 84 iwl_trans_txq_update_byte_cnt_tbl(struct iwl_trans *trans, struct iwl_tx_queue *txq, u16 byte_cnt) argument
|
/drivers/net/wireless/iwmc3200wifi/ |
H A D | lmac.h | 477 __le16 byte_cnt; member in struct:iwm_lmac_tx_resp
|
/drivers/infiniband/hw/mthca/ |
H A D | mthca_cq.c | 125 __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/mlx4/ |
H A D | cq.c | 661 wc->byte_len = be32_to_cpu(cqe->byte_cnt); 693 wc->byte_len = be32_to_cpu(cqe->byte_cnt);
|
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | t3_hw.c | 758 * @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/emulex/benet/ |
H A D | be_cmds.c | 2067 u32 byte_cnt, struct be_dma_mem *cmd) 2086 req->byte_count = cpu_to_le32(byte_cnt); 2087 for (i = 0; i < byte_cnt; i++) { 2099 if ((memcmp(resp->rcv_buff, req->snd_buff, byte_cnt) != 0) || 2066 be_cmd_ddr_dma_test(struct be_adapter *adapter, u64 pattern, u32 byte_cnt, struct be_dma_mem *cmd) argument
|
/drivers/scsi/ |
H A D | FlashPoint.c | 5970 unsigned char ret_data, byte_cnt, bit_cnt, defer; local 5974 for (byte_cnt = 0; byte_cnt < ID_STRING_LENGTH; byte_cnt++) { 5981 else if (p_id_string[byte_cnt] & bit_cnt) 6022 unsigned char ret_data, the_data, byte_cnt, bit_cnt; local 6026 for (byte_cnt = 0; byte_cnt < ID_STRING_LENGTH; byte_cnt++) { 6047 byte_cnt [all...] |