Home
last modified time | relevance | path

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

12

/linux/include/linux/mlx4/
H A Dcq.h56 __be32 byte_cnt; member
81 __be32 byte_cnt; member
/linux/drivers/net/ethernet/marvell/
H A 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
517 u16 byte_cnt; in rxq_process() local
540 byte_cnt = rx_desc->byte_cnt; in rxq_process()
551 stats->rx_bytes += byte_cnt - 2; in rxq_process()
566 skb_put(skb, byte_cnt - 2 - 4); in rxq_process()
742 desc->byte_cnt in txq_put_data_tso()
[all...]
H A Dpxa168_eth.c177 u16 byte_cnt; /* Descriptor buffer byte count */ member
186 u16 byte_cnt; /* buffer byte count */ member
725 count = desc->byte_cnt; in txq_reclaim()
806 stats->rx_bytes += rx_desc->byte_cnt; in rxq_process()
830 skb_put(skb, rx_desc->byte_cnt - 4); in rxq_process()
1263 desc->byte_cnt = length; in pxa168_eth_start_xmit()
/linux/drivers/net/ethernet/i825xx/
H A Dsun3_82586.h231 unsigned char byte_cnt; /* size of the config-cmd */ member
H A Dsun3_82586.c420 cfg_cmd->byte_cnt = 0x0a; /* number of cfg bytes */ in init586()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dsend.c430 HWS_PTR_TO_ID(rule), be32_to_cpu(cqe->byte_cnt)); in hws_send_engine_dump_error_cqe()
434 (be32_to_cpu(cqe->byte_cnt) & 0x80000000) ? in hws_send_engine_dump_error_cqe()
439 ((be32_to_cpu(cqe->byte_cnt) & 0x00000003) == 1) ? in hws_send_engine_dump_error_cqe()
441 ((be32_to_cpu(cqe->byte_cnt) & 0x00000003) == 2) ? in hws_send_engine_dump_error_cqe()
529 if (!cqe || (likely(be32_to_cpu(cqe->byte_cnt) >> 31 == 0) && in hws_send_engine_update()
1270 (be32_to_cpu(cqe.byte_cnt) >> 31 == 0)) { in hws_send_wqe_fw()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c117 cqd->left = be32_to_cpu(title->byte_cnt); in mlx5e_read_title_slot()
162 title->byte_cnt = mini_cqe->byte_cnt; in mlx5e_decompress_cqe()
1748 cqe_bcnt = be32_to_cpu(cqe->byte_cnt); in mlx5e_handle_rx_cqe()
1797 cqe_bcnt = be32_to_cpu(cqe->byte_cnt); in mlx5e_handle_rx_cqe_rep()
1920 u32 byte_cnt = cqe_bcnt; in mlx5e_skb_from_cqe_mpwrq_nonlinear()
1983 byte_cnt -= headlen; in mlx5e_skb_from_cqe_mpwrq_nonlinear()
1998 while (byte_cnt) { in mlx5e_skb_from_cqe_mpwrq_nonlinear()
2001 min_t(u32, page_size - frag_offset, byte_cnt); in mlx5e_skb_from_cqe_mpwrq_nonlinear()
2011 byte_cnt in mlx5e_skb_from_cqe_mpwrq_nonlinear()
1921 u32 byte_cnt = cqe_bcnt; mlx5e_skb_from_cqe_mpwrq_nonlinear() local
[all...]
/linux/drivers/parisc/
H A 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()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c125 __be32 byte_cnt; member
596 entry->byte_len = be32_to_cpu(cqe->byte_cnt); in mthca_poll_one()
611 entry->byte_len = be32_to_cpu(cqe->byte_cnt); in mthca_poll_one()
/linux/Documentation/scsi/
H A Dufs.rst176 io_hdr_v4.dout_xfer_len = (uint32_t)byte_cnt;
179 io_hdr_v4.din_xfer_len = (uint32_t)byte_cnt;
/linux/drivers/dma/
H A Dmmp_tdma.c88 u32 byte_cnt; member
474 desc->byte_cnt = period_len; in mmp_tdma_prep_dma_cyclic()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c735 static int sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_read() argument
740 if (!byte_cnt || byte_cnt > 4) in sf1_read()
744 t3_write_reg(adapter, A_SF_OP, V_CONT(cont) | V_BYTECNT(byte_cnt - 1)); in sf1_read()
762 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_write() argument
765 if (!byte_cnt || byte_cnt > 4) in sf1_write()
771 V_CONT(cont) | V_BYTECNT(byte_cnt - 1) | V_OP(1)); in sf1_write()
/linux/drivers/scsi/csiostor/
H A 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()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dap.c124 cmd->byte_cnt = cpu_to_le16((u16)beacon->len); in iwl_mld_fill_beacon_template_cmd()
254 /* leave byte_cnt 0 */ in iwl_mld_send_ap_early_keys()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.h440 u16 addr, u16 byte_cnt, u8 *o_buf);
H A Dbnx2x_link.c34 u8 dev_addr, u16 addr, u8 byte_cnt,
7855 u8 dev_addr, u16 addr, u8 byte_cnt, in bnx2x_8726_read_sfp_module_eeprom() argument
7861 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_8726_read_sfp_module_eeprom()
7869 (byte_cnt | (dev_addr << 8))); in bnx2x_8726_read_sfp_module_eeprom()
7901 for (i = 0; i < byte_cnt; i++) { in bnx2x_8726_read_sfp_module_eeprom()
7944 u16 addr, u8 byte_cnt, in bnx2x_warpcore_read_sfp_module_eeprom() argument
7953 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_warpcore_read_sfp_module_eeprom()
7968 rc = bnx2x_bsc_read(params, bp, dev_addr, addr32, 0, byte_cnt, in bnx2x_warpcore_read_sfp_module_eeprom()
7973 for (i = (addr - addr32); i < byte_cnt + (addr - addr32); i++) { in bnx2x_warpcore_read_sfp_module_eeprom()
7984 u8 dev_addr, u16 addr, u8 byte_cnt, in bnx2x_8727_read_sfp_module_eeprom() argument
[all …]
/linux/drivers/scsi/
H A DFlashPoint.c5891 unsigned char ret_data, byte_cnt, bit_cnt, defer; in FPT_scsendi() local
5895 for (byte_cnt = 0; byte_cnt < ID_STRING_LENGTH; byte_cnt++) { in FPT_scsendi()
5902 else if (p_id_string[byte_cnt] & bit_cnt) in FPT_scsendi()
5942 unsigned char ret_data, the_data, byte_cnt, bit_cnt; in FPT_sciso() local
5946 for (byte_cnt = 0; byte_cnt < ID_STRING_LENGTH; byte_cnt++) { in FPT_sciso()
5974 if (byte_cnt) in FPT_sciso()
5982 p_id_string[byte_cnt] = the_data; in FPT_sciso()
/linux/drivers/soc/fsl/dpio/
H A Dqbman-portal.h570 __le32 byte_cnt; member
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c45 unsigned long byte_cnt; in __ath10k_htt_tx_txq_recalc()
71 ieee80211_txq_get_depth(txq, NULL, &byte_cnt); in __ath10k_htt_tx_txq_recalc()
72 count = ath10k_htt_tx_txq_calc_size(byte_cnt); in __ath10k_htt_tx_txq_recalc()
46 unsigned long byte_cnt; __ath10k_htt_tx_txq_recalc() local
/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965.c1536 u16 byte_cnt) in il4965_txq_update_byte_cnt_tbl() argument
1541 int len = byte_cnt + IL_TX_CRC_SIZE + IL_TX_DELIMITER_SIZE; in il4965_txq_update_byte_cnt_tbl()
/linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/
H A Dtx-gen2.c560 struct iwl_txq *txq, u16 byte_cnt, in iwl_pcie_gen2_update_byte_tbl() argument
566 u16 len = byte_cnt; in iwl_pcie_gen2_update_byte_tbl()
H A Dtx.c2062 struct iwl_txq *txq, u16 byte_cnt, in iwl_txq_gen1_update_byte_cnt_tbl() argument
2070 u16 len = byte_cnt + IWL_TX_CRC_SIZE + IWL_TX_DELIMITER_SIZE; in iwl_txq_gen1_update_byte_cnt_tbl()
/linux/tools/perf/util/
H A Dintel-pt.c545 u64 byte_cnt; member
617 u64 offset, u64 insn_cnt, u64 byte_cnt, in intel_pt_cache_add() argument
632 e->byte_cnt = byte_cnt; in intel_pt_cache_add()
841 *ip += e->byte_cnt; in intel_pt_walk_next_insn()
3701 if (addr + e->byte_cnt + e->length <= event->text_poke.addr) { in intel_pt_process_event()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c2927 static int sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_read() argument
2932 if (!byte_cnt || byte_cnt > 4) in sf1_read()
2937 SF_CONT_V(cont) | BYTECNT_V(byte_cnt - 1)); in sf1_read()
2956 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_write() argument
2959 if (!byte_cnt || byte_cnt > 4) in sf1_write()
2965 SF_CONT_V(cont) | BYTECNT_V(byte_cnt - 1) | OP_V(1)); in sf1_write()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c3344 u32 byte_cnt, struct be_dma_mem *cmd) in be_cmd_ddr_dma_test() argument
3368 req->byte_count = cpu_to_le32(byte_cnt); in be_cmd_ddr_dma_test()
3369 for (i = 0; i < byte_cnt; i++) { in be_cmd_ddr_dma_test()
3382 if ((memcmp(resp->rcv_buff, req->snd_buff, byte_cnt) != 0) || in be_cmd_ddr_dma_test()

12