Home
last modified time | relevance | path

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

/drivers/infiniband/core/
Dmad_rmpp.c60 int seg_num; member
124 rmpp_recv->last_ack = rmpp_recv->seg_num; in format_ack()
125 ack->rmpp_hdr.seg_num = cpu_to_be32(rmpp_recv->seg_num); in format_ack()
194 rmpp_mad->rmpp_hdr.seg_num = 0; in ack_ds_ack()
231 rmpp_mad->rmpp_hdr.seg_num = 0; in nack_recv()
304 rmpp_recv->seg_num = 1; in create_rmpp_recv()
382 return be32_to_cpu(rmpp_mad->rmpp_hdr.seg_num); in get_seg_num()
400 int seg_num) in find_seg_location() argument
407 if (seg_num > cur_seg_num) in find_seg_location()
409 if (seg_num == cur_seg_num) in find_seg_location()
[all …]
Dmad_priv.h143 int seg_num; member
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()
/drivers/media/platform/st/sti/c8sectpfe/
Dc8sectpfe-core.c1009 int seg_num) in load_imem_segment() argument
1023 seg_num, phdr->p_paddr, phdr->p_filesz, dest, in load_imem_segment()
1043 const struct firmware *fw, u8 __iomem *dst, int seg_num) in load_dmem_segment() argument
1052 seg_num, phdr->p_paddr, phdr->p_filesz, in load_dmem_segment()
/drivers/staging/qlge/
Dqlge_devlink.c20 err = devlink_fmsg_u32_pair_put(fmsg, "segment", seg_header->seg_num); in qlge_fill_seg_()
Dqlge_dbg.c700 seg_hdr->seg_num = seg_number; in qlge_build_coredump_seg_header()
Dqlge.h1637 u32 seg_num; member
/drivers/net/ethernet/hisilicon/hns/
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()
/drivers/net/ethernet/atheros/atl1e/
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()