Home
last modified time | relevance | path

Searched refs:seg_num (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/infiniband/core/
H A Dmad_rmpp.c60 int seg_num; member
125 ack->rmpp_hdr.seg_num = cpu_to_be32(rmpp_recv->seg_num); in format_ack()
304 rmpp_recv->seg_num = 1; in create_rmpp_recv()
400 int seg_num) in find_seg_location() argument
422 rmpp_recv->seg_num++; in update_seg_num()
475 int seg_num; in continue_rmpp() local
575 rmpp_mad->rmpp_hdr.seg_num = cpu_to_be32(++mad_send_wr->seg_num); in send_next_seg()
627 int seg_num) in adjust_last_ack() argument
631 wr->last_ack = seg_num; in adjust_last_ack()
663 seg_num = be32_to_cpu(rmpp_mad->rmpp_hdr.seg_num); in process_rmpp_ack()
[all …]
H A Dmad_priv.h143 int seg_num; member
H A Dmad.c945 void *ib_get_rmpp_segment(struct ib_mad_send_buf *send_buf, int seg_num) in ib_get_rmpp_segment() argument
954 if (mad_send_wr->cur_seg->num < seg_num) { in ib_get_rmpp_segment()
956 if (mad_send_wr->cur_seg->num == seg_num) in ib_get_rmpp_segment()
958 } else if (mad_send_wr->cur_seg->num > seg_num) { in ib_get_rmpp_segment()
960 if (mad_send_wr->cur_seg->num == seg_num) in ib_get_rmpp_segment()
971 mad_send_wr->seg_num); in ib_get_payload()
/openbmc/u-boot/arch/arm/mach-keystone/
H A Dddr3.c151 u32 seg_num; in ddr3_reset_data() local
190 seg_num = ddr3_size << (30 - KS2_MSMC_SEG_SIZE_SHIFT); in ddr3_reset_data()
192 for (seg = 0; seg < seg_num; seg += KS2_MSMC_MAP_SEG_NUM) { in ddr3_reset_data()
207 if ((seg_num - seg) > KS2_MSMC_MAP_SEG_NUM) in ddr3_reset_data()
212 edma_blks = (seg_num - seg) << (KS2_MSMC_SEG_SIZE_SHIFT in ddr3_reset_data()
/openbmc/linux/include/rdma/
H A Dib_mad.h155 __be32 seg_num; member
804 void *ib_get_rmpp_segment(struct ib_mad_send_buf *send_buf, int seg_num);
/openbmc/linux/drivers/media/platform/st/sti/c8sectpfe/
H A Dc8sectpfe-core.c1004 int seg_num) in load_imem_segment() argument
1018 seg_num, phdr->p_paddr, phdr->p_filesz, dest, in load_imem_segment()
1038 const struct firmware *fw, u8 __iomem *dst, int seg_num) in load_dmem_segment() argument
1047 seg_num, phdr->p_paddr, phdr->p_filesz, in load_dmem_segment()
/openbmc/linux/drivers/staging/qlge/
H A Dqlge_devlink.c20 err = devlink_fmsg_u32_pair_put(fmsg, "segment", seg_header->seg_num); in qlge_fill_seg_()
H A Dqlge_dbg.c697 seg_hdr->seg_num = seg_number; in qlge_build_coredump_seg_header()
H A Dqlge.h1637 u32 seg_num; member
/openbmc/linux/arch/x86/kvm/
H A Dmtrr.c274 int seg, seg_num = ARRAY_SIZE(fixed_seg_table); in fixed_mtrr_addr_to_seg() local
276 for (seg = 0; seg < seg_num; seg++) { in fixed_mtrr_addr_to_seg()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.c336 int seg_num; in hns_nic_net_xmit_hw() local
355 seg_num = skb_shinfo(skb)->nr_frags + 1; in hns_nic_net_xmit_hw()
367 priv->ops.fill_desc(ring, skb, size, dma, seg_num == 1 ? 1 : 0, in hns_nic_net_xmit_hw()
371 for (i = 1; i < seg_num; i++) { in hns_nic_net_xmit_hw()
381 seg_num - 1 == i ? 1 : 0, buf_num, in hns_nic_net_xmit_hw()
/openbmc/linux/arch/ia64/include/asm/
H A Dsal.h580 u8 seg_num; member
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c1789 u16 seg_num; in atl1e_tx_map() local
1793 seg_num = (buf_len + MAX_TX_BUF_LEN - 1) / MAX_TX_BUF_LEN; in atl1e_tx_map()
1794 for (i = 0; i < seg_num; i++) { in atl1e_tx_map()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.c2842 int seg_num, sec_num; in bpf_object__init_btf() local
2862 for (seg_num = 0; seg_num < ARRAY_SIZE(ext_segs); seg_num++) { in bpf_object__init_btf()
2863 struct btf_ext_info *seg = ext_segs[seg_num]; in bpf_object__init_btf()