Home
last modified time | relevance | path

Searched refs:byte_cnt (Results 1 – 25 of 32) 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/net/ethernet/marvell/
Dmv643xx_eth.c186 u16 byte_cnt; /* Descriptor buffer byte count */ member
194 u16 byte_cnt; /* buffer byte count */ member
204 u16 byte_cnt; /* Descriptor buffer byte count */ member
212 u16 byte_cnt; /* buffer byte count */ member
506 u16 byte_cnt; in rxq_process() local
529 byte_cnt = rx_desc->byte_cnt; in rxq_process()
540 stats->rx_bytes += byte_cnt - 2; in rxq_process()
555 skb_put(skb, byte_cnt - 2 - 4); in rxq_process()
689 desc->byte_cnt = skb_frag_size(this_frag); in txq_submit_frag_skb()
772 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
742 count = desc->byte_cnt; in txq_reclaim()
824 stats->rx_bytes += rx_desc->byte_cnt; in rxq_process()
849 skb_put(skb, rx_desc->byte_cnt - 4); in rxq_process()
1261 desc->byte_cnt = length; in pxa168_eth_start_xmit()
/drivers/staging/rts5139/
Drts51x_card.c774 u32 byte_cnt, u8 pack_size) in rts51x_trans_dma_enable() argument
783 (u8) (byte_cnt >> 24)); in rts51x_trans_dma_enable()
785 (u8) (byte_cnt >> 16)); in rts51x_trans_dma_enable()
787 (u8) (byte_cnt >> 8)); in rts51x_trans_dma_enable()
788 rts51x_add_cmd(chip, WRITE_REG_CMD, MC_DMA_TC0, 0xFF, (u8) byte_cnt); in rts51x_trans_dma_enable()
Dsd.h271 int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width,
Dsd.c291 u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, in sd_read_data() argument
316 rts51x_add_cmd(chip, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8) byte_cnt); in sd_read_data()
318 (u8) (byte_cnt >> 8)); in sd_read_data()
363 u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, in sd_write_data() argument
394 rts51x_add_cmd(chip, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8) byte_cnt); in sd_write_data()
396 (u8) (byte_cnt >> 8)); in sd_write_data()
2325 u16 byte_cnt; in mmc_test_switch_bus() local
2337 byte_cnt = 8; in mmc_test_switch_bus()
2342 byte_cnt = 4; in mmc_test_switch_bus()
2347 NULL, 0, byte_cnt, 1, bus_width, buf, len, 100); in mmc_test_switch_bus()
Dsd_cprm.c395 u16 byte_cnt, blk_cnt; in ext_rts51x_sd_execute_read_data() local
400 byte_cnt = (u16) (data_len & 0x3FF); in ext_rts51x_sd_execute_read_data()
413 retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, byte_cnt, in ext_rts51x_sd_execute_read_data()
Drts51x_card.h752 u32 byte_cnt, u8 pack_size);
/drivers/net/wireless/ath/ath9k/
Dmain.c2012 int i, byte_cnt; in ath9k_wow_add_disassoc_deauth_pattern() local
2049 byte_cnt = 0; in ath9k_wow_add_disassoc_deauth_pattern()
2057 dis_deauth_pattern[byte_cnt] = 0xa0; in ath9k_wow_add_disassoc_deauth_pattern()
2058 byte_cnt++; in ath9k_wow_add_disassoc_deauth_pattern()
2061 byte_cnt += 3; in ath9k_wow_add_disassoc_deauth_pattern()
2067 byte_cnt += 6; in ath9k_wow_add_disassoc_deauth_pattern()
2070 memcpy((dis_deauth_pattern + byte_cnt), common->curbssid, ETH_ALEN); in ath9k_wow_add_disassoc_deauth_pattern()
2072 byte_cnt += 6; in ath9k_wow_add_disassoc_deauth_pattern()
2076 memcpy((dis_deauth_pattern + byte_cnt), common->curbssid, ETH_ALEN); in ath9k_wow_add_disassoc_deauth_pattern()
2114 pattern_count, byte_cnt); in ath9k_wow_add_disassoc_deauth_pattern()
[all …]
/drivers/mmc/host/
Drtsx_pci_sdmmc.c101 static int sd_read_data(struct realtek_pci_sdmmc *host, u8 *cmd, u16 byte_cnt, in sd_read_data() argument
123 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt); in sd_read_data()
125 0xFF, (u8)(byte_cnt >> 8)); in sd_read_data()
161 static int sd_write_data(struct realtek_pci_sdmmc *host, u8 *cmd, u16 byte_cnt, in sd_write_data() argument
192 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt); in sd_write_data()
194 0xFF, (u8)(byte_cnt >> 8)); in sd_write_data()
/drivers/net/ethernet/i825xx/
Dsun3_82586.h230 unsigned char byte_cnt; /* size of the config-cmd */ member
/drivers/net/wireless/iwlwifi/mvm/
Dfw-api-tx.h485 __le16 byte_cnt; member
/drivers/dma/
Dmmp_tdma.c87 u32 byte_cnt; member
401 desc->byte_cnt = period_len; in mmp_tdma_prep_dma_cyclic()
/drivers/scsi/csiostor/
Dcsio_hw.c418 csio_hw_sf1_read(struct csio_hw *hw, uint32_t byte_cnt, int32_t cont, in csio_hw_sf1_read() argument
423 if (!byte_cnt || byte_cnt > 4) in csio_hw_sf1_read()
431 csio_wr_reg32(hw, lock | cont | BYTECNT(byte_cnt - 1), SF_OP); in csio_hw_sf1_read()
452 csio_hw_sf1_write(struct csio_hw *hw, uint32_t byte_cnt, uint32_t cont, in csio_hw_sf1_write() argument
455 if (!byte_cnt || byte_cnt > 4) in csio_hw_sf1_write()
464 csio_wr_reg32(hw, cont | BYTECNT(byte_cnt - 1) | OP_WR | lock, SF_OP); in csio_hw_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/ethernet/chelsio/cxgb4/
Dt4_hw.c696 static int sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_read() argument
701 if (!byte_cnt || byte_cnt > 4) in sf1_read()
707 t4_write_reg(adapter, SF_OP, lock | cont | BYTECNT(byte_cnt - 1)); in sf1_read()
726 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_write() argument
729 if (!byte_cnt || byte_cnt > 4) in sf1_write()
737 cont | BYTECNT(byte_cnt - 1) | OP_WR); in sf1_write()
/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/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/broadcom/bnx2x/
Dbnx2x_link.h436 u16 addr, u16 byte_cnt, u8 *o_buf);
Dbnx2x_link.c32 u8 dev_addr, u16 addr, u8 byte_cnt,
7778 u8 dev_addr, u16 addr, u8 byte_cnt, in bnx2x_8726_read_sfp_module_eeprom() argument
7784 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_8726_read_sfp_module_eeprom()
7792 (byte_cnt | (dev_addr << 8))); in bnx2x_8726_read_sfp_module_eeprom()
7824 for (i = 0; i < byte_cnt; i++) { in bnx2x_8726_read_sfp_module_eeprom()
7867 u16 addr, u8 byte_cnt, in bnx2x_warpcore_read_sfp_module_eeprom() argument
7876 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_warpcore_read_sfp_module_eeprom()
7891 rc = bnx2x_bsc_read(params, phy, dev_addr, addr32, 0, byte_cnt, in bnx2x_warpcore_read_sfp_module_eeprom()
7896 for (i = (addr - addr32); i < byte_cnt + (addr - addr32); i++) { in bnx2x_warpcore_read_sfp_module_eeprom()
7907 u8 dev_addr, u16 addr, u8 byte_cnt, in bnx2x_8727_read_sfp_module_eeprom() argument
[all …]
/drivers/infiniband/hw/mlx4/
Dcq.c720 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in mlx4_ib_poll_one()
752 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in mlx4_ib_poll_one()
/drivers/net/wireless/iwlegacy/
D4965.c1551 u16 byte_cnt) in il4965_txq_update_byte_cnt_tbl() argument
1556 int len = byte_cnt + IL_TX_CRC_SIZE + IL_TX_DELIMITER_SIZE; in il4965_txq_update_byte_cnt_tbl()
/drivers/net/wireless/iwlwifi/pcie/
Dtrans.c357 dma_addr_t phy_addr, u32 byte_cnt) in iwl_pcie_load_firmware_chunk() argument
379 << FH_MEM_TFDIB_REG1_ADDR_BITSHIFT) | byte_cnt); in iwl_pcie_load_firmware_chunk()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c2331 u32 byte_cnt, struct be_dma_mem *cmd) in be_cmd_ddr_dma_test() argument
2350 req->byte_count = cpu_to_le32(byte_cnt); in be_cmd_ddr_dma_test()
2351 for (i = 0; i < byte_cnt; i++) { in be_cmd_ddr_dma_test()
2363 if ((memcmp(resp->rcv_buff, req->snd_buff, byte_cnt) != 0) || in be_cmd_ddr_dma_test()

12