Home
last modified time | relevance | path

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

12

/drivers/parisc/
Dccio-dma.c631 ccio_clear_io_tlb(struct ioc *ioc, dma_addr_t iovp, size_t byte_cnt) in ccio_clear_io_tlb() argument
636 byte_cnt += chain_size; in ccio_clear_io_tlb()
638 while(byte_cnt > chain_size) { in ccio_clear_io_tlb()
641 byte_cnt -= chain_size; in ccio_clear_io_tlb()
664 ccio_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) in ccio_mark_invalid() argument
670 saved_byte_cnt = byte_cnt = ALIGN(byte_cnt, IOVP_SIZE); in ccio_mark_invalid()
672 while(byte_cnt > 0) { in ccio_mark_invalid()
690 byte_cnt -= IOVP_SIZE; in ccio_mark_invalid()
Dsba_iommu.c610 sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) in sba_mark_invalid() argument
627 if (byte_cnt > IOVP_SIZE) in sba_mark_invalid()
637 iovp |= get_order(byte_cnt) + PAGE_SHIFT; in sba_mark_invalid()
649 byte_cnt -= IOVP_SIZE; in sba_mark_invalid()
650 } while (byte_cnt > IOVP_SIZE); in sba_mark_invalid()
/drivers/staging/rts5139/
Drts51x_card.c783 u32 byte_cnt, u8 pack_size) in trans_dma_enable() argument
792 (u8) (byte_cnt >> 24)); in trans_dma_enable()
794 (u8) (byte_cnt >> 16)); in trans_dma_enable()
796 (u8) (byte_cnt >> 8)); in trans_dma_enable()
797 rts51x_add_cmd(chip, WRITE_REG_CMD, MC_DMA_TC0, 0xFF, (u8) byte_cnt); in trans_dma_enable()
Dsd.h300 int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width,
Dsd.c296 u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, argument
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, argument
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, 1, bus_width, buf, len, 100);
Dsd_cprm.c442 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,
Drts51x_card.h761 u32 byte_cnt, u8 pack_size);
/drivers/net/ethernet/marvell/
Dmv643xx_eth.c191 u16 byte_cnt; /* Descriptor buffer byte count */ member
199 u16 byte_cnt; /* buffer byte count */ member
209 u16 byte_cnt; /* Descriptor buffer byte count */ member
217 u16 byte_cnt; /* buffer byte count */ member
566 u16 byte_cnt; in rxq_process() local
589 byte_cnt = rx_desc->byte_cnt; in rxq_process()
600 stats->rx_bytes += byte_cnt - 2; in rxq_process()
615 skb_put(skb, byte_cnt - 2 - 4); in rxq_process()
759 desc->byte_cnt = skb_frag_size(this_frag); in txq_submit_frag_skb()
842 desc->byte_cnt = length; in txq_submit_skb()
[all …]
Dpxa168_eth.c180 u16 byte_cnt; /* Descriptor buffer byte count */ member
189 u16 byte_cnt; /* buffer byte count */ member
741 count = desc->byte_cnt; in txq_reclaim()
823 stats->rx_bytes += rx_desc->byte_cnt; in rxq_process()
848 skb_put(skb, rx_desc->byte_cnt - 4); in rxq_process()
1266 desc->byte_cnt = length; in pxa168_eth_start_xmit()
/drivers/net/ethernet/i825xx/
D3c523.h201 unsigned char byte_cnt; /* size of the config-cmd */ member
Dsun3_82586.h230 unsigned char byte_cnt; /* size of the config-cmd */ member
Dni52.h222 u8 byte_cnt; /* size of the config-cmd */ member
/drivers/staging/rts_pstor/
Drtsx_card.c907 void trans_dma_enable(enum dma_data_direction dir, struct rtsx_chip *chip, u32 byte_cnt, u8 pack_si… in trans_dma_enable() argument
914 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC3, 0xFF, (u8)(byte_cnt >> 24)); in trans_dma_enable()
915 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC2, 0xFF, (u8)(byte_cnt >> 16)); in trans_dma_enable()
916 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC1, 0xFF, (u8)(byte_cnt >> 8)); in trans_dma_enable()
917 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC0, 0xFF, (u8)byte_cnt); in trans_dma_enable()
Dsd.c313 u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, in sd_read_data() argument
338 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt); in sd_read_data()
339 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_BYTE_CNT_H, 0xFF, (u8)(byte_cnt >> 8)); in sd_read_data()
375 u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, in sd_write_data() argument
408 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt); in sd_write_data()
409 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_BYTE_CNT_H, 0xFF, (u8)(byte_cnt >> 8)); in sd_write_data()
2659 u16 byte_cnt; in mmc_test_switch_bus() local
2671 byte_cnt = 8; in mmc_test_switch_bus()
2676 byte_cnt = 4; in mmc_test_switch_bus()
2687 NULL, 0, byte_cnt, 1, bus_width, buf, len, 100); in mmc_test_switch_bus()
[all …]
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c452 static int sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_read() argument
457 if (!byte_cnt || byte_cnt > 4) in sf1_read()
463 t4_write_reg(adapter, SF_OP, lock | cont | BYTECNT(byte_cnt - 1)); in sf1_read()
482 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_write() argument
485 if (!byte_cnt || byte_cnt > 4) in sf1_write()
493 cont | BYTECNT(byte_cnt - 1) | OP_WR); in sf1_write()
/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/net/wireless/iwmc3200wifi/
Dlmac.h477 __le16 byte_cnt; member
/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.h378 u8 byte_cnt, u8 *o_buf);
Dbnx2x_link.c7709 u16 addr, u8 byte_cnt, u8 *o_buf) in bnx2x_8726_read_sfp_module_eeprom() argument
7714 if (byte_cnt > 16) { in bnx2x_8726_read_sfp_module_eeprom()
7722 (byte_cnt | 0xa000)); in bnx2x_8726_read_sfp_module_eeprom()
7754 for (i = 0; i < byte_cnt; i++) { in bnx2x_8726_read_sfp_module_eeprom()
7775 u16 addr, u8 byte_cnt, in bnx2x_warpcore_read_sfp_module_eeprom() argument
7786 if (byte_cnt > 16) { in bnx2x_warpcore_read_sfp_module_eeprom()
7795 rc = bnx2x_bsc_read(params, phy, 0xa0, addr32, 0, byte_cnt, in bnx2x_warpcore_read_sfp_module_eeprom()
7800 for (i = (addr - addr32); i < byte_cnt + (addr - addr32); i++) { in bnx2x_warpcore_read_sfp_module_eeprom()
7811 u16 addr, u8 byte_cnt, u8 *o_buf) in bnx2x_8727_read_sfp_module_eeprom() argument
7816 if (byte_cnt > 16) { in bnx2x_8727_read_sfp_module_eeprom()
[all …]
/drivers/net/wireless/iwlwifi/
Diwl-trans-pcie-int.h333 u16 byte_cnt);
Diwl-trans-pcie-tx.c86 u16 byte_cnt) in iwl_trans_txq_update_byte_cnt_tbl() argument
95 u16 len = byte_cnt + IWL_TX_CRC_SIZE + IWL_TX_DELIMITER_SIZE; in iwl_trans_txq_update_byte_cnt_tbl()
/drivers/infiniband/hw/mlx4/
Dcq.c661 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in mlx4_ib_poll_one()
693 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in mlx4_ib_poll_one()
/drivers/scsi/
DFlashPoint.c5970 unsigned char ret_data, byte_cnt, bit_cnt, defer; in FPT_scsendi() local
5974 for (byte_cnt = 0; byte_cnt < ID_STRING_LENGTH; byte_cnt++) { in FPT_scsendi()
5981 else if (p_id_string[byte_cnt] & bit_cnt) in FPT_scsendi()
6022 unsigned char ret_data, the_data, byte_cnt, bit_cnt; in FPT_sciso() local
6026 for (byte_cnt = 0; byte_cnt < ID_STRING_LENGTH; byte_cnt++) { in FPT_sciso()
6054 if (byte_cnt) in FPT_sciso()
6062 p_id_string[byte_cnt] = the_data; in FPT_sciso()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c2067 u32 byte_cnt, struct be_dma_mem *cmd) in be_cmd_ddr_dma_test() argument
2086 req->byte_count = cpu_to_le32(byte_cnt); in be_cmd_ddr_dma_test()
2087 for (i = 0; i < byte_cnt; i++) { in be_cmd_ddr_dma_test()
2099 if ((memcmp(resp->rcv_buff, req->snd_buff, byte_cnt) != 0) || in be_cmd_ddr_dma_test()

12